/* --------------------------Global styles -----------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) #f9f9f9;
    overflow-x: hidden;
}
/* Navigation styles */
#navigation, #navbar {
    position: fixed;
    width: 100%;
    z-index: 1000; /* Ensure it's above other content */
}

nav img {
    max-width: 100%;
}

.nav-link {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none; /* Hide dropdown by default */
    position: absolute; /* Position it absolutely */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of dropdown */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 10px 0; /* Padding for dropdown */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li {
    position: relative; /* Required for submenu positioning */
}

.dropdown-menu li a {
    padding: 10px 20px; /* Spacing for dropdown items */
    color: black; /* Dropdown text color */
    display: block; /* Make links block elements */
    transition: padding-left 0.3s ease, border-left 0.3s ease; /* Smooth transition for padding */
}

.dropdown-menu li a:hover {
    padding-left: 20px; /* Indent on hover */
    border-left: 2px solid #3ca0e7; /* Left border on hover */
}

.dropdown:hover > .dropdown-menu {
    display: block; /* Show dropdown on hover */
}

/* Submenu Styles */
.dropdown-submenu {
    display: none; /* Hide submenu by default */
    position: absolute; /* Position it absolutely */
    left: 100%; /* Align to the right of the parent */
    top: 0; /* Align to the top of the parent */
    background: white; /* Background color */
    min-width: 200px; /* Minimum width of submenu */
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    z-index: 1; /* Ensure it appears above other content */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove margin */
    list-style: none; /* Remove default list styles */
}

.dropdown-menu li:hover > .dropdown-submenu {
    display: block; /* Show submenu on hover */
}

/* Mobile styles for dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative; /* Change to relative for mobile */
        min-width: 100%; /* Full width dropdown */
        left: 0; /* Reset left position */
        box-shadow: none; /* Remove shadow on mobile for simplicity */
    }

    .dropdown-submenu {
        position: relative; /* Change to relative for mobile */
        left: 30px; /* Reset left position */
        min-width: 100%; /* Ensure full width submenu */
        box-shadow: none; /* Remove shadow on mobile */
    }

    /* Mobile styles for nav-link */
    .nav-link {
        width: 100%; /* Make the button full width */
        text-align: center; /* Center the text inside the button */
        padding: 10px 0; /* Add some vertical padding for aesthetics */
    }
}

@media (max-width: 640px) {  /* Target mobile screens */
    #submit {
        height: 36px;  /* Match close button height */
        padding: 8px 16px;  /* Adjust padding */
        font-weight: bold;  /* Match font style */
    }
}


/* ------------------------------------------------------ */    
#popup-form {
    z-index: 50;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    opacity: 0;
    transform: scale(0.9); /* Optional: scale down when hidden for a smooth effect */
}

#popup-form.show {
    opacity: 1;
    transform: scale(1);
}

#popup-form.hidden {
    display: none;
}

/* Menu Items Styling */
#menu-items a:hover,
#menu-items span:hover {
    color: blue;
}

/* Form Shadow */
.form-shadow {
    box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.4);
    font-size: 1rem; /* Adjust base font size */
    line-height: 1.5; /* Adjust line height */
}

