/* 
   Biovetix Definitive Design System 
   Premium Aesthetics & High Conversion
*/

:root {
    /* Brand Colors - Palette Provided */
    --primary-color: #314A59;
    /* Deep Slate Blue */
    --primary-dark: #1a2c35;
    /* Darker Slate */
    --accent-color: #788C64;
    /* Sage Green */
    --accent-light: #C8D9B8;
    /* Soft Green */

    /* Modern Tech Palette */
    --tech-blue: #e0f2fe;
    /* Very Light Blue tint for backgrounds */
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);

    --bg-body: #f8fafc;
    /* Ultra light slate grey */
    --bg-white: #ffffff;

    /* Text Colors */
    --text-main: #334155;
    /* Slate 700 */
    --text-dark: #0f172a;
    /* Slate 900 */
    --text-muted: #64748b;
    /* Slate 500 */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-accent: linear-gradient(135deg, #788C64 0%, #5a6e48 100%);

    /* Shadows & Glassmorphism */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(120, 140, 100, 0.2);

    --glass-blur: blur(12px);

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    padding-top: 90px;
    /* Space for the fixed navbar */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    filter: contrast(150%) brightness(100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    /* Slightly reduced from 700 */
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.section-padding {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
}

/* Increased vertical breathing room */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.8rem;
    border-radius: 12px;
    /* Modern slightly rounded corners, not pill */
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--text-dark);
    color: white;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.4);
}

.btn-accent {
    background: var(--accent-color);
    color: white;
    box-shadow: none;
    padding: 0.8rem 1.8rem;
}

.btn-accent:hover {
    background: #6a7d5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(120, 140, 100, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: var(--text-dark);
    border-color: white;
}

.btn-outline-dark {
    background: transparent;
    border: 1.5px solid #e2e8f0;
    color: var(--text-dark);
    padding: 0.8rem 1.8rem;
}

.btn-outline-dark:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-dark);
}

/* Premium Pills - Plain Sage Green Style */
.premium-pill {
    display: inline-block;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-interactions Tech */
:root {
    --glow-opacity: 0;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-accent:hover::before {
    opacity: 1;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    /* Ensuring it stays absolutely fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 400;
    color: var(--text-dark);
    font-size: 1.05rem;
    opacity: 0.8;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

.mobile-menu-btn {
    display: none;
}

/* Global Tech Modernization */
h1,
h2,
h3,
h4 {
    letter-spacing: -0.5px;
    /* Tighter, more modern */
}

/* Hero Section - 100% Renewed */
.hero {
    position: relative;
    height: 80vh;
    /* Taller for impact */
    min-height: 650px;
    display: flex;
    align-items: center;
    /* Abstract Bio-Tech Future Background */
    background:
        linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6)),
        url('../images/hero_realistic_tech_lab_overlay.png') center/cover no-repeat;
    margin-bottom: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Depth */
}

.hero-overlay {
    display: none;
    /* Removed separate overlay div in favor of CSS background stack */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 2rem;
}

.hero .premium-pill {
    display: inline-block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    position: relative;

    /* Golden Text Shimmer */
    background: linear-gradient(to right,
            #BF953F 0%,
            #FCF6BA 25%,
            #d4af37 50%,
            #FCF6BA 75%,
            #BF953F 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slowGoldShimmer 3s linear infinite;
}

@keyframes slowGoldShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

/* Features - Glassmorphism Cards */
.features-section {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
    /* Separated from hero */
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    /* Force 4 columns on desktop as requested */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* Slightly tighter gap to fit 4 nicely */
}

/* Responsive adjust for table/mobile */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    /* Reduced padding slightly */
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Uniform height */
}

.feature-card:hover {
    transform: translateY(-15px);
    background: white;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--tech-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Services - Tech Divider */
#servicios {
    background: linear-gradient(180deg, white 0%, #f8fafc 100%) !important;
    border-top: 1px solid #e2e8f0;
}

/* Services */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    font-weight: 700;
}

/* Services - Translucent Glass */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Services - Blue Glass Tech Style */
/* Services - Pure Minimalist Style */
.service-card {
    background: rgba(15, 23, 42, 0.95);
    /* Noble Dark Blue */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-title {
    font-size: 1.15rem;
    color: #ffffff;
    /* Bright Title for Dark Background */
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.service-content p {
    color: #94a3b8;
    /* Slate text for dark contrast */
    font-size: 0.92rem;
    line-height: 1.6;
}

/* "Cartel" Style Section Titles */
.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    font-weight: 700;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 8px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 4px;
}



.service-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-link {
    margin-top: auto;
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    transition: var(--transition-fast);
}

.service-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

/* Brand Section Overhaul */
.brands-section {
    background: white;
}

.brand-section {
    background-color: #fff;
    border-radius: 30px;
    padding: 4rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    /* border: 1px solid #f1f5f9;  Removed border as requested */
    border: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Standardized Brand Header & Logos */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo-container {
    background: white;
    padding: 1.5rem 3rem;
    /* border-radius: 16px; */
    /* box-shadow: var(--shadow-sm); */
    /* border: 1px solid #f1f5f9; Removed border as requested */

    /* Ensuring container size consistency */
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    /* Allow flexible height for huge logos */
    min-height: 120px;
}

.brand-logo-img {
    height: 60px;
    /* Reduced for Seamaty/Biobase */
    width: auto;
    object-fit: contain;
    max-width: 100%;
}

/* Specific Liofilchem Background - MEGA SIZE */
/* Liofilchem - Landscape Crop & Zero Shadow */
.liofilchem-container {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
    /* Reduced height */
    overflow: hidden;
    /* Crop */
    box-shadow: none !important;
}

.liofilchem-logo {
    height: 380px;
    /* Kept huge */
    width: auto;
    object-fit: cover;
    margin-top: -60px;
    /* Crop top */
    margin-bottom: -60px;
    /* Crop bottom */
    filter: none;
    /* No shadow */
}

/* Authority Section - Dark Tech Mode */
.authority-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Dark Tech Mode */
    color: white;
    padding-top: 6rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.authority-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.authority-item h3 {
    color: #38bdf8;
}

.authority-item p {
    color: #cbd5e1;
}

.authority-icon {
    font-size: 3.5rem;
    color: #2dd4bf;
    margin-bottom: 1.5rem;
}

.brand-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-muted);
    font-weight: 300;
}

/* Staggered Animation Delays */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Enhanced Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Carousel Inner Styling */
.carousel-container {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, #ffffff, #f8fafc);
    border-radius: 24px;
    padding: 2rem;
    /* Inner padding */
    border: 1px solid #f1f5f9;
    gap: 3rem;
    /* Flex alignment maintained from original class */
}

.carousel-slide .brand-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide .brand-visual img {
    max-height: 400px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s;
}

.carousel-slide:hover .brand-visual img {
    transform: scale(1.02);
}

.carousel-slide .brand-content {
    flex: 1;
}

.carousel-slide h4 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: -webkit-linear-gradient(45deg, var(--text-dark), var(--primary-color));
    -webkit-background-clip: text;
    /* Standard property for compat */
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.5);
    /* Modern slightly larger active dot */
}

