*,
*::after,
*::before {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "INDEPENDENTHeadline";
  src: url("../assets/fonts/INDEPENDENT_Headline-Medium.otf");
}

@font-face {
  font-family: "F37Ginger";
  src: url("../assets/fonts/F37Ginger-Regular.otf");
}

@font-face {
  font-family: "F37Ginger-Light";
  src: url("../assets/fonts/F37Ginger-Light.otf");
}

.main-nav>ul>li>a:active {
  color: #ae671f!important;
}

.main-nav>ul>li.active {
  color: #ae671f!important;
}

.itc-header-middle-icon {
  text-align: right;
  padding-right: 35px;
}

/* Parent Section */
.im-hero-main-section {
  display: flex;
  flex-direction: column;
  background: url("../assets/itc-bgc.png") no-repeat;
  background-size: cover;
}

/* Common style */

/* Main section common style */
.im-main-content .im-itc-section {
  display: flex;
  flex-direction: row;
  /* Used for more than one Element */
}

.im-itc-section .im-img-box {
  flex-basis: 45%;
  /* Used for more than one Element */
}

.im-itc-section .im-circle-box {
  flex-basis: 10%;
  /* Used for more than one Element */
}

.im-itc-section .im-text-box {
  flex-basis: 45%;
  /* Used for more than one Element */
}

.im-img-box img {
  width: 100%;
  /* Used for more than one Element */
}

.im-itc-section .im-text-box {
  position: relative;
  /* Used for more than one Element */
}

.im-text-box .text-wrapper {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  /* Used for more than one Element */
}

.im-text-box .text-wrapper h2 {
  margin: 0;
  margin-bottom: 20px;
  font-size: 2em;
  font-family: INDEPENDENTHeadline;
  text-transform: none;
  color: #ae671f;
  /* Used for more than one Element */
}

.im-text-box .text-wrapper p {
  margin: 0;
  font-size: 1em;
  font-family: F37Ginger;
  color: #ae671f;
  /* Used for more than one Element */
}

/* Circle common style */
.im-main-content .im-circle-box {
  position: relative;
  /* Used for more than one Element */
}

.im-circle-box .circle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: #ae671f;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* Used for more than one Element */
}

.im-circle-box .vertical-line-below-circle {
  height: 100%;
  width: 2px;
  background-color: #ae671f;
  margin: 0 auto;
  /* Used for more than one Element */
}

.im-sub-vertical-line .im-section-vl {
  width: 2px;
  height: 138px;
  margin: 0 auto;
  background-color: #a3671f;
  /* Used for more than one Element */
}
/* All common style finished here */

/* Header section two */
.im-hero-main-section .im-hero-header {
  margin: 0 auto 140px;
  padding-top: 55px;
  width: 80%;
}

.im-hero-main-section .im-hero-header h1 {
  margin: 0 0 20px 0;
  padding: 0;
  font-family: INDEPENDENTHeadline;
  font-size: 3.85em;
  font-weight: normal;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: normal;
}

.im-hero-main-section .im-hero-header p {
  font-family: F37Ginger;
  font-size: 1em;
  margin: 0;
  padding: 0;
  text-align: center;
  line-height: 1.75;
  color: #111111;
}

/* Main part */
.im-hero-main-section .im-main-content {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 80%;
}

/* First Section */
.im-main-content .im-circle-box-one {
  display: flex;
  flex-direction: column-reverse;
}

.im-circle-box-one .circle-after-vertical-line {
  height: 50%;
  width: 2px;
  background-color: #ae671f;
  margin: 0 auto;
}
/* Today */
.im-text-box .text-after-vertical-line {
  display: none;
}

/* 
Grouping Selectors:
Section two
Section four
Section six 
*/
.im-itc-section .im-text-box-two .text-wrapper,
.im-itc-section .im-text-box-four .text-wrapper,
.im-itc-section .im-text-box-six .text-wrapper {
  text-align: right;
}

/* Last Section */
.im-main-content .im-circle-box-last {
  display: flex;
  flex-direction: column;
}

.im-circle-box-last .circle-before-vertical-line {
  height: 50%;
  width: 2px;
  background-color: #ae671f;
  margin: 0 auto;
}

.im-itc-section .im-text-box-last .text-wrapper {
  text-align: left;
}

/* Style for responsive design */
@media only screen and (max-width: 1390px) {
  .itc-header-middle-icon {
    text-align: right;
    padding-right: 10px;
  }
}

