/* Main CSS - Premium Vet Aesthetics (MiniAST Inspired) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    /* Colors */
    --color-primary: #EE8500;
    /* MiniAST Orange */
    --color-primary-dark: #cc7000;
    --color-primary-light: #fff2e5;
    /* Very light orange */
    --color-secondary: #2C3E50;
    /* Dark Blue/Gray for Contrast */
    --color-secondary-light: #ECF0F1;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #FFFFFF;
    --color-white: #FFFFFF;
    --color-border: #E0E0E0;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --header-height: 110px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

/* Headings in Orange sometimes */
h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--color-primary-light);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Header & Nav */
#main-header {
    height: var(--header-height);
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-links .btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

/* Header Button Special Style */
.nav-links .btn-primary:hover,
.nav-links .btn-primary:active,
.nav-links .btn-primary.active {
    background-color: #333;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    /* Enforce rounded corners */
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(238, 133, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(238, 133, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Hero Section - MiniAST Style */
#hero {
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, #ff9f2a 100%);
    color: white;
    padding: 8rem 0 6rem;
}

#hero h1 {
    color: white;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

#hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

#hero .btn-primary {
    background-color: white;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#hero .btn-primary:hover {
    background-color: #f8f8f8;
    color: var(--color-primary-dark);
}

#hero .btn-secondary {
    border-color: white;
    color: white;
}

#hero .btn-secondary:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Reagent Table */
.reagent-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
}

.reagent-table th,
.reagent-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.reagent-table th {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-weight: 600;
}

.reagent-table tr:hover {
    background-color: #fafafa;
}

/* Product Cards */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.card-image {
    width: 100%;
    height: 220px;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    flex-shrink: 0;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content .btn {
    margin-top: auto;
    width: 100%;
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--color-secondary);
}