/* Contact Overhaul */
.contact-section {
    background: var(--bg-body);
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: center;
}

.contact-info-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: #f8fafc;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(120, 140, 100, 0.1);
}

/* Footer modern */
footer {
    background: #0f172a;
    border-top: none;
    padding-top: 6rem;
    padding-bottom: 2rem;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h4 {
    font-weight: 700;
    letter-spacing: -1px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-title {
    color: var(--accent-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Mobile */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        display: none;
        background: white;
        border-bottom: 2px solid var(--accent-color);
    }

    /* Simplified mobile for now */
    .mobile-menu-btn {
        display: block;
        font-size: 1.8rem;
        border: none;
        background: none;
        color: var(--text-dark);
    }

    .carousel-slide {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 0.75rem;
        background: white;
        width: 100%;
    }

    .carousel-slide .brand-visual {
        width: 100%;
        margin: 0;
    }

    .carousel-slide .brand-visual img {
        max-height: 260px;
        width: auto;
        max-width: 90%;
        object-fit: contain;
        box-shadow: none;
        margin: 0 auto;
    }

    .carousel-slide .brand-content {
        width: 100%;
        padding: 0 0.5rem;
    }

    .carousel-slide h4 {
        font-size: 1.5rem;
    }

    .carousel-slide p,
    .carousel-slide ul {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .carousel-buttons {
        display: flex;
        gap: 0.75rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .carousel-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 8px;
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
        /* Increased padding for mobile comfort */
        width: 100%;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .brand-section {
        padding: 1rem 0;
    }

    .carousel-container {
        border-radius: 0;
        margin: 0 -0.75rem;
        /* Break out of container padding for full width feel */
    }

    .carousel-slide {
        padding: 1.5rem 1rem;
    }

    .carousel-slide .brand-visual img {
        max-height: 220px;
    }

    .carousel-buttons {
        gap: 0.75rem;
    }
}

.nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: white;
    /* Solid background for visibility */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.nav-menu.active li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.nav-menu.active .nav-link {
    display: block;
    padding: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu.active .btn {
    margin-top: 1rem;
    width: 100%;
}

/* FAQ Minimalist Modern */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-question {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 2rem 0;
    border-radius: 0;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: left;
    width: 100%;
    cursor: pointer;
    transition: var(--transition-fast);
    letter-spacing: -0.01em;
}

.faq-question:hover {
    color: var(--accent-color);
    padding-left: 15px;
}

.faq-answer {
    padding: 0;
    margin-top: 0;
    color: #64748b;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    /* Smooth all properties */
    text-align: left;
    opacity: 0;
    /* Fully hidden */
}

.faq-question.active+.faq-answer {
    opacity: 1;
    padding-bottom: 1.5rem;
    margin-top: 0.5rem;
}



/* Authority Grid with Map */
.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split layout */
    gap: 4rem;
    align-items: center;
}

.authority-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.authority-map-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.authority-map-img {
    max-width: 100%;
    height: auto;
    opacity: 0.9;
    filter: drop-shadow(0 0 20px rgba(45, 212, 191, 0.3));
    /* Tech glow */
}

@media (max-width: 900px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }
}