/* Style for responsive design */
@media only screen and (max-width: 768px) {
  .im-hero-main-section {
    background: url("../assets/itc-bg-mobile.svg") no-repeat;
    background-size: cover;
  }

  .itc-header-middle-icon {
    display: none;
  }

  /* Hero header style for mobile design */
  .im-hero-main-section .im-hero-header {
    margin-bottom: 70px;
  }

  .im-hero-main-section .im-hero-header h1 {
    font-size: 1.9em;
  }

  .im-hero-main-section .im-hero-header p {
    font-size: 0.85em;
    line-height: 2;
  }

  /* Common style for mobile design */
  .im-main-content .im-itc-section {
    flex-direction: column;
    /* Used for more than one Element */
  }

  /* Common style for last section */
  .im-main-content .im-itc-section-last {
    flex-direction: column-reverse;
  }

  .im-itc-section .im-text-box {
    position: static;
    margin-bottom: 5px;
    /* Used for more than one Element */
  }

  .im-text-box .text-wrapper {
    position: static;
    transform: unset;
    margin-bottom: 15px;
    /* Used for more than one Element */
  }

  .im-text-box .text-wrapper h2 {
    margin: 0 0 2px 0;
    font-size: 1.5em;
    text-align: center;
    /* Used for more than one Element */
  }

  .im-text-box .text-wrapper p {
    font-size: 0.85em;
    text-align: center;
    /* Used for more than one Element */
  }

  .im-main-content .im-circle-box {
    position: static;
    margin-bottom: 20px;
    /* Used for more than one Element */
  }

  .im-circle-box .circle {
    position: static;
    transform: unset;
    /* Used for more than one Element */
  }

  .im-circle-box .vertical-line-below-circle {
    height: 30px;
    display: none;
    /* Used for more than one Element */
  }

  .im-sub-vertical-line .im-section-vl {
    height: 80px;
    margin-bottom: 0;
    /* Used for more than one Element */
  }

  /* First section style */
  .im-main-content .im-itc-section-one {
    flex-direction: column;
  }

  .im-itc-section-one .im-img-box-one {
    order: 1;
  }

  .im-main-content .im-circle-box-one {
    flex-direction: column;
  }

  .im-circle-box-one .circle-after-vertical-line {
    height: 30px;
    display: none;
  }

  /* .im-circle-box .circle-after-vertical-line {
    display: none;
  } */

/* Today */
  .im-text-box .text-after-vertical-line {
    display: block;
    height: 30px;
    width: 2px;
    background-color: #ae671f;
    margin: 0 auto;
  }

  /* Last Section style */
  .im-circle-box-last .circle-before-vertical-line {
    height: 30px;
    display: none;
  }

  .im-circle-box-last {
    order: 1;
  }


  /* Grouping selector */
  .im-itc-section .im-circle-box-two,
  .im-itc-section .im-circle-box-four,
  .im-itc-section .im-circle-box-six {
    order: -1;
  }

  .im-itc-section .im-circle-box-three,
  .im-itc-section .im-circle-box-five,
  .im-itc-section .im-circle-box-seven {
    order: 1;
  }

  /* 
  Grouping Selectors:
  Section three
  Section five
  Section seven
   */
  .im-main-content .im-itc-section-three,
  .im-main-content .im-itc-section-five,
  .im-main-content .im-itc-section-seven {
    flex-direction: column-reverse;
  }
}



/* finish */

/* Common style */
.itc-contents h1 {
  margin: 0;
  padding-bottom: 10px;
  font-size: 2rem;
  text-align: left;
  line-height: 1.25;
  color: #ae671f;
}

.itc-contents p {
  margin: 0;
  font-family: sans-serif;
  font-size: 1rem;
  color: #111111;
}

/* Main style */
.container {
  max-width: 70vw;
  margin: auto;
}

figure {
  margin: 0;
}

figure > img {
  width: 100%;
}

figcaption {
  display: flex;
  justify-content: center;
}

figcaption > img {
  padding-top: 1.75rem;
}

/* For 1920px */
.mobile-content {
  display: none;
}

.desktop-content {
  display: flex;
  margin-top: 4.5rem;
}

.desktop-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-basis: 30%;
}

.desktop-aside img {
  width: 90%;
}

.desktop-main {
  display: flex;
  flex-basis: 70%;
  position: relative;
}

.group-img {
  flex-basis: 45%;
}

.group-img img {
  width: 90%;
  height: 100%;
}

.itc-all-contents {
  flex-basis: 65%;
}

.itc-content-one,
.itc-content-three,
.itc-content-five {
  position: absolute;
  left: 15%;
}

.itc-content-two,
.itc-content-four {
  margin: 200px 0 100px 0;
}

.itc-content-four {
  margin-top: 300px;
}





/* For 1600px */
@media only screen and (max-width: 1680px) {
  .itc-content-one,
  .itc-content-three,
  .itc-content-five {
    position: absolute;
    left: 15%;
    /* top:  */
  }

  .itc-content-three {
    top: 380px;
  }

  .itc-content-two,
  .itc-content-four {
    margin: 160px 0 50px 0;
  }

  .itc-content-four {
    margin-top: 240px;
  }
}

/* For 1500px */
@media only screen and (max-width: 1500px) {
  .container {
    max-width: 80vw;
  }

  .itc-contents h1 {
    margin: 0;
    padding-bottom: 10px;
    font-size: 1.5rem;
    text-align: left;
    line-height: 1.25;
    color: #ae671f;
  }

  .itc-contents p {
    margin: 0;
    font-family: sans-serif;
    font-size: 1rem;
    color: #111111;
  }

  .itc-content-three {
    top: 360px;
  }

  .itc-content-four {
    margin-top: 240px;
  }

  .itc-content-five {
    bottom: -20px;
  }
}

/* For mobile */
@media only screen and (max-width: 768px) {
  .container {
    max-width: unset;
    width: 100%;
  }

  .itc-content-one,
  .itc-content-three,
  .itc-content-five {
    position: static;
  }

  .desktop-content {
    display: none;
  }

  figure > img {
    height: 35vh;
  }

  /* Mobile Common style */
  .itc-contents h1 {
    margin: 0;
    padding-bottom: 14px;
    font-size: 1.25rem;
    text-align: left;
    line-height: 1.25;
    color: #ae671f;
  }

  .itc-contents p {
    margin: 0;
    font-family: sans-serif;
    font-size: 0.875rem;
    color: #111111;
  }

  .mobile-content {
    display: flex;
    margin: 5rem 3.5% 0;
  }

  .mobile-aside {
    flex-basis: 30%;
  }

  .mobile-main {
    flex-basis: 70%;
  }

  .itc-content-one,
  .itc-content-three,
  .itc-content-five {
    margin-top: 1.125rem;
  }

  .itc-content-two,
  .itc-content-four {
    margin: 3.3rem 0;
    padding-left: 20px;
  }

  .mobile-main img {
    width: 90%;
    padding-left: 20px;
  }
}