.card .tagline {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-actions {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.card-actions a {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Product Page Adaptation Styles */
.bg-orange {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.bg-orange h2,
.bg-orange p,
.bg-orange .icon-box h4 {
    color: white !important;
}

.bg-dark {
    background-color: #2b2b2b !important;
    color: white !important;
}

.bg-dark h2,
.bg-dark p {
    color: white !important;
}

.hero-tag {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Strategic Differentiators */
.icon-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-box-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-box h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 800;
}

.icon-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Specs Table Dark */
.specs-dark-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-dark-table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.specs-dark-table td:first-child {
    color: #aeaeae;
    font-weight: 500;
    width: 40%;
}

.specs-dark-table td:last-child {
    font-weight: 700;
    text-align: right;
    color: white !important;
}

/* Download Cards */
.download-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    text-decoration: none;
    color: var(--color-text);
    transition: transform 0.2s;
    border: none;
    width: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-card-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.download-card span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Application Cards */
.app-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.app-card:hover {
    box-shadow: var(--shadow-md);
}

.app-card-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.app-card h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
}

.app-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Commercial Benefits Box */
.commercial-box {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
}

.commercial-box h3 {
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.commercial-list {
    list-style: none;
}

.commercial-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.commercial-list li i {
    color: #2ECC71;
    /* Green check */
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .commercial-box {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
}

/* Accordion Styles */
details.reagent-accordion summary::-webkit-details-marker {
    display: none;
}

details.reagent-accordion[open] summary~* {
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        margin-top: -10px
    }

    100% {
        opacity: 1;
        margin-top: 0px
    }
}

details.reagent-accordion[open] summary {
    background-color: var(--color-primary);
    color: white !important;
}

details.reagent-accordion[open] summary span {
    color: white !important;
}

/* Small Button */
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.btn-outline-primary {
    border: 1px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: white;
}

/* Enhanced Accordion Styles */
details.reagent-accordion {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

details.reagent-accordion[open] {
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem !important;
}

details.reagent-accordion summary {
    background: var(--color-background);
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Hide default triangle */
    transition: background 0.2s;
}

details.reagent-accordion summary::-webkit-details-marker {
    display: none;
}

details.reagent-accordion summary:hover {
    background: #f8f9fa;
    color: var(--color-primary);
}

details.reagent-accordion[open] summary {
    background: var(--color-secondary);
    /* Dark background when open */
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

details.reagent-accordion[open] summary span {
    color: white !important;
}

/* Arrow Rotation Logic */
details.reagent-accordion summary::after {
    content: '▼';
    font-size: 0.8rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

details.reagent-accordion[open] summary::after {
    transform: rotate(180deg);
    color: white;
}

/* Hide the span arrow we added inline in python script if we use css arrow */
details.reagent-accordion summary span {
    display: none;
}

/* Table Enhancements */
.reagent-table tr:hover td {
    background-color: var(--color-primary-light);
    color: var(--color-secondary);
}

/* Ensure small buttons are rounded */
.btn-sm {
    border-radius: 50px !important;
}

/* Reagent Grid Layout */
.reagent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.reagent-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reagent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reagent-card .card-img-container {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.reagent-card .card-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.reagent-card:hover .card-img-container img {
    transform: scale(1.05);
}

.reagent-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.reagent-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
    line-height: 1.4;
}

.reagent-card .category {
    font-size: 0.85rem;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.reagent-card .card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.reagent-card .btn-link {
    font-size: 0.9rem;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reagent-card .btn-link:hover {
    color: var(--color-primary);
}

/* Ensure buttons take full width in card */
.reagent-card .btn {
    width: 100%;
    text-align: center;
}

/* Reagent Grid Layout */
.reagent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    /* Increased padding as requested */
}

.reagent-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.reagent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.reagent-card .card-img-container {
    height: 180px;
    background: #fff;
    /* Changed to white for cleaner look */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.reagent-card .card-img-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.reagent-card:hover .card-img-container img {
    transform: scale(1.05);
}

.reagent-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.reagent-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
    line-height: 1.4;
    min-height: 3em;
    /* Align cards with different title lengths */
}

.reagent-card .card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
}

/* Updated Button Styles */
.reagent-card .btn {
    width: 100%;
    text-align: center;
    border-radius: 50px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.reagent-card .btn-primary {
    background-color: var(--color-primary);
    /* Orange */
    color: white !important;
    /* Force white text */
    border: 1px solid var(--color-primary);
}

.reagent-card .btn-primary:hover {
    background-color: darkorange;
    /* Slightly darker on hover */
    box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.reagent-card .btn-outline-secondary {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.reagent-card .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
    color: #333;
}

/* Mobile Navigation & Responsiveness */

/* Logo Responsiveness */
.logo img {
    max-width: 100%;
    height: auto;
    max-height: 81px;
    margin: 5px 0;
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--color-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

/* Mobile Media Query */
@media (max-width: 768px) {

    /* Navbar Adjustment */
    .navbar {
        position: relative;
    }

    /* Show Toggle Button */
    .menu-toggle {
        display: block;
    }

    /* Mobile Nav Links (Full Screen Overlay) */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1001;

        /* Hidden State */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    /* Active State (Show Menu) */
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
    }

    /* Large Typography for Links */
    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        color: var(--color-secondary);
        position: relative;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
    }

    /* Staggered Animation for Links */
    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
    }

    /* Stagger delays */
    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.5s;
    }

    /* Close Button (Optional, if we want to change the toggle icon) */
    /* Adjusting grid for mobile remains same */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .commercial-box {
        grid-template-columns: 1fr !important;
        padding: 2rem !important;
    }

    /* Hero Text Adjustment */
    #hero h1 {
        font-size: 2.5rem !important;
    }

    /* FAQ & Testimonials Padding */
    .testimonial-slide {
        padding: 2rem !important;
    }

    .testimonial-slide p {
        font-size: 1.1rem !important;
    }
}

/* =========================================
   HERO SLIDER STYLES
   ========================================= */
.hero-slider {
    position: relative;
    height: 600px;
    min-height: 80vh;
    overflow: hidden;
    background: #f4f4f4;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Variations */
.slide-bg-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d65a10 100%);
}

.slide-bg-brand-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.slide-bg-light {
    background-color: #f9f9f9;
}

/* Slide Content */
.slide-content {
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.slide-text {
    color: white;
}

.slide-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.slide-text h2 {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 550px;
}

/* Light theme text adjustments */
.slide-bg-light .slide-text {
    color: var(--color-text);
}

.slide-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-img img {
    max-width: 100%;
    max-height: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-bg-light .slider-dot {
    background: rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-bg-light .slider-dot.active {
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 4rem;
    }

    .slide-img {
        display: none;
        /* Hide image on mobile for cleaner hero */
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text h2 {
        margin: 0 auto 2rem auto;
    }

    .hero-slider {
        height: auto;
        min-height: 600px;
    }
}

/* Pattern Overlay Animation */
@keyframes moveBgReagents {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 400px 400px;
    }
}

.pattern-overlay-negative {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern_outline.png');
    background-size: 400px;
    opacity: 0.1;
    padding: 2rem !important;
}

.testimonial-slide p {
    font-size: 1.1rem !important;
}
}

/* =========================================
   HERO SLIDER STYLES
   ========================================= */
.hero-slider {
    position: relative;
    height: 600px;
    min-height: 80vh;
    overflow: hidden;
    background: #f4f4f4;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Variations */
.slide-bg-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #d65a10 100%);
}

.slide-bg-brand-dark {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.slide-bg-light {
    background-color: #f9f9f9;
}

/* Slide Content */
.slide-content {
    max-width: 1200px;
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 3;
}

.slide-text {
    color: white;
}

.slide-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.slide-text h2 {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 550px;
}

/* Light theme text adjustments */
.slide-bg-light .slide-text {
    color: var(--color-text);
}

.slide-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide-img img {
    max-width: 100%;
    max-height: 450px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-bg-light .slider-dot {
    background: rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slide-bg-light .slider-dot.active {
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 4rem;
    }

    .slide-img {
        display: none;
        /* Hide image on mobile for cleaner hero */
    }

    .slide-text h1 {
        font-size: 2.5rem;
    }

    .slide-text h2 {
        margin: 0 auto 2rem auto;
    }

    .hero-slider {
        height: auto;
        min-height: 600px;
    }
}

/* Pattern Overlay Animation */
@keyframes moveBgReagents {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 400px 400px;
    }
}

.pattern-overlay-negative {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/pattern_outline.png');
    background-size: 400px;
    opacity: 0.1;
    filter: invert(1);
    animation: moveBgReagents 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* Dropdown Menu Styles */
.dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 10px);
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1100;
    border: 1px solid #f0f0f0;
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* Specific Dropdown Link Styles */
.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: none;
    /* Override nav uppercase */
    white-space: nowrap;
    text-align: left;
    transition: all 0.2s;
    font-family: var(--font-primary);
    /* Ensure consistent font */
    border-bottom: 1px solid transparent;
    /* Prevent layout shift on hover if border changes */
}

/* Remove any conflicting nav styles for dropdown links */
.nav-links .dropdown-menu a {
    color: #555;
    font-weight: 500;
    font-size: 0.85rem;
}

.dropdown-menu a:hover {
    background: #fff8f0;
    color: var(--color-primary);
    padding-left: 1.8rem;
    /* Subtle slide effect */
}

.dropdown-header {
    padding: 0.8rem 1.5rem 0.4rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.dropdown-header:first-child {
    margin-top: 0;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0.5rem 0;
}

/* Caret rotation on hover */
.dropdown-container:hover .ph-caret-down {
    transform: rotate(180deg);
    transition: transform 0.2s;
}