@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;
    }
}


/* --------------------------------------------------------STYLES FOR ABOUT PAGE------------------------------------------------------ */

.top-about-page-section {
    min-height: 70vh;
    padding: 5rem 5rem 0 5rem;
    display: flex;
    justify-content: space-around;
    max-width: 100%;
}

.about-page-top-section-headings {
    max-width: 50%;
}

.about-page-top-section-headings.in-view{
    animation: fade_in_right 1s ease forwards;
}

@keyframes fade_in_right {
    0% {
        opacity: 0; /* Start invisible */
        transform: translateX(150px); /* Start off-screen to the right */
    }
    100% {
        opacity: 1; /* Fade in the image */
        transform: translateX(0); /* End at normal position */
    }
  }

.about-page-top-section-headings p {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.top-about-page-section h1 {
    font-size: clamp(2.5rem, 4vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    padding-top: 3rem;
    color: #2b2b2b;
    text-shadow: 10px 10px 12px #bdbdbd;
}

/* Vertical Slider Box */
.vertical-slider-box {
    width: 300px;
    height: 700px;
    overflow: hidden;
    position: relative;
}

.vertical-slider-box-track {
    display: flex;
    flex-direction: column;
    padding: 5px;
    animation: scroll 10s linear infinite;
}

.vertical-slider-box-slide {
    width: 100%;
    text-align: center;
    display: grid;
    place-items: center;
    margin: 0 0px 5rem 0;
    text-decoration: none;
    font-size: 1.5rem;
    color: #538d6f;
    font-weight: 600;
    padding: 4rem 2rem;
    border-radius: 20px;
    box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1;
    position: relative;
    transition: all 0.3s ease;
}

.vertical-slider-box-slide img {
    width: 100%;
    height: auto;
}

.vertical-slider-box-slide-1 {
    font-size: 1.3rem;
}

/* Keyframe animation for infinite scroll */
@keyframes scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* History Section */
.history-heading {
    width: 100%;
    text-align: center;
}

.history-heading h2 {
    font-size: clamp(3rem, 4vw, 5rem);
    color: #000;
    text-shadow: 10px 10px 12px #bdbdbd;
    opacity: 0;
    text-transform: uppercase;
}

.history-heading h2.in-view{
    animation: flipInX 1s ease forwards;
    animation-delay: .5s;
}

@keyframes flipInX {
    0% {
      transform: rotateX(90deg); /* Start from a 90-degree rotation (flipped) */
      opacity: 0; /* Start invisible */
    }
    100% {
      transform: rotateX(0); /* End at normal rotation */
      opacity: 1; /* Fade in to fully visible */
    }
  }

.history-heading p {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    margin-top: 2rem;
    color: #1e556a;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}


/* Horizontal Scrolling Section */
.wrapper {
    overflow-x: hidden;
    position: relative;
}

.container {
    display: flex;
    width: 300vw;
}

.col {
    display: flex;
    gap: 3em;
}

.container section {
    width: 100vw;
    padding: 5vw 5vw;
}

.container section h1 {
    font-size: 4rem;
    color: #538d6f;
    text-shadow: 10px 10px 12px #bdbdbd;
    -webkit-text-stroke: 1px #fff;
    margin: 0;
}

.container section p {
    font-size: clamp(.9rem, 1.5vw, 1.5rem);
    width: 50vw;
}

.container section ul {
    list-style-type: none;
    display: flex;
    gap: 3em;
    width: 100%;
    height: 300px;
    padding: 0;
}

.container section ul li {
    background: white;
    border-radius: .3em;
    flex-grow: 1;
}

.container section span {
    font-size: 2rem;
}

.boxed-info{
    box-shadow: -3px -3px 7px inset #ffffff, 3px 3px 5px inset #ceced1;
    padding: 4rem;
    border-radius: 25px;
}

.horizontal-scroller{
    display: flex;
    gap: 2rem;
}

.intellifi-history-description{
    margin-inline: 8rem;
    text-align: center;
    font-size: 1.2rem;
    padding-top: 2rem;
    text-shadow: 10px 10px 12px #bdbdbd;
}

.date-incorporated{
    font-size: 2rem;
    color: #538d6f;
    font-weight: 700;

}

/* Responsive Styling */
@media (max-width: 940px) {
    .top-about-page-section {
        height: auto;
        padding: 2rem;
        display: block;
        justify-content: center;
        max-width: 100%;
    }

    .about-page-top-section-headings {
        max-width: 100%;
    }

    .vertical-slider-box {
        width: 100%;
        height: 250px;
        top: 5%;
    }

    .history-heading {
        margin-top: 0; /* Remove unnecessary spacing */
    }

    .container {
        width: 300vw;
    }

    .container .col {
        display: block;
        gap: 3rem;
    }

    .container section {
        padding: 5vw 5vw;
    }

    .container section h1 {
        font-size: 2.2rem;
    }

    .horizontal-scroller{
        padding-top: 2rem;
    }

 

    .container section ul {
        gap: 2em;
    }

    .container section span {
        font-size: 1.5rem;
    }

    .horizontal-scroller{
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .vertical-slider-box {
        width: 100%;
        height: 300px;
        top: 5%;
    }

    .about-page-top-section-headings p,
    .top-about-page-section h1 {
        text-align: center;
    }

    .history-heading p {
        font-size: 1rem;
    }

    .about-page-top-section-headings p {
        font-size: 1.3rem;
        margin-top: 2rem;
        padding-bottom: 3rem;
    }

    .intellifi-history-description{
        margin-inline: 2rem;
        text-align: center;
        font-size: 1.2rem;
        padding-top: 2rem;
        text-shadow: 10px 10px 12px #bdbdbd;
    }
}


.vision-mission-heading{
    display: flex;
    justify-content: center;
    color: #000;
    text-shadow: 10px 10px 12px #bdbdbd;
    font-size: clamp(1.5rem, 2vw,3rem);
    margin-bottom: 5rem;
    text-transform: uppercase;
}

.vm-block{
    display: flex;
}

.vm-description{
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10rem;
    box-shadow: -5px -5px 7px #ffffff, 3px 3px 5px #ceced1;

}

.vm-image{
    max-width: 50%;
    text-align: center;
    padding: 3rem;
    box-shadow: -3px -3px 7px inset #ffffff, inset 3px 3px 7px #ceced1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-image img{
    width: 60%;

}

.vm-desc-1 h1,
.vm-desc-2 h1,
.vm-desc-3 h1{
    text-transform: uppercase;
    font-size: clamp(2.5rem,4vw, 6rem);
}

.vm-desc-1 h1.in-view,
.vm-desc-2 h1.in-view,
.vm-desc-3 h1.in-view{
    animation: fade_in_left 1s ease;
}

@keyframes fade_in_left {
    0% {
        opacity: 0; /* Start invisible */
        transform: translateX(-150px); /* Start off-screen to the right */
    }
    100% {
        opacity: 1; /* Fade in the image */
        transform: translateX(0); /* End at normal position */
    }
  }

.vision-mission-section{
    margin-bottom: .2rem;
}




@media(max-width: 1200px){
    .vm-description{
        max-width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: -5px -5px 7px #ffffff, 3px 3px 5px #ceced1;
    
    }
}

@media(max-width: 800px){
    .vm-block{
        flex-direction: column;
    }

    .vm-description{
        max-width: 100%;
    }

    .vm-image{
        max-width: 100%;
    }

    .vm-block-2{
        flex-direction: column-reverse;
    }
}

@media(max-width: 600px){
    .vision-mission-heading{
        text-align: center;
    }

    .vision-mission-heading{
        margin-block: 0rem;
    }
}

@media(max-width: 450px){
    .vm-image img{
        width: 80%;
    }
}









/* ----------------------------------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;
}

.footer-zip-btn{
    box-shadow:   -3px -3px 7px #ffffff,  3px 3px 5px #ceced1;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .5s ease;
  }
  .footer-zip-btn:hover{
    box-shadow:  -3px -3px 7px inset #ffffff, inset 3px 3px 5px #ceced1;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-zip-btn i{
    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%;
}

.footer-zip-btn{
    box-shadow:   -3px -3px 7px #ffffff,  3px 3px 5px #ceced1;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .5s ease;
    width: fit-content;
  }
  .footer-zip-btn:hover{
    box-shadow:  -3px -3px 7px inset #ffffff, inset 3px 3px 5px #ceced1;
    padding: 10px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
  }

}