/* Form Elements */
input,
textarea {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.side-panel {
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.side-panel.open {
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
    }
    .main-content {
        height: auto; /* Adjust height for smaller screens */
    }
}

@media (max-width: 640px) {
    .main-content {
        height: auto; /* Adjust height for smaller screens */
    }
}

.bg-white-scrolled {
    background-color: white;
}




* {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
  }
  *:focus {
    outline: 0;
  }
  
  .mainHeading {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0 40px;
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
  }
  @media screen and (max-width: 799px) {
    .mainHeading {
      padding: 0 20px;
    }
  }
  .mainHeading__content {
    max-width: 1110px;
    min-height: 600px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  @media screen and (max-width: 799px) {
    .mainHeading__content {
      min-height: 500px;
    }
  }
  .mainHeading__text {
    z-index: 1;
    color: #637498;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 40px;
    max-width: 620px;
    margin-top: 100px;
    width: 70%;
    backdrop-filter: blur(8px);
    animation: text 0.8s 0.6s ease backwards;
    position: relative;
  }
  .mainHeading__text:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    top: 0;
    left: 0;
    animation: line 0.8s 0.6s ease backwards;
  }
  @keyframes line {
    0% {
      right: 0;
      width: 100%;
      opacity: 0;
    }
  }
  @media screen and (max-width: 799px) {
    .mainHeading__text {
      padding: 20px;
      margin: 90px 0 40px 0;
    }
  }
  @keyframes text {
    0% {
      opacity: 0;
      transform: translateX(200px);
    }
  }
  .mainHeading__preTitle {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #637498;
  }
  .mainHeading__title {
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 2px;
    margin-bottom: 24px;
    font-size: 30px;
    color: #637498;
  }
  @media screen and (max-width: 799px) {
    .mainHeading__title {
      margin-bottom: 16px;
      font-size: 28px;
    }
  }
  .mainHeading__description {
    letter-spacing: 0.5px;
    font-size: 16px;
    line-height: 26px;
  }
  @media screen and (max-width: 799px) {
    .mainHeading__description {
      font-size: 14px;
    }
  }
  .mainHeading__image {
    right: 0;
    max-width: 600px;
    width: 60%;
    height: 600px;
    transform: translatey(100px);
    position: absolute;
    overflow: hidden;
    animation: image 0.6s 0.2s ease backwards;
  }
  @media screen and (max-width: 799px) {
    .mainHeading__image {
      height: 480px;
      width: 70%;
      transform: translatey(80px);
      right: -6%;
    }
  }
  @keyframes image {
    0% {
      opacity: 0;
      transform: translatey(200px);
    }
  }
  .mainHeading__image:before, .mainHeading__image:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0%;
    top: 100%;
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    opacity: 1;
    left: 0;
  }
  .mainHeading__image:before {
    animation: imageBefore 1s 0.2s ease backwards;
  }
  @keyframes imageBefore {
    0% {
      height: 100%;
      top: 0;
    }
  }
  .mainHeading__image:after {
    background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
    height: 100%;
    top: 0;
    opacity: 0.2;
  }
  .mainHeading__image img {
    width: 100%;
    height: 100%;
  }
  
  .cta {
    padding: 16px 32px;
    color: #637498;
    background-color: transparent;
    border: 1px solid rgba(99, 116, 152, 0.4);
    font-family: "Raleway", sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-top: 32px;
    cursor: pointer;
    box-shadow: inset 0px 0px 0px rgba(99, 116, 152, 0.2);
    transition: all 0.4s ease;
  }
  .cta:hover {
    border: 1px solid rgba(99, 116, 152, 0.1);
    box-shadow: inset 0px -80px 0px rgba(99, 116, 152, 0.1);
    transform: translateY(-5px);
  }
  @media screen and (max-width: 799px) {
    .cta {
      margin-top: 16px;
    }
  }





/*---------------------------------------- SECOND SECTION --------------------------- */
.products-section {
    min-height: 200vh;
    position: relative;
    z-index: 1; /* Ensure this is behind the main content */
}
#products{
    background-image: linear-gradient(to top, #e7f0fd 0%, #accbee 100%);
}

.product-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(104, 102, 102, 0.1);
    padding: 16px;
    transition: transform 0.3s;
    opacity: 0;
    position: absolute;
    width: 100%;
    text-align: center;
}

.product-card.active {
    opacity: 1;
    position: relative;
}

.product-nav-button {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.product-nav-button.left {
    left: 10px;
}

.product-nav-button.right {
    right: 10px;
}

.product-nav-button svg {
    fill: #000;
    width: 20px;
    height: 20px;
}

#products {
    height: auto; /* Set the section height */
    position: relative; /* Ensure the section is positioned correctly */
}

.swiper-container {
    width: 90%; /* 80% width of the parent container */
    height: auto; /* Height adjusts based on content */
    margin: 0 auto; /* Center the swiper-container horizontally */
    margin-bottom: 50px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex; /* Flexbox for aligning slides */
}

.swiper-slide {
    width: 90%; /* Adjust width to 80% of the swiper-container */
    margin: 0 auto; /* Center the slide within the swiper container */
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
}


/* ----------------------------------- */
.clients{
    background-image: linear-gradient(to top, white 0%, #e7f0fd 100%);
}


/* ------------------------------About Us Section--------------------------------------- */
.about-us-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(176, 218, 252, 0.7);
    overflow: hidden;
}

/* Dark Blue Overlay with Opacity */
.about-us-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(42, 42, 219, 0.1); /* Dark Blue with 50% opacity */
    z-index: -1;
}

.about-us-section .about-us-content {
    position: relative;
}

.about-us-section .left-column {
    color: rgb(0, 0, 0);
}

.about-us-section .heading {
    color: rgba(0, 0, 0, 0.9); /* White with slight opacity */
    background: linear-gradient(to right, #000000, #000000); /* Gradient white */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-us-section .description {
    color: rgba(0, 0, 0, 0.8); /* Light gray with slight opacity */
    z-index: 11;
}

.about-us-section .learn-more-btn {
    background-color: #1d4ed8; /* Dark Blue */
    color: white;
}

.about-us-section .learn-more-btn:hover {
    background-color: #1e40af; /* Darker Blue */
}

.about-us-section .learn-more-btn:focus {
    transform: scale(1.05);
}


/* -----------------FAQ------------------------- */
.faq-section {
    min-height: 100vh; /* Use min-height for responsiveness */
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to top, #ffffff 0%, rgba(176, 218, 252, 0.9) 100%);
    padding: 1rem; /* Optional: add some padding for smaller screens */
}

.faq-content-wrapper {
    width: 100%;
    max-width: 800px; /* Limit the width for larger screens */
    margin: 0 auto;
}

.faq-title {
    text-align: center; /* Center the title */
    margin-bottom: 1.5rem;
}

.faq-item {
    padding: 1rem; /* Adjust padding for responsiveness */
    background-color: #f7fafc;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #edf2f7;
}

.faq-checkbox {
    display: none;
}

.faq-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 1rem; /* Adjust padding for responsiveness */
    font-size: 1rem; /* Adjust font size */
}

