:root {
    --primary-color: #228DDF;
    --secondary-color: #003366;
    --text-color: #333;
    --bg-color: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(0deg, #081126 0%, black 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

/* Intro Animation Styles */
.intro {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #081126, #000);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

.intro .intro-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0;
    animation: logoAnim 1s ease forwards;
}

.intro .line {
    width: 0;
    height: 3px;
    background: #00e0ff;
    animation: lineAnim 1.2s ease forwards;
    animation-delay: 0.8s;
    /* Start after logo fade in */
}

.intro h1 {
    color: white;
    opacity: 0;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    /* Consistent font */
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: textAnim 0.8s ease forwards;
    animation-delay: 2s;
    /* Start after line finishes */
    text-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
    text-align: center;
    padding: 0 20px;
}

@keyframes logoAnim {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineAnim {
    to {
        width: 200px;
    }
}

@keyframes textAnim {
    to {
        opacity: 1;
    }
}

.intro.fade-out .intro-logo,
.intro.fade-out .line,
.intro.fade-out h1 {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.intro.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease-out 0.3s, visibility 0.8s ease-out 0.3s;
}

/* Grid Pattern Background */
/* Grid Pattern Background Removed */
body::before {
    display: none;
}

/* Ensure all main content is above the grid */
main,
section,
.top-bar,
header {
    position: relative;
    z-index: 1;
}

/* Top Bar */
.top-bar {
    width: 100%;
    padding: 10px;
    background: #081126;
    border: 1px solid black;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}

.top-bar-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    height: 36px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.top-bar-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.top-bar-icon path {
    fill: white;
    transition: fill 0.3s ease;
}

.top-bar-item:hover .top-bar-icon {
    transform: scale(1.1);
}

.top-bar-item:hover .top-bar-icon path {
    fill: #228DDF;
}

.top-bar-item:hover {
    color: #228DDF;
    transition: color 0.3s ease;
}

/* For inline-styled top bar items (like in about-details.html) */
.top-bar svg path,
[style*="display: inline-flex"] svg path {
    transition: fill 0.3s ease;
}

.top-bar [style*="display: inline-flex"]:hover svg path,
.top-bar [style*="display: flex"]:hover svg path {
    fill: #228DDF;
}

header {
    position: fixed;
    width: 100%;
    top: 56px;
    z-index: 1000;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    left: 0;
    right: 0;
}

/* Adjust hero section margin for smaller navbar */
.hero-section {
    margin-top: 136px;
}

.main-nav {
    width: 100%;
    height: 80px;
    padding: 15px 30px;
    margin: 0;
    background: rgba(8, 17, 38, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(16px);
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo img {
    width: 240px;
    height: 60px;
    object-fit: contain;
}

nav {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background: rgba(0, 51, 102, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

nav ul li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.nav-menu li a:hover {
    color: #228DDF;
    background: rgba(34, 141, 223, 0.1);
    transform: translateY(-2px);
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-arrow {
    width: 10px;
    height: 6px;
    background: white;
    display: inline-block;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    transition: transform 0.3s ease;
}

.nav-menu li a:hover .nav-arrow {
    background: #228DDF;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    height: auto;
    line-height: 1.4;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #228DDF;
    transition: width 0.3s ease;
}

nav ul li a:hover,
.nav-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #228DDF;
}

nav ul li a:hover::before,
.nav-dropdown-toggle:hover::before {
    width: 100%;
}

.nav-dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #228DDF;
    transition: width 0.3s ease;
}

/* Header Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.4;
}

.nav-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    margin-left: 0.3rem;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown.active .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 220px;
    background: #081126;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Desktop Hover Support (Replaces JS listeners) */
@media (min-width: 1025px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-dropdown:hover .nav-arrow {
        transform: rotate(180deg);
    }
}

.nav-dropdown-item {
    display: block;
    padding: 0.9rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.nav-dropdown-item:last-child {
    border-bottom: none;
}

.nav-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #228DDF;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #fff !important;
    padding-left: 2rem;
}

.nav-dropdown-item:hover::before {
    background: rgba(255, 255, 255, 0.3);
    transform: scaleY(1);
}

.nav-dropdown-item:active,
.nav-dropdown-item.active {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding-left: 2rem;
}

.nav-dropdown-item:active::before,
.nav-dropdown-item.active::before {
    background: rgba(255, 255, 255, 0.4);
    transform: scaleY(1);
}

.hero-section {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #0f172a 0%, #020617 45%, #000 100%);
}

.about-hero-section {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #081126;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    outline: none;
    overflow: hidden;
    /* Maximum quality rendering */
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    /* Prevent quality degradation */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: transparent;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 54px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    margin-bottom: 15px;
    color: #4DB8FF;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.9),
        0 18px 45px rgba(15, 23, 42, 0.95);
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
}

.hero-content p {
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.6;
    color: #6BC5FF;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.6),
        0 3px 6px rgba(0, 0, 0, 0.9),
        0 10px 30px rgba(15, 23, 42, 0.95);
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

/* Hero Content Animations */
.hero-text-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-section.reveal .hero-text-anim,
.hero-section.active .hero-text-anim {
    opacity: 1;
    transform: translateY(0);
}

.hero-text-anim.delay-1 {
    transition-delay: 0.2s;
}

.hero-text-anim.delay-2 {
    transition-delay: 0.4s;
}

.hero-text-anim.delay-3 {
    transition-delay: 0.6s;
}

/* Page Hero Animations (for internal pages) */
.page-hero-anim {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 0.5s ease-out forwards;
}

.page-hero-anim.delay-1 {
    animation-delay: 0.2s;
}

.page-hero-anim.delay-2 {
    animation-delay: 0.4s;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p span {
    font-weight: 300;
}

.about-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 763px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}



.about-header p {
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
    color: white;
    line-height: 1.85;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    letter-spacing: 0.3px;
}

.about-header p.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-content-wrapper {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.about-text-content {
    flex: 1;
    max-width: 627px;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.85;
}

.about-text-content p {
    line-height: 1.85;
}

.about-text-content p {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text-content p.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text-content .learn-more-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-text-content .learn-more-btn.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-image-content {
    flex: 1;
    max-width: 600px;
}

.about-image-card {
    width: 100%;
    max-width: 600px;
    height: 400px;
    /* Adjusted to show full image */
    background: transparent;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    box-shadow: none !important;
}

.about-image-card.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
    transform: translateX(0) scale(1);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.learn-more-btn {
    width: 120px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #17599D 0%, #081F37 100%);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 1;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.learn-more-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: none;
    border: none;
    background: linear-gradient(180deg, #228DDF 0%, #124C79 100%);
}

.learn-more-btn:hover::before {
    left: 100%;
}

.learn-more-btn:hover::after {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
}

.learn-more-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.about-content p:last-of-type {
    margin-bottom: 1.2rem;
}

.read-more-btn {
    display: inline-block;
    position: relative;
    padding: 0.6rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    width: fit-content;
}

.read-more-btn span:first-child {
    position: relative;
    z-index: 2;
}

.read-more-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(34, 141, 223, 0.4);
}

.explosive-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    z-index: 1;
}

.read-more-btn:active .explosive-effect {
    width: 300px;
    height: 300px;
    opacity: 1;
    animation: explosivePulse 0.6s ease-out;
}

@keyframes explosivePulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.about-images-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
    padding: 0;
    margin-top: 4.5rem;
}

.about-section.visible .about-images-wrapper {
    opacity: 1;
    transform: translateX(0);
}

.about-images {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: calc(100% - 4.5rem);
    overflow: hidden;
    border-radius: 30px 50px 50px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: stretch;
    padding: 0;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px 50px 50px 30px;
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.about-quotes {
    position: relative;
    min-height: 60px;
    max-width: 600px;
}

.about-quotes .quote {
    position: absolute;
    width: 100%;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-color);
    text-align: center;
    padding: 1rem;
    background: rgba(34, 141, 223, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.about-quotes .quote.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Page Hero Section */
.page-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #004080 100%);
    text-align: center;
    margin-top: 100px;
}

.page-hero-content h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Details Sections (About Details, Growth, Team, Awards, Policies) */
.details-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.details-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Universal section animation - applies to all sections */
section:not(.hero-section):not(.page-hero):not(.policies-hero-section):not(.policies-content-section) {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section:not(.hero-section):not(.page-hero):not(.policies-hero-section):not(.policies-content-section).visible {
    opacity: 1;
    transform: translateY(0);
}

/* Override for sections that already have specific animations */
section.about-section.visible,
section.milestones-section.visible,
section.clients-section.visible,
section.founder-section.visible,
section.trusted-industries-section.visible,
section.contact-cta-section.visible,
section.photo-gallery-section.visible,
section.products-section.visible,
section.vision-mission-section.visible,
section.key-matrix-section.visible,
section.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.details-section h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.details-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.details-content {
    background: rgba(18, 76, 121, 0.2);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #228DDF;
    color: white;
}

.details-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.details-content p:last-child {
    margin-bottom: 0;
}

.details-content ul {
    margin-left: 2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.details-content ul li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: white;
}

.details-content h3 {
    font-size: 1.5rem;
    color: #228DDF;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Milestones Timeline Section */
.milestones-section {
    width: 100%;
    padding: 40px 20px;
    background: #081126;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.milestones-header {
    max-width: 1238px;
    text-align: center;
    margin-bottom: 20px;
}

.milestones-header h2 {
    color: #000000;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    margin-bottom: 10px;
}

.milestones-header p {
    color: #000000;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    margin-top: 10px;
}

.milestones-timeline-container {
    width: 100%;
    max-width: 1220px;
    height: 360px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar completely */
.milestones-timeline-container::-webkit-scrollbar {
    display: none;
}

.milestones-timeline-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.milestones-timeline {
    width: max-content;
    padding: 20px;
    background: #081F37;
    display: inline-flex;
    gap: 20px;
    align-items: center;
    min-width: 100%;
}

.timeline-clone {
    display: inline-flex;
    padding: 20px;
    background: #081F37;
    gap: 20px;
    align-items: center;
}


.milestone-card {
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.milestone-year {
    position: absolute;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    text-align: center;
    color: #124C79;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    word-wrap: break-word;
}

.milestone-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 62px;
    transform: translateX(-50%);
    overflow: hidden;
}

.milestone-icon-top {
    width: 29.75px;
    height: 42.50px;
    position: absolute;
    left: 10.13px;
    top: 0;
    background: #0F2B45;
}

.milestone-icon-bottom {
    width: 40px;
    height: 25.55px;
    position: absolute;
    left: 5px;
    top: 24.45px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
}

.milestone-content {
    width: 266px;
    position: absolute;
    left: 50%;
    top: 141px;
    transform: translateX(-50%);
    text-align: center;
}

.milestone-content h3 {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    margin-bottom: 5px;
}

.milestone-content p {
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    margin-top: 5px;
    line-height: 1.5;
}


/* Milestone Card Hover Effects */
.milestone-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.milestone-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 15px 40px rgba(18, 76, 121, 0.5);
    background: rgba(8, 31, 55, 0.9);
}

.milestone-card:hover .milestone-year {
    color: #228DDF;
    transform: translateX(-50%) scale(1.1);
    transition: color 0.3s ease, transform 0.3s ease;
}

.milestone-card:hover .milestone-icon-top {
    background: #124C79;
    transition: background 0.3s ease;
}

.milestone-card:hover .milestone-icon-bottom {
    background: linear-gradient(90deg, #228DDF 0%, #3BA3F5 100%);
    transition: background 0.3s ease;
}

.milestone-card:hover .milestone-content h3 {
    color: #228DDF;
    transition: color 0.3s ease;
}

.milestone-card:hover .milestone-content p {
    color: rgba(255, 255, 255, 0.95);
    transition: color 0.3s ease;
}


.milestone-year {
    transition: color 0.3s ease, transform 0.3s ease;
}

.milestone-icon-top,
.milestone-icon-bottom {
    transition: background 0.3s ease;
}

.milestone-content h3 {
    transition: color 0.3s ease;
}

.milestone-content p {
    transition: color 0.3s ease;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.dropdown-content {
    display: none;
    padding: 2rem;
    background: rgba(18, 76, 121, 0.2);
    border-radius: 15px;
    border-left: 4px solid #228DDF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.5s ease-out;
    color: white;
    opacity: 0;
    transform: translateY(20px);
}

.dropdown-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.dropdown-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1rem;
}

.dropdown-content p:last-child {
    margin-bottom: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Our Clients Section */
/* Vision and Mission Section */
.vision-mission-section {
    display: flex;
    gap: 10rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 4rem auto;
    justify-content: center;
    align-items: stretch;
    /* Ensure both cards have same height */
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vision-mission-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.vision-card,
.mission-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.vision-mission-section.visible .vision-card {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.vision-mission-section.visible .mission-card {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    justify-content: center;
}

.vision-mission-section.visible .vision {
    animation: fadeInUp 0.8s ease-out forwards;
}

.vision-mission-section.visible .vision:first-child {
    animation-delay: 0.2s;
}

.vision-mission-section.visible .vision.mission {
    animation-delay: 0.4s;
}

.vision-card,
.mission-card {
    flex: 0 1 500px;
    /* Equal width cards that stay aligned */
    max-width: 500px;
    height: 220px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #17599D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* New Vision/Mission Structure */
.vision {
    flex: 1;
    max-width: 450px;
    min-width: 300px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #17599D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 141, 223, 0.1), transparent);
    transition: left 0.5s ease;
}

.vision:hover::before {
    left: 100%;
}

.vision:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #228DDF;
    box-shadow: 0 15px 40px rgba(34, 141, 223, 0.3), 0 5px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #081126 0%, #0a1a2e 100%);
}

.our-vision-to-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1;
    justify-content: center;
}

.vision-header {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 100%;
    margin-bottom: 15px;
    padding: 0;
    min-height: 48px;
    /* Ensure consistent header height */
}

.vision-icon,
.mission-icon {
    width: 36px;
    height: 36px;
    color: #228DDF;
    flex-shrink: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon svg,
.mission-icon svg {
    width: 100%;
    height: 100%;
}

.vision:hover .vision-icon,
.vision:hover .mission-icon {
    color: #228DDF;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(34, 141, 223, 0.6));
}

.our-vision {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.vision:hover .our-vision {
    color: #228DDF;
    text-shadow: 0 0 10px rgba(34, 141, 223, 0.5);
    transform: scale(1.05);
}

.to-be-the {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    width: 100%;
    flex: 1;
}

.vision:hover .to-be-the {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}


.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 141, 223, 0.1), transparent);
    transition: left 0.5s ease;
}

.vision-card:hover::before,
.mission-card:hover::before {
    left: 100%;
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #228DDF;
    box-shadow: 0 15px 40px rgba(34, 141, 223, 0.3), 0 5px 15px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #081126 0%, #0a1a2e 100%);
}

.vision-card h3,
.mission-card h3 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.vision-card:hover h3,
.mission-card:hover h3 {
    color: #228DDF;
    text-shadow: 0 0 10px rgba(34, 141, 223, 0.5);
    transform: scale(1.05);
}

.vision-card p,
.mission-card p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    max-width: 368px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.vision-card:hover p,
.mission-card:hover p {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.clients-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.clients-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(34, 141, 223, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 141, 223, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.clients-container-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.clients-main-title {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.clients-section.visible .clients-main-title {
    opacity: 1;
    transform: translateY(0);
}

.clients-section .title-line-left,
.clients-section .title-line-right {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, #228DDF, transparent);
    max-width: 150px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-section .title-line-left {
    transform-origin: left;
}

.clients-section .title-line-right {
    transform-origin: right;
}

.clients-section.visible .title-line-left,
.clients-section.visible .title-line-right {
    opacity: 1;
    transform: scaleX(1);
}

.clients-section.visible .title-line-left {
    animation: lineExpandLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.clients-section.visible .title-line-right {
    animation: lineExpandRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.clients-section .title-text {
    font-size: 3rem;
    font-weight: 700;
    color: #228DDF;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.3);
    letter-spacing: 2px;
}

.clients-header {
    max-width: 803px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.clients-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.clients-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.clients-track {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: slideClients 30s linear infinite;
    width: fit-content;
}

@keyframes slideClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-card {
    width: 200px;
    height: 120px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #081126;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-logo-card:hover {
    border-color: #17599D;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(23, 89, 157, 0.2);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Key Matrix Section */
.key-matrix-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.key-matrix-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.key-matrix-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(34, 141, 223, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 141, 223, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.key-matrix-container-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.key-matrix-main-title {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.key-matrix-section.visible .key-matrix-main-title {
    opacity: 1;
    transform: translateY(0);
}

.key-matrix-section .title-line-left,
.key-matrix-section .title-line-right {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, #228DDF, transparent);
    max-width: 150px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.key-matrix-section .title-line-left {
    transform-origin: left;
}

.key-matrix-section .title-line-right {
    transform-origin: right;
}

.key-matrix-section.visible .title-line-left,
.key-matrix-section.visible .title-line-right {
    opacity: 1;
    transform: scaleX(1);
}

.key-matrix-section.visible .title-line-left {
    animation: lineExpandLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.key-matrix-section.visible .title-line-right {
    animation: lineExpandRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.key-matrix-section .title-text {
    font-size: 3rem;
    font-weight: 700;
    color: #228DDF;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.3);
    letter-spacing: 2px;
}

.key-matrix-header {
    max-width: 803px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.key-matrix-section.visible .key-matrix-header {
    opacity: 1;
    transform: translateY(0);
}

.key-matrix-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.key-matrix-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.key-matrix-card {
    width: 364px;
    height: 140px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #081126;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.key-matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 141, 223, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.key-matrix-card:hover::before {
    left: 100%;
}

.key-matrix-card:hover {
    border-color: #17599D;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(34, 141, 223, 0.3);
    background: linear-gradient(135deg, #081126 0%, #0a1a2e 100%);
}

.key-matrix-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.key-matrix-value {
    color: #124C79;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-shadow: 0px 4px 20px rgba(2, 32, 62, 0.0);
    transition: all 0.3s ease;
}

.key-matrix-plus {
    color: #124C79;
    font-size: 24px;
    /* Increased from 16px */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    /* Increased from 400 */
    margin-left: 5px;
    /* Added spacing */
    text-shadow: 0px 4px 20px rgba(2, 32, 62, 0.0);
    transition: all 0.3s ease;
}

.key-matrix-card:hover .key-matrix-value,
.key-matrix-card:hover .key-matrix-plus {
    color: #228DDF;
    text-shadow: 0 0 15px rgba(34, 141, 223, 0.5);
    transform: scale(1.1);
}

.key-matrix-label {
    color: white;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.key-matrix-card:hover .key-matrix-label {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.clients-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    animation: scrollClientsHorizontal 30s linear infinite;
    will-change: transform;
    width: fit-content;
}

.clients-column:hover {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    height: 120px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(18, 76, 121, 0.2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

@keyframes scrollClientsHorizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Proverb Section */
/* Group of Companies Section */
.group-section {
    padding: 4rem 2rem 8rem 2rem;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.group-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.group-container {
    max-width: 1400px;
    margin: 0 auto;
}

.group-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.group-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.group-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.company-card {
    background: rgba(18, 76, 121, 0.2);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-left: 4px solid #228DDF;
    color: white;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.company-card h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.company-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.company-images img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.company-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.proverb-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--secondary-color);
    color: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.proverb-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.proverb-text {
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 141, 223, 0.3);
}

.contact-btn:hover {
    background: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 141, 223, 0.4);
}

/* Footer */
.main-footer {
    background: url('images/foot1.png') center center / cover no-repeat, linear-gradient(0deg, #081126 0%, black 100%);
    background-blend-mode: overlay;
    color: #fff;
    padding: 4rem 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    border: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr 1.2fr;
    /* 5 Columns */
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
}

/* Map Section Styles */
.footer-map-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-container {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Tablet Responsive Fix for 5 columns */
@media (max-width: 1200px) {
    .footer-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns grid */
        gap: 40px;
    }

    .footer-left-section {
        grid-column: span 2;
        /* Logo section takes full width */
        max-width: 100%;
        text-align: center;
        align-items: center;
    }

    .footer-logo-header {
        align-items: center;
    }

    .footer-company-description {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-map-section {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

.footer-left-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 278px;
    padding: 10px;
}

.footer-logo-header {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    width: 100%;
}

.footer-logo-header .footer-logo {
    width: 220px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1);
    margin: 0;
    padding: 0;
    display: block;
    align-self: flex-start;
}

.footer-logo-header:hover .footer-logo {
    transform: scale(1.1) translateY(-5px);
    filter: brightness(1.2);
}

.footer-company-description {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 25px;
    word-wrap: break-word;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-company-description p {
    margin: 0;
    padding: 0;
}

.footer-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    width: 30px;
    height: 30px;
    background: #1F5FA1;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #124C79 0%, #228DDF 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 8px 15px rgba(34, 141, 223, 0.5);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    color: white;
    fill: white;
    transition: all 0.3s ease;
}

.social-icon svg path {
    fill: white;
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    color: white;
    fill: white;
    transform: scale(1.1);
}

.social-icon:hover svg path {
    fill: white;
}

.social-icon-inner {
    width: 16px;
    height: 16px;
    background: black;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-quick-links,
.footer-group-companies,
.footer-contact-section {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.footer-quick-links:hover,
.footer-group-companies:hover,
.footer-contact-section:hover {
    background: rgba(18, 76, 121, 0.1);
    transform: translateY(-3px);
}

.footer-section-header {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.footer-section-header h4 {
    color: white;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 25px;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    cursor: default;
}

.footer-section-header h4 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.footer-section-header h4 a:hover {
    color: #228DDF;
}

.footer-section-header:hover h4 {
    color: #228DDF;
    transform: translateX(3px);
}

.footer-section-header:hover h4 a {
    color: #228DDF;
}

.footer-underline {
    height: 2px;
    background: linear-gradient(90deg, #1D3F8C 0%, #081126 100%);
    border-radius: 20px;
    width: 100%;
    max-width: 140px;
    transition: all 0.3s ease;
}

.footer-section-header:hover .footer-underline {
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    max-width: 160px;
    box-shadow: 0px 2px 8px rgba(34, 141, 223, 0.4);
}

.footer-group-companies .footer-underline {
    max-width: 226px;
}

.footer-group-companies .footer-section-header:hover .footer-underline {
    max-width: 250px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    box-shadow: 0px 2px 8px rgba(34, 141, 223, 0.4);
}

.footer-links-text {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 25px;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-links-text a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
}

.footer-links-text a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    transition: width 0.3s ease;
}

.footer-links-text a:hover {
    color: #228DDF;
    transform: translateX(5px);
}

.footer-links-text a:hover::before {
    width: 100%;
}

.footer-contact-text {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 25px;
    word-wrap: break-word;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    width: 100%;
}

.footer-contact-text p {
    margin: 0 0 1rem 0;
    transition: all 0.3s ease;
}

.footer-contact-section:hover .footer-contact-text p {
    color: rgba(255, 255, 255, 0.95);
}

.footer-contact-text strong {
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact-section:hover .footer-contact-text strong {
    color: #228DDF;
}

.footer-left-section:hover .footer-company-description {
    color: rgba(255, 255, 255, 0.95);
    transform: translateX(3px);
}

/* Force columns 2 and 3 to align at the same top position */
.footer-content>.footer-column:nth-child(2),
.footer-content>.footer-column:nth-child(3) {
    align-self: start;
    padding-top: 0;
    margin-top: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 0;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    margin-top: 0;
    line-height: 1.4;
}

/* Ensure Quick Links and Contact Info headings align on the same line */
.footer-content>.footer-column:nth-child(2),
.footer-content>.footer-column:nth-child(3) {
    padding-top: 0 !important;
    margin-top: 0 !important;
    align-self: start;
    display: flex;
    flex-direction: column;
}

.footer-content>.footer-column:nth-child(2) h4,
.footer-content>.footer-column:nth-child(3) h4 {
    margin: 0 !important;
    padding: 0 0 0.5rem 0 !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.4 !important;
    font-size: 1.3rem !important;
    height: auto;
    position: relative;
    top: 0;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    padding-left: 1.2rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #228DDF;
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-contact strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-phone-email {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: start;
}

.footer-phone,
.footer-email {
    margin: 0;
}

.footer-phone p,
.footer-email p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.footer-phone strong,
.footer-email strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

/* Copyright Section */
.copyright-section {
    background: black;
    color: #fff;
    padding: 15px 20px;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

.copyright-content {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-section p {
    margin: 0;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    width: 405px;
}

.designed-by {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.designed-by img {
    width: 35px;
    height: 32px;
    object-fit: contain;
}

/* Responsive Design for Products Section */
@media (max-width: 1024px) {
    .products-section {
        padding: 6rem 2rem;
    }

    .products-title {
        font-size: 2.2rem;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-item {
        padding: 6rem 2rem;
        flex-direction: column;
        gap: 2rem;
    }

    .products-scroll-indicator {
        right: 1rem;
    }

    .product-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .product-content {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .product-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 4rem 1.5rem;
    }

    .products-title {
        font-size: 1.8rem;
        gap: 1rem;
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    .title-line-left,
    .title-line-right {
        width: 80px;
        height: 2px;
    }

    .product-item {
        padding: 4rem 1.5rem;
    }

    .products-scroll-indicator {
        right: 0.5rem;
    }

    .scroll-dot {
        width: 10px;
        height: 10px;
    }

    .product-name {
        font-size: 1.5rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .clients-section {
        padding: 4rem 1.5rem;
    }

    .clients-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .clients-container {
        height: 150px;
    }

    .client-logo {
        height: 100px;
    }

    .key-matrix-section {
        padding: 4rem 1.5rem;
    }

    .key-matrix-header h2 {
        font-size: 24px;
    }

    .key-matrix-header p {
        font-size: 14px;
    }

    .key-matrix-container {
        gap: 1.5rem;
    }

    .key-matrix-card {
        width: 100%;
        max-width: 364px;
        height: 120px;
    }

    .key-matrix-value {
        font-size: 28px;
    }

    .key-matrix-plus {
        font-size: 14px;
    }

    .key-matrix-label {
        font-size: 18px;
    }

    .proverb-section {
        padding: 4rem 1.5rem;
    }

    .proverb-text {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .copyright-section {
        flex-direction: column;
        text-align: center;
    }
}

.milestones-section {
    padding: 8rem 2rem;
    background-color: #f0f8f0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.milestones-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.milestones-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.timeline-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 2rem 0;
}

.timeline-container {
    position: relative;
    min-width: 1400px;
    padding: 4rem 2rem;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 4px;
    transform: translateY(-50%);
    z-index: 1;
    background: repeating-linear-gradient(to right,
            #ffd700 0%,
            #ffd700 50%,
            #90ee90 50%,
            #90ee90 100%);
    background-size: 200px 100%;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.milestones-section.visible .timeline-item {
    opacity: 1;
    transform: translateY(0);
}

.milestones-section.visible .timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.milestones-section.visible .timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.milestones-section.visible .timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.milestones-section.visible .timeline-item:nth-child(4) {
    transition-delay: 0.4s;
}

.milestones-section.visible .timeline-item:nth-child(5) {
    transition-delay: 0.5s;
}

.milestones-section.visible .timeline-item:nth-child(6) {
    transition-delay: 0.6s;
}

.milestones-section.visible .timeline-item:nth-child(7) {
    transition-delay: 0.7s;
}

.milestones-section.visible .timeline-item:nth-child(8) {
    transition-delay: 0.8s;
}

.milestones-section.visible .timeline-item:nth-child(9) {
    transition-delay: 0.9s;
}

.milestones-section.visible .timeline-item:nth-child(10) {
    transition-delay: 1s;
}

.milestones-section.visible .timeline-item:nth-child(11) {
    transition-delay: 1.1s;
}

.milestones-section.visible .timeline-item:nth-child(12) {
    transition-delay: 1.2s;
}

.milestones-section.visible .timeline-item:nth-child(13) {
    transition-delay: 1.3s;
}

.milestones-section.visible .timeline-item:nth-child(14) {
    transition-delay: 1.4s;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.timeline-item:nth-child(odd) .timeline-year {
    color: #333;
}

.timeline-item:nth-child(even) .timeline-year {
    color: #228b22;
}

.timeline-pin {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid;
    margin-bottom: 1rem;
    position: relative;
    z-index: 3;
}

.timeline-item:nth-child(odd) .timeline-dot {
    border-color: #ffd700;
}

.timeline-item:nth-child(even) .timeline-dot {
    border-color: #90ee90;
}

.timeline-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    text-align: center;
    margin-top: 0.5rem;
}

.timeline-content ul {
    list-style: none;
    text-align: left;
    padding: 0;
    margin-top: 0.5rem;
}

.timeline-content ul li {
    margin-bottom: 0.4rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
}

.timeline-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.clients-section {
    padding: 2rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.clients-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.clients-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.clients-section .sub-heading {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-style: italic;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.client-logos img {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.clients-section.visible .client-logos img {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.clients-section.visible .client-logos img:nth-child(1) {
    transition-delay: 0.1s;
}

.clients-section.visible .client-logos img:nth-child(2) {
    transition-delay: 0.2s;
}

.clients-section.visible .client-logos img:nth-child(3) {
    transition-delay: 0.3s;
}

.clients-section.visible .client-logos img:nth-child(4) {
    transition-delay: 0.4s;
}

.clients-section.visible .client-logos img:nth-child(5) {
    transition-delay: 0.5s;
}

.client-logos img:hover {
    filter: grayscale(0%);
    transform: scale(1.15) translateY(-5px);
}

.contact-proverb-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--secondary-color);
    color: #fff;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.contact-proverb-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-proverb-section p {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.contact-proverb-section.visible p {
    opacity: 1;
    transform: translateY(0);
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-btn:hover {
    background: #e65c00;
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    padding: 10px 2rem;
    background: transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(34, 141, 223, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 141, 223, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-content-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-main-heading {
    font-size: 48px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.contact-subtext {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: white;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
}

.contact-content-right {
    display: flex;
    align-items: center;
    /* Keep center to center image in its column if needed, or flex-start */
    justify-content: center;
    position: relative;
}

.contact-illustration {
    width: 100%;
    margin-left: 0;
    transform: translateX(40px);
    max-width: none;
    height: auto;
    position: relative;
    border: none;
    outline: none;
}

.contact-us-btn {
    padding: 16px 40px;
    background: #4CAF50;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    border: 1px solid transparent;
    box-shadow: 0 2px 10px rgba(34, 141, 223, 0.2);
    z-index: 1;
}

.contact-us-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.contact-us-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
    z-index: -1;
}

.contact-us-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5), 0 0 30px rgba(76, 175, 80, 0.3);
    background: #45a049;
}

.contact-us-btn:hover::before {
    left: 100%;
}

.contact-us-btn:hover::after {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%) scale(1);
}

.contact-us-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    height: 100%;
}

.contact-item {
    background: rgba(18, 76, 121, 0.2);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-left: 3px solid #228DDF;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
    font-size: 1rem;
    color: #228DDF;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: white;
    margin: 0;
}

.contact-form-wrapper {
    background: rgba(18, 76, 121, 0.2);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
    background: rgba(18, 76, 121, 0.2);
    padding: 0 0.5rem;
    transform-origin: left top;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #228DDF;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #081F37;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-sizing: border-box;
    background: rgba(18, 76, 121, 0.2);
    color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #228DDF;
    box-shadow: 0 0 0 3px rgba(34, 141, 223, 0.2);
    transform: translateY(-2px);
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: #228DDF;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #b0b0b0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group textarea+label {
    top: 1rem;
}

.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--primary-color);
    font-weight: 600;
}

.submit-btn {
    padding: 0.9rem 2rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 141, 223, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn span {
    position: relative;
    z-index: 1;
}

footer {
    background: #333;
    color: #fff;
    padding: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    margin: 0;
}

.developed-by {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.developed-by img {
    height: 40px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        gap: 2rem;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    .about-images-wrapper {
        width: 100%;
    }

    .about-images {
        max-width: 100%;
    }

    /* Header dropdown responsive styles */
    .nav-dropdown-menu {
        min-width: 200px;
        left: 0;
    }

    .nav-dropdown-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .details-section {
        padding: 4rem 1.5rem;
    }

    .details-section h2 {
        font-size: 2rem;
    }

    .details-content {
        padding: 2rem 1.5rem;
    }

    .details-content p {
        font-size: 1rem;
        text-align: left;
    }

    .milestones-section {
        padding: 30px 15px;
    }

    .milestones-header h2 {
        font-size: 28px;
    }

    .milestones-header p {
        font-size: 14px;
    }

    .milestones-timeline-container {
        height: 320px;
    }

    .milestone-card {
        width: 280px;
        height: 280px;
    }

    .milestone-year {
        font-size: 32px;
    }

    .milestone-content h3 {
        font-size: 14px;
    }

    .milestone-content p {
        font-size: 12px;
    }

    .group-section {
        padding: 4rem 1.5rem;
    }

    .group-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .group-companies {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-card {
        padding: 2rem 1.5rem;
    }

    .company-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .company-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-main-heading {
        font-size: 32px;
    }

    .contact-subtext {
        font-size: 16px;
    }

    .contact-illustration {
        max-width: 100%;
        height: 300px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-info {
        gap: 0.8rem;
    }

    .contact-item {
        padding: 0.9rem 1rem;
    }

    .contact-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .contact-item p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-wrapper h3 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .contact-form {
        gap: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.95rem;
        left: 0.9rem;
        top: 0.9rem;
    }

    .form-group input:focus+label,
    .form-group input:not(:placeholder-shown)+label,
    .form-group textarea:focus+label,
    .form-group textarea:not(:placeholder-shown)+label {
        transform: translateY(-1.3rem) scale(0.85);
    }

    .submit-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }

    .page-hero {
        padding: 6rem 1.5rem 3rem;
        margin-top: 80px;
    }

    .page-hero-content h1 {
        font-size: 2rem;
    }

    .page-hero-content p {
        font-size: 1rem;
    }

    .main-footer {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-left-section {
        max-width: 100%;
        align-items: center;
    }

    .footer-logo-section {
        order: -1;
    }

    .footer-section-header {
        align-items: center;
    }

    .footer-underline {
        max-width: 100px !important;
    }

    .footer-quick-links,
    .footer-group-companies,
    .footer-contact-section {
        align-items: center;
    }

    .footer-column h3 {
        font-size: 1.5rem;
    }

    .footer-section-header h4 {
        font-size: 1.5rem;
    }

    .footer-company-description {
        font-size: 14px;
    }

    .footer-links-text,
    .footer-contact-text {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-left-section {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-logo-section {
        grid-column: 1 / -1;
        order: -1;
    }

    .footer-links {
        align-items: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-phone-email {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .footer-phone,
    .footer-email {
        text-align: center;
    }

    .footer-contact p {
        font-size: 0.9rem;
    }

    .copyright-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .copyright-section {
        padding: 1.2rem 1.5rem;
    }

    .timeline-wrapper {
        padding: 1rem 0;
    }

    .timeline-container {
        min-width: 1200px;
        padding: 3rem 1rem;
    }

    .timeline-items {
        gap: 1rem;
    }

    .timeline-item {
        max-width: 150px;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-content {
        font-size: 0.85rem;
    }

    .timeline-pin {
        font-size: 1.2rem;
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    nav {
        padding: 0.5rem 1rem;
        min-height: auto;
        flex-wrap: wrap;
    }

    .logo img {
        height: 50px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    nav ul li a,
    .nav-dropdown-toggle {
        font-size: 0.85rem;
        padding: 0.5rem 0.9rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================
   PRODUCTS SECTION - NEW DESIGN
   ========================== */
.products-section {
    padding: 2rem 2rem;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(34, 141, 223, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 141, 223, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Main Title */
.products-main-title {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.products-section.visible .products-main-title,
.about-section.visible .products-main-title {
    opacity: 1;
    transform: translateY(0);
}

.title-line-left,
.title-line-right {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, transparent, #228DDF, transparent);
    max-width: 150px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-line-left {
    transform-origin: left;
}

.title-line-right {
    transform-origin: right;
}

.products-section.visible .title-line-left,
.products-section.visible .title-line-right,
.about-section.visible .title-line-left,
.about-section.visible .title-line-right {
    opacity: 1;
    transform: scaleX(1);
}

.products-section.visible .title-line-left,
.about-section.visible .title-line-left {
    animation: lineExpandLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.products-section.visible .title-line-right,
.about-section.visible .title-line-right {
    animation: lineExpandRight 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.title-text {
    font-size: 3rem;
    font-weight: 700;
    color: #228DDF;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.3);
    letter-spacing: 2px;
}

/* Products Showcase - Coverflow */
.products-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    width: 100%;
    padding: 0 0 2rem 0;
    perspective: 1200px;
}

.coverflow {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 420px;
}

.cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 400px;
    border-radius: 18px;
    transform-style: preserve-3d;
    background-size: cover;
    background-position: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
    transition: transform 0.8s cubic-bezier(.4, 0, .2, 1), opacity 0.8s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: default;
}

.card:hover {
    box-shadow: 0 35px 80px rgba(0, 0, 0, .8);
}

/* Product content styling */
.card .product-3d-image {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.card:hover .product-3d-image {
    border-color: #228DDF;
    box-shadow: 0 20px 60px rgba(34, 141, 223, 0.4);
    transform: scale(1.02);
}

.card .product-3d-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .product-3d-image img {
    transform: scale(1.1);
}

.card .product-3d-content {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card .product-3d-content h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.card:hover .product-3d-content h3 {
    color: #228DDF;
}

/* Remove demo colors - use product images instead */
.prd1,
.prd2,
.prd3,
.prd4,
.prd5,
.prd6 {
    background: transparent;
}

/* positions */
.card.center {
    transform: translate(-50%, -50%) scale(1.1) rotateY(0deg);
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
}

.card.left {
    transform: translate(-170%, -50%) scale(0.85) rotateY(25deg);
    z-index: 3;
    opacity: 0.7;
    pointer-events: none;
}

.card.right {
    transform: translate(70%, -50%) scale(0.85) rotateY(-25deg);
    z-index: 3;
    opacity: 0.7;
    pointer-events: none;
}

.card.back {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    pointer-events: none;
}

/* nav */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #228DDF, #003366);
    color: white;
    border: none;
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(34, 141, 223, 0.3);
    z-index: 100;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 14px 30px rgba(34, 141, 223, 0.45);
    background: linear-gradient(135deg, #2fa1f7, #063d75);
}

.nav:active {
    transform: translateY(-50%) scale(0.96);
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

.slider,
.productss {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 550px;
    perspective: 1000px;
    overflow: visible;
}

.productss {
    display: block;
    overflow: visible;
}

.property-1default {
    position: relative;
    width: 100%;
    height: 100%;
    animation-delay: 0s;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.property-1default2,
.property-1default3,
.property-1variant4 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Ensure property-1default items are visible */
.property-1default .item {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Ensure product content is visible */
.property-1default .item .product-3d-image,
.property-1default .item .product-3d-content {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.property-1default .item .product-3d-image img {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

@keyframes rotate3d {

    0%,
    19% {
        opacity: 1;
        transform: rotateY(0deg);
        visibility: visible;
        pointer-events: auto;
    }

    20%,
    100% {
        opacity: 0;
        transform: rotateY(0deg);
        visibility: hidden;
        pointer-events: none;
    }
}

/* Product Items - GSAP Slider Style */
.item {
    position: absolute;
    width: 450px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: visible;
    opacity: 1;
}

/* Ensure prd classes also work as items */
.prd1.item,
.prd2.item,
.prd3.item,
.prd4.item,
.prd5.item,
.prd12.item,
.prd32.item,
.prd42.item,
.prd52.item,
.prd13.item,
.prd33.item,
.prd43.item,
.prd53.item,
.prd14.item,
.prd24.item,
.prd34.item,
.prd44.item,
.prd54.item {
    position: absolute;
    width: 450px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: visible;
    opacity: 1;
}

/* Highlight effect for center products when they come forward */
.item.highlighted {
    z-index: 10 !important;
    pointer-events: auto !important;
}

.item.highlighted .product-3d-image {
    border: 3px solid #228DDF !important;
    box-shadow: 0 40px 100px rgba(34, 141, 223, 0.7) !important;
    transform: scale(1.05) !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.item.highlighted .product-3d-content h3 {
    color: #51ACF2 !important;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.8) !important;
    font-size: 1.6rem !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.item.highlighted .product-3d-image img {
    transform: scale(1.1) !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Hover effect for items */
.item:hover .product-3d-image {
    border: 3px solid #228DDF;
    box-shadow: 0 30px 80px rgba(34, 141, 223, 0.6);
}

.item:hover .product-3d-content h3 {
    color: #51ACF2;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.8);
}

/* Arrange products exactly like image - one centered sharp, others spread across full width */
.property-1default .product-item:nth-child(1) {
    left: 2%;
    transform: translateX(0) scale(0.75);
    z-index: 1;
    opacity: 0.6;
    filter: blur(5px);
}

.property-1default .product-item:nth-child(2) {
    left: 25%;
    transform: translateX(-50%) scale(0.8);
    z-index: 1;
    opacity: 0.6;
    filter: blur(5px);
}

.property-1default .product-item:nth-child(3) {
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 10;
    opacity: 1;
    filter: blur(0px);
}

.property-1default .product-item:nth-child(4) {
    left: 98%;
    transform: translateX(-100%) scale(0.75);
    z-index: 1;
    opacity: 0.6;
    filter: blur(5px);
}

/* GSAP will handle positioning and animations */


.product-item.highlighted {
    opacity: 1 !important;
    transform: translateX(0) scale(1.1) !important;
    z-index: 10 !important;
    filter: blur(0px);
    box-shadow: 0 40px 100px rgba(34, 141, 223, 0.7);
}

.product-item.prev {
    opacity: 0.4;
    filter: blur(2px);
}

/* Product hover effect - Hovered product becomes sharp, others stay blurred */
.property-1default .product-item:nth-child(1):hover {
    opacity: 1 !important;
    transform: translateX(0) scale(0.9) !important;
    filter: blur(0px) !important;
    z-index: 15 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-1default .product-item:nth-child(2):hover {
    opacity: 1 !important;
    transform: translateX(-50%) scale(0.95) !important;
    filter: blur(0px) !important;
    z-index: 15 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-1default .product-item:nth-child(3):hover {
    opacity: 1 !important;
    transform: translateX(-50%) scale(1.1) !important;
    filter: blur(0px) !important;
    z-index: 15 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-1default .product-item:nth-child(4):hover {
    opacity: 1 !important;
    transform: translateX(-100%) scale(0.9) !important;
    filter: blur(0px) !important;
    z-index: 15 !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* When one product is hovered, others stay blurred */
.property-1default:hover .product-item:not(:hover) {
    filter: blur(4px);
    opacity: 0.5;
}

.product-item:hover .product-3d-image {
    border: 3px solid #228DDF !important;
    box-shadow: 0 30px 80px rgba(34, 141, 223, 0.6) !important;
    transform: scale(1.02);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item:hover .product-3d-image img {
    transform: scale(1.1);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item:hover .product-3d-content h3 {
    color: #51ACF2 !important;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.8) !important;
    font-size: 1.4rem !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Product highlight styles - Smooth transitions */
.product-item .product-3d-image {
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item.active .product-3d-image {
    border: 2px solid rgba(34, 141, 223, 0.4);
    box-shadow: 0 25px 70px rgba(34, 141, 223, 0.3);
}

.product-item.highlighted .product-3d-image {
    border: 3px solid #228DDF;
    box-shadow: 0 40px 100px rgba(34, 141, 223, 0.7);
    transform: scale(1.02);
}

.product-item.highlighted .product-3d-content h3 {
    color: #51ACF2;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.8);
    font-size: 1.5rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item.active .product-3d-content h3 {
    color: #228DDF;
    font-size: 1.3rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hide other states - only using property-1default for sequential display */

/* Product Card Styling */
.product-3d-image {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-3d-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-3d-content {
    text-align: center;
    padding: 0 10px;
}

.product-3d-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #228DDF;
    text-shadow: 0 2px 10px rgba(34, 141, 223, 0.3);
    margin: 0;
    transition: color 0.3s ease;
}

/* Hover Effects */
.prd1:hover,
.prd2:hover,
.prd3:hover,
.prd4:hover,
.prd5:hover,
.prd12:hover,
.prd32:hover,
.prd42:hover,
.prd52:hover,
.prd13:hover,
.prd33:hover,
.prd43:hover,
.prd53:hover,
.prd14:hover,
.prd24:hover,
.prd34:hover,
.prd44:hover,
.prd54:hover {
    z-index: 100;
}


.property-1default2 .prd1:hover {
    transform: rotateY(72deg) translateZ(500px) scale(1.15);
}

.property-1default2 .prd52:hover {
    transform: rotateY(144deg) translateZ(500px) scale(1.15);
}

.property-1default2 .prd12:hover {
    transform: rotateY(216deg) translateZ(500px) scale(1.15);
}

.property-1default2 .prd32:hover {
    transform: rotateY(288deg) translateZ(500px) scale(1.15);
}

.property-1default2 .prd42:hover {
    transform: rotateY(360deg) translateZ(500px) scale(1.15);
}

.property-1default3 .prd33:hover {
    transform: rotateY(144deg) translateZ(500px) scale(1.15);
}

.property-1default3 .prd13:hover {
    transform: rotateY(216deg) translateZ(500px) scale(1.15);
}

.property-1default3 .prd5:hover {
    transform: rotateY(288deg) translateZ(500px) scale(1.15);
}

.property-1default3 .prd43:hover {
    transform: rotateY(360deg) translateZ(500px) scale(1.15);
}

.property-1default3 .prd53:hover {
    transform: rotateY(432deg) translateZ(500px) scale(1.15);
}

.property-1variant4 .prd14:hover {
    transform: rotateY(216deg) translateZ(500px) scale(1.15);
}

.property-1variant4 .prd44:hover {
    transform: rotateY(288deg) translateZ(500px) scale(1.15);
}

.property-1variant4 .prd54:hover {
    transform: rotateY(360deg) translateZ(500px) scale(1.15);
}

.property-1variant4 .prd24:hover {
    transform: rotateY(432deg) translateZ(500px) scale(1.15);
}

.property-1variant4 .prd34:hover {
    transform: rotateY(504deg) translateZ(500px) scale(1.15);
}

.prd1:hover .product-3d-image,
.prd2:hover .product-3d-image,
.prd3:hover .product-3d-image,
.prd4:hover .product-3d-image,
.prd5:hover .product-3d-image,
.prd12:hover .product-3d-image,
.prd32:hover .product-3d-image,
.prd42:hover .product-3d-image,
.prd52:hover .product-3d-image,
.prd13:hover .product-3d-image,
.prd33:hover .product-3d-image,
.prd43:hover .product-3d-image,
.prd53:hover .product-3d-image,
.prd14:hover .product-3d-image,
.prd24:hover .product-3d-image,
.prd34:hover .product-3d-image,
.prd44:hover .product-3d-image,
.prd54:hover .product-3d-image {
    box-shadow: 0 30px 80px rgba(34, 141, 223, 0.4);
    border-color: rgba(34, 141, 223, 0.5);
}

.prd1:hover .product-3d-image img,
.prd2:hover .product-3d-image img,
.prd3:hover .product-3d-image img,
.prd4:hover .product-3d-image img,
.prd5:hover .product-3d-image img,
.prd12:hover .product-3d-image img,
.prd32:hover .product-3d-image img,
.prd42:hover .product-3d-image img,
.prd52:hover .product-3d-image img,
.prd13:hover .product-3d-image img,
.prd33:hover .product-3d-image img,
.prd43:hover .product-3d-image img,
.prd53:hover .product-3d-image img,
.prd14:hover .product-3d-image img,
.prd24:hover .product-3d-image img,
.prd34:hover .product-3d-image img,
.prd44:hover .product-3d-image img,
.prd54:hover .product-3d-image img {
    transform: scale(1.1);
}

.prd1:hover .product-3d-content h3,
.prd2:hover .product-3d-content h3,
.prd3:hover .product-3d-content h3,
.prd4:hover .product-3d-content h3,
.prd5:hover .product-3d-content h3,
.prd12:hover .product-3d-content h3,
.prd32:hover .product-3d-content h3,
.prd42:hover .product-3d-content h3,
.prd52:hover .product-3d-content h3,
.prd13:hover .product-3d-content h3,
.prd33:hover .product-3d-content h3,
.prd43:hover .product-3d-content h3,
.prd53:hover .product-3d-content h3,
.prd14:hover .product-3d-content h3,
.prd24:hover .product-3d-content h3,
.prd34:hover .product-3d-content h3,
.prd44:hover .product-3d-content h3,
.prd54:hover .product-3d-content h3 {
    color: #51ACF2;
    text-shadow: 0 4px 20px rgba(34, 141, 223, 0.5);
}

/* Product Card Layout */
.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 141, 223, 0.2) 0%, transparent 100%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.active .product-image-overlay {
    opacity: 1;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

.product-card.active .product-card-image {
    transform: scale(1);
    filter: brightness(1) contrast(1);
}

.product-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    z-index: 3;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

/* Product Content */
.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.product-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.03s;
}

.product-card.active .product-card-title {
    transform: translateX(0);
    opacity: 1;
}

.product-card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.product-card.active .product-card-description {
    transform: translateX(0);
    opacity: 1;
}

.product-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #124C79 0%, #228DDF 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    width: fit-content;
    margin-top: 0.5rem;
    box-shadow: 0 8px 25px rgba(34, 141, 223, 0.3);
    transform: translateX(-30px);
    opacity: 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
}

.product-card.active .product-card-button {
    transform: translateX(0);
    opacity: 1;
}

.product-card-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #228DDF 0%, #3BA3F5 100%);
    box-shadow: 0 12px 35px rgba(34, 141, 223, 0.5);
}

.product-card-button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-button:hover svg {
    transform: translateX(5px);
}

/* Animations */
@keyframes lineExpand {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes lineExpandLeft {
    from {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: left;
    }

    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left;
    }
}

@keyframes lineExpandRight {
    from {
        opacity: 0;
        transform: scaleX(0);
        transform-origin: right;
    }

    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: right;
    }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* ==========================
   FACILITIES SECTION
   ========================== */
.facilities-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.facilities-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.facilities-container {
    max-width: 1400px;
    margin: 0 auto;
}

.facilities-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.facilities-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.facility-category {
    margin-bottom: 5rem;
}

.facility-category:last-child {
    margin-bottom: 0;
}

.facility-category-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.facility-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.facility-item {
    background: rgba(18, 76, 121, 0.2);
    border-radius: 12px;
    color: white;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    opacity: 0;
    transform: translateY(40px);
}

.facility-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.facility-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.facility-item p {
    padding: 1.2rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: center;
    line-height: 1.4;
}

/* Animation handled by JavaScript scroll observer - items appear one by one */

@media (max-width: 768px) {
    .facilities-section {
        padding: 4rem 1.5rem;
    }

    .facilities-main-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .facility-category-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .facility-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .facility-item img {
        height: 180px;
    }

    .facility-item p {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Growth Hero Section */
.growth-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#growth-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.growth-hero-content {
    max-width: 544px;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: rgba(8, 17, 38, 0.7);
    padding: 30px;
    border-radius: 10px;
}

.growth-hero-content h1 {
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.growth-hero-content p {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: white;
    line-height: 1.6;
}

.growth-hero-content p span {
    font-weight: 300;
}

/* Policies Hero Section */
.policies-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#policies-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.policies-hero-content {
    max-width: 544px;
    text-align: center;
    color: #081126;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
}

.policies-hero-content h1 {
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #081126;
    margin-bottom: 10px;
}

.policies-hero-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #081126;
    line-height: 1.6;
}

/* About Hero Section */
.about-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

#about-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.about-hero-content {
    max-width: 544px;
    text-align: center;
    color: white;
    padding: 30px;
    position: relative;
    z-index: 2;
    background: rgba(8, 17, 38, 0.7);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeIn 1s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Hero Section */
.team-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #081126 0%, black 100%);
}

.team-hero-content {
    max-width: 750px;
    text-align: center;
    color: white;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.team-hero-content h1 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
}

.team-hero-content h1 span {
    color: #124C79;
    text-shadow: 0px 4px 40px rgba(0, 0, 0, 0.25);
}

.team-hero-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    text-shadow: 0px 4px 40px rgba(0, 0, 0, 0.25);
}

.team-hero-content p span {
    font-weight: 300;
}

/* Team Organizational Chart Section */
.team-org-chart-section {
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    position: relative;
}

.team-org-chart-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.team-org-header {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-org-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-org-header h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.team-org-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    max-width: 803px;
    margin: 0 auto;
}

/* Organizational Chart Wrapper */
.org-chart-wrapper {
    position: relative;
    width: 100%;
    min-height: 900px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 0 40px 0;
    transform: scale(0.75);
    transform-origin: top center;
    margin-bottom: -200px;
}

/* Org Cards */
.org-card {
    padding: 8px 24px;
    background: #081126;
    border-radius: 16px;
    outline: 3px solid #081126;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: absolute;
    opacity: 0;
    transform: translateY(30px);
}

.org-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.org-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    outline-color: #124C79;
}

.org-card-content {
    text-align: center;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
}

.org-card-director .org-card-content {
    font-size: 20px;
    font-weight: 700;
}

.org-card-manager .org-card-content {
    font-size: 20px;
    font-weight: 500;
}

.org-card-incharge .org-card-content {
    font-size: 20px;
    font-weight: 500;
}

.org-card-middle .org-card-content {
    font-size: 16px;
    font-weight: 500;
}

.org-card-bottom .org-card-content {
    font-size: 16px;
    font-weight: 500;
    width: 200px;
}

/* Connecting Lines - Horizontal */
.org-line-horizontal-1 {
    width: 819px;
    height: 2px;
    left: 313px;
    top: 1222px;
    position: absolute;
    background: #228DDF;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.org-line-horizontal-1.visible {
    opacity: 1;
}

.org-line-horizontal-2 {
    width: 490px;
    height: 2px;
    left: 808px;
    top: 1421px;
    position: absolute;
    background: #228DDF;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.org-line-horizontal-2.visible {
    opacity: 1;
}

.org-line-horizontal-3 {
    width: 333px;
    height: 2px;
    left: 210px;
    top: 1422px;
    position: absolute;
    background: #228DDF;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.org-line-horizontal-3.visible {
    opacity: 1;
}

.org-line-horizontal-4 {
    width: 320px;
    height: 2px;
    left: 212px;
    top: 1598px;
    position: absolute;
    background: #228DDF;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.org-line-horizontal-4.visible {
    opacity: 1;
}

/* Connecting Lines - Vertical */
.org-line-vertical {
    width: 108px;
    height: 0px;
    position: absolute;
    transform: rotate(90deg);
    transform-origin: top left;
    outline: 1px white solid;
    outline-offset: -0.50px;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: transparent;
}

.org-line-vertical.visible {
    opacity: 1;
}

/* Group Page Section Separation - Complete Isolation */
/* Ensure sections are properly isolated */
#sri-durga-section {
    position: relative;
    overflow: visible;
}

#shridi-sai-section {
    position: relative;
    overflow: visible;
}

/* Hide Shridi Sai section if nested inside Sri Durga section */
#sri-durga-section #shridi-sai-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide Sri Durga section if nested inside Shridi Sai section */
#shridi-sai-section #sri-durga-section {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Team Cards Section */
.team-cards-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
}

.team-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.team-member-card {
    width: 100%;
    max-width: 1200px;
    min-height: 190px;
    padding: 30px;
    background: #060D1E;
    box-shadow: 0px 2px 20px 10px rgba(0, 136, 255, 0.05);
    border-radius: 12px;
    outline: 1px #081F37 solid;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 30px 15px rgba(0, 136, 255, 0.1);
    outline-color: #124C79;
}

.team-member-title {
    width: 324px;
    min-width: 200px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-title h3 {
    text-align: center;
    color: #124C79;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    word-wrap: break-word;
    text-shadow: 0px 4px 20px rgba(2, 32, 62, 0.0);
    margin: 0;
    transition: all 0.3s ease;
}

.team-member-card:hover .team-member-title h3 {
    color: #228DDF;
    text-shadow: 0px 4px 20px rgba(34, 141, 223, 0.3);
}

.team-member-description {
    width: 531px;
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    word-wrap: break-word;
    line-height: 1.6;
    flex-shrink: 0;
}

.team-member-description p {
    margin: 0;
    transition: all 0.3s ease;
}

.team-member-card:hover .team-member-description p {
    color: rgba(255, 255, 255, 0.95);
}

.team-member-sub-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    align-content: flex-start;
}

.team-sub-item {
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.team-sub-item:hover {
    transform: translateX(5px);
}

.team-sub-item-bullet {
    width: 15px;
    height: 15px;
    background: #51ACF2;
    flex-shrink: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-sub-item:hover .team-sub-item-bullet {
    background: #228DDF;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(34, 141, 223, 0.5);
}

.team-sub-item span {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    transition: all 0.3s ease;
}

.team-sub-item:hover span {
    color: #228DDF;
}

/* Team CTA Section */
.team-cta-section {
    width: 100%;
    padding: 63px 318px;
    background: #081126;
    text-align: center;
}

.team-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.team-cta-content h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 0;
}

.team-cta-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    max-width: 803px;
    margin: 0;
}

.team-cta-button {
    padding: 8px 10px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.team-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 12px rgba(18, 76, 121, 0.4);
}

.about-hero-content h1 {
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: textSlideUp 0.8s ease-out 0.5s forwards;
}

.about-hero-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: white;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: textSlideUp 0.8s ease-out 0.7s forwards;
}

@keyframes textSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Company Info Section */
.company-info-section {
    padding: 63px 318px;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.company-info-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.company-info-content {
    max-width: 763px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.company-info-section.visible .company-info-content {
    opacity: 1;
    transform: translateY(0);
}

.company-info-content h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.company-info-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
}

/* About Decorative Shapes */
.about-decorative-shapes {
    width: 1380px;
    max-width: 100%;
    height: 379px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.about-shape {
    position: absolute;
    border-radius: 22px;
    padding: 10px;
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-shape.animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.about-shape.shape-1 {
    width: 600px;
    height: 240px;
    left: 390px;
    top: 91px;
    background: #6E2828;
    transition-delay: 0.2s;
}

.about-shape.shape-2 {
    width: 400px;
    height: 210px;
    left: 258px;
    top: 105px;
    opacity: 0.60;
    background: #0F2B45;
    transition-delay: 0.4s;
}

.about-shape.shape-3 {
    width: 400px;
    height: 210px;
    left: 713px;
    top: 107.36px;
    transform: rotate(-1deg);
    transform-origin: top left;
    opacity: 0.50;
    background: #0F2B45;
    transition-delay: 0.6s;
}

.about-shape.shape-3.animate {
    opacity: 0.50;
    transform: rotate(-1deg) scale(1) translateY(0);
}

/* Founder Section */
/* Photo Gallery Carousel Section */
.photo-gallery-section {
    padding: 60px 20px;
    background: transparent;
    max-width: 1440px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.photo-gallery-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.photo-gallery-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s;
}

.photo-gallery-section.visible .photo-gallery-header {
    opacity: 1;
    transform: translateY(0);
}

.photo-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.photo-gallery-section.visible .photo-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.photo-gallery-section.visible .photo-item:nth-child(1) {
    animation-delay: 0.1s;
}

.photo-gallery-section.visible .photo-item:nth-child(2) {
    animation-delay: 0.2s;
}

.photo-gallery-section.visible .photo-item:nth-child(3) {
    animation-delay: 0.3s;
}

.photo-gallery-section.visible .photo-item:nth-child(4) {
    animation-delay: 0.4s;
}

.photo-gallery-section.visible .photo-item:nth-child(5) {
    animation-delay: 0.5s;
}

.photo-gallery-section.visible .photo-item:nth-child(6) {
    animation-delay: 0.6s;
}

.photo-gallery-section.visible .photo-item:nth-child(7) {
    animation-delay: 0.7s;
}

.photo-gallery-section.visible .photo-item:nth-child(8) {
    animation-delay: 0.8s;
}

.photo-gallery-section.visible .photo-item:nth-child(9) {
    animation-delay: 0.9s;
}

.photo-carousel-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out 0.4s, transform 0.5s ease-out 0.4s;
}

.photo-gallery-section.visible .photo-carousel-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.photo-carousel-indicators {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.6s, transform 0.6s ease-out 0.6s;
}

.photo-gallery-section.visible .photo-carousel-indicators {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.photo-gallery-container {
    width: 100%;
}

.photo-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.photo-gallery-header h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #228DDF;
    margin-bottom: 10px;
}

.photo-gallery-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
}

.photo-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.photo-carousel {
    width: 100%;
    max-width: 1320px;
    overflow: hidden;
    position: relative;
}

.photo-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.photo-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    height: 300px;
    border-radius: 22px;
    overflow: hidden;
    background: #081126;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0px 8px 20px rgba(18, 76, 121, 0.4);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.photo-carousel-btn:hover {
    background: linear-gradient(90deg, #228DDF 0%, #3BA3F5 100%);
    transform: scale(1.1);
    box-shadow: 0px 4px 15px rgba(34, 141, 223, 0.5);
}

.photo-carousel-btn:active {
    transform: scale(0.95);
}

.photo-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.photo-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.photo-carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.photo-carousel-indicator.active {
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    width: 30px;
    border-radius: 6px;
}

.photo-carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.photo-carousel-indicator.active:hover {
    background: linear-gradient(90deg, #228DDF 0%, #3BA3F5 100%);
}

.founder-section {
    padding: 40px 100px;
    background: transparent;
    max-width: 1240px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.founder-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.founder-mr-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.founder-section.visible .founder-mr-container {
    opacity: 1;
    transform: translateY(0);
}

.founder-content {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.founder-section.visible .founder-content {
    opacity: 1;
    transform: translateX(0);
}

.founder-content h3 {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

.founder-label {
    color: #51ACF2;
    font-weight: 600;
}

.founder-content h3 span:not(.founder-label) {
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.founder-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.8;
}

/* New About Details Structure Styles */
.about-us {
    width: 100%;
    position: relative;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 17, 38, 0.4);
    z-index: 2;
}

.about-us-lorem-ipsum-has-been-wrapper {
    position: absolute;
    width: 100%;
    max-width: 803px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 30px;
    color: white;
    background: rgba(8, 17, 38, 0.7);
    border-radius: 10px;
    z-index: 3;
}

.about-us-lorem-container {
    color: white;
}

.trusted-by-industries {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: #228DDF;
    letter-spacing: 1px;
}

.lorem-ipsum-has-been-the-indus {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.lorem-ipsum-has {
    font-weight: 400;
}

.blank-line {
    display: block;
}

.text {
    text-align: center;
    padding: 40px 20px;
}

.text .home {
    max-width: 1240px;
    margin: 0 auto;
}

.lorem-ipsum-has2 {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.founder-mr-container {
    padding: 40px 100px;
    background: transparent;
    max-width: 1240px;
    margin: 0 auto;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.8;
}

.founder {
    color: #51ACF2;
    font-weight: 600;
    font-size: 20px;
}

.mr-perumal-vedhachalam {
    color: white;
    font-weight: 500;
    font-size: 18px;
}

.established-in-the {
    color: white;
    font-weight: 300;
}

.trusted-by-industries-container {
    text-align: center;
    max-width: 803px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.trusted-industries-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.clients,
.clients2,
.clients3,
.clients4,
.clients5 {
    width: 200px;
    height: 150px;
    background: #081126;
    border-radius: 50px;
    border: 3px solid #081126;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.clients:hover,
.clients2:hover,
.clients3:hover,
.clients4:hover,
.clients5:hover {
    border-color: #17599D;
    transform: translateY(-5px);
}

.clients img,
.clients2 img,
.clients3 img,
.clients4 img,
.clients5 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.productss-section {
    padding: 60px 20px;
    background: transparent;
}

.productss {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
}

.prd01,
.prd02,
.prd03 {
    width: 400px;
    height: 400px;
    border-radius: 22px;
    overflow: hidden;
    background: #081126;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.prd01:hover,
.prd02:hover,
.prd03:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0px 8px 20px rgba(18, 76, 121, 0.4);
}

.prd01 img,
.prd02 img,
.prd03 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lorem-ipsum-lorem-ipsum-has-be-parent {
    max-width: 803px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 20px;
    background: #081126;
}

.lorem-ipsum-lorem-container {
    margin-bottom: 30px;
}

.query {
    margin-top: 30px;
}

.query .home {
    display: inline-block;
}

.contact-cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-cta-button:hover {
    background: linear-gradient(90deg, #228DDF 0%, #3BA3F5 100%);
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(34, 141, 223, 0.5);
}

/* Trusted By Industries Section */
.trusted-industries-section {
    padding: 0;
    background: transparent;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.trusted-industries-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.trusted-by-industries-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
    max-width: 803px;
    margin: 0 auto 3rem;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.trusted-industries-section.visible .trusted-by-industries-container {
    opacity: 1;
    transform: translateY(0);
}

.trusted-industries-logos {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
}

.trusted-industries-section.visible .trusted-industries-logos {
    opacity: 1;
    transform: translateY(0);
}

.clients,
.clients2,
.clients3,
.clients4,
.clients5 {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.trusted-industries-section.visible .clients {
    animation: logoScaleIn 0.6s ease-out 0.5s forwards;
}

.trusted-industries-section.visible .clients2 {
    animation: logoScaleIn 0.6s ease-out 0.6s forwards;
}

.trusted-industries-section.visible .clients3 {
    animation: logoScaleIn 0.6s ease-out 0.7s forwards;
}

.trusted-industries-section.visible .clients4 {
    animation: logoScaleIn 0.6s ease-out 0.8s forwards;
}

.trusted-industries-section.visible .clients5 {
    animation: logoScaleIn 0.6s ease-out 0.9s forwards;
}

@keyframes logoScaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.trusted-industries-header {
    max-width: 803px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.trusted-industries-section.visible .trusted-industries-header {
    opacity: 1;
    transform: translateY(0);
}

.trusted-industries-header {
    position: relative;
    z-index: 1;
}

.trusted-industries-header h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.trusted-industries-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.8);
}

.trusted-industries-section .trusted-industries-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trusted-logo-card {
    width: 200px;
    height: 120px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #081126;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
}

.trusted-industries-section.visible .trusted-logo-card {
    animation: logoFadeIn 0.6s ease-out forwards;
}

.trusted-logo-card:nth-child(1) {
    animation-delay: 0.1s;
}

.trusted-logo-card:nth-child(2) {
    animation-delay: 0.2s;
}

.trusted-logo-card:nth-child(3) {
    animation-delay: 0.3s;
}

.trusted-logo-card:nth-child(4) {
    animation-delay: 0.4s;
}

.trusted-logo-card:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.trusted-logo-card:hover {
    border-color: #17599D;
    transform: translateY(-5px) scale(1.05);
}

.trusted-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 63px 318px;
    background: linear-gradient(0deg, #081126 0%, black 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.lorem-ipsum-lorem-ipsum-has-be-parent {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.contact-cta-section.visible .lorem-ipsum-lorem-ipsum-has-be-parent {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

.contact-cta-section.visible .contact-cta-button {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta-content {
    max-width: 803px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.contact-cta-section.visible .contact-cta-content {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta-content h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.contact-cta-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-cta-button {
    padding: 8px 10px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s, all 0.3s ease;
}

.contact-cta-section.visible .contact-cta-button {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 76, 121, 0.4);
}

/* Facilities Hero Section */
.facilities-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    overflow: hidden;
    margin-top: 136px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#facilities-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    z-index: 1;
}

.facilities-hero-content {
    max-width: 544px;
    text-align: center;
    color: white;
    padding: 30px;
    position: relative;
    z-index: 2;
    background: rgba(8, 17, 38, 0.7);
    border-radius: 10px;
}

.facilities-hero-content h1 {
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.facilities-hero-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: white;
    line-height: 1.6;
}

/* Facilities Header Section */
.facilities-header-section {
    padding: 40px 20px;
    background: transparent;
    text-align: center;
}

.facilities-header-content {
    max-width: 803px;
    margin: 0 auto;
}

.facilities-header-content h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.facilities-header-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Facility Tabs Section */
.facility-tabs-section {
    padding: 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.facility-tabs-container {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.facility-tab {
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.facility-tab.active {
    color: white;
}

.facility-tab:hover {
    color: #51ACF2;
}

.facility-tab-indicator {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 6px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border-radius: 22px;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Facilities Grid Section */
.facilities-grid-section {
    padding: 40px 20px;
    background: transparent;
    position: relative;
    min-height: 842px;
}

.facilities-grid-container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}

.facility-tab-content {
    display: none;
}

.facility-tab-content.active {
    display: block;
}

.facilities-carousel-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px;
    height: 882px;
}

.facilities-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 100;
    font-size: 20px;
}

.facilities-carousel-btn:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(34, 141, 223, 0.5);
}

.facilities-carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.facilities-carousel-prev {
    left: 20px;
}

.facilities-carousel-next {
    right: 20px;
}

.facilities-carousel-track {
    width: fit-content;
    height: 842px;
    position: relative;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    display: flex;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.facilities-carousel-page {
    width: 1440px;
    height: 842px;
    position: relative;
    flex-shrink: 0;
    margin-right: 0;
    overflow: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes facilityCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animate cards when their page is active */
.facility-tab-content.active .facilities-carousel-page .facility-card {
    animation: facilityCardFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(1) {
    animation-delay: 0.05s;
    opacity: 0;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(2) {
    animation-delay: 0.1s;
    opacity: 0;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(3) {
    animation-delay: 0.15s;
    opacity: 0;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(4) {
    animation-delay: 0.2s;
    opacity: 0;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(5) {
    animation-delay: 0.25s;
    opacity: 0;
}

.facility-tab-content.active .facilities-carousel-page .facility-card:nth-child(6) {
    animation-delay: 0.3s;
    opacity: 0;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 340px);
    gap: 15px;
    justify-content: center;
    padding: 74px 0;
}

.facility-card {
    width: 340px;
    height: 340px;
    padding: 15px;
    background: #081126;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

/* Row 1 positions (top: 74px) - Cards 1, 2, 3 */
.facilities-carousel-page .facility-card:nth-child(1) {
    left: 195px;
    top: 74px;
}

.facilities-carousel-page .facility-card:nth-child(2) {
    left: 550px;
    top: 74px;
}

.facilities-carousel-page .facility-card:nth-child(3) {
    left: 905px;
    top: 74px;
}

/* Row 2 positions (top: 429px) - Cards 4, 5, 6 */
.facilities-carousel-page .facility-card:nth-child(4) {
    left: 195px;
    top: 429px;
}

.facilities-carousel-page .facility-card:nth-child(5) {
    left: 550px;
    top: 429px;
}

.facilities-carousel-page .facility-card:nth-child(6) {
    left: 905px;
    top: 429px;
}

.facility-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0px 12px 24px rgba(34, 141, 223, 0.3);
}

.facility-card img {
    width: 320px;
    height: 200px;
    border-radius: 22px;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.facility-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.facility-card-content {
    width: 320px;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.facility-card:hover .facility-card-content {
    transform: translateY(-2px);
}

.facility-card-content h3 {
    color: white;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.facility-card:hover .facility-card-content h3 {
    color: #228DDF;
}

.facility-card-content p {
    color: white;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.4;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.facility-card:hover .facility-card-content p {
    opacity: 1;
}

/* Manufacturing Activities Sections */
.manufacturing-activities-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.activities-section {
    background: #081126;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activities-section:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(34, 141, 223, 0.3);
}

.activities-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #124C79;
}

.activities-header.outsourced {
    border-bottom-color: #FF8C00;
}

.activities-header h3 {
    color: #228DDF;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.activities-header.outsourced h3 {
    color: #FF8C00;
}

.activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activities-list li {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    padding: 12px 0 12px 30px;
    position: relative;
    transition: all 0.3s ease;
}

.activities-list li:hover {
    color: #228DDF;
    padding-left: 35px;
}

.activities-list li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: #228DDF;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.activities-section.outsourced .activities-list li::before {
    color: #FF8C00;
}

.activities-list li:hover::before {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .manufacturing-activities-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .activities-section {
        padding: 30px 20px;
    }

    .activities-header h3 {
        font-size: 20px;
    }

    .activities-list li {
        font-size: 14px;
        padding: 10px 0 10px 25px;
    }
}


/* Request Quote Section */
.request-quote-section {
    padding: 63px 319px;
    background: linear-gradient(0deg, #081126 0%, black 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.request-quote-content {
    max-width: 803px;
    text-align: center;
}

.request-quote-content h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.request-quote-content p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
    margin-bottom: 20px;
}

.request-quote-button {
    padding: 8px 10px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.request-quote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 76, 121, 0.4);
}

/* Policies Content Section */
.policies-content-section {
    padding: 80px 90px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    min-height: 1407px;
}

.policies-container {
    max-width: 1423px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.policy-section {
    width: 100%;
}

.policy-section h2 {
    color: #124C79;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
}

.policy-section h3 {
    color: #0088FF;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-section p {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section p strong {
    font-weight: 400;
}

.policy-objectives {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.policy-objective-item {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.objective-bullet {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.objective-bullet svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(34, 141, 223, 0.3));
}

.policy-objective-item:hover .objective-bullet {
    transform: scale(1.2) rotate(15deg);
}

.policy-objective-item span {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.policy-subsection {
    margin-top: 30px;
    margin-bottom: 30px;
}

.policy-subsection h4 {
    color: #0088FF;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}

.policy-subsection h5 {
    color: #7FBAFA;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 10px;
}

.policy-subsection p {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-subsection-item {
    margin-top: 20px;
    margin-bottom: 20px;
}

.anti-bribery-section {
    margin-top: 40px;
}

/* Journey Growth Section */
.journey-growth-section {
    padding: 40px 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-x: hidden;
    width: 100%;
}

.journey-growth-header {
    max-width: 1238px;
    text-align: center;
    margin-bottom: 30px;
}

.journey-growth-header h2 {
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.journey-growth-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
}

.journey-growth-timeline {
    width: 100%;
    max-width: 1219px;
    padding: 20px 30px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Hide scrollbar for journey timeline */
.journey-growth-timeline::-webkit-scrollbar {
    display: none;
}

.journey-growth-timeline {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.journey-milestone-card {
    width: 300px;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: black;
    border-radius: 22px;
    padding: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.journey-year {
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
    color: #124C79;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.journey-icon {
    width: 50px;
    height: 50px;
    left: 50%;
    top: 62px;
    transform: translateX(-50%);
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.journey-icon .location-icon {
    width: 32px;
    height: 32px;
    color: #124C79;
    transition: all 0.3s ease;
}

.journey-icon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.journey-content {
    width: 266px;
    left: 50%;
    top: 141px;
    transform: translateX(-50%);
    position: absolute;
    text-align: center;
}

.journey-content h3 {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.journey-content p {
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.3s ease;
}

/* Journey Milestone Card Hover Effects */
.journey-milestone-card:hover {
    transform: translateY(-15px) scale(1.08);
    box-shadow: 0 15px 40px rgba(18, 76, 121, 0.5);
    background: #081F37;
}

.journey-milestone-card:hover .journey-year {
    color: #228DDF;
    transform: translateX(-50%) scale(1.1);
}

.journey-milestone-card:hover .journey-icon .location-icon {
    color: #228DDF;
    transform: scale(1.2);
}

.journey-milestone-card:hover .journey-icon::after {
    width: 266px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    opacity: 1;
}

.journey-milestone-card:hover .journey-content h3 {
    color: #228DDF;
}

.journey-milestone-card:hover .journey-content p {
    color: rgba(255, 255, 255, 0.95);
}

/* Awards & Recognition Section */
.awards-recognition-section {
    padding: 40px 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.awards-header {
    max-width: 803px;
    text-align: center;
}

.awards-header h2 {
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.awards-header p {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: white;
    line-height: 1.6;
}

.awards-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.award-card {
    width: 200px;
    height: 150px;
    background: #081126;
    border-radius: 50px;
    border: 3px solid #081126;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.award-card:hover {
    border-color: #17599D;
    transform: translateY(-5px);
}

.award-image-placeholder {
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 10px;
}

.award-label {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    text-align: center;
}

/* Responsive Design for Growth Sections */
@media (max-width: 768px) {
    .growth-hero-section {
        height: 300px;
        margin-top: 120px;
    }

    .growth-hero-content h1 {
        font-size: 28px;
    }

    .growth-hero-content p {
        font-size: 16px;
    }

    .journey-growth-header h2 {
        font-size: 28px;
    }

    .journey-growth-timeline {
        width: 100%;
        padding: 20px 15px;
    }

    .journey-milestone-card {
        width: 250px;
        height: 250px;
    }

    .journey-year {
        font-size: 32px;
    }

    .journey-content h3 {
        font-size: 14px;
    }

    .journey-content p {
        font-size: 12px;
    }

    .awards-header h2 {
        font-size: 24px;
    }

    .awards-grid {
        gap: 30px;
    }

    .award-card {
        width: 150px;
        height: 120px;
    }

    .award-label {
        font-size: 14px;
    }

    .policies-content-section {
        padding: 40px 20px;
    }

    .policies-container {
        gap: 40px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 20px;
    }

    .policy-section p,
    .policy-subsection p {
        font-size: 14px;
    }

    .policy-subsection h4,
    .policy-subsection h5 {
        font-size: 14px;
    }

    .about-hero-section {
        height: 300px;
        margin-top: 120px;
    }

    .about-hero-content {
        padding: 20px;
    }

    .about-hero-content h1 {
        font-size: 28px;
    }

    .about-hero-content p {
        font-size: 14px;
    }

    .company-info-section {
        padding: 40px 20px;
    }

    .company-info-content h2 {
        font-size: 24px;
    }

    .photo-gallery-section {
        padding: 40px 20px;
    }

    .photo-gallery-header h2 {
        font-size: 24px;
    }

    .photo-item {
        flex: 0 0 calc(50% - 10px);
        height: 250px;
    }

    .photo-carousel-wrapper {
        gap: 10px;
    }

    .photo-carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    .photo-item {
        flex: 0 0 100%;
        height: 250px;
    }

    .photo-carousel-wrapper {
        gap: 5px;
    }

    .photo-carousel-btn {
        width: 35px;
        height: 35px;
    }

    .photo-gallery-header h2 {
        font-size: 20px;
    }

    .about-decorative-shapes {
        width: 100%;
        height: 300px;
        max-width: 100%;
        padding: 0 20px;
    }

    .about-shape.shape-1 {
        width: 80%;
        max-width: 500px;
        height: 180px;
        left: 50%;
        transform: translateX(-50%);
    }

    .about-shape.shape-1.animate {
        transform: translateX(-50%) scale(1) translateY(0);
    }

    .about-shape.shape-2 {
        width: 60%;
        max-width: 350px;
        height: 150px;
        left: 10%;
        top: 100px;
    }

    .about-shape.shape-3 {
        width: 60%;
        max-width: 350px;
        height: 150px;
        left: 50%;
        top: 105px;
        transform: rotate(-1deg) translateX(-50%);
    }

    .about-shape.shape-3.animate {
        transform: rotate(-1deg) translateX(-50%) scale(1) translateY(0);
    }

    .founder-section {
        padding: 30px 20px;
    }

    .founder-content h3 {
        font-size: 18px;
    }

    .founder-content p {
        font-size: 14px;
    }

    .trusted-industries-header h2 {
        font-size: 24px;
    }

    .trusted-industries-logos {
        gap: 20px;
    }

    .trusted-logo-card {
        width: 150px;
        height: 90px;
    }

    .contact-cta-section {
        padding: 40px 20px;
    }

    .contact-cta-content h2 {
        font-size: 24px;
    }

    .facilities-hero-section {
        height: 300px;
        margin-top: 120px;
    }

    .facilities-hero-content {
        padding: 20px;
    }

    .facilities-hero-content h1 {
        font-size: 28px;
    }

    .facilities-hero-content p {
        font-size: 14px;
    }

    .facilities-header-content h2 {
        font-size: 24px;
    }

    .facility-tabs-container {
        gap: 20px;
        flex-wrap: wrap;
    }

    .facility-tab {
        font-size: 18px;
        padding: 15px;
    }

    .facility-tab-indicator {
        display: none;
    }

    .facilities-carousel-container {
        padding: 40px 10px;
    }

    .facility-card {
        width: 280px;
        height: auto;
        min-height: 340px;
    }

    .facility-card img {
        width: 100%;
        max-width: 320px;
    }

    .facilities-nav-arrow {
        display: none;
    }

    .request-quote-section {
        padding: 40px 20px;
    }

    .request-quote-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facility-tabs-container {
        gap: 10px;
    }

    .facility-tab {
        font-size: 16px;
        padding: 10px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .product-image-container {
        height: 350px;
        order: -1;
    }

    .title-text {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 8px;
    }

    .top-bar-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar-item {
        font-size: 12px;
        padding: 5px;
    }

    header {
        top: auto;
    }

    .main-nav {
        width: 95%;
        height: auto;
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        border-radius: 30px;
    }

    .nav-logo img {
        width: 200px;
        height: auto;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .nav-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .nav-arrow {
        width: 8px;
        height: 5px;
    }

    .hero-section {
        height: 50vh;
        min-height: 400px;
        margin-top: 120px;
    }

    #hero-video {
        object-position: center center;
    }

    .hero-overlay {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .about-header {
        padding: 15px;
    }

    .about-header h2 {
        font-size: 24px;
    }

    .about-content-wrapper {
        flex-direction: column;
    }

    .about-image-card {
        width: 100%;
        max-width: 100%;
    }

    .vision-mission-section {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
    }

    .vision-card,
    .mission-card {
        width: 100%;
        max-width: 500px;
    }

    .vision {
        width: 100%;
        max-width: 500px;
    }

    .clients-track {
        gap: 1.5rem;
        animation-duration: 25s;
    }

    .client-logo-card {
        width: 150px;
        height: 90px;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-main-heading {
        font-size: 32px;
    }

    .contact-subtext {
        font-size: 16px;
    }

    .contact-illustration {
        max-width: 100%;
        height: 300px;
    }

    .key-matrix-section {
        padding: 3rem 1.5rem;
    }

    .key-matrix-header {
        margin-bottom: 2rem;
    }

    .key-matrix-header h2 {
        font-size: 20px;
    }

    .key-matrix-header p {
        font-size: 14px;
    }

    .key-matrix-container {
        flex-direction: column;
        gap: 1rem;
    }

    .key-matrix-card {
        width: 100%;
        max-width: 100%;
        height: 110px;
    }

    .key-matrix-value {
        font-size: 24px;
    }

    .key-matrix-plus {
        font-size: 12px;
    }

    .key-matrix-label {
        font-size: 16px;
    }

    .products-section {
        padding: 4rem 1.5rem;
    }

    .products-main-title {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .title-line-left,
    .title-line-right {
        max-width: 100px;
    }

    .title-text {
        font-size: 2rem;
    }

    .products-showcase {
        min-height: 500px;
        perspective: 1000px;
    }

    .productss {
        height: 500px;
    }

    .prd1,
    .prd2,
    .prd3,
    .prd4,
    .prd5,
    .prd12,
    .prd32,
    .prd42,
    .prd52,
    .prd13,
    .prd33,
    .prd43,
    .prd53,
    .prd14,
    .prd24,
    .prd34,
    .prd44,
    .prd54 {
        width: 220px;
        height: 320px;
        margin-left: -110px;
        margin-top: -160px;
    }

    .property-1default .prd1,
    .property-1default .prd2,
    .property-1default .prd3,
    .property-1default .prd4,
    .property-1default .prd5 {
        transform: rotateY(0deg) translateZ(300px);
    }

    .property-1default .prd2 {
        transform: rotateY(72deg) translateZ(300px);
    }

    .property-1default .prd3 {
        transform: rotateY(144deg) translateZ(300px);
    }

    .property-1default .prd4 {
        transform: rotateY(216deg) translateZ(300px);
    }

    .property-1default .prd5 {
        transform: rotateY(288deg) translateZ(300px);
    }

    .product-3d-image {
        height: 220px;
    }

    .product-3d-content h3 {
        font-size: 1rem;
    }
}

/* Enter/Exit for about images (page-slide effect) */
@keyframes aboutEnter {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes aboutExit {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes quoteSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes quoteSlideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.about-images img.enter {
    animation: aboutEnter 0.8s cubic-bezier(.22, .9, .35, 1) forwards;
}

.about-images img.exit {
    animation: aboutExit 0.8s cubic-bezier(.22, .9, .35, 1) forwards;
}

/* Smooth section transitions */
section {
    scroll-margin-top: 100px;
}

/* Team Page Responsive Styles */
@media (max-width: 1200px) {
    .org-level-3 {
        gap: 200px;
    }

    .org-level-5 {
        gap: 200px;
    }

    .org-line-1 {
        width: 600px;
    }

    .org-line-2 {
        width: 400px;
    }
}

@media (max-width: 900px) {
    .team-hero-section {
        height: 300px;
        margin-top: 120px;
    }

    .team-hero-content h1 {
        font-size: 28px;
    }

    .team-hero-content p {
        font-size: 16px;
    }

    .team-org-header h2 {
        font-size: 28px;
    }

    .team-org-chart-section {
        padding: 40px 20px;
    }

    .org-chart-wrapper {
        min-height: 800px;
        gap: 30px;
    }

    .org-level {
        gap: 30px;
        flex-wrap: wrap;
    }

    .org-level-3 {
        gap: 100px;
    }

    .org-level-4 {
        gap: 20px;
    }

    .org-level-5 {
        gap: 100px;
    }

    .org-card {
        padding: 10px 20px;
    }

    .org-card-director .org-card-content,
    .org-card-manager .org-card-content,
    .org-card-incharge .org-card-content {
        font-size: 18px;
    }

    .org-card-middle .org-card-content {
        font-size: 16px;
    }

    .org-card-bottom .org-card-content {
        font-size: 16px;
        width: auto;
    }

    .org-line {
        display: none;
    }

    .team-cards-section {
        padding: 40px 20px;
    }

    .team-cards-container {
        gap: 30px;
    }

    .team-member-card {
        height: auto;
        min-height: 190px;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px;
    }

    .team-member-title {
        width: 100%;
        margin-bottom: 15px;
    }

    .team-member-title h3 {
        font-size: 24px;
        text-align: left;
    }

    .team-member-description {
        width: 100%;
        margin-bottom: 15px;
    }

    .team-member-sub-items {
        width: 100%;
    }

    .team-cta-section {
        padding: 40px 20px;
    }

    .team-cta-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 600px) {
    .team-hero-content {
        padding: 20px;
    }

    .team-hero-content h1 {
        font-size: 24px;
    }

    .team-hero-content p {
        font-size: 14px;
    }

    .team-cards-section {
        padding: 30px 15px;
    }

    .team-member-card {
        padding: 20px;
        min-height: auto;
    }

    .team-member-title h3 {
        font-size: 20px;
    }

    .team-member-description {
        font-size: 14px;
    }

    .team-sub-item {
        padding: 8px;
    }

    .team-sub-item span {
        font-size: 14px;
    }

    .team-member-sub-items {
        gap: 8px;
    }

    .team-org-header h2 {
        font-size: 24px;
    }

    .team-org-header p {
        font-size: 14px;
    }

    .org-level {
        gap: 15px;
    }

    .org-level-3 {
        gap: 50px;
        flex-direction: column;
    }

    .org-level-4 {
        gap: 15px;
    }

    .org-level-5 {
        gap: 50px;
        flex-direction: column;
    }

    .org-card {
        padding: 8px 15px;
    }

    .org-card-director .org-card-content,
    .org-card-manager .org-card-content,
    .org-card-incharge .org-card-content {
        font-size: 16px;
    }

    .org-card-middle .org-card-content {
        font-size: 14px;
    }

    .org-card-bottom .org-card-content {
        font-size: 14px;
    }

    .team-cta-content h2 {
        font-size: 20px;
    }

    .team-cta-content p {
        font-size: 14px;
    }
}

/* Careers Page Styles */
.careers-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 136px;
    overflow: hidden;
}

.careers-hero-content {
    max-width: 800px;
    text-align: center;
}

.careers-hero-content h1 {
    color: white;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.careers-hero-content p {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

.careers-request-quote-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-request-quote-content {
    max-width: 800px;
    text-align: center;
}

.careers-request-quote-content h2 {
    color: white;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
}

.careers-request-quote-content p {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 30px;
}

.careers-request-quote-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
}

.careers-request-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(34, 141, 223, 0.4);
}

.careers-form-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.careers-form-wrapper {
    max-width: 750px;
    width: 100%;
}

.careers-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.careers-form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.careers-form-row .careers-form-group {
    flex: 1;
}

.careers-form-row .careers-form-group.full-width {
    flex: 1 1 100%;
}

.careers-form input,
.careers-form textarea {
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    background: #081126;
    border: 3px solid #081F37;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    box-shadow: 0px 2px 2px 1px #081F37;
    transition: all 0.3s ease;
}

.careers-form input::placeholder,
.careers-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.50);
}

.careers-form input:focus,
.careers-form textarea:focus {
    outline: none;
    border-color: #228DDF;
    box-shadow: 0px 2px 2px 1px #228DDF;
}

.careers-form textarea {
    height: 100px;
    padding: 33px 20px;
    resize: vertical;
    min-height: 100px;
}

.careers-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.careers-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    background: #081126;
    border: 3px solid #081F37;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 2px 1px #081F37;
}

.careers-upload-btn:hover {
    border-color: #228DDF;
    box-shadow: 0px 2px 2px 1px #228DDF;
    color: white;
}

.careers-upload-btn svg {
    width: 20px;
    height: 20px;
}

.careers-file-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    padding-left: 5px;
}

.careers-submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.careers-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(34, 141, 223, 0.5);
}

/* Responsive styles for careers page */
@media (max-width: 768px) {
    .careers-hero-content h1 {
        font-size: 32px;
    }

    .careers-request-quote-content h2 {
        font-size: 28px;
    }

    .careers-form-row {
        flex-direction: column;
        gap: 15px;
    }

    .careers-form input,
    .careers-form textarea {
        height: 45px;
    }

    .careers-form textarea {
        height: 80px;
        padding: 20px;
    }
}

/* Contact Page Styles */
.contact-hero-section {
    width: 100%;
    height: 440px;
    position: relative;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    background-image: url('images/Home/hero video.mp4');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 136px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 17, 38, 0.6);
}

.contact-hero-content {
    text-align: center;
    max-width: 544px;
    padding: 20px;
}

.contact-hero-content h1 {
    color: white;
    font-size: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero-content p {
    color: white;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 1.6;
}

.get-in-touch-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-in-touch-content {
    max-width: 750px;
    text-align: center;
}

.get-in-touch-content h2 {
    color: white;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
}

.get-in-touch-content p {
    color: white;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
}

.contact-form-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-wrapper {
    max-width: 750px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
}

.form-row .form-group.full-width {
    flex: 1 1 100%;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    height: 50px;
    padding: 5px 10px;
    background: #081126;
    border: 3px solid #081F37;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    box-shadow: 0px 2px 2px 1px #081F37;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.50);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #228DDF;
    box-shadow: 0px 2px 2px 1px #228DDF;
}

.contact-form textarea {
    height: 100px;
    padding: 33px 20px;
    resize: vertical;
    min-height: 100px;
}

.contact-submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #124C79 0%, #228DDF 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(34, 141, 223, 0.5);
}

/* Active nav link */
.nav-menu li a.active {
    color: #124C79;
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 32px;
    }

    .contact-hero-content p {
        font-size: 18px;
    }

    .get-in-touch-content h2 {
        font-size: 28px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        height: 45px;
    }

    .contact-form textarea {
        height: 80px;
        padding: 20px;
    }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile Navigation - Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Base Mobile Styles - 480px and below */
@media (max-width: 480px) {

    /* Top Bar */
    .top-bar {
        padding: 8px 10px;
        font-size: 10px;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .top-bar-item {
        font-size: 10px;
        padding: 3px 5px;
    }

    .top-bar-icon {
        width: 14px !important;
        height: 14px !important;
    }

    /* Header & Navigation */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(8, 17, 38, 0.95);
        backdrop-filter: blur(10px);
    }

    .main-nav {
        width: 100%;
        padding: 10px 15px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        border-radius: 0;
    }

    .nav-logo img {
        width: 120px;
        height: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }


    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu li a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        background: rgba(18, 76, 121, 0.3);
        margin-top: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-item {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Hero Sections */
    .hero-section,
    .policies-hero-section,
    .about-hero-section,
    .facilities-hero-section,
    .team-hero-section,
    .careers-hero-section,
    .contact-hero-section {
        height: 50vh;
        min-height: 300px;
        margin-top: 70px;
    }

    .hero-content h1,
    .policies-hero-content h1,
    .about-hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p,
    .policies-hero-content p,
    .about-hero-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-overlay,
    .policies-hero-content,
    .about-hero-content {
        padding: 20px 15px;
    }

    /* Sections */
    section {
        padding: 40px 15px !important;
    }

    .about-section,
    .products-section,
    .clients-section,
    .contact-section {
        padding: 40px 15px !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .contact-main-heading {
        font-size: 24px !important;
    }

    .contact-subtext {
        font-size: 14px !important;
    }

    .contact-illustration {
        height: 250px !important;
    }

    .vision-mission-section,
    .key-matrix-section,
    .founder-section,
    .trusted-industries-section,
    .contact-cta-section,
    .photo-gallery-section,
    .policies-content-section {
        padding: 30px 15px !important;
    }

    /* Typography */
    h1 {
        font-size: 24px !important;
    }

    h2 {
        font-size: 20px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    p {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    /* About Section */
    .about-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .about-text-content {
        width: 100%;
    }

    .about-image-card {
        width: 100%;
        max-width: 100%;
    }

    /* Products Section */
    .products-main-title {
        flex-direction: column;
        gap: 10px;
    }

    .title-text {
        font-size: 24px;
    }

    .title-line-left,
    .title-line-right {
        width: 60px;
        height: 2px;
    }

    .product-item {
        padding: 30px 15px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-description {
        font-size: 14px;
    }

    /* Vision Mission */
    .vision-mission-section {
        flex-direction: column;
        gap: 20px;
        padding: 30px 15px;
    }

    .vision-card,
    .mission-card {
        width: 100%;
        padding: 20px;
    }

    .vision {
        width: 100%;
        padding: 20px;
    }

    .visioneyedefault-icon {
        width: 60px;
        height: 60px;
    }

    /* Clients Section */
    .clients-container {
        height: 120px;
    }

    .client-logo {
        height: 80px;
        width: 120px;
    }

    /* Key Matrix */
    .key-matrix-container {
        flex-direction: column;
        gap: 15px;
    }

    .key-matrix-card {
        width: 100%;
        height: 100px;
    }

    .key-matrix-value {
        font-size: 20px;
    }

    .key-matrix-label {
        font-size: 14px;
    }

    /* Photo Gallery */
    .photo-gallery-header h2 {
        font-size: 20px;
    }

    .photo-item {
        flex: 0 0 100%;
        height: 200px;
    }

    .photo-carousel-wrapper {
        gap: 10px;
    }

    .photo-carousel-btn {
        width: 35px;
        height: 35px;
    }

    /* Facilities */
    .facilities-header-content h2 {
        font-size: 20px;
    }

    .facility-tabs-container {
        flex-direction: column;
        gap: 10px;
    }

    .facility-tab {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .facility-card {
        width: 100% !important;
        max-width: 100%;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 20px;
    }

    .facilities-carousel-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .facilities-carousel-container {
        height: auto;
        padding: 20px 10px;
    }

    .facilities-carousel-track {
        flex-direction: column;
        height: auto;
        transform: none !important;
    }

    /* Footer */
    .footer-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px 15px;
    }

    .footer-left-section,
    .footer-quick-links,
    .footer-group-companies,
    .footer-contact-section {
        width: 100%;
    }

    .footer-logo {
        width: 150px;
    }

    .copyright-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }

    /* Contact Form */
    .contact-form {
        padding: 20px 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 14px;
    }

    /* Policies */
    .policies-container {
        gap: 30px;
    }

    .policy-section h2 {
        font-size: 20px;
    }

    .policy-section h3 {
        font-size: 18px;
    }

    .policy-section p,
    .policy-subsection p {
        font-size: 13px;
    }

    /* Team Section */
    .team-member-card {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Products Page */
    .product-detail-card {
        flex-direction: column;
    }

    .product-detail-image {
        width: 100%;
        height: 250px;
    }

    #product-gallery {
        padding: 20px 15px;
    }

    .gallery-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Group Pages */
    .company-card {
        width: 100%;
        padding: 20px;
    }
}

/* Tablet Styles - 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
    .main-nav {
        padding: 12px 20px;
    }

    .nav-logo img {
        width: 150px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-menu li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .hero-section {
        height: 60vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    section {
        padding: 50px 20px;
    }

    .photo-item {
        flex: 0 0 calc(50% - 10px);
    }

    .facility-card {
        width: 100% !important;
        max-width: 400px;
        position: relative !important;
        left: auto !important;
        top: auto !important;
    }

    .facilities-carousel-page {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Small Desktop - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav {
        width: 95%;
    }

    .nav-menu li a {
        font-size: 13px;
        padding: 10px 12px;
    }

    .photo-item {
        flex: 0 0 calc(33.333% - 14px);
    }

    .facility-card {
        width: 300px !important;
    }

    .facilities-carousel-page {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }
}

/* Touch-friendly improvements for all mobile devices */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets */
    .nav-menu li a,
    .photo-carousel-btn,
    .contact-cta-button,
    .learn-more-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .photo-item:hover,
    .facility-card:hover,
    .client-logo:hover {
        transform: none;
    }

    /* Better scrolling */
    * {
        -webkit-overflow-scrolling: touch;
    }

    /* 3D Carousel adjustments for touch */
    .products-showcase {
        perspective: 600px;
    }

    .prd1,
    .prd2,
    .prd3,
    .prd4,
    .prd5,
    .prd12,
    .prd32,
    .prd42,
    .prd52,
    .prd13,
    .prd33,
    .prd43,
    .prd53,
    .prd14,
    .prd24,
    .prd34,
    .prd44,
    .prd54 {
        width: 160px;
        height: 240px;
        margin-left: -80px;
        margin-top: -120px;
    }

    .property-1default .prd1,
    .property-1default .prd2,
    .property-1default .prd3,
    .property-1default .prd4,
    .property-1default .prd5 {
        transform: rotateY(0deg) translateZ(200px);
    }

    .property-1default .prd2 {
        transform: rotateY(72deg) translateZ(200px);
    }

    .property-1default .prd3 {
        transform: rotateY(144deg) translateZ(200px);
    }

    .property-1default .prd4 {
        transform: rotateY(216deg) translateZ(200px);
    }

    .property-1default .prd5 {
        transform: rotateY(288deg) translateZ(200px);
    }

    .product-3d-image {
        height: 160px;
    }

    .product-3d-content h3 {
        font-size: 0.85rem;
    }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 500px;
    }

    .nav-menu {
        height: calc(100vh - 70px);
    }
}

/* Policy and Facility Points Hover Effects */
.policy-objective-item,
.facility-point {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    border-radius: 8px;
    border: 1px solid transparent;
}

.policy-objective-item:hover,
.facility-point:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
    padding-left: 12px;
    border: 1px solid rgba(34, 141, 223, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.objective-bullet,
.point-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.policy-objective-item:hover .objective-bullet,
.facility-point:hover .point-icon {
    transform: scale(1.3) rotate(15deg);
}

.policy-objective-item:hover .objective-bullet svg path,
.facility-point:hover .point-icon svg path {
    filter: drop-shadow(0 0 5px rgba(34, 141, 223, 0.6));
}

.policy-objective-item span,
.facility-point .point-text {
    flex: 1;
    color: white;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-objective-item:hover span,
.facility-point:hover .point-text {
    color: #51ACF2;
    text-shadow: 0 0 10px rgba(81, 172, 242, 0.3);
}

/* About Page - Trusted Industries Section */
.trusted-industries-section {
    padding: 4rem 2rem;
    margin-bottom: 60px;
    /* Reduced gap */
    width: 100%;
}

.trusted-by-industries-container {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.trusted-by-industries {
    font-size: 32px;
    font-weight: 700;
    color: #228DDF;
    display: block;
    margin-bottom: 1rem;
}

.lorem-ipsum-has2 {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

.trusted-industries-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
    /* Forced single row */
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    /* Allow scrolling on small screens */
    padding-bottom: 10px;
    /* Space for scrollbar if needed */
}

.trusted-industries-logos div {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 120px;
    transition: all 0.3s ease;
}

.trusted-industries-logos div:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.trusted-industries-logos img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.from-left {
    transform: translateX(-100px);
}

.from-right {
    transform: translateX(100px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animated Button Styles */
/* Animated Button Styles */
.animated-btn {
    position: relative;
    overflow: hidden;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #228DDF, #003366);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.3s ease;
    box-shadow: none;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Hover effect */
.animated-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: none;
    background: linear-gradient(135deg, #2fa1f7, #063d75);
    color: #fff;
}

/* Click press */
.animated-btn:active {
    transform: scale(0.96);
}

/* Ripple */
.animated-btn::after {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 40%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.animated-btn:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Specific override for contact section button to reduce size */
.contact-content-left .animated-btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Refined contact button size to prevent stretching */
.contact-content-left .animated-btn {
    width: fit-content;
    align-self: flex-start;
    padding: 10px 24px;
    font-size: 14px;
}

/* WeTano Footer Link */
.wetano-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    vertical-align: middle;
    transition: opacity 0.3s ease;
}

.wetano-link:hover {
    opacity: 0.8;
}

/* Enhanced Footer Design & Link Handling */
.designed-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 14px;
    padding: 5px;
}

.wetano-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.wetano-link:hover {
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.wetano-link img {
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.wetano-link:hover img {
    transform: scale(1.1);
}

/* Cursor Lines Canvas */
#cursorLines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* stays behind content */
    pointer-events: none;
    background: transparent;
}

/* ===== SMOOTH SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PREMIUM BUTTON ===== */
.btn-primary {
    position: relative;
    padding: 14px 34px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #0a84ff, #005ecb);
    border-radius: 50px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 120%;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* ===== CARD HOVER EFFECT ===== */
.card-hover {
    transition: all 0.4s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(0, 153, 255, 0.35);
}

/* ===== BACKGROUND MOVING LINES ===== */
.bg-lines {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.03) 0px,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 120px);
    animation: moveLines 18s linear infinite;
    pointer-events: none;
}

@keyframes moveLines {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 120px 0;
    }
}

/* Group Icon Hover Effects */
.group-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-mission-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.contact-info-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-info-item:hover {
    transform: translateY(-3px);
}

.vision-mission-card:hover .group-icon,
.contact-info-item:hover .group-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(34, 141, 223, 0.6));
}

.top-bar-item:hover .top-bar-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(34, 141, 223, 0.6));
}

.top-bar-item:hover .top-bar-icon path {
    fill: #51ACF2;
}

/* Scroll Reveal Animation Styles */
.scroll-reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.scroll-reveal.from-bottom {
    transform: translateY(50px);
}

.scroll-reveal.from-top {
    transform: translateY(-100px);
}

.scroll-reveal.from-left {
    transform: translateX(-150px);
}

.scroll-reveal.from-right {
    transform: translateX(150px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.scroll-reveal.smooth-reveal {
    transition: opacity 1.2s ease-out, transform 1.2s ease-out !important;
}

/* Gentle directional reveals for Vision/Mission */
.scroll-reveal.from-left-gentle {
    transform: translateX(-40px);
}

.scroll-reveal.from-right-gentle {
    transform: translateX(40px);
}

/* Policy Images Section */
.policy-images-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
    padding: 40px 0;
}

.policy-image-card {
    background: #081126;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.policy-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 30px rgba(34, 141, 223, 0.4);
}

.policy-image-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.policy-image-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .policy-images-section {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 40px 0;
        padding: 20px 0;
    }
}

/* Smaller Policy Images Section */
.policy-images-section-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    padding: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.policy-image-card-small {
    background: #081126;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.policy-image-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0px 8px 25px rgba(34, 141, 223, 0.3);
}

.policy-image-card-small img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.policy-image-card-small:hover img {
    transform: scale(1.03);
}

/* IATF Certificate Container */
.iatf-certificate-container {
    margin: 30px 0;
    padding: 30px;
    background: #081126;
    border-radius: 22px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iatf-certificate-container:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 30px rgba(34, 141, 223, 0.4);
}

.iatf-certificate-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@media (max-width: 768px) {
    .policy-images-section-small {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
        padding: 15px 0;
    }

    .iatf-certificate-container {
        padding: 20px;
    }
}

/* Certificate Heading Styles */
.certificate-heading {
    color: #228DDF;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-align: center;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(34, 141, 223, 0.3);
}

/* Update grid to show 3 columns */
.policy-images-section-small {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    margin: 40px 0 !important;
    padding: 20px 0 !important;
    max-width: 100% !important;
}

@media (max-width: 1024px) {
    .policy-images-section-small {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .policy-images-section-small {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .certificate-heading {
        font-size: 16px;
    }
}

/* Certifications and Awards Page Styles */
.growth-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 17, 38, 0.6);
    z-index: 2;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    width: 100% !important;
    margin: 60px auto;
    padding: 0 40px;
    box-sizing: border-box !important;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 20px;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(34, 141, 223, 0.3);
    border-color: rgba(34, 141, 223, 0.5);
}

.certificate-card:hover img {
    transform: scale(1.05);
}

/* Awards Gallery Grid */
.awards-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    width: 100% !important;
    margin: 60px auto;
    padding: 0 40px;
    box-sizing: border-box !important;
}

.award-gallery-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 4/3;
}

.award-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.award-gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 141, 223, 0.3);
    border-color: rgba(34, 141, 223, 0.5);
}

.award-gallery-card:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .certificates-grid,
    .awards-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .certificate-card,
    .award-gallery-card {
        max-width: 100%;
    }
}

/* Blue titles for certifications page */
.journey-growth-header h2,
.awards-header h2 {
    color: #228DDF !important;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

/* Mobile Navigation */
@media (max-width: 1024px) {
    .main-nav {
        padding: 10px 20px;
        height: auto;
    }

    .nav-logo img {
        width: 180px;
        height: 45px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 136px;
        left: 0;
        right: 0;
        background: rgba(8, 17, 38, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        max-height: calc(100vh - 136px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex !important;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-menu li a {
        width: 100%;
        padding: 15px 10px;
        justify-content: flex-start;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        margin-top: 10px;
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        margin-top: 136px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.5;
    }

    .growth-hero-section {
        min-height: 400px;
    }

    .growth-hero-content h1 {
        font-size: 32px;
    }

    .growth-hero-content p {
        font-size: 16px;
    }
}

/* About Section Mobile */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1rem;
    }

    .about-header h2 {
        font-size: 28px;
    }

    .about-header p {
        font-size: 16px;
    }

    .about-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text-content,
    .about-image-content {
        max-width: 100%;
    }
}

/* Vision Mission Cards Mobile */
@media (max-width: 768px) {
    .vision-mission-container {
        flex-direction: column;
        gap: 20px;
    }

    .vision-card,
    .mission-card {
        max-width: 100%;
    }
}

/* Products Section Mobile */
@media (max-width: 768px) {
    .products-carousel-container {
        padding: 0 10px;
    }

    .product-card {
        min-width: 280px;
    }

    .product-card h3 {
        font-size: 18px;
    }
}

/* Clients Section Mobile */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-card {
        padding: 20px;
    }
}

/* Contact Section Mobile */
@media (max-width: 768px) {
    .contact-section-wrapper {
        flex-direction: column;
    }

    .contact-form-container,
    .contact-image-container {
        max-width: 100%;
        width: 100%;
    }

    .contact-image-container img {
        max-height: 300px;
    }
}

/* Footer Mobile */
@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-left-section,
    .footer-quick-links,
    .footer-group-companies,
    .footer-contact-section {
        max-width: 100%;
        align-items: center;
        /* Center items in flex container */
        text-align: center;
        /* Center text */
    }

    .footer-logo-header {
        align-items: center;
        /* Center the logo container */
    }

    .footer-logo-header .footer-logo {
        align-self: center;
        /* Center the logo image */
    }

    .footer-company-description {
        text-align: center;
        /* Center the description text */
    }
}

/* Journey Timeline Mobile */
@media (max-width: 768px) {
    .journey-growth-header h2 {
        font-size: 28px;
    }

    /* Journey Timeline Mobile - Strict Reset */
    .journey-growth-timeline {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        /* NO WRAPPING */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        /* scroll-snap-type removed for smooth auto-scroll */

        -webkit-overflow-scrolling: touch;
        gap: 20px !important;
        padding: 20px !important;
        width: 100% !important;
        height: auto !important;
    }

    .journey-growth-timeline::-webkit-scrollbar {
        display: none;
    }

    .journey-milestone-card {
        min-width: 85vw !important;
        /* Force width */
        width: 85vw !important;
        max-width: 85vw !important;
        height: auto !important;
        min-height: 300px !important;
        /* Ensure visibility */
        margin: 0 !important;
        flex-shrink: 0 !important;
        /* Prevent shrinking */
        /* scroll-snap-align removed */

        background: #000 !important;
        /* Ensure background matches */
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;

        /* Internal Layout */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 30px !important;
        position: relative !important;
    }

    /* Reset internal positioning */
    .journey-year,
    .journey-icon {
        position: static !important;
        transform: none !important;
        margin-bottom: 20px !important;
    }

    .journey-content {
        text-align: center !important;
    }
}

/* Sales Chart Mobile */
@media (max-width: 768px) {
    .sales-turnover-section {
        padding: 40px 0 !important;
    }

    .sales-turnover-section h2 {
        font-size: 28px !important;
    }

    .sales-turnover-section>div {
        padding: 0 20px !important;
    }

    .sales-turnover-section .chart-bar {
        max-width: 40px !important;
    }

    .sales-turnover-section>div>div:last-child {
        padding: 40px 20px !important;
    }

    .sales-turnover-section h3 {
        font-size: 18px !important;
    }

    .sales-turnover-section>div>div:last-child>div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .sales-turnover-section>div>div:last-child>div:first-child>div:last-child {
        text-align: left !important;
    }

    .sales-turnover-section>div>div:last-child>div:first-child>div:last-child>div:first-child {
        font-size: 36px !important;
    }
}

/* Facilities Page Mobile */
@media (max-width: 768px) {
    .facility-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .facility-tab {
        padding: 10px 15px;
        font-size: 13px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Photo Gallery Mobile Straight Scroll */
@media (max-width: 768px) {
    .photo-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .photo-carousel-track {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 0 20px 20px 20px !important;
        transform: none !important;
        /* Override JS inline style */
        width: 100% !important;
        scroll-behavior: smooth;
    }

    .photo-carousel-track::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar */
    }

    .photo-item {
        min-width: 85% !important;
        max-width: 85% !important;
        /* scroll-snap-align removed */

        flex-shrink: 0;
        margin: 0 !important;
        transform: none !important;
    }

    .photo-carousel-btn,
    .photo-carousel-indicators {
        display: none !important;
    }
}

/* Products Page Mobile */
@media (max-width: 768px) {
    .product-category {
        padding: 40px 20px;
    }

    .product-category h2 {
        font-size: 28px;
    }

    .product-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Team Page Mobile */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member-card {
        max-width: 100%;
    }
}

/* Policies Page Mobile */
@media (max-width: 768px) {
    .policy-section {
        padding: 30px 20px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 18px;
    }

    .policy-objectives-grid {
        grid-template-columns: 1fr;
    }
}

/* Certifications Page Mobile */
@media (max-width: 1024px) {

    .certificates-grid,
    .awards-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        gap: 20px !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 768px) {

    .certificates-grid,
    .awards-gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .journey-growth-header h2,
    .awards-header h2 {
        font-size: 28px !important;
    }

    .journey-growth-section,
    .awards-recognition-section {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }
}

/* General Mobile Utilities */
@media (max-width: 768px) {
    .scroll-reveal {
        padding: 0 20px;
    }

    section {
        padding: 40px 0;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 16px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .top-bar {
        display: none;
    }

    header {
        top: 0;
    }

    .hero-section,
    .growth-hero-section {
        margin-top: 80px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .nav-logo img {
        width: 150px;
        height: 38px;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .sales-turnover-section .chart-bar {
        max-width: 35px !important;
    }
}

/* Consolidated Mobile Menu Toggle Styles */
.mobile-menu-toggle {
    display: none !important;
    /* Managed by media queries */
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        background: rgba(8, 17, 38, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 6px !important;
        cursor: pointer !important;
        padding: 4px !important;
        width: 28px !important;
        height: 24px !important;
        min-width: 28px !important;
        min-height: 24px !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 1010 !important;
        transition: all 0.3s ease !important;
        margin: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }
}

.mobile-menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2.5px 0;
    position: relative;
}

.mobile-menu-toggle span:first-child {
    margin-top: 0;
}

.mobile-menu-toggle span:last-child {
    margin-bottom: 0;
}

.mobile-menu-toggle:hover {
    background: rgba(34, 141, 223, 0.2);
    border-color: rgba(34, 141, 223, 0.3);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(34, 141, 223, 0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
    background-color: #51ACF2;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
    background-color: #51ACF2;
}

/* Show on mobile/tablet */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

/* ============================================ */
/* GROUP OF COMPANIES & SHRIDHI SAI PAGE STYLES */
/* ============================================ */

.group-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.group-content-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.group-content-row.reverse {
    flex-wrap: wrap-reverse;
}

.group-text-col {
    flex: 1;
    min-width: 300px;
}

.group-image-col {
    width: 640px;
    height: 460px;
    background: white;
    border-radius: 22px;
    flex-shrink: 0;
}

.group-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.group-main-title {
    color: white;
    /* Changed to white to match screenshot */
    font-size: 36px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    word-wrap: break-word;
    margin-bottom: 10px;
}

.group-subtitle {
    color: white;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.group-section-title {
    color: var(--primary-color);
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    word-wrap: break-word;
    margin-bottom: 20px;
}

.group-text {
    color: white;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    word-wrap: break-word;
    line-height: 1.6;
    text-align: left;
    /* Consistently left-aligned as per screenshot */
}

/* Side-specific alignment for Group Pages - Reverted to Left to match screenshot */
.group-content-row:not(.reverse) .group-text-col {
    text-align: left;
}

.group-content-row.reverse .group-text-col {
    text-align: left;
}

/* Ensure headings align consistently */
.group-content-row:not(.reverse) .group-section-title {
    text-align: left;
}

.group-content-row.reverse .group-section-title {
    text-align: left;
}

/* Reset for mobile to center alignment */
@media (max-width: 991px) {

    .group-text-col,
    .group-section-title,
    .group-text {
        text-align: center !important;
    }

    .group-content-row:not(.reverse) .group-text-col,
    .group-content-row.reverse .group-text-col {
        text-align: center !important;
    }
}

/* Vision Mission Card Styles for Group Page */
.group-vision-wrapper {
    display: flex;
    justify-content: center;
    gap: 160px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.group-vision-card {
    width: 450px;
    min-width: 300px;
    padding: 40px 60px;
    background: #081126;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .group-image-col {
        width: 100%;
        height: 350px;
    }

    .group-content-row {
        flex-direction: column;
    }

    .group-content-row.reverse {
        flex-direction: column;
    }

    .group-vision-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {

    /* Facilities Mobile Straight Scroll */
    .facilities-carousel-container {
        padding: 0 0 20px 0 !important;
        overflow: visible !important;
    }

    .facilities-carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
        /* Gap handled by cards/pages */
        padding: 0 20px !important;
        transform: none !important;
        width: 100% !important;
        scroll-behavior: smooth;
        height: auto !important;
    }

    .facilities-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .facilities-carousel-page {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
        gap: 15px !important;
        margin-right: 15px !important;
        /* Space between pages */
        width: auto !important;
    }

    .facility-card {
        min-width: 85vw !important;
        /* Use viewport width relative */
        max-width: 85vw !important;
        width: 85vw !important;
        /* scroll-snap-align removed */

        flex-shrink: 0;
        margin: 0 !important;
        height: auto !important;
        background: #081126 !important;
        border-radius: 22px !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .facility-card img {
        width: 100% !important;
        height: 200px !important;
        /* Force visible height */
        object-fit: cover !important;
        display: block !important;
    }

    .facilities-carousel-btn {
        display: none !important;
    }

    .group-page-header {
        margin-bottom: 40px;
    }

    /* Shridi Sai Mobile Alignment */
    .group-content-row {
        margin-bottom: 40px;
        gap: 30px;
        flex-direction: column !important;
        /* Stack vertically */
    }

    .group-text-col {
        width: 100% !important;
        order: 2;
        /* Text below image */
        text-align: center;
        /* Center text */
    }

    .group-image-col {
        width: 100% !important;
        height: auto !important;
        /* Allow variable height */
        min-height: 250px;
        order: 1;
        /* Image on top */
        margin-bottom: 20px;
    }

    .group-image-col img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 22px;
    }

    .group-main-title {
        font-size: 24px;
        text-align: center;
    }

    .group-subtitle {
        font-size: 18px;
        text-align: center;
    }

    .group-section-title {
        font-size: 22px;
        text-align: center;
    }

    .group-text {
        font-size: 16px;
        text-align: justify;
        /* Justify text for better readability */
    }

    .group-vision-card {
        width: 100%;
        padding: 30px 20px;
        min-width: auto;
    }
}

.group-card-title {
    color: white;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
}

.group-card-text {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Group Contact Section */
.group-contact-container {
    width: 100%;
    padding: 50px 60px;
    background: #081126;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 60px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.group-contact-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 991px) {
    .group-contact-container {
        padding: 40px 20px;
        justify-content: center;
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .group-contact-item {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    .group-contact-item div[style*="flex"] {
        justify-content: center !important;
    }

    .group-contact-text {
        text-align: center !important;
    }
}

.group-contact-item-row {
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}



/* Facility Points Mobile Fix */
/* Facility Points Mobile Fix */
.facility-point {
    display: flex;
    justify-content: flex-start;
    /* Default to left alignment */
    align-items: center;
    gap: 15px;
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
    /* spacing between items */
}

.point-text {
    color: white;
    /* Ensure text matches screenshot */
    font-size: 18px;
    /* Readable size */
    font-weight: 500;
}

@media (max-width: 768px) {
    .facility-point {
        justify-content: center !important;
        /* Center only on mobile if desired, or keep left if screenshot dictates */
        /* Actually, let's keep it left aligned for consistency with "same as screenshot" request which usually implies desktop look on mobile or general vibe */
        justify-content: flex-start !important;
    }
}

.point-icon {
    flex-shrink: 0;
    /* Prevent icon squashing */
}

.group-contact-title {
    color: white;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin: 0;
}

.group-contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

/* Mobile menu toggle styles removed to prevent conflict with mobile-nav.css */

/* Color updates for Group Companies links */
html body .footer-links-text a[href="group.html"],
html body .footer-links-text a[href="shridi-sai.html"] {
    color: white !important;
}

/* =========================================
   MOBILE RESPONSIVENESS FIXES
   ========================================= */
@media (max-width: 1024px) {

    /* Adjust main nav padding to prevent overflow */
    .main-nav {
        padding: 10px 15px !important;
        gap: 10px;
    }

    /* Scale down logo on mobile */
    .nav-logo img {
        width: 180px;
        height: auto;
    }
}

@media (max-width: 768px) {

    /* Further scale down logo */
    .nav-logo img {
        width: 150px;
    }

    /* Top Bar Flow Handling */
    .top-bar-content {
        justify-content: center;
        gap: 10px;
    }

    .top-bar-item {
        font-size: 12px;
        padding: 5px;
    }
}

@media (max-width: 580px) {

    /* Hide Location and Email on small screens to prevent horizontal overflow */
    .top-bar-item:first-child,
    .top-bar-item:last-child {
        display: none;
    }

    /* Ensure only Phone remains and is centered */
    /* Ensure only Phone remains and is centered */
    .top-bar-content {
        justify-content: center;
        width: 100%;
    }

    /* Additional safety for small screens */
    body {
        overflow-x: hidden;
        width: 100%;
    }
}

/* =========================================
   TRUSTED INDUSTRIES LOGOS (About Details)
   ========================================= */
.trusted-industries-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    padding: 20px;
    /* Added padding to prevents hover clipping */
}

/* Target all direct children (clients4, clients, clients6, etc.) */
.trusted-industries-logos>div {
    width: 200px;
    height: 120px;
    background: #081126;
    border-radius: 22px;
    border: 3px solid #081126;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: all 0.3s ease;
}

/* Hover effect - Blue Border */
.trusted-industries-logos>div:hover {
    border-color: #17599D;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(23, 89, 157, 0.2);
}

.trusted-industries-logos>div img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.trusted-industries-logos>div:hover img {
    filter: brightness(1.1);
}

/* =========================================================================
   UNIVERSAL MOBILE OPTIMIZATION (All Models)
   ========================================================================= */

@media (max-width: 480px) {

    /* 1. Prevent Horizontal Overflow */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* 2. Normalize Text Sizes for Readability */
    h1 {
        font-size: 28px !important;
        /* Prevent massive headers */
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    h3 {
        font-size: 20px !important;
    }

    p {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    /* 3. Ensure Images are Fluid */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 4. Improve Spacing on Small Screens */
    /* Reduce global section padding to save space */
    section {
        padding: 40px 15px !important;
    }

    /* Wrapper adjustments */
    .wrapper,
    .container,
    .hero-content,
    .footer-wrapper {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
    }

    /* 5. Force Stack Layouts for Flex Containers */
    /* Only target items that should stack */
    .row,
    .contact-wrapper,
    .about-us,
    .facilities-container,
    .products-container {
        flex-direction: column !important;
        width: 100% !important;
    }

    /* 6. Form Optimizations */
    input,
    textarea,
    select {
        max-width: 100% !important;
        width: 100% !important;
        /* Full width fields for easier tapping */
        font-size: 16px !important;
        /* Prevents iOS zoom on focus */
    }

    /* Target specific buttons but exclude carousel nav */
    button:not(.nav) {
        max-width: 100% !important;
        width: 100% !important;
        font-size: 16px !important;
    }

    /* 7. Button Sizing */
    .btn,
    button,
    .contact-btn {
        width: 100% !important;
        /* Full width buttons for ease of use */
        display: block !important;
        margin-bottom: 15px !important;
        text-align: center !important;
    }

    /* Hero Section Height */
    .hero-section,
    .about-hero-section,
    .facilities-hero-section {
        min-height: 50vh !important;
        height: auto !important;
        padding: 100px 15px 60px 15px !important;
        /* Adjust for top nav */
    }

    /* Coverflow Mobile Fix */
    .products-showcase {
        min-height: 450px !important;
        overflow: visible !important;
        padding-bottom: 60px !important;
    }

    .coverflow {
        height: 380px !important;
    }

    .card {
        width: 260px !important;
        height: 360px !important;
    }

    .card .product-3d-image {
        height: 280px !important;
    }

    /* Adjust positions for mobile */
    .card.center {
        z-index: 10 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }

    .card.left {
        transform: translate(-140%, -50%) scale(0.85) !important;
        opacity: 0.6 !important;
        z-index: 5 !important;
    }

    .card.right {
        transform: translate(40%, -50%) scale(0.85) !important;
        opacity: 0.6 !important;
        z-index: 5 !important;
    }

    .nav {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        background: rgba(34, 141, 223, 0.9) !important;
    }

    .nav.prev {
        left: 0px !important;
    }

    .nav.next {
        right: 0px !important;
    }

    /* Logo Sizing */
    .nav-logo img {
        max-width: 140px !important;
        height: auto !important;
    }

    /* Footer Center Alignment (Reinforcement) */
    .main-footer,
    .footer-wrapper,
    .footer-left-section {
        text-align: center !important;
        align-items: center !important;
    }
}

/* Photo Carousel Item Styles */
.photo-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* Hover Effect for Photo Item */
.photo-item:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid #228DDF;
}

/* Image inside the photo item */
.photo-item img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Removes bottom space */
}

/* Zoom effect on image hover */
.photo-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Optional: Add a subtle overlay or shine effect on hover */
.photo-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s;
    pointer-events: none;
}

.photo-item:hover::after {
    left: 200%;
    transition: all 0.75s;
}

/* =========================================
   MOBILE OPTIMIZATION (Fixes Layout & Nav)
   ========================================= */

@media (max-width: 991px) {

    /* Hide Top Bar on mobile/tablet to save space and prevent overlap with fixed header */
    .top-bar {
        display: none !important;
    }

    /* Adjust page margin since top bar is gone. 
       Standard header height is 80px. */
    .hero-section,
    .about-hero-section,
    .growth-hero-section,
    .policies-hero-section,
    .facilities-hero-section,
    .team-hero-section,
    .careers-hero-section,
    .contact-hero-section {
        margin-top: 80px !important;
        min-height: calc(100vh - 80px);
        /* Ensure hero fills screen minus header */
    }

    /* Force Header to be fixed at top */
    header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 80px !important;
        z-index: 1000 !important;
        background: rgba(8, 17, 38, 0.98) !important;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Ensure Nav container fills the header */
    .main-nav {
        height: 100% !important;
        padding: 0 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    /* Ensure Logo is sized correctly */
    .nav-logo img {
        height: 40px !important;
        /* Fixed height for logo */
        width: auto !important;
    }
}

/* Fix Key Matrix Layout on Mobile */
@media (max-width: 768px) {
    .key-matrix-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0 10px;
    }

    .key-matrix-card {
        width: 100%;
        margin: 0;
    }
}

/* Ensure horizontal scroll doesn't happen due to overflow */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Make images responsive by default inside content */
.about-image-card img,
.contact-illustration img {
    max-width: 100%;
    height: auto;
}

/* Adjust Font Sizes for smaller screens to prevent overflow */
@media (max-width: 480px) {
    h1 {
        font-size: 28px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .hero-content h1 {
        font-size: 28px !important;
    }

    .hero-content p {
        font-size: 16px !important;
    }

    .key-matrix-value {
        font-size: 2.5rem !important;
    }

    /* Reduce from huge size */
}


/* Fix for Group pages inline style issue */
.group-hero-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(180deg, #081126 0%, black 100%);
    overflow: hidden;
    padding-top: 156px;
}


@media (max-width: 991px) {
    .group-hero-container {
        padding-top: 80px !important;
    }
}

/* Group Page Vision/Mission styles */
.group-vision-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.group-vision-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.group-vision-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(34, 141, 223, 0.5);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(34, 141, 223, 0.2);
}

.group-vision-card .group-icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.3s ease;
}

.group-vision-card:hover .group-icon {
    transform: scale(1.15) rotate(5deg);
    stroke: #228DDF;
}

.group-card-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.group-card-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}


/* =========================================
   ALIGNMENT FIXES (Toggle, Products, Gallery)
   ========================================= */

/* 1. Mobile Menu Toggle Alignment */
@media (max-width: 1024px) {
    .main-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        width: 100% !important;
    }

    .nav-logo {
        flex: 0 1 auto;
        margin-right: auto;
        /* Push everything else to the right */
    }

    .mobile-menu-toggle {
        margin: 0 !important;
        /* Reset margins */
        margin-left: auto !important;
        /* Ensure it stays right */
    }
}

/* 2. Products Section Alignment */
@media (max-width: 768px) {
    .products-showcase {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }

    .coverflow {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cards {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* 3. Our Gallery Alignment */
@media (max-width: 768px) {
    .photo-gallery-section {
        padding: 40px 15px;
        width: 100%;
        overflow: hidden;
    }

    .photo-gallery-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .photo-carousel-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
    }

    .photo-carousel {
        flex: 1;
        width: 100%;
        overflow: hidden;
        border-radius: 10px;
    }

    .photo-carousel-track {
        display: flex;
        transition: transform 0.3s ease-in-out;
    }

    .photo-item {
        min-width: 100%;
        flex: 0 0 100%;
        display: flex;
        justify-content: center;
    }

    .photo-item img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
    }

    .photo-carousel-btn {
        background: rgba(8, 17, 38, 0.8);
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        flex-shrink: 0;
    }
}


/* =========================================
   FIX FOR PRODUCTS VISUALS & GALLERY ARROWS
   ========================================= */

/* Fix Products Showcase on Mobile to be 2D Stacked/Scrollable */
@media (max-width: 768px) {
    .products-showcase {
        height: auto !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
        perspective: none !important;
        /* Disable 3D */
    }

    .coverflow {
        display: flex;
        flex-direction: row;
        width: max-content;
        /* Allow horizontal scroll */
        height: auto;
        gap: 15px;
        padding: 0 15px;
        transform: none !important;
    }

    .cards {
        display: flex;
        flex-direction: row;
        gap: 15px;
        width: auto;
        transform: none !important;
        height: auto;
    }

    .card {
        width: 250px !important;
        /* Fixed width for scrolling */
        height: 320px !important;
        margin: 0 !important;
        transform: none !important;
        /* Reset 3D transforms */
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        background: #081126;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .product-3d-image {
        width: 100% !important;
        height: 200px !important;
        transform: none !important;
    }

    .product-3d-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .product-3d-content {
        transform: none !important;
        opacity: 1 !important;
        position: relative !important;
        bottom: auto !important;
        padding: 10px;
        background: rgba(0, 0, 0, 0.5);
    }

    /* Hide navigation arrows in products as it's scrollable now */
    .coverflow .nav {
        display: none !important;
    }
}

/* Fix Gallery Carousel Arrows Overlaying Image/Text */
@media (max-width: 768px) {
    .photo-carousel-btn {
        position: absolute;
        /* Position over the image */
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        /* Semi-transparent bg */
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .photo-carousel-prev {
        left: 10px;
    }

    .photo-carousel-next {
        right: 10px;
    }

    .photo-carousel-wrapper {
        position: relative;
        /* Container for absolute buttons */
        display: block;
        /* ensure block layout */
    }

    .photo-carousel {
        width: 100%;
    }

    .photo-item img {
        /* Ensure image is large enough so arrows don't cover everything */
        min-height: 250px;
        object-fit: cover;
    }
}


/* =========================================
   FIX: MENU TOGGLE & ARROWS
   ========================================= */

/* 1. Force Navbar to be a single row with toggle on right */
@media (max-width: 1024px) {
    .main-nav {
        display: flex !important;
        flex-direction: row !important;
        /* Force row */
        flex-wrap: nowrap !important;
        /* Prevent wrapping */
        justify-content: space-between !important;
        align-items: center !important;
        height: 80px !important;
        padding: 0 20px !important;
    }

    .nav-logo {
        flex-shrink: 0;
    }

    .nav-logo img {
        max-height: 50px;
        width: auto;
    }

    .mobile-menu-toggle {
        display: flex !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
    }
}

/* 2. Restore and Position Product Arrows */
@media (max-width: 768px) {
    .products-showcase {
        position: relative;
        /* Context for absolute arrows */
    }

    /* Unhide arrows */
    .coverflow .nav {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 100 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        color: white !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        cursor: pointer !important;
        font-size: 18px !important;
    }

    .coverflow .nav.prev {
        left: 10px !important;
        right: auto !important;
    }

    .coverflow .nav.next {
        right: 10px !important;
        left: auto !important;
    }

    /* Ensure arrows don't scroll with content */
    .coverflow {
        position: static !important;
        /* Let parent handle stacking context */
    }
}


/* =========================================
   FACILITIES MOBILE OPTIMIZATION
   ========================================= */

@media (max-width: 1024px) {

    /* 1. Unroll the carousel into a vertical list */
    .facilities-carousel-track {
        transform: none !important;
        /* Disable JS transform */
        width: 100% !important;
        height: auto !important;
        flex-direction: column !important;
        display: flex !important;
    }

    .facilities-carousel-page {
        width: 100% !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 20px !important;
        margin-bottom: 20px !important;
        gap: 20px;
    }

    /* 2. Reset Card Positioning */
    .facility-card {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 400px !important;
        /* Limit max width for tablets */
        margin: 0 auto 20px auto !important;
        height: auto !important;
        min-height: 340px;
    }

    /* 3. Hide Carousel Arrows */
    .facilities-carousel-btn {
        display: none !important;
    }

    /* 4. Ensure Container Scrolls/Fits */
    .facilities-carousel-container {
        height: auto !important;
        overflow: visible !important;
        padding-bottom: 40px !important;
    }

    /* 5. Activities Grid Optimization */
    .manufacturing-activities-container {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
        gap: 20px !important;
    }

    .activities-section {
        padding: 20px !important;
    }

    /* 6. Tabs Scrollable */
    .facility-tabs-container {
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .facility-tab {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* 7. Facilities Hero Video */
    .facilities-hero-section {
        height: 300px !important;
        margin-top: 80px !important;
        /* Match header height */
    }
}

@media (max-width: 768px) {
    .facilities-hero-content {
        padding: 20px !important;
        border-radius: 12px !important;
    }

    .facilities-hero-content h1 {
        font-size: 24px !important;
    }

    .facilities-hero-content p {
        font-size: 14px !important;
    }
}


/* =========================================
   FIX: FINAL HOME OPTIMIZATIONS (ABOUT & PRODUCTS)
   ========================================= */

/* 1. Fix About Section Blue Box Issue */
@media (max-width: 768px) {
    .about-image-card {
        height: auto !important;
        /* Let image define height */
        min-height: 0 !important;
        /* Override any min-height */
        background: transparent !important;
        /* Hide gradient background */
        border: none !important;
        /* Remove any border if present */
        box-shadow: none !important;
        /* Remove shadow from container */
        margin-bottom: 20px !important;
    }

    .about-image-card img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        border-radius: 12px !important;
        /* Re-apply shadow to image itself if needed */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
}

/* 2. Optimize Products Gallery Layout */
@media (max-width: 768px) {
    .products-section {
        padding: 40px 0 !important;
        /* Reduce vertical padding */
    }

    .products-showcase {
        min-height: auto !important;
        padding-bottom: 10px !important;
    }

    .cards {
        display: flex !important;
        flex-direction: row !important;
        gap: 20px !important;
        padding: 20px 50px !important;
        /* Add padding to sides so first/last cards can be centered */
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start !important;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .cards::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .card {
        min-width: 280px !important;
        /* Wider card */
        width: 75vw !important;
        /* Responsive to screen width */
        max-width: 340px !important;
        height: 360px !important;
        /* Fixed reasonable height */
        /* scroll-snap-align removed */

        /* Center on snap */
        margin: 0 !important;
        /* Reset margins */
        background: #081126 !important;
        border: 1px solid rgba(34, 141, 223, 0.3) !important;
        border-radius: 16px !important;
        flex-shrink: 0 !important;
        /* Don't shrink */
    }

    .product-3d-image {
        height: 220px !important;
        /* Adjust image height */
        width: 100% !important;
        background: rgba(0, 0, 0, 0.2) !important;
        /* Subtle bg for transparent images */
    }

    .product-3d-image img {
        object-fit: contain !important;
        padding: 10px !important;
    }

    .product-3d-content {
        padding: 15px !important;
        height: auto !important;
        background: transparent !important;
    }

    .product-3d-content h3 {
        font-size: 18px !important;
        white-space: normal !important;
        /* Allow text wrap */
        line-height: 1.4 !important;
    }

    /* Position Arrows nicely vertically centered */
    .coverflow .nav {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        top: 50% !important;
        margin-top: -20px !important;
        /* Exact center correction */
        z-index: 20 !important;
        background: rgba(8, 17, 38, 0.8) !important;
        border: 1px solid rgba(34, 141, 223, 0.5) !important;
        backdrop-filter: blur(4px);
    }

    .coverflow .nav.prev {
        left: 10px !important;
    }

    .coverflow .nav.next {
        right: 10px !important;
    }
}


/* ==========================================================================
   GLOBAL MOBILE OPTIMIZATIONS (ALL PAGES)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- 1. Typography & Spacing Standardization --- */
    h1 {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }

    h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }

    h3 {
        font-size: 22px !important;
    }

    p,
    li {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }

    section {
        padding: 50px 20px !important;
    }

    /* --- 2. Team Page Optimization --- */
    .team-cards-container {
        padding: 0 !important;
        gap: 20px !important;
    }

    .team-member-card {
        flex-direction: column !important;
        padding: 25px !important;
        height: auto !important;
        min-height: auto !important;
        text-align: center !important;
        gap: 15px !important;
    }

    .team-member-title,
    .team-member-description {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    .team-member-description p {
        text-align: center !important;
    }

    .team-member-sub-items {
        width: 100% !important;
        align-items: center !important;
        /* Center align sub-items */
    }

    .team-org-chart-section {
        padding: 20px !important;
        overflow-x: auto !important;
    }

    .team-org-chart-container {
        min-width: 1000px;
        /* Allow scrolling for big chart */
        transform: scale(0.6) !important;
        transform-origin: top left !important;
        margin-bottom: -400px !important;
        /* Fix whitespace from scaling */
    }

    /* --- 3. Products Page Grid --- */
    #product-gallery #gallery-images {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Center Category Selection Grid */
    .scroll-reveal[style*='grid-template-columns'] {
        grid-template-columns: repeat(2, 1fr) !important;
        /* 2 cols for categories looks better than 1 big stack */
        gap: 10px !important;
    }

    .category-card {
        padding: 15px 5px !important;
        min-height: 80px !important;
    }

    .category-card h3 {
        font-size: 14px !important;
    }

    /* --- 4. Contact Page --- */
    .contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
    }

    .contact-form-wrapper {
        padding: 0 !important;
    }

    /* --- 5. Group Companies & Other Hero Sections --- */
    .page-hero,
    .hero-section,
    .growth-hero-section,
    .policies-hero-section,
    .about-hero-section,
    .team-hero-section {
        height: auto !important;
        min-height: 400px !important;
        padding: 100px 20px 40px 20px !important;
    }

    /*.hero-overlay, */
    .hero-content,
    .growth-hero-content,
    .policies-hero-content,
    .about-hero-content,
    .team-hero-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* --- 6. Awards & Certifications --- */
    .awards-grid,
    .certifications-grid {
        grid-template-columns: 1fr !important;
    }

    /* --- 7. Footer Optimization --- */
    .footer-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        padding: 20px 0 !important;
    }

    .footer-left-section,
    .footer-quick-links,
    .footer-group-companies,
    .footer-contact-section,
    .footer-map-section {
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
    }

    .footer-underline {
        margin: 0 auto !important;
    }

    .footer-social-icons {
        justify-content: center !important;
    }

    /* Map Responsive */
    .map-container iframe {
        height: 250px !important;
    }
}

/* Extra Small Screens */
@media (max-width: 380px) {
    .category-card h3 {
        font-size: 12px !important;
    }

    .scroll-reveal[style*='grid-template-columns'] {
        grid-template-columns: 1fr !important;
        /* Back to 1 col for very small screens */
    }
}


/* ==========================================================================
   MOBILE OPTIMIZATIONS PART 2 (AWARDS, TIMELINE, ETC)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Awards / Growth Page --- */

    /* 1. Journey Timeline */
    .journey-growth-timeline {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding-left: 10px !important;
        position: relative;
    }

    .journey-milestone-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 20px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        min-height: auto !important;
    }

    .journey-icon {
        margin-bottom: 10px !important;
    }

    /* 2. Sales Turnover Chart */
    .sales-turnover-section>div>div:nth-child(2) {
        /* Target the chart card container */
        padding: 20px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    /* Target the Flex container holding the bars */
    .sales-turnover-section .chart-bar-container {
        min-width: 50px !important;
        /* Ensure bars don't get too thin */
        margin: 0 5px !important;
    }

    /* The internal container holding the bars needs min-width to scroll */
    .sales-turnover-section>div>div:nth-child(2)>div:nth-child(2) {
        min-width: 600px !important;
        /* Force scrollable width */
        padding-bottom: 10px !important;
    }

    /* Target header of chart section */
    .sales-turnover-section .chart-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .sales-turnover-section h2 {
        font-size: 24px !important;
    }

    .sales-turnover-section .target-text {
        text-align: left !important;
        margin-top: 10px !important;
    }

    /* --- Certifications Page --- */
    .certificates-grid,
    .awards-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .certificate-card img,
    .award-card img {
        height: auto !important;
        max-height: 300px !important;
        object-fit: contain !important;
    }
}


/* ==========================================================================
   MOBILE OPTIMIZATIONS PART 3 (GROUP, FOUNDER, ETC)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Group & Founder Sections --- */
    .founder-section,
    .founder-mr-container {
        padding: 30px 20px !important;
        width: 100% !important;
    }

    .founder-content,
    .founder-mr-container p,
    .founder-content p {
        text-align: justify !important;
        /* Better readability */
    }

    .about-decorative-shapes {
        display: none !important;
        /* Hide complex shapes on mobile */
    }

    .trusted-industries-logos {
        gap: 20px !important;
    }

    .clients,
    .clients-icon {
        width: 80% !important;
        /* Make client logos larger and centered */
        max-width: 200px !important;
        height: auto !important;
    }

    /* Group Page Header */
    .group-page-header {
        padding: 30px 20px !important;
    }

    /* --- Specific Adjustments for Group Page Layout --- */
    .group-hero-container>div {
        padding: 20px 10px !important;
    }

    /* Ensure content is not hidden behind fixed headers if any */
    main {
        overflow-x: hidden !important;
    }

    /* Adjust text alignments for readability */
    p {
        text-align: left;
        /* Default alignment */
    }

    .hero-content p,
    .team-hero-content p,
    .growth-hero-content p,
    .policies-hero-content p,
    .footer-company-description p {
        text-align: center !important;
        /* Center align for heroes and footer */
    }
}


/* =========================================================
   FINAL: MOBILE PRODUCT GALLERY - HORIZONTAL STRAIGHT
   ========================================================= */
@media (max-width: 1024px) {

    /* 1. Reset Main Container & Disable Perspective */
    .products-showcase {
        height: auto !important;
        min-height: auto !important;
        padding: 40px 0 !important;
        perspective: none !important;
        overflow: hidden !important;
        display: block !important;
    }

    /* 2. Reset Coverflow Wrapper */
    .coverflow {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        padding: 0 !important;
        transform: none !important;
        perspective: none !important;
        overflow: visible !important;
    }

    /* 3. Hide JS Navigation Arrows (Native Scroll is used) */
    .coverflow .nav {
        display: none !important;
    }

    /* 4. Transform .cards into a Horizontal Scroll Container */
    .cards {
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;

        width: 100% !important;
        height: auto !important;
        max-width: 100vw !important;

        overflow-x: auto !important;
        /* Enable Horizontal Scroll */
        scroll-snap-type: x mandatory;
        /* Snap Effect */

        gap: 20px !important;
        padding: 10px 20px 40px 20px !important;
        /* Bottom padding for shadow */
        margin: 0 !important;

        transform: none !important;
        /* Kill any 3D transforms */
        transform-style: flat !important;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    /* Hide Scrollbar Chrome/Safari */
    .cards::-webkit-scrollbar {
        display: none;
    }

    /* 5. Card Styling - Standard Cards */
    .card,
    .card.center,
    .card.left,
    .card.right,
    .card.back {
        flex: 0 0 80vw !important;
        /* 80% of viewport width */
        max-width: 300px !important;
        height: 400px !important;

        position: relative !important;
        /* Reset from absolute */
        left: auto !important;
        top: auto !important;
        margin: 0 !important;

        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        z-index: 1 !important;

        background: #081126 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 20px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;

        /* scroll-snap-align removed */

        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        pointer-events: auto !important;
    }

    /* 6. Fix Inner Content Layout */
    .card .product-3d-image {
        width: 100% !important;
        height: 250px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }

    .card .product-3d-image img {
        width: auto !important;
        height: 100% !important;
        max-width: 90% !important;
        max-height: 90% !important;
        object-fit: contain !important;
    }

    .card .product-3d-content {
        position: relative !important;
        /* Natural flow */
        width: 100% !important;
        padding: 20px !important;
        flex: 1 !important;
        background: linear-gradient(180deg, rgba(8, 17, 38, 0) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .card .product-3d-content h3 {
        color: white !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }
}

/* FORCE JOURNEY TIMELINE HORIZONTAL SCROLL - NUCLEAR FIX */
@media (max-width: 768px) {
    .journey-growth-section .journey-growth-timeline {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 20px !important;
        padding: 20px !important;
        width: 100% !important;
        height: auto !important;
        /* scroll-snap-type removed for smooth auto-scroll */

        -webkit-overflow-scrolling: touch !important;
        align-items: stretch !important;
        white-space: nowrap !important;
        /* Extra prevention for wrapping */
    }

    .journey-growth-section .journey-milestone-card {
        min-width: 85vw !important;
        width: 85vw !important;
        max-width: 85vw !important;
        flex-shrink: 0 !important;
        /* scroll-snap-align removed */

        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        height: auto !important;
        min-height: 250px !important;
        position: relative !important;
        background: black !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    /* Ensure content inside card is visible and stacked */
    .journey-growth-section .journey-year {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px !important;
        color: #124C79 !important;
        font-size: 32px !important;
    }

    .journey-growth-section .journey-icon {
        position: static !important;
        transform: none !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 15px !important;
        height: 50px !important;
    }

    .journey-growth-section .journey-content {
        position: static !important;
        white-space: normal !important;
        /* Allow text wrapping */
        text-align: center !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 10px !important;
        transform: none !important;
        /* Fix the cutoff issue */
    }

    .journey-growth-section .journey-content p {
        text-align: center !important;
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
        color: white !important;
        font-size: 14px !important;
    }
}

/* FORCE FACILITIES HORIZONTAL SCROLL - NUCLEAR FIX */
@media (max-width: 768px) {

    /* Track acts as the scrolling container */
    .facilities-carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0 !important;
        padding: 20px 0 40px 20px !important;
        /* Padding for scroll/shadow */
        width: 100% !important;
        height: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        background: transparent !important;
        transform: none !important;
        /* Disable JS transforms */
    }

    /* Pages act as transparent groups */
    /* Pages act as transparent groups */
    .facilities-carousel-page {
        display: contents !important;
        /* Unwrap the pages so all cards are siblings to the scroll container */
    }

    /* Card Sizing and Layout */
    .facility-card {
        min-width: 85vw !important;
        width: 85vw !important;
        max-width: 85vw !important;
        flex-shrink: 0 !important;
        /* scroll-snap-align removed */

        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 400px !important;
        /* Ensure consistent height */
        margin: 0 !important;
        background: #081126 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 22px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    }

    /* Image Sizing */
    .facility-card img {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        /* Full width top */
    }

    /* Content Alignment */
    .facility-card-content {
        padding: 25px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        flex-grow: 1 !important;
    }

    .facility-card-content h3 {
        color: white !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
        width: 100% !important;
    }

    .facility-card-content p {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 15px !important;
        text-align: center !important;
        margin: 0 !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    /* Hide Carousel Buttons on Mobile */
    .facilities-carousel-btn {
        display: none !important;
    }
}

/* FOOTER COPYRIGHT CENTER ALIGNMENT FIX */
@media (max-width: 768px) {
    .copyright-section {
        padding: 0 20px !important;
    }

    .copyright-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 15px !important;
        text-align: center !important;
        padding: 20px 0 !important;
        width: 100% !important;
    }

    .copyright-content p {
        margin: 0 !important;
        text-align: center !important;
        width: 100% !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .designed-by {
        display: flex !important;
        justify-content: center !important;
        /* Center the group */
        align-items: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        text-align: center !important;
    }

    .designed-by span {
        text-align: center !important;
        display: inline-block !important;
    }

    .wetano-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
    }
}

/* Facility Tab Highlight Fix */
.facility-tab.active span {
    color: #51ACF2 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(81, 172, 242, 0.3);
}

.facility-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #51ACF2;
}