
/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 2.7rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(220, 100%, 99%);
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  background-color: transparent;
  z-index: var(--z-fixed);
}

.case-study.header{
  background-color: rgb(0, 0, 0,0.5);
}
.header.scrolled{
    /* transition: all 0.s ease-in; */
    background-color: var(--body-color);
    box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
}


/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}
.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}
.nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
}
.nav__logo img {
  width: 20rem;
  margin-bottom: 0.7rem;
}
.nav__logo .nav__logo-img.black{
    display: none;
}

.nav__toggle {
  position: fixed;
    width: 50px;
    height: 50px;
    top: 10px;
    right: 20px;
}
.nav__toggle-menu, .nav__toggle-close {
  font-size: 1.25rem;
  color: #fd6d26;
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}
.nav__toggle-close {
  opacity: 0;
}
@media screen and (max-width: 1199px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}
.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

.nav__link .button{
  height: fit-content;
  padding: 8px 15px;
  border: 1px solid #fd6d26;
  border-radius: 5px;
}

.nav__link.searchIcon{
  width: 25px;
}
.nav__link.searchIcon img{
  width: 100%;
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 4.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}
.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}
.dropdown__group, .dropdown__list {
  display: grid;
}
.dropdown__container {
  /* background-color: var(--first-color-lighten); */
  background-image: radial-gradient( circle 3269px at 18.9% 44.5%,  rgba(255,255,255,1) 0%,#F9EFEF 100.2% );
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}
.dropdown__content {
  row-gap: 1.75rem;
}
.dropdown__group {
  padding-left: 2.5rem;
  row-gap: 0.5rem;
}
.dropdown__group:first-child {
  margin-top: 1.25rem;
}
.dropdown__group:last-child {
  margin-bottom: 1.25rem;
}
.dropdown__icon i {
  font-size: 1.25rem;
  color: var(--first-color);
}
.dropdown__title {
  font-size: 20px;
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}
.dropdown__list {
  row-gap: 0.25rem;
}
.dropdown__link,.normal-text {
  font-weight: var(--font-medium);
  color: black;
  transition: color 0.3s;
}
.dropdown__link:hover,.normal-text:hover {
  color: black;
}
.dropdown__list .spotlight-case{
  color: white;
  background-color: #fd6d26;
  border-radius: 3px;
  font-size: 12px;
  padding: 2px 5px;
}
/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

.dropdown__link.bold{
  margin: 3px 0;
  color: #000000;
}

.dropdown__list{
  gap: 10px;
}

.dropdown__list img{
  border-radius: 3px;
  width:80px;
  height: 80px;
  object-fit: cover;
}


.spotlight-text.alt-text, .alt-text{
  font-size: 10px;
}

.dropdown__link.bold{
  font-weight: 700;
  font-size: 12px;
}
@media screen and (min-width: 1118px){
  .dropdown__list img{
    width: 100px;
    height: 100px;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

@media screen and (max-width:576px) {
  .dropdown__content {
    display: grid;
    row-gap: 15px;
    padding: 20px;
    padding-left: 0px;
  }
  .dropdown__container{
    overflow: scroll;
    margin-right: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  }
  .dropdown__link.bold{
    font-size: 13px;
  }
  .dropdown__list.text-heading{
    padding-left: 0px !important;
  }
  .group-2 ul{
    padding-left: 12px;
  }
  .dropdown__group{
    width: 100%;
  }
  .dropdown__title {
    font-size: 1.5rem;
  }
}



@media screen and (min-width: 576px) and (max-width:1117px) {
  .dropdown__container{
    overflow: scroll;
    margin-right: 30px;
    box-shadow: 1px 1px 5px hsla(220, 68%, 12%, 0.5);
  }
  .dropdown__content {
    display: grid;
    row-gap: 10px;
    padding: 20px;
    padding-left: 0px;
  }
  .dropdown__group{
    width: 100%;
  }
  .dropdown__title {
    font-size: 1.5rem;
  }
  .spotlight-text, .alt-text{
    font-size: 12px;
  }
  .group-2 ul{
    padding-left: 12px;
  }
  .dropdown__link.bold{
    font-size: 18px;
  }
  .dropdown__list.text-heading{
    padding-left: 0px !important;
  }
}
/* For large devices */
@media screen and (min-width: 1199px) {
  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 2rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
    color: white;
  }
  .nav__link:hover {
    background-color: initial;
    color: #fd6d26;
  }

  .nav__link button{
    color: white;
    background-color: #fd6d26fd;
  }


  .header.scrolled .nav__link{
    color: var(--title-color);
  }

  .header.scrolled .nav__link:hover,.dropdown__item:hover .dropdown__button{
    color:#ff884dfd;
  }
  
  .header.scrolled .nav__link.searchIcon img{
    filter: invert(0.8);
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }
  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.5rem;
    background-color: var(--body-color);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: initial;
    display: none;
    transition: opacity 0.5s ease-in-out;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    border-top: solid 1px hsl(13, 100%, 48%);
  }
  .dropdown__content {
    display: flex;
    column-gap: 1rem;
    max-width: 1456px;
    margin-inline: auto;
    padding-left: 4em;
    padding-right: 2em;
    justify-content: center;
  }
  .dropdown__group {
    padding: 0rem 0;
    align-content: baseline;
    row-gap: 0rem;
  }
  .dropdown__group:first-child {
    background-color: rgba(0, 0, 0, 0.05);
    padding-right: 20px;
    padding-left: 10px;
    padding-bottom: 15px;
    padding-top: 10px;
    border-radius: 5px;
  }

  .dropdown__group:last-child {
    border-left: solid 1px #fd6e266d;
    padding-left: 20px;
    
  }
  .dropdown__group:first-child, .dropdown__group:last-child {
    margin: 0;
    margin-top: 0px !important;
    padding-right: 30px;
  }

  .dropdown__group:nth-child(3){
    margin-top: 2.3rem !important;
    margin-left: -100px;
    width: 250px;
  }
  .dropdown__group:nth-child(2){
    padding-left: 10px;
  }

  .dropdown__list {
    row-gap: 1.2rem;
    padding-left: 0px !important;
    margin-top: 20px;
  }

  .dropdown__list svg{
    color: rgb(255, 106, 0);
    margin-top: 0.15rem;
    margin-right: 0.5rem;
  }

  .dropdown__list span{
    color: rgb(39, 39, 39);
    font-size: 0.80rem;
    margin-top: -20px !important;
  }

  

  .dropdown__icon {
    width: 60px;
    height: 60px;
    background-color: var(--first-color-lighten);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
  }
  .dropdown__icon i {
    font-size: 2rem;
  }
  .dropdown__title {
    font-size: 25px;
  }
  .dropdown__title i{
    color: rgb(255, 77, 0);
    padding-top: 10px !important;
    margin-right: 10px;
  }
  .dropdown__link {
    font-size: var(--small-font-size);
  }
  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__link.bold{
    font-weight: 700;
    font-size: 12px;
  }
  .spotlight-text{
    font-size: 10px;
  }
  .dropdown__arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .dropdown__item.active .dropdown__arrow {
    transform: rotate(180deg);
  }
  
  .dropdown__item:focus > .dropdown__container {
    top: 4.5rem;
    display: block;
    pointer-events: initial;
    cursor: initial;
  }

  .show-dropdown {
    top: 4.5rem;
    display: block;
    pointer-events: initial;
    cursor: initial;
  }

  /* .dropdown__item:hover .header {
    background-color: white !important;
    box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  } */

  /* .header:hover{
    background-color: white !important;
    .nav__link{
      color: var(--title-color);
    }
    .nav__logo .nav__logo-img.black{
      display: block;
    }
    .nav__logo .nav__logo-img.white{
      display: none;
    }
  } */

  /* .header:has(.dropdown__item:hover) {
    background-color: white !important;
    box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  } */

  /* .header:has(.dropdown__item:hover) .nav__logo .nav__logo-img.white{
    display: none;
  }
  .header:has(.dropdown__item:hover) .nav__logo .nav__logo-img.black{
    display: block;
  } */

  .header.scrolled .nav__logo .nav__logo-img.white{ 
    display: none;
  }
  .header.scrolled .nav__logo .nav__logo-img.black{ 
    display: block;
  }

  a.dropdown__link,.dropdown__button{
    position: relative;
    text-decoration: none;
  }
  
  a.dropdown__link::after,.dropdown__button:hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #fd6d26;
    transition: width 0.3s ease-in-out;
  }
  
  a.dropdown__link:hover::after,.dropdown__button:hover::after{
    width: 40px;
  }
}