.faq-label h1 {
    font-size: 1.125rem;
    font-weight: 600;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-label .icon {
    transform: rotate(45deg);
}

.faq-content {
    display: none;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #4a5568;
}

.faq-checkbox:checked ~ .faq-content {
    display: block;
}



/*-------------------------- Footer section------------------------- */
.footer {
    background-color: #1e3a8a; 
    color: white;
    text-align: center;
    padding: 10px 0;
    width: 100%; 
    bottom: 0; 
    z-index: 1002; 
}

.footer p {
    font-size: 0.8rem;
}


/* ----------------------MEDIA QUERY FOR ABOUT SECTION-------------------------------- */
@media (max-width: 640px) {
    .about-us-section{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}

@media (max-width: 1024px) {
    .about-us-section{
        display: flex;
        align-items: center;
        justify-content: center;
        height: 170vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}
@media (max-width: 768px) {
    .about-us-section{
        height: 170vh;
    }
    .text-lg {
        font-size: 1rem; /* Adjust text size on mobile */
    }

    .text-3xl {
        font-size: 1.875rem; /* Adjust heading size on mobile */
    }

    .text-4xl {
        font-size: 2.25rem; /* Adjust heading size on mobile */
    }

    .py-16 {
        padding-top: 4rem;
        padding-bottom: 4rem; /* Adjust padding for mobile */
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem; /* Adjust padding for mobile */
    }
    #our-clients{
        height: 120vh;
    }
}
/* ---------------------MEDIA QUERY FOR 4TH SECTION------------------------------ */

#features-love {
    /* Ensure the section fills the height of the viewport */
    background-image: linear-gradient(to top, #e7f0fd 0%, #e7f0fd 100%);
    min-height: 100vh;
    
}


/* Media query for mobile devices */
@media (max-width: 767px) {
    #features-love {
        padding: 6px; /* Adjust padding for smaller screens */
        min-height: 150vh;
       
    }

    .text-center {
        padding: 0 1rem; /* Add some padding for better readability on small screens */
    }

    .grid {
        grid-template-columns: 1fr; /* Stack columns vertically on small screens */
    }

    .gap-4 {
        gap: 1rem; /* Reduce gap between items for smaller screens */
    }

    .text-3xl {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }

    .text-xl {
        font-size: 1.25rem; /* Adjust font size for smaller screens */
    }
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .swiper-slide {
        width: 50%; /* Adjust width for tablets */
    }
    .swiper-container {
        height: auto; /* Height adjusts based on content */
        margin-bottom: 50px;
        overflow: hidden;
    }
}


@media (max-width: 768px) {
    
    .swiper-container {
        height: auto; /* Height adjusts based on content */
        margin-bottom: 50px;
        padding-left: 10px;
        padding-right: 10px;
        overflow: hidden;
    }
    
    .swiper-slide {
        width: 70%; /* Adjust width for mobile devices */
    }

    .swiper-slide img {
        max-height: 120px; /* Limit the height of the image */
    }

    .swiper-slide h3 {
        font-size: 1rem; /* Adjust font size for the heading */
    }

    .swiper-slide p {
        font-size: 0.75rem; /* Adjust font size for the description */
    }

    .swiper-slide a {
        font-size: 0.75rem; /* Adjust font size for the link */
    }
}

.swiper-slide img {
    max-height: 120px; /* Limit the height of the image */
    object-fit: fill; /* Maintain aspect ratio and cover the area */
}

.swiper-slide h3 {
    font-size: 1rem; /* Adjust font size for the heading */
}

.swiper-slide p {
    font-size: 0.75rem; /* Adjust font size for the description */
}

.swiper-slide a {
    font-size: 0.75rem; /* Adjust font size for the link */
}
.swiper-slide ul{
    font-size: 0.75rem; /* Adjust font size for the link */
}

/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    #products {
        height: auto; /* Set the section height */
    }
    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .faq-item {
        padding: 0.75rem;
    }

    .faq-label {
        font-size: 0.875rem;
    }

    .icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* ---------------------------- ANIMATION FADE IN FADE OUT ------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}

.fade-out {
    opacity: 1;
    animation: fadeOut 1s ease-in forwards;
    animation-delay: var(--animation-delay, .5s); /* Default to 0.5s if not set */
}
.zoom-content {
    zoom: 0.95;
    transform: scale(0.95);
}

::selection {
  background-color: #51ff3dd9; /* Your desired background color */
  color: #008004;           /* Your desired text color */
}