/* index.html page css */

/* --- Read More functionality (adjusted to match your vision-content) --- */
@media (max-width: 768px) {
  .collapsed {
    max-height: 220px; /* Approx. 2-3 lines */
    overflow: hidden;
    position: relative;
  }

  .collapsed::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    border-radius: 0 0 10px 10px;
  }

  .toggleBtn {
    display: inline-block;
      margin-top: 10px;
      background: none;
      border: none;
      color: #062e6f;
      cursor: pointer;
      font-weight: bold;
      font-size: 1em;
      padding: 0;
  }
}

@media (min-width: 769px) {
  .toggleBtn {
    display: none;
  }
}

/* Animations */
.fade-in {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    /* from top */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
}


body {
    margin-top: 0;
    display: block;
    overflow-x: hidden;
    font-family: "Rubik", sans-serif;
    background-color: #f3f6f8;
}


/* Scrolling Text CSS */
.w2w-banner-scrolling-text {
    position: absolute;
    top: 40px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
}

.w2w-banner-scrolling-text p {
    display: inline-block;
    padding-left: 100%;
    font-size: 1.2rem;
    color: white;
    animation: scroll-left 35s linear infinite;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Disabled Request Button */
.btn.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
    opacity: 0.7;
}


/* vision-banner */
.vision-banner {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.vision-banner:not(.reverse) {
    justify-content: flex-start;
    /* Vision: content left */
}

.vision-banner.reverse {
    justify-content: flex-end;
    /* Mission: content right */
}

/* Shared styling */
.vision-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.vision-overlay {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 100%;
    padding: 0 80px;

}

.vision-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 30px;
}

.vision-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #07036e;
}

.vision-content p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .vision-banner,
    .vision-banner.reverse {
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        /* maintain vertical spacing */
        position: relative;
    }

    .vision-overlay {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 20px;
    }

    .vision-content {
        background: rgba(253, 246, 246, 0.7);
        padding: 20px;
        /* margin: 20px 0; */
        border-radius: 0;
    }

    .vision-content h2 {
        font-size: 1.5rem;
    }

    .vision-content p {
        font-size: 1rem;
        color: #333;
    }

    .why-choose-us-img {
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        filter: brightness(0.6);
    }
}

.why-choose-us-img,
.vision-bg-img {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Ensure banner height grows with content */
.vision-banner#href-choose-us,
.vision-banner#href-about-us,
.vision-banner#href-our-company-journy {
    height: auto;
    padding: 20px 0;
    /* space above and below the content/image */
    align-items: center;
    position: relative;
}

/* Dynamic height image that aligns with content + 20px top/bottom padding */
.why-choose-us-img {
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

/* Content spacing to match padding */
.vision-content {
    margin: 30px 20px;
    /* adds same top & bottom spacing as image */
}

.w2w-index-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.w2w-banner-tagline {
    font-size: 4rem;
    font-weight: bold;
    margin: 2px 0;
    line-height: 1.2;
}

.w2w-banner-description {
    font-size: 1.5rem;
    max-width: 1500px;
    margin-top: 10px;
    font-style: italic;
    /* font-weight: bold; */
    line-height: 1.8rem;

}

/* Page Container */
.w2w-index-container {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 40px 20px; */
}

.w2w-banner-video-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.w2w-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Mobile default: center content horizontally */
    justify-content: center;
    height: 100%;
    padding: 0 20px;
    text-align: center;
    width: 900px;
}