span.alt-text{
  margin-top: -10px !important;
}
@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}

@media screen and (min-width:1299px){
  .dropdown__link.bold{
    font-size: 16px;
    line-height: normal;
  }
  .spotlight-text{
    font-size: 13px;
  }
}

@media (max-width: 1199px){
  .header{
    padding: 1em 2em;
  }
}
 
@media screen and (max-width: 1118px){
  .header.scrolled .nav__logo .nav__logo-img.white{ 
    display: none;
  }
  .header.scrolled .nav__logo .nav__logo-img.black{ 
    display: block;
  }
  .header{
    padding: 1em 2em;
  }
}


@media screen and (max-width: 456px){
  .nav__logo img{
    width: 13rem;
  }
}

@media (min-width: 1199px){
  .cta-smallscreens{
    display: none;
  }
  .cta-smallscreens .nav__link button{
    display: none;
  }
}

@media (max-width: 1199px){
  /* .header .nav__link button{
    display: none;
  } */
  .cta-smallscreens{
    display: none;
  }
  .cta-smallscreens .nav__link button{
    position: fixed;
    left: 20px;
    bottom: 50px;
    z-index: 9;
    box-shadow: 2px 2px 5px rgb(55, 55, 55);
  }
  .nav__link button{
    color: white;
    background-color: #fd6d26fd;
  }

  .nav__link.searchIcon img{
    width: 20px;
    height: 20px;
    filter: invert(0.8);
  }

  .nav__link button:hover{
    color: #fd6d26;
    background-color: white;
  }
}


.ml-20{
  margin-left: -20px !important;
}

.sml-20 a{
  color: #fd6d26 !important;
}

@media (max-width:1199px){
  .nav__logo{
    position: absolute;
    left: 10px;
  }
  .spot-light{
    margin-left: 0 !important;
  }

  .dropdown__list.d-flex{
    padding-left: 10px;
  }
  .sml-20{
    margin-left: -20px !important;
  }
}

.active-button{
  color: #fd6d26 !important;
}

.nav__link button:hover{
  color: #fd6d26;
  background-color: white;
}