@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #ecf0f3;
    overflow-x: hidden;
}

html{
  overflow-x: hidden;
}

nav {
    width: 100%;
    padding: 12px 0;
    background: #ecf0f3;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1, inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
    position: fixed;
    z-index: 1000000;
}

nav .menu {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu .logo img {
    width: 200px;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul a {
    margin: 0 8px;
    text-decoration: none;
    font-size: 1rem;
    color: #31344b;
    font-weight: 400;
    display: inline-flex;
    padding: 10px 12px;
    border-radius: 15px;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    position: relative;
}

.menu ul a:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
  }
  
  .menu ul a:hover {
    color: #538d6f; 
}

nav label.btn {
    color: #31344b;
    font-size: 18px;
    cursor: pointer;
    display: none;
}

nav label.cancel {
    position: absolute;
    top: 20px;
    left: 85%;
    font-size: 2rem;
    color: #1e556a;
}

nav label.bars{
  font-size: 2rem;
  position: relative;
  top: 10px;
  left: 0;
  color: #1e556a;
}

#check {
    display: none;
}

.nav-menu-right{
  position: relative;
  display: flex;
  justify-content: space-between;
}

.contact-support-btn {
  margin: 0 8px 0 8rem;
  text-decoration: none;
  font-size: 1rem;
  color: #000;
  font-weight: 400;
  display: inline-flex;
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
  position: relative;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.contact-support-btn span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.contact-support-btn:before,
.contact-support-btn:after {
  position: absolute;
  content: "";
  height: 0%;
  width: 1px;
 box-shadow:
   -1px -1px 20px 0px rgba(255,255,255,1),
   -4px -4px 5px 0px rgba(255,255,255,1),
   7px 7px 20px 0px rgba(0,0,0,.9),
   4px 4px 5px 0px rgba(0,0,0,.8);
}
.contact-support-btn:before {
  right: 0;
  top: 0;
  transition: all 500ms ease;
}
.contact-support-btn:after {
  left: 0;
  bottom: 0;
  transition: all 500ms ease;
}
.contact-support-btn:hover{
  background: transparent;
  color: #76aef1;
  box-shadow: none;
}
.contact-support-btn:hover:before {
  transition: all 500ms ease;
  height: 100%;
}
.contact-support-btn:hover:after {
  transition: all 500ms ease;
  height: 100%;
}
.contact-support-btn span:before,
.contact-support-btn span:after {
  position: absolute;
  content: "";
  box-shadow:
   -1px -1px 20px 0px rgba(255,255,255,1),
   -4px -4px 5px 0px rgba(255,255,255,1),
   7px 7px 20px 0px rgba(0,0,0,.4),
   4px 4px 5px 0px rgba(0,0,0,.3);
}
.contact-support-btn span:before {
  left: 0;
  top: 0;
  width: 0%;
  height: .5px;
  transition: all 500ms ease;
}
.contact-support-btn span:after {
  right: 0;
  bottom: 0;
  width: 0%;
  height: .5px;
  transition: all 500ms ease;
}
.contact-support-btn span:hover:before {
  width: 100%;
}
.contact-support-btn span:hover:after {
  width: 100%;
}


@media (max-width: 940px) {
  
    .menu ul {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 400px;
        padding-top: 45px;
        height: 100%;
        background: #ecf0f3;
        box-shadow: 0 5px 10px #b0b0b5;
        z-index: 12;
        transition: all 0.3s ease;
    }

    .menu ul a {
        display: block;
        font-size: 23px;
        width: 100%;
        margin-top: 30px;
        box-shadow: none;
        text-align: center;
    }

    .menu ul a:hover:before {
        box-shadow: none;
    }

    nav label.bars {
        display: block;
    }

    #check:checked ~ .nav-menu-right ul {
      left: 0; /* Slide in when checked */
  }

  #check:checked ~ .nav-menu-right label.bars {
    display: none;
}

    #check:checked ~ .nav-menu-right label.cancel {
      display: block;
  }

  .contact-support-btn {
    margin: 8rem 2.5rem;
    width: 80%;
    text-align: center;
    text-decoration: none;
    font-size: 1.5rem;
    color: #000;
    font-weight: 400;
    display: block;
    padding: 10px 20px;
    border-radius: 40px;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    position: relative;
    transition: all 0.3s ease;
    border: none;
    outline: none;
  
  }

  .menu .logo img {
    width: 150px;
}
    
   
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: transparent;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 105%;
    left: 0%;
    border-radius: 1rem;
    filter: drop-shadow(0.25rem 0.25rem 0.5rem #0005);
}

.dropdown-content .drop-list {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    transform-style: preserve-3d;
    perspective: 1000px;
    border-radius: 20px;
}

.dropdown-content .drop-list .drop-list-item {
    height: 3rem;
    display: flex;
    align-items: center;
    background: linear-gradient(#00000005, #0000), #fff;
    box-shadow: inset 0 0 1rem -0.15rem #0002;
    transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
    opacity: 0;
    animation: firstShow 0.5s ease-in-out, show 0.15s linear forwards;
}

.dropdown-content .drop-list .drop-list-item a {
    background: #fff;
    width: 100%;
    margin: auto;
    text-decoration: none;
    font-size: 1rem;
}

.dropdown-content .drop-list .drop-list-item a:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 0 0;
    box-shadow: 0 5px 10px #b0b0b5;
    
}

.dropdown-content .drop-list .drop-list-item:nth-child(1) {
    animation-delay: 0.20s;
}

.dropdown-content .drop-list .drop-list-item:nth-child(2) {
    animation-delay: 0.30s;
}

.dropdown-content .drop-list .drop-list-item:nth-child(3) {
    animation-delay: 0.40s;
}

.dropdown-content .drop-list .drop-list-item:nth-child(4) {
    animation-delay: 0.50s;
}

.dropdown-content .drop-list .drop-list-item:nth-child(5) {
    animation-delay: 0.60s;
}

.dropdown-content .drop-list .drop-list-item:nth-child(2) a,
.dropdown-content .drop-list .drop-list-item:nth-child(3) a,
.dropdown-content .drop-list .drop-list-item:nth-child(4) a,
.dropdown-content .drop-list .drop-list-item:nth-child(5) a {
    border-radius: 0 0 0 0;
}

.dropdown-content .drop-list .drop-list-item:first-child {
    border-radius: 1rem 1rem 0 0;
}

.dropdown-content .drop-list .drop-list-item:nth-child(1) a {
    border-radius: 1rem 1rem 0 0;
}

.dropdown-content .drop-list .drop-list-item:last-child {
    border-radius: 0 0 1rem 1rem;
}

.dropdown-content .drop-list .drop-list-item:nth-child(5) a {
    border-radius: 0 0 1rem 1rem;
}

.dropdown-content .drop-list .drop-list-item:hover,
.dropdown-content .drop-list .drop-list-item:focus-within {
    transform: translate3d(0, 0, 3rem);
}

.dropdown-content .drop-list .drop-list-item:hover+.drop-list-item,
.dropdown-content .drop-list .drop-list-item:focus-within+.drop-list-item {
    box-shadow: inset 0 1rem 1rem -1rem #0003;
    transform: translate3d(0, 0, 2rem);
}

.dropdown-content .drop-list .drop-list-item:hover+.drop-list-item+.drop-list-item,
.dropdown-content .drop-list .drop-list-item:focus-within+.drop-list-item+.drop-list-item {
    box-shadow: inset 0 1rem 0.5rem -0.75rem #0002;
}

.dropdown-content .drop-list .drop-list-item:hover+.drop-list-item+.drop-list-item+.drop-list-item,
.dropdown-content .drop-list .drop-list-item:focus-within+.drop-list-item+.drop-list-item+.drop-list-item {
    box-shadow: inset 0 1rem 0.5rem -0.75rem #0002;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #31344b;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}




/* Styles for the dropdown content */
@media(max-width: 940px) {
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 105%;
    left: 28%;  /* You can adjust this value if needed */
    border-radius: 1rem;
    filter: drop-shadow(0.25rem 0.25rem 0.5rem #0005);
  }

  .dropdown-content.active {
    display: block;
  }



  .dropdown-content .drop-list .drop-list-item a {
    background: #fff;
    width: 100%;
    margin: auto;
    text-decoration: none;
    text-align: left;
  }

  .drop-list-item {
    width: 100%; /* Ensure this is 100% */
  }
}




@keyframes firstShow {

    0%,
    100% {
        transform: perspective(1000px) translate3d(0, 0, 0em);
    }

    50% {
        transform: perspective(1000px) translate3d(0, 0, 3em);
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion) {
    nav * {
        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }
}





/* ---------------------------------------------------------------SERVICES PAGE STYLES--------------------------------------------------------------- */
.section-wrapper {
  height: 100vh;
  overflow-y: auto;
  position: relative;
  padding-top: 6rem;
}

.background-section,
.background-section-2,
.background-section-3,
.background-section-4 {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.background-section {
  background-image: url('img/intellifi-services-background (1).png');
}
.background-section-2 {
  background-image: url('img/intellifi-services-background (2).png');
}
.background-section-3 {
  background-image: url('img/intellifi-services-background (3).png');
}
.background-section-4 {
  background-image: url('img/intellifi-services-background (4).png');
}

  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.041); 
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #000;
  }
  
  .author {
    font-weight: bold;
    letter-spacing: 10px;
    color: #538d6f;
    padding-bottom: 1rem;
    text-transform: uppercase;
        max-width: 80%;
    margin: 0 auto;
    width: 100%;

  }


  
  .title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3em;
    color: #000;
    padding-bottom: 1rem;
        max-width: 80%;
    margin: 0 auto;
    width: 100%;

  }


  
  .des {
    font-size: 1rem;
    color: #000;
    padding-bottom: 1rem;
    max-width: 80%;
    margin: 0 auto;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);

  }

    .author,
  .title,
  .topic,
  .des,
  .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
  .title{
    animation-delay: 1.2s!important;
}
  .topic{
    animation-delay: 1.4s!important;
}
  .des{
    animation-delay: 1.6s!important;
}
  .buttons{
    animation-delay: 1.8s!important;
}
  
  .buttons {
    margin-top: 20px;
        max-width: 80%;
    margin: 0 auto;
    width: 100%;

  }
  
  .buttons .see-more-btn {
    border: none;
    color: #000;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    padding: 10px 25px;
    transition: all 0.3s ease;
    position: relative;
    width: 200px;
    
  }
  
  .buttons .see-more-btn:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    direction: ltr;
    z-index: -1;
    box-shadow: 
      -7px -7px 20px 0px #f0f0f0,
      -4px -4px 5px 0px #f0f0f0,
      7px 7px 20px 0px #0002,
      4px 4px 5px 0px #0001;
    transition: all 0.3s ease;
    border-radius: 20px;
  }
  
  .buttons .see-more-btn:hover {
    color: #1f9156;
  }
  
  .buttons .see-more-btn:hover:after {
    left: 0;
    right: auto;
    width: 100%;
  }
  
  .buttons .see-more-btn:active {
    top: 2px;
  }




















/* ----------------------------------FOOTER------------------------------- */


.footer{
  display: flex;
  gap: 10rem;
  width: 100%;
  padding: 4rem 6rem;
  background: #ecf0f3; 
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1, inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

.socials img{
  margin-left: 5rem;
  width: 60%;
  margin-bottom: 1rem;
  text-decoration: none;
  font-size: 2rem;
  color: #31344b;
  font-weight: 400;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
  position: relative;
  transition: all 0.3s ease;
}

.socials p{
  margin-bottom: 2rem;
}

.socials a{
  place-items: center;
  margin: 1rem 8px;
  text-decoration: none;
  font-size: 2rem;
  color: #31344b;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
  position: relative;
  transition: all 0.3s ease;
}

.socials a:hover::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  box-shadow: inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

.socials a i{
margin-top: 2rem;
}

.socials{
  max-width: 30%;
  background-color: #ecf0f3;
}

.footer-nav,
.footer-nav-2,
.links{
display: grid;
align-content: flex-start;
gap: 30px;
background-color: #ecf0f3;
}

.footer-nav h3,
.footer-nav-2 h3,
.links h3{
  text-decoration: none;
  font-size: 1.5rem;
  color: #1e556a;
}

.footer-nav a,
.footer-nav-2 a,
.links a{
  text-decoration: none;
  color: #000;
}

.footer-nav a:hover,
.footer-nav-2 a:hover,
.links a:hover{
  text-decoration: none;
  color: #538d6f;
}

@media(max-width: 1300px){

.footer{
  display: block;
  gap: 15rem;
  width: 100%;
  padding: 4rem 2rem;
  background: #ecf0f3; 
  box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1, inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1;
}

.socials {
max-width: 100%;
text-align: center;

}

.socials img{
margin-left: 0rem;
width: 50%;
}

.socials a{
place-items: center;
margin: 2rem 8px;
text-decoration: none;
font-size: 2rem;
color: #31344b;
font-weight: 400;
padding: 0.5rem 1rem;
border-radius: 15px;
box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
position: relative;
transition: all 0.3s ease;
}

.socials a i{
margin-top: 2rem;
}

.footer-nav h3,
.footer-nav-2 h3,
.links h3{
  text-decoration: none;
  color: #1e556a;
  margin-top: 2rem;
}
}

@media(max-width: 600px){
.socials img{
width: 100%;
}

}

