/* Tablet View */
@media (max-width: 1024px) and (min-width: 769px) {
    .w2w-banner-video-container {
        height: 320px;
    }

    .w2w-banner-tagline {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .w2w-banner-description {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 100%;
        margin-top: 8px;
    }

    .w2w-banner-description p {
        font-size: 1rem;
    }
}

/* Animations */
.slide-in-left {
    animation: slideFromRight 3s ease-in-out forwards;
}

/* Keyframes */
@keyframes slideFromRight {
    from {
        transform: translateX(100vw);
        /* Start offscreen to the right */
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /* Final position */
        opacity: 1;
    }
}

/* Desktop View: Move content to left */
@media (min-width: 1025px) {
    .w2w-banner-video-container {
        height: 700px;
        justify-content: flex-start;
        /* Align content to left horizontally */
    }

    .w2w-banner-content {
        align-items: flex-start;
        /* Align items to left inside flex column */
        text-align: left;
        padding-left: 80px;
        padding-right: 20px;
        max-width: 900px;
        margin: auto 0;
    }

    .w2w-banner-tagline,
    .w2w-banner-description {
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 0;
        white-space: nowrap;
        /* Prevent text from wrapping */
        overflow: hidden;
        /* Optional: hide overflow */
        text-overflow: ellipsis;
        /* Optional: add "..." if text overflows */
    }
}

/* Services Section */
.services {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

.s-heading h1 {
    color: #2c3e50;
    font-size: 3rem;
    font-weight: 600;
}

.s-heading p {
    color: #000000;
    font-size: 1rem;
}

.s-box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.s-box.homepage-card {
    background-color: #ffffff;
    border: 1px solid #e1ecf4;
    border-radius: 16px;
    padding: 30px 20px;
    width: 260px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.s-box.homepage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.s-box.homepage-card i {
    font-size: 48px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.s-box.homepage-card h1 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.s-box.homepage-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
    text-align: center;
}

.s-btn {
    margin-top: auto;
    padding: 8px 20px;
    background-color: #4a90e2;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    transition: background-color 0.3s ease;
}

.s-btn:hover {
    background-color: #357ab8;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .s-box.homepage-card {
        width: 45%;
    }
}


@media (min-width: 769px) {

    .w2w-banner-content {
        padding: 0 15px;
        text-align: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .s-box.homepage-card {
        width: 100%;
    }

    .about-container {
        flex-direction: column;
    }

    .text-content,
    .image-content {
        padding: 0;
    }
}

.services-section {
    padding: 3rem 1rem;
    max-width: 1500px;
    margin: auto;

}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #070063;
    margin-bottom: 2.5rem;
    font-weight: bold;
}

/* Grid layout for services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

.service-card {
    background-color: #dbeafe;
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 480px;
    /* Increased width */
    height: 240px;
    /* Decreased height */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-card i {
    font-size: 3rem;
    color: #1d4ed8;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #070063;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;

}

.service-card p {
    font-size: 1rem;
    color: #070063;
    transition: all 0.3s ease;
}

/* Hover effect */
.service-card:hover {
    background-color: #1d4ed8;
    color: white;
    transform: translateY(-10px);
    /* Slight lift effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    /* Deeper shadow on hover */
}

.service-card:hover h3 {
    font-size: 1.5rem;
    color: white;
}

.service-card:hover p,
.service-card:hover .read-more {
    color: white;
    font-size: 1.2rem;
}

/* Read More link styling */
.read-more {
    display: inline-block;
    margin-top: 1.2rem;
    font-weight: normal;
    color: #1d4ed8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

/* Make Read More text bold and white on card hover */
.service-card:hover .read-more {
    color: white;
    font-weight: bold;
}

/* Hide services 7 and beyond */
.services-grid .hidden {
    display: none;
}

.view-all-btn {
    display: block;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #1d4ed8;
    color: white;
    text-align: center;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 240px;
}

.view-all-btn:hover {
    background-color: #0337a7;
    color: white;
}

/* Mobile view adjustments */
@media (max-width: 600px) {
    .view-all-btn {
        width: 180px;       /* Reduce width */
        padding: 0.8rem 1.2rem; /* Reduce padding */
        font-size: 1rem;      /* Smaller font size */
    }
}

/* Responsive Design for smaller screens */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 per row on medium screens */
    }

    .service-card {
        width: 100%;
        /* Full width on mobile */

    }
}

@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
        /* 1 per row on small screens */
    }

    .services-grid {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 100%;
        /* Full width on mobile */

    }
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1e4bb8;
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    margin-left: 12px;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #fff;
}

.who-we-are-section h2 {
    font-size: 2.25rem;
    color: #070063;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.who-we-are-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    position: relative;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.who-we-are-container.no-reverse {
    flex-direction: row;
}

.who-we-are-container.reverse {
    flex-direction: row-reverse;
}

.who-we-are-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.who-we-are-text {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    backdrop-filter: blur(2px);
}

/* Text spacing */
.who-we-are-text p,
.who-we-are-text li {
    margin-bottom: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .who-we-are-container {
        flex-direction: column;
        min-height: auto;
    }

    .who-we-are-image {
        min-height: 200px;
    }

    .who-we-are-text {
        padding: 20px;
    }

    .who-we-are-section h2 {
        font-size: 1.75rem;
    }
}

ul {
    margin-top: 15px;
}

ul li {
    margin-bottom: 12px;
    line-height: 1.2;
    font-size: 1.3rem;
}

