/* Fonts handled via base.css */


:root {
    --primary-color: #1B263B;
    --primary-dark: #0D1520;
    --accent-color: #D4AF37;
    --accent-glow: rgba(212, 175, 55, 0.5);
    --text-dark: #2C3E50;
    --text-light: #F0F2F5;
    --bg-light: #EDF1F5;
    --white: #F4F7FA;
    --grey-section: #E1E6EB;
    --glass-bg: rgba(237, 241, 245, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', 'Arial', sans-serif;
    --font-body: 'Inter', 'Arial', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(27, 38, 59, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
}

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

.sub-heading {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-size: 15px;
    /* Increased from 13px */
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    line-height: 1.2;
}

.section-title span {
    color: var(--accent-color);
    font-style: italic;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(4, 93, 86, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(4, 93, 86, 0.4);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
.top-bar {
    background-color: var(--primary-dark);
    padding: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.top-contact a:hover {
    color: var(--accent-color);
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

.nav-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

/* =========================================
   Brand Scroller Section (New)
   ========================================= */
.brand-scroller-section {
    padding: 15px 0;
    background-color: var(--grey-section);
    overflow: hidden;
}

.brand-section-header {
    text-align: center;
    margin-bottom: 5px;
}

.brand-section-header .sub-heading {
    margin-bottom: 0;
}

.brand-section-header .section-title {
    margin-bottom: 5px;
}

.brand-section-header .divider {
    margin: 0 auto 10px;
}

.scroller-container {
    width: 100%;
    overflow: hidden;
    /* Changed from overflow-x: auto */
    padding-bottom: 20px;
    position: relative;
}

.brands-track {
    display: flex;
    gap: 40px;
    padding: 5px 0;
    width: max-content;
    animation: scroll-brands 45s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }

    100% {
        /* We use the variable set by JS. Default fallback to old calculation if JS fails 
           (though JS should set it) */
        transform: translateX(calc(-1 * var(--scroll-amount, 3280px)));
        /* 3280px = 8 * (370 + 40) */
    }
}

.brand-slide {
    width: 370px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    /* If it's a link */
}

.brand-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(27, 38, 59, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.brand-image-area {
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.brand-image-area img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
    /* Added drop shadow for depth */
}

.brand-slide:hover .brand-image-area img {
    transform: scale(1.05);
    /* Slightly less aggressive scale */
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

.brand-info-area {
    padding: 15px;
    /* Reduced from 25px */
    text-align: center;
    width: 100%;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.brand-tagline {
    font-size: 15px;
    color: #888;
    margin-bottom: 12px;
    font-style: italic;
}

.brand-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.brand-section-desc {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.view-products-btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: var(--transition);
}

.brand-slide:hover .view-products-btn {
    border-color: var(--accent-color);
}

.nav-logo:hover {
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
    transform: scale(1.02);
}

/* Alliances Hero Logo */
.hero-logo-large {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
    margin-bottom: 30px;
}

/* Hero */
.hero {
    min-height: 100vh;
    /* Use first slide as background */
    background: #1B263B;
    /* Fallback color */
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    /* Offset fixed header */
    overflow: hidden;
    /* Important for video containment */
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    pointer-events: none;
}

/* Ensure hero-overlay is on top of video */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background removed to remove shade */
    z-index: 1;
}

/* Add a bottom curve using SVG or border-radius */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-light);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content .sub-heading {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-content h2 {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

.hero-content .divider {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

.hero-content p {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-content .btn-primary {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 1s;
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Vision / Timeline Section */
.vision-section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg-light);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.ceo-vision-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-color);
    position: relative;
    transition: var(--transition);
}

.ceo-vision-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(4, 93, 86, 0.25);
}

.vision-image-full {
    width: 100%;
    height: auto;
    display: block;
}

.vision-text blockquote footer {
    margin-top: 15px;
    font-weight: 700;
    font-style: normal;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

/* Timeline Cards (using presentation assets) */
.timeline-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #eee;
}

.timeline-card {
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-card img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Products */
.products-section {
    background-color: var(--bg-light);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background: linear-gradient(135deg, #0D1520 0%, #1B263B 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.card-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .card-img::after {
    opacity: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.card-body {
    padding: 30px;
    position: relative;
}

.card-body h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--white);
}

.category-tag {
    display: inline-block;
    font-size: 11px;
    color: var(--primary-dark);
    background-color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 300;
}

/* Trust Bar (Redesigned Info Strip) */
.trust-bar {
    background: linear-gradient(135deg, #0d1520 0%, #1b263b 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: var(--transition);
    padding: 0 20px;
}

.trust-item:hover {
    transform: translateY(-10px);
}

.trust-icon-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.trust-item:hover .trust-icon-box {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-glow);
}

.trust-item:hover .trust-icon-box {
    background: var(--primary-color);
}

.trust-icon-box i {
    font-size: 36px;
    color: var(--accent-color);
    transition: var(--transition);
}

.trust-item:hover .trust-icon-box i {
    color: var(--primary-dark);
}

.trust-text h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.trust-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 300;
}

@media (max-width: 991px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: url('../assets/images/pattern-bg.png');
    /* If available, else just bg color */
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    padding: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box {
    margin-bottom: 40px;
}

.info-box i {
    color: var(--accent-color);
    font-size: 28px;
    margin-bottom: 15px;
    display: block;
}

.info-box h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 5px;
}

.info-box p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: var(--white);
    padding: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    background: var(--grey-section);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-family: var(--font-body);
    margin-bottom: 20px;
    transition: var(--transition);
    color: var(--text-dark);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(4, 93, 86, 0.1);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 0;
    font-family: var(--font-body);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid #333;
}

.footer-logo h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo p {
    color: #888;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #888;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: #222;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
    margin-right: 10px;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-logo {
        height: 80px;
        /* Smaller logo for mobile */
    }

    .hero {
        /* Mobile: Strong overlay to mask background logo */
        background: linear-gradient(rgba(4, 93, 86, 0.96), rgba(4, 93, 86, 0.94)),
            url('../assets/images/hero_bg_slide.png') center top/cover no-repeat;
    }

    .hero h2 {
        font-size: 42px;
    }

    .vision-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* What Defines Us Section - Premium Redesign */
.what-defines-us-section {
    padding: 0;
    position: relative;
    background: var(--bg-light);
}

/* Title Area with Dark Blue Gradient */
.what-defines-us-section .text-center {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.what-defines-us-section .text-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
    pointer-events: none;
}

.defines-us-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 0;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.defines-us-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--accent-color);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Cards Container */
.what-defines-us-section .container:last-child {
    padding: 80px 25px;
}

.defines-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.defines-card {
    background: var(--white);
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Gradient overlay on hover */
.defines-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 38, 59, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

/* Gold top border */
.defines-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color), #f4d03f);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.defines-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(27, 38, 59, 0.2);
    border-color: var(--accent-color);
}

.defines-card:hover::before {
    opacity: 1;
}

.defines-card:hover::after {
    transform: scaleX(1);
}

/* Gold Handshake Icons */
.defines-icon {
    font-size: 72px;
    color: var(--accent-color);
    margin-bottom: 30px;
    transition: var(--transition);
    filter: drop-shadow(0 4px 10px rgba(212, 175, 55, 0.3));
}

.defines-card:hover .defines-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 15px rgba(212, 175, 55, 0.5));
}

.defines-heading {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

/* Underline for headings */
.defines-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.defines-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.defines-list li {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    padding: 12px 0;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
}

/* Gold bullet points */
.defines-list li::before {
    content: '◆';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0);
    color: var(--accent-color);
    font-size: 10px;
    opacity: 0;
    transition: var(--transition);
}

.defines-card:hover .defines-list li::before {
    transform: translateX(-80px) scale(1);
    opacity: 1;
}

.defines-card:hover .defines-list li {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design for What Defines Us */
@media (max-width: 992px) {
    .defines-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .defines-us-title {
        font-size: 44px;
    }

    .defines-card {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .what-defines-us-section .text-center {
        padding: 60px 0;
    }

    .what-defines-us-section .container:last-child {
        padding: 60px 25px;
    }

    .defines-us-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .defines-us-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .defines-card {
        padding: 45px 30px;
    }

    .defines-icon {
        font-size: 60px;
    }

    .defines-heading {
        font-size: 22px;
    }

    .defines-list li {
        font-size: 15px;
    }
}


/* Contact Redesign */
.contact-section-redesign {
    padding: 100px 0;
    /* Deep Navy Blue Gradient to match theme */
    background: linear-gradient(135deg, var(--primary-dark), #0D1520);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-redesign-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* Left Side: Info */
.contact-info-side .sub-heading {
    color: var(--accent-color);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
}

.contact-intro {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 50px;
    max-width: 500px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.icon-box i {
    color: var(--accent-color);
    font-size: 18px;
}

.contact-detail-item h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--white);
}

.contact-detail-item p {
    font-size: 14px;
    opacity: 0.7;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons-redesign a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons-redesign a:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
}

/* Right Side: Form Card */
.contact-form-side {
    position: relative;
}

.form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    color: var(--text-dark);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--grey-section);
    border: 1px solid var(--glass-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 18px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 93, 86, 0.3);
}

/* Footer Redesign */
.footer-redesign {
    background-color: #0A0F1A;
    /* Deepest Navy Black */
    color: var(--white);
    padding: 80px 0 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1) contrast(1.2);
    /* Sharper white logo */
}

.brand-desc {
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.8);
}

.website-link {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom-bar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-bar p {
    opacity: 0.5;
    font-size: 13px;
    margin: 0;
}

/* B2B Solutions Section Styles */
.footer-col.b2b-col h4 {
    color: #DAA520;
    /* Goldenrod */
}

.b2b-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.b2b-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #FFFDD0;
    /* Cream */
    color: #0B111A;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.b2b-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.btn-b2b-primary {
    display: inline-block;
    background-color: #DAA520;
    /* Goldenrod */
    color: #ffffff !important;
    text-align: center;
    padding: 12px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-b2b-primary:hover {
    background-color: #b8860b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-b2b-outline {
    display: inline-block;
    background-color: transparent;
    color: #DAA520 !important;
    text-align: center;
    padding: 11px 20px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #DAA520;
    transition: var(--transition);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-b2b-outline:hover {
    background-color: rgba(218, 165, 32, 0.1);
    transform: translateY(-2px);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .contact-redesign-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }

    .contact-title {
        font-size: 36px;
    }

    .form-card {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Redesigned Brands Section
   ========================================= */
.brands-section-new {
    padding: 100px 0;
    background-color: var(--grey-section);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.brand-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.brand-img-wrap {
    height: 220px;
    overflow: hidden;
    background-color: var(--white);
    /* White bg for clean contain */
    position: relative;
    border-bottom: 2px solid var(--accent-color);
    /* The colored line hint */
}

.brand-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show full image */
    padding: 10px;
    /* Breathing room */
    transition: transform 0.5s ease;
}

.brand-card:hover .brand-img-wrap img {
    transform: scale(1.08);
    /* Gentle zoom */
}

.brand-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.brand-identity-line {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 12px;
    opacity: 0.8;
}

.brand-cat {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.brand-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.brand-header-row h3 {
    font-family: var(--font-heading);
    /* Or Serif */
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.brand-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
}

.brand-card:hover .brand-btn {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotate(-45deg);
    /* Arrow effect */
}

.brand-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.media-hero {
    background-color: var(--primary-dark);
    padding: 160px 0 80px;
    color: var(--white);
    position: relative;
}

.sub-heading-media {
    color: var(--accent-color);
    font-family: var(--font-body);
    /* Using standard body font for consistency */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 14px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-desc {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Header Actions (Search + Button) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-icon {
    color: var(--text-dark);
    font-size: 18px;
    transition: var(--transition);
}

.search-icon:hover {
    color: var(--primary-color);
}

.btn-sm {
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filters */
.gallery-filters {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    /* Slight rounded corners */
}

.filter-btn:hover {
    color: var(--primary-color);
    background: rgba(4, 93, 86, 0.05);
}

.filter-btn.active {
    background-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Gallery Grid */
.media-gallery-section {
    padding: 20px 0 100px;
}

.category-section {
    margin-bottom: 80px;
}

.category-header {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: var(--white);
    border-radius: 4px;
    /* Sharper corners as per design */
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    /* Fade in animation */
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.gallery-img {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-content {
    padding: 25px;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.gallery-date {
    font-size: 11px;
    color: #999;
}

.gallery-title {
    font-family: var(--font-body);
    /* Or heading if preferred */
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    transition: var(--transition);
}

.gallery-card:hover .gallery-title {
    color: var(--primary-color);
}

/* Responsive Media Query Updates */
@media (max-width: 768px) {
    .header-actions {
        display: none;
        /* Hide for now on mobile or adapt */
    }

    .page-title {
        font-size: 36px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Leadership Page Styles
   ========================================= */
.leadership-section {
    padding: 120px 0 100px;
    background-color: var(--bg-light);
}

/* Executive Editorial Layout */
.executive-section {
    width: 100%;
}

.executive-row {
    display: flex;
    align-items: stretch;
    min-height: 600px;
}

.executive-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.executive-half.photo-half {
    padding: 0;
    overflow: hidden;
}

.executive-half.photo-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.executive-half.content-half {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Backgrounds */
.bg-cream {
    background-color: var(--grey-section);
}

.bg-white {
    background-color: var(--white);
}

/* Typography & Elements */
.exec-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 42px;
    color: #A52A2A;
    /* Deep Crimson */
    margin-bottom: 25px;
    line-height: 1.2;
}

.exec-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: #DAA520;
    /* Goldenrod */
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

/* Quote Graphic Styling */
.exec-bio-text {
    position: relative;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    color: var(--text-dark);
    /* Improved contrast */
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 650px;
}

.exec-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: #DAA520;
    /* Goldenrod */
    opacity: 0.3;
    position: absolute;
    top: -40px;
    left: -40px;
    line-height: 1;
    pointer-events: none;
}

.executive-row:not(.reverse) .content-half {
    border-left: 1px solid rgba(218, 165, 32, 0.3);
}

.executive-row.reverse .content-half {
    border-right: 1px solid rgba(218, 165, 32, 0.3);
}

.exec-creds {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #36454F;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.mail-icon-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid #A52A2A;
    color: #A52A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.mail-icon-link:hover {
    background: #A52A2A;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(165, 42, 42, 0.2);
}

@media (max-width: 991px) {
    .executive-row {
        flex-direction: column !important;
        min-height: auto;
    }

    .executive-half {
        width: 100%;
    }

    .photo-half {
        height: 400px;
    }

    .content-half {
        padding: 60px 20px !important;
        border: none !important;
        text-align: center;
        align-items: center;
    }

    .exec-quote-mark {
        left: 0;
        top: -30px;
    }

    .exec-name {
        font-size: 32px;
    }

    .executive-row:not(.reverse) .content-half {
        border-top: 4px solid #DAA520;
    }

    .executive-row.reverse .content-half {
        border-top: 4px solid #DAA520;
    }
}

/* =========================================
   Factory Page Styles
   ========================================= */
.factory-section {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--grey-section);
}

.factory-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.factory-showcase {
    position: relative;
}

.factory-img-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.factory-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.factory-img-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.factory-img-slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    /* Hidden by default, shown on hover */
}

.slider-btn:hover {
    background: rgba(212, 175, 55, 0.8);
    /* Accent color */
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 15px;
}

.slider-btn-next {
    right: 15px;
}

.slider-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.slider-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.factory-overlay-text {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.factory-overlay-text h3 {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #e67e22;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.factory-content .sub-heading {
    color: #e67e22;
    margin-bottom: 5px;
}

.factory-content .section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: #8b5e3c;
    /* Brownish title color like design */
    text-align: left;
    font-family: 'Playfair Display', serif;
    /* Ensure Serif font */
    font-weight: 700;
}

.factory-content .section-title::after {
    display: none;
    /* remove center line if inherited */
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-box {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feat-icon {
    font-size: 24px;
    color: #e67e22;
    margin-bottom: 15px;
}

.feature-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-box p {
    font-size: 12px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .factory-layout {
        grid-template-columns: 1fr;
    }

    .factory-content .section-title {
        font-size: 32px;
    }

    .slider-slides {
        aspect-ratio: 16 / 10;
    }
}

/* =========================================
   Factory Gallery Carousel
   ========================================= */
.factory-carousel {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 20px;
    /* Padding for container shadow perception */
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    /* Rounded corners */
    background: #fff;
    /* Clean white background */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

.carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible without cropping */
    display: block;
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #DAA520;
    /* Goldenrod */
    color: #fff;
    /* White icon for contrast */
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: #b8860b;
    /* Darker Goldenrod on hover */
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Slide Counter */
.carousel-counter {
    text-align: center;
    margin-top: 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.carousel-counter .current-slide {
    color: var(--accent-color);
    font-size: 24px;
}

/* Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0e0e0;
    /* Light grey inactive */
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.indicator:hover {
    background: #ccc;
    transform: scale(1.1);
}

.indicator.active {
    background: #DAA520;
    /* Goldenrod */
    border: 1px solid #000;
    /* Dark border */
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .carousel-counter {
        font-size: 16px;
    }

    .carousel-counter .current-slide {
        font-size: 20px;
    }

    .carousel-slides {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-slides {
        aspect-ratio: 1;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* =========================================
   Product Detail Modal
   ========================================= */


/* Footer Redesign */
.footer-redesign {
    background-color: #050B14;
    /* Deep dark theme */
    color: #ffffff;
    padding: 80px 0 30px;
    font-family: var(--font-body);
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer Redesign - Corporate Anchor */
.footer-redesign {
    background-color: #0B111A;
    /* Deep Navy-Black */
    color: #A9A9A9;
    /* Light Grey */
    padding: 80px 0 0;
    font-family: 'Outfit', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #FFFFFF;
    /* Pure White */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 30px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #A9A9A9;
    /* Light Grey */
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-col ul li a:hover {
    color: #DAA520;
    /* Goldenrod Hover */
    padding-left: 5px;
}

/* Brand Column Specifics */
.brand-col {
    padding-right: 40px;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 25px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand-desc {
    color: #A9A9A9;
    /* Light Grey */
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 0;
}

.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-info a {
    color: #A9A9A9;
    /* Light Grey */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    transition: var(--transition);
}

.footer-contact-info a i {
    color: #DAA520;
}

.footer-contact-info a:hover {
    color: #A52A2A;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #FFFDD0;
    /* Cream */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
}

.footer-socials a:hover {
    background-color: #A52A2A;
    /* Deep Crimson */
    color: #fff;
    transform: translateY(-3px);
}

/* Quick Links Group */
.quick-links-group {
    margin-top: 40px;
}

/* Bottom Bar */
.footer-bottom-bar {
    background-color: #0B111A;
    /* Deep Navy-Black Unified */
    border-top: 1px solid #DAA520;
    /* Goldenrod Divider */
    padding: 30px 0;
    text-align: center;
}

.footer-bottom-bar p {
    color: #A9A9A9;
    /* Light Grey */
    font-size: 13px;
    margin: 0;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-col {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

/* Core Foundations Layout */
/* Core Foundations Layout - Redesign */
.foundations-section {
    background-color: var(--grey-section);
    padding: 80px 0;
    text-align: center;
}

.section-spacer {
    height: 30px;
}

/* Part 1: Journey Intro */
.about-journey-intro {
    margin-bottom: 30px;
    /* Reduced from 60px */
    text-align: left;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.journey-text {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    max-width: 95%;
}

.journey-image img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Part 2: Foundations Grid (Redesigned) */
.story-block {
    margin-bottom: 40px;
}

.foundations-header {
    text-align: center;
    margin-bottom: 20px;
}

.foundations-title {
    font-family: var(--font-heading);
    font-size: 44px;
    /* Increased from 36px */
    /* Reduced for more compact presence */
    margin-bottom: 15px;
    font-weight: 800;
    /* Tighter boldness */
    text-transform: uppercase;
    letter-spacing: 3px;
    /* More premium spacing */
    color: var(--primary-color);
    line-height: 1.2;
}

.foundations-divider {
    width: 80px;
    /* Reduced for better visual anchor */
    height: 5px;
    background-color: var(--accent-color);
    margin: 0 auto 15px auto;
    /* Centered */
    border-radius: 3px;
}

.foundations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.foundation-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 15px 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.foundation-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 70px rgba(27, 38, 59, 0.15);
    border-color: var(--accent-color);
}

.foundation-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.foundation-card:hover .foundation-glow {
    opacity: 1;
}

.card-featured {
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.1);
}

.icon-wrap {
    width: 80px;
    /* Increased from 70px */
    height: 80px;
    /* Increased from 70px */
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: var(--transition);
    transform: rotate(45deg);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.foundation-card:hover .icon-wrap {
    background: var(--primary-color);
    transform: rotate(45deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(27, 38, 59, 0.2);
}

.icon-wrap i {
    font-size: 30px;
    /* Increased from 24px */
    color: var(--accent-color);
    transform: rotate(-45deg);
    transition: var(--transition);
}

.foundation-card:hover .icon-wrap i {
    color: #fff;
}

.foundation-title {
    font-family: var(--font-heading);
    font-size: 24px;
    /* Increased from 18px */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.foundation-accent {
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto 15px;
    border-radius: 10px;
    transition: width 0.4s ease;
}

.foundation-card:hover .foundation-accent {
    width: 100px;
}

.foundation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foundation-list li {
    color: #666;
    margin-bottom: 8px;
    font-size: 18px;
    /* Slightly increased from 17px */
    font-weight: 400;
    transition: color 0.3s ease;
}

.foundation-card:hover .foundation-list li {
    color: var(--text-dark);
}

/* Part 3: Business Cards */
.business-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Matched with foundations */
    gap: 20px;
    /* Reduced from 30px to match foundations */
    max-width: 1200px;
    /* Reduced from 1280px to match foundations */
    margin: 0 auto;
}

.business-card {
    height: 350px;
    /* Reduced from 450px to be compatible with foundations */
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 21, 32, 0.4) 0%, rgba(13, 21, 32, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    /* Reduced from 40px for more compact height */
    transition: var(--transition);
}

.business-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(13, 21, 32, 0.2) 0%, rgba(13, 21, 32, 0.9) 100%);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-inner-content {
    color: #fff;
    text-align: left;
}

.business-icon {
    font-size: 42px;
    /* Increased from 36px */
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card-inner-content h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    /* Increased from 28px */
    margin-bottom: 15px;
    color: #fff;
}

.business-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.business-list li {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.business-list li::before {
    content: '→';
    color: var(--accent-color);
}

.business-text {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .journey-content {
        order: 2;
    }

    .journey-image {
        order: 1;
    }

    .about-journey-intro .divider {
        margin: 0 auto 30px auto !important;
    }
}

/* For overlapping effect like Venn diagram if desired, we can use negative margins on larger screens */
@media (min-width: 992px) {
    .story-grid {
        gap: 0;
    }

    .story-circle {
        margin: 0 -15px;
        /* Slight overlap */
        border: 4px solid #fff;
        /* Border to distinguish overlap */
    }
}

.circle-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.circle-icon {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.circle-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    width: fit-content;
}

.circle-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.circle-list li {
    margin-bottom: 4px;
}

/* Specific adjustment for lengthy list items */
.circle-text {
    font-size: 14px;
    line-height: 1.5;
    max-width: 240px;
}

@media (max-width: 768px) {
    .story-grid {
        flex-direction: column;
        gap: 20px;
    }

    .story-circle {
        width: 280px;
        height: 280px;
        margin: 0 !important;
    }
}


/* Board of Honors Section */
.board-honors-section {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.board-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #A52A2A;
    /* Deep Crimson */
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.board-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #DAA520;
    /* Goldenrod */
    margin: 10px auto 0;
}

.board-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Align all items at the top */
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.board-member {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 160px;
    min-width: 160px;
    /* Prevent shrinking */
    flex-shrink: 0;
    /* Prevent shrinking */
}

.board-member:hover {
    transform: scale(1.05);
}

.board-img-circle {
    width: 150px;
    height: 150px;
    min-width: 150px;
    /* Force fixed size */
    min-height: 150px;
    /* Force fixed size */
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    filter: grayscale(100%);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    background-color: #f0f0f0;
    /* Fallback */
}

.board-member:hover .board-img-circle {
    filter: grayscale(0%);
    border-color: #DAA520;
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.3);
    /* Goldenrod shadow */
}

.board-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Center the image for better framing */
    display: block;
}

/* Obsolete rule removed */

.board-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: #A52A2A;
    font-weight: 700;
    margin-bottom: 5px;
    min-height: 54px;
    /* Ensure 2 lines of space */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.board-designation {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: #36454F;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    position: relative;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease forwards;
}

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

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #A52A2A;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
}

.modal-close-btn:hover {
    transform: rotate(90deg);
}

.modal-left-img {
    width: 40%;
    background-color: #f4f4f4;
}

.modal-left-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    /* Consistent focus on upper half */
}

.modal-right-details {
    width: 60%;
    padding: 50px;
    overflow-y: auto;
    max-height: 80vh;
}

.modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #A52A2A;
    font-weight: 700;
    margin-bottom: 5px;
}

.modal-designation {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #DAA520;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: block;
}

.modal-email-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid #A52A2A;
    color: #A52A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    margin-bottom: 30px;
}

.modal-email-link:hover {
    background: #A52A2A;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(165, 42, 42, 0.2);
}

.modal-email-link i {
    font-size: 18px;
}

.modal-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #36454F;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.modal-text {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.modal-list li {
    margin-bottom: 8px;
    color: #555;
    font-size: 15px;
}

/* Reponsive Modal & Grid */
@media (max-width: 991px) {
    .board-grid {
        justify-content: center;
    }

    .board-member {
        width: 30%;
        /* 3 per row roughly */
    }
}

@media (max-width: 768px) {
    .board-member {
        width: 45%;
        /* 2 per row */
    }

    .modal-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-left-img {
        width: 100%;
        height: 250px;
    }

    .modal-right-details {
        width: 100%;
        padding: 30px;
    }
}

/* Careers Modal Specifics */
.careers-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease forwards;
}

.careers-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #A52A2A;
    /* Deep Crimson */
    margin-bottom: 25px;
    font-weight: 700;
}

.careers-status {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    color: #36454F;
    /* Charcoal */
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.careers-note {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.careers-btn {
    display: inline-block;
    background-color: #DAA520;
    /* Goldenrod */
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.careers-btn:hover {
    background-color: #A52A2A;
    /* Deep Crimson */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(165, 42, 42, 0.3);
}

/* Private Labels Page Styles */
.private-labels-page {
    background-color: var(--white);
}

.pl-section {
    padding: 100px 0;
}

.pl-hero {
    text-align: center;
    margin-bottom: 80px;
}

.pl-hero h1 {
    font-family: var(--font-heading);
    color: #A52A2A;
    /* Deep Crimson */
    font-size: 56px;
    margin-bottom: 30px;
    font-weight: 700;
}

.pl-hero .intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.partnership-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.partner-block {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    border: 1px solid #eeeeee;
    transition: var(--transition);
    text-align: center;
}

.partner-block:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.partner-logo-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.partner-logo-wrap img {
    max-height: 100%;
    max-width: 200px;
    object-fit: contain;
}



.partner-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.partner-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.pl-actions {
    text-align: center;
    margin: 60px 0;
}

.pl-actions .btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-goldenrod {
    background: #DAA520;
    /* Goldenrod */
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
    display: inline-block;
}

.btn-goldenrod:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
    background: #c0911a;
}

.btn-b2b-outline-dark {
    padding: 14px 40px;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.btn-b2b-outline-dark:hover {
    background: var(--primary-color);
    color: white;
}

.pl-contact-info {
    font-size: 18px;
    color: #666;
}

.pl-contact-info strong {
    color: var(--primary-color);
}

.pl-contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

/* Footer Grid Update for 4 Columns */
.footer-redesign .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .partnership-showcase {
        grid-template-columns: 1fr;
    }

    .pl-hero h1 {
        font-size: 40px;
    }

    .footer-redesign .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-redesign .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Alliances Page Styles */
.alliances-hero {
    padding: 100px 0 30px;
    /* Reduced top/bottom padding */
    background-color: #ffffff;
}

.text-charcoal {
    color: #36454F;
}

.text-deep-blue {
    color: #2E5090;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    /* Start invisible for animation */
    animation: fadeInUp 1s ease-out forwards;
    /* Add fade-in-up animation */
}

/* Keyframes for animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.alliance-grid-section {
    padding: 20px 0 100px;
    /* Reduced top padding to bring grid closer to title */
    background-color: var(--grey-section);
}

.alliance-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.alliance-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    /* Reduced padding for larger logos */
    background: #ffffff;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Added subtle shadow to define "same background" */
}

.alliance-logo-wrap {
    width: 100%;
    max-width: 100%;
    /* Allow full width */
    height: 180px;
    /* Upscaled height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.alliance-logo-wrap img {
    max-width: 90%;
    /* Prevent touching edges */
    max-height: 90%;
    /* Prevent touching edges */
    object-fit: contain;
    transition: all 0.4s ease;
    /* Removed mix-blend-mode to keep white background */
}

.alliance-item:hover .alliance-logo-wrap img {
    transform: scale(1.05);
}

.alliance-cta {
    margin-top: 40px;
}

.btn-golden {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background-color: #DAA520;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(218, 165, 32, 0.3);
}

.btn-golden:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.4);
    background-color: #c0911c;
}

/* Partner Scroll Component */
.partner-scroll-section {
    padding: 40px 0;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.partner-scroll-container {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scrollPartners 40s linear infinite;
}

.partner-scroll-container:hover {
    animation-play-state: paused;
}

.partner-scroll-item {
    flex: 0 0 auto;
}

.partner-scroll-item img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.partner-scroll-item:hover img {
    transform: scale(1.05);
}

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

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

@media (max-width: 992px) {
    .alliance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 576px) {
    .alliance-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .alliance-item {
        padding: 20px;
    }
}

/* --- Horizontal Brand Scroller --- */
.brand-scroller-section {
    padding: 40px 0;
    /* Reduced to 40px top/bottom */
    background-color: #ffffff;
    overflow: hidden;
}

.scroller-heading {
    color: #DAA520;
    /* Goldenrod */
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroller-container {
    width: 100%;
    overflow-x: auto;
    /* Allow manual scroll if items overflow */
    position: relative;
    padding: 40px 0;
    /* 40px top/bottom padding */
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroller-container::-webkit-scrollbar {
    display: none;
}

.scroller-track {
    display: flex;
    width: fit-content;
    /* Natural width */
    min-width: 100%;
    /* Ensure it fills at least the container */
    gap: 30px;
    /* Padding between items */
    /* animation: scrollBrands 40s linear infinite; */
    /* animation-play-state: running; */
}

/* Remove old keyframes if no longer needed, keeping for safety or valid cleanup */
@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

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

.brand-scroll-item {
    width: 400px;
    /* ~35% larger than original 300px scale target */
    height: 350px;
    /* Increased height */
    margin: 0;
    /* Margin handled by gap */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fcfcfc;
    /* Soft white background */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for pop */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Hover Scale Effect */
.brand-scroll-item:hover {
    transform: scale(1.05);
}

.brand-scroll-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.brand-scroll-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    /* Deeper shadow for 3D effect */
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
    mix-blend-mode: multiply;
    /* Added to blend white backgrounds of JPEGs */
}

.brand-scroll-item:hover .brand-scroll-img-wrap img {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
    transform: scale(1.05);
    /* Slight internal scale on hover */
    mix-blend-mode: multiply;
    /* Ensure blend mode stays on hover */
}

/* Tooltip Styling */
.brand-tooltip {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0B111A;
    /* Navy-Black */
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.brand-tooltip i {
    margin-left: 6px;
    font-size: 12px;
}

.brand-scroll-item:hover .brand-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 0px;
    /* Slides up */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .scroller-track {
        animation: none;
        /* Disable infinite loop on mobile */
        width: 100%;
        overflow-x: auto;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll on iOS */
    }

    .brand-scroll-item {
        width: 80vw;
        /* Card takes most of width */
        margin: 0 15px;
    }

    .brand-scroll-item:first-child {
        margin-left: 20px;
    }

    .brand-scroll-item:last-child {
        margin-right: 20px;
    }

    .brand-tooltip {
        opacity: 1;
        visibility: visible;
        bottom: 15px;
        /* Always show visual cue or hide if messy */
        background: rgba(27, 38, 59, 0.8);
        font-size: 12px;
        padding: 6px 14px;
    }
}

/* Modal Responsive Fix */
@media (max-width: 900px) {
    .modal-split-wrap {
        flex-direction: column;
        height: auto;
    }

    .modal-header {
        flex: none;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 30px;
    }

    .modal-body {
        padding: 30px;
        overflow-y: visible;
    }

}


/* Hero Polish */
.hero-sub {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hero-divider {
    margin: 30px auto;
}

/* =========================================
   Product Modal Styles
   ========================================= */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.product-modal.active {
    display: block;
}

.product-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
}

.product-modal .modal-content {
    position: relative;
    background: var(--white);
    width: 90%;
    max-width: 1200px;
    max-height: 85vh;
    margin: 5vh auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

.modal-header {
    flex: 0 0 auto;
    /* Ensure it doesn't grow or take fixed space from legacy conflicts */
    padding: 15px 30px 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1a2e 100%);
    color: white;
    text-align: center;
}

.modal-brand-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.modal-brand-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 8px;
}

.modal-brand-description {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 850px;
    margin: 0 auto;
    font-style: normal;
    text-align: center;
}

.modal-product-grid {
    padding: 40px 60px;
    overflow-y: auto;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-content: start;
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: visible;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    padding: 10px;
    /* Reduced padding for larger images */
    background: var(--white);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.product-info {
    padding: 20px;
    background: var(--white) !important;
    flex: 1;
    display: flex !important;
    flex-direction: column;
    min-height: 150px;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 20px !important;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin-bottom: 8px;
    line-height: 1.3;
    display: block !important;
}

.product-weight {
    display: inline-block !important;
    background: var(--accent-color) !important;
    color: white !important;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.product-description {
    font-size: 14px !important;
    line-height: 1.6;
    color: #666 !important;
    margin: 0;
    display: block !important;
}

/* Modal Views */
.modal-view {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.modal-view.active {
    display: flex;
}

/* Product Card in Grid (Refined) */
.modal-product-grid .product-card {
    cursor: pointer;
}

.modal-product-grid .product-card .product-description {
    display: none !important;
}

.modal-product-grid .product-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Detail View Layout */
.detail-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8f9fa;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 8px;
}

.back-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
}

.detail-content {
    display: flex;
    flex: 1;
    overflow-y: auto;
    background: var(--white);
}

.detail-left {
    flex: 1;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.detail-right {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.packaging-section h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-packagings {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.packaging-badge {
    background: #f0f2f5;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.packaging-badge:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Modal Detail */
@media (max-width: 991px) {
    .detail-content {
        flex-direction: column;
    }

    .detail-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 30px;
    }

    .detail-image {
        max-height: 300px;
    }

    .detail-right {
        padding: 40px;
    }

    .detail-title {
        font-size: 28px;
    }
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-brand-title {
        font-size: 24px;
    }

    .modal-brand-tagline {
        font-size: 13px;
    }

    .modal-brand-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .modal-product-grid {
        padding: 30px 20px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-modal .modal-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 90vh;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}