.highlight-box li {
    position: relative;
    margin-top: 0;
    font-size: 1rem;
    padding-left: 28px;
}

.highlight-box ul li::before {
    /* content: "●"; */
    content: "✔";
    color: #062e6f;
    position: absolute;
    left: 0;

}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
}


.aboutus-content {
    display: inline-block;
    width: fit-content;
    height: auto;
    max-width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: #333;
    overflow-y: auto;
}

.aboutus-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #07036e;
    text-align: center;
}

.aboutus-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .aboutus-content {
        padding: 24px 16px;
    }

    .aboutus-content h2 {
        font-size: 1.75rem;
    }

    .aboutus-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}






/* navbar.html page css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* Navbar becomes solid once scrolled */
nav.scrolled {
    background-color: white;  /* Solid background after scroll */
    border-bottom: 1px solid #e0e0e0; /* Show border after scroll */
}


/* Top-level nav container */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 10px 30px;
    flex-wrap: nowrap;
    /* Prevent wrapping to next line */
    width: 100%;
}

.mega_menu_item h3 {
    font-weight: bold;
}

/* For the "Who we are?" heading */
.mega_menu_item.info-wide h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* For the description paragraphs */
.mega_menu_item.info-wide p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.main_menu>ul>li>a {
    font-weight: bold;
}

nav.fixed-top {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    z-index: 999;
    width: 100%;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.logo-img {
    /* width: 40px; */
    height: 40px;
    width: auto;
}

.company-name {
    font-weight: bold;
    color: #d6b415;
    /* Adjust to match screenshot */
    font-size: 3rem;
}

/* Main nav menu */
.main_menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main_menu ul li a.disabled-link {
    color: #bbb;
    pointer-events: none;
}

/* Right section */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-selector {
    padding: 6px 8px;
    font-size: 0.9rem;
}

.btn-request-demo,
.btn-login {
    padding: 6px 12px;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    background-color: #908cff;
    color: white;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: #666;
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.logo-wrapper,
.main_menu,
.nav-extras {
    flex: 1;
}

.main_menu {
    display: flex;
    justify-content: center;
}

.nav-extras {
    justify-content: flex-end;
}

.disabled-btn {
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.disabled-link {
    color: #aaa;
    cursor: not-allowed;
    text-decoration: none;
    display: block;
    padding: 2px 5px;
    font-size: 17px;
}

.disabled-parent>.disabled-link {
    pointer-events: none;
    /* disables all mouse events */
    color: #aaa;
    /* faded text color */
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .search-box {
        max-width: 90%;
        padding: 5px 8px;
    }

    .search-box input[type="text"] {
        font-size: 14px;
    }

    .search-box i {
        font-size: 16px;
    }
}

/* Desktop and base styling */
.logo-wrapper {
    flex: 0 0 auto;
    align-items: center;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    margin-right: 10px;
}

.company-name {
    font-size: 25px;
    font-weight: 600;
    color: #d8c51e;
    white-space: nowrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo-wrapper {
        justify-content: flex-start;
        padding: 8px 16px;
    }

    .logo-img {
        height: 40px;
        margin-right: 8px;
    }

    .company-name {
        font-size: 18px;
    }
}

.search-box {
    position: relative;
    display: inline-block;
}

.search-box input {
    padding-right: 30px;
    /* Space for clear icon */
}

#clear-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.highlighted {
    background-color: yellow !important;
    transition: background-color 0.5s ease;
}

@media (max-width: 767.98px) {
    .nav-extras {
        display: none !important;
    }
}

.btn-request-demo {
    background-color: #4a47f7;
    color: white;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 12px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.btn-request-demo:hover {
    background-color: #3833c9;
    /* Darker blue */
    box-shadow: 0 4px 10px rgba(56, 51, 201, 0.4);
}

.btn-login {
    background-color: transparent;
    border: none;
    color: #333;
    font-size: 18px;
    margin-left: 12px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-login:hover {
    color: #4a47f7;
    transform: scale(1.1);
}


/* Ensure the column does not stretch infinitely */
#col-info {
    max-width: 320px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    padding-right: 20px;
}

#col-info p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
}

/* Shop 2 specific mega menu layout */
.mega_menu.shop2 .info-wide {
    width: 30%;
    background-color: #1d4ed8;
    /* #07036e */
    color: #fff;
    padding: 20px;
    box-sizing: border-box;

}

.mega_menu.shop2 .mega_menu_item:not(.info-wide) {
    width: 25%;
}

:root {
    --background-color: #ffffff;
    --hover-color: rgb(102, 40, 245);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}

a {
    text-decoration: none;
}

ul,
ol {
    list-style-type: none;
}

.container {
    max-width: 100%;
    width: 100%;
    max-width: 1440px;
    /* margin: 0 auto; */
    left: 0;
    right: 0;
}

nav .container {
    padding-left: 50px;
    position: relative;
}

nav {
    background: var(--background-color);
    box-shadow: 0px 5px 15px 0px rgba(212, 201, 201, 0.75);
}

/* normal menu css */
.main_menu>ul>li {
    display: inline-block;
    position: relative;
    margin: 0 8px;
    white-space: nowrap;
}

.main_menu ul li {
    position: relative;
}

.mega_menu_dropdown>a {
    font-size: 25px;
    font-weight: bold;
}

.main_menu ul li a {
    font-size: 18px;
    padding: 20px 25px;
    display: block;
    text-decoration: none;
    color: #111;
    /* font-weight: 500; */
}

.main_menu ul li .active,
.main_menu ul li:hover>a {
    color: var(--hover-color);
}

.main_menu {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile_btn {
    display: none;
}

/* Normal Dropdown menu */
.main_menu ul li ul {
    width: 200px;
    background: #fff;
    transition: 0.5s;
    box-shadow: 0px 5px 15px 0px rgba(212, 201, 201, 0.75);
}

.main_menu ul li ul li a {
    padding: 10px 25px;
    font-size: 15px;
}

.main_menu ul li ul li a i {
    float: right;
}

.main_menu ul li ul li ul {
    left: 100%;
    top: 0;
}

/* mega menu css */
.mega_menu_dropdown {
    position: static !important;
}

#col-info {
    flex: 2;
    /* span 2 columns */
    max-width: none;
    /* allow to grow */
}

.mega_menu_item:not(#col-info) {
    flex: 1;
    /* span 1 column each */
}

.mega_menu {
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    transition: 0.5s;
    box-shadow: 0px 5px 15px 0px rgba(212, 201, 201, 0.75);
    justify-content: flex-end;
    /* flex: 2; */
}

.mega_menu_item {
    /* width: 25%; */
    padding: 30px 20px;
    white-space: normal;
    float: left;
    width: 10.33%;
    /* or similar */

}

.info-wide {
    width: 25%;
}

.main_menu ul li .mega_menu_item a {
    padding: 10px 0;
    font-weight: bold;
}

.main_menu ul li .mega_menu_item a:hover {
    color: var(--hover-color);
}

.mega_menu_item h3 {
    margin-bottom: 15px;
    color: #07036e;
}

.mega_menu_item h2 {
    margin-bottom: 15px;
}

/* demo_2 css */
.mega_menu {
    left: 0;
    transform: none;
    width: 1500px;
}

.mobile_btn {
    display: none;
}

/* Mobile: Stack columns vertically */
@media (max-width: 768px) {
    .mega_menu_dropdown.has_dropdown {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .mobile_btn {
        display: block;
        flex: 0;
        cursor: pointer;
    }

    .mobile_btn i {
        font-size: 20px;
        /* Bigger icon */
        color: #222;
        /* font-weight usually doesn't affect FA icons but you can keep it */
        font-weight: 700;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 767.98px) {
    .row {
        flex-direction: row;
        justify-content: space-between;
    }

    .mobile_btn {
        display: block;
        flex: 0;
    }

    .main_menu {
        flex: 1 100%;
        margin-top: 10px;
    }
}

/* responsive css */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        width: 960px;
    }

    .mega_menu {
        width: 940px;
    }

    .main_menu ul li ul {
        width: 150px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        width: 720px;
    }

    .mega_menu {
        width: 700px;
    }

    .main_menu ul li a {
        font-size: 15px;
        padding: 20px 16px;
    }

    .main_menu ul li ul {
        width: 150px;
    }
}

@media (min-width: 768px) {
    .main_menu ul li ul {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        margin-top: 50px;
    }

    .main_menu ul li .mega_menu {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        margin-top: 50px;
    }

    .main_menu ul li:hover>ul {
        visibility: visible;
        opacity: 1;
        margin-top: 0px;
        z-index: 99;
    }

    .main_menu ul li:hover>.mega_menu {
        visibility: visible;
        opacity: 1;
        margin-top: 0;
        z-index: 99;
    }
}

@media (max-width: 767.98px) {

    .mega_menu,
    .container {
        width: 100%;
    }

    nav {
        padding: 15px;
    }

    .mobile_btn {
        cursor: pointer;
        display: block;
    }

    .main_menu {
        display: none;
        width: 100%;
    }

    .main_menu ul li {
        display: block;
    }

    .main_menu ul li a i {
        float: right;
    }

    .main_menu ul li ul {
        width: 100%;
    }

    .main_menu ul li ul li ul {
        left: 0;
        top: auto;
    }

    .mega_menu .mega_menu_item {
        width: 50%;
    }

    .main_menu ul li ul {
        display: none;
        transition: none;
    }

    .main_menu ul li .mega_menu {
        display: none;
        transition: none;
    }

}

@media (max-width: 575.98px) {
    .mega_menu .mega_menu_item {
        width: 100%;
    }
}

.fa-angle-down {
    transition: transform 0.3s ease;
}

.fa-rotate-180 {
    transform: rotate(180deg);
}

.mega_menu_item.menu-column a {
    font-weight: bold;
}

.mega_menu.sub_menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100vw;
    /* full viewport width */
    max-width: 1600px;
    box-sizing: border-box;
    z-index: 999;
}


.mega_menu_item.menu-column {
    width: 35%;
    padding: 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    /* Hide the "Who we are?" section on mobile only */
    .mega_menu_item.info-column {
        display: none !important;
    }

    /* Ensure menu column takes full width */
    .mega_menu_item.menu-column {
        width: 100% !important;
        padding: 20px;
    }

    .mega_menu_item.menu-column ul {
        padding: 0;
        margin: 0;
    }

    .mega_menu_item.menu-column ul li {
        padding: 12px 16px;
        font-size: 16px;
        border-bottom: 1px solid #ddd;
        white-space: nowrap;
        overflow: hidden;
        /* text-overflow: ellipsis; */
    }
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-selector {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-box input {
    padding: 6px 30px 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-box i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 14px;
}


.nav-mobile-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
}

.btn-search-toggle {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    margin-left: 10px;
    color: #333;
}

.mobile-search-bar {
    display: none;
    margin-top: 10px;
    width: 100%;

}

.mobile-search-bar input {
    width: 100%;
    padding: 8px;
    font-size: 16px;
}

/* Show search bar when active */
.mobile-search-bar.active {
    display: block;
}

/* Responsive adjustments */
@media(min-width: 768px) {

    /* Hide mobile-only controls on desktop */
    .nav-mobile-left,
    .btn-search-toggle,
    .btn-menu-toggle,
    .mobile-search-bar {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .navbar {
        padding: 0 1rem;
    }

    .right-section {
        justify-content: flex-end;
    }
}

.highlight {
    background-color: yellow;
    font-weight: bold;
    /* Change to your preferred highlight color */
}

@media (max-width: 768px) {

    .main-menu,
    .submenu {
        width: 100%;
        display: block;
    }

    .submenu {
        padding: 0 16px;
    }
}

.mobile-menu {
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
}

.menu-item>a {
    display: block;
    padding: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.submenu {
    display: none;
    padding-left: 16px;
    background-color: #f8f8f8;
}

.submenu li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #444;
    font-weight: normal;
}

.menu-item.active>.submenu {
    display: block;
}

.main-menu.hide-all .menu-item:not(.active) {
    display: none;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

/* Hide main_menu on small screens by default */
@media (max-width: 768px) {
    .main_menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        /* Below navbar */
        left: 0;
        z-index: 999;
    }

    .main_menu ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .main_menu ul li {
        display: block;
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
    }

    .main_menu.show {
        display: flex;
        /* Show when toggled */
    }

    #mobile-menu {
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 768px) {

    /* Dropdown submenu inside mobile menu */
    .main_menu .mega_menu {
        width: 100%;
        /* Take full screen width */
        left: 0 !important;
        position: relative;
        padding-left: 20px;
        /* Indent submenu items */
        box-sizing: border-box;
        max-height: 60vh;
        overflow-y: auto;
        background-color: #fff;
        z-index: 1000;

        /* Optional: Add spacing and formatting to dropdown links */
        .main_menu .mega_menu a {
            display: block;
            padding: 8px 0;
            color: #333;
        }

        /* Optional: Add smooth scroll bar */
        .main_menu .mega_menu::-webkit-scrollbar {
            width: 6px;
        }

        .main_menu .mega_menu::-webkit-scrollbar-thumb {
            background-color: #ccc;
            border-radius: 4px;
        }
    }
}