/* Global Styles */
:root {
    --primary-color: #0f172a;
    /* Deep Navy/Black - Premium Corporate */
    --secondary-color: #10b981;
    /* Emerald Green - Agriculture/Growth */
    --accent-color: #f59e0b;
    /* Amber/Gold - Industry/Harvest */
    --text-color: #334155;
    /* Slate Gray for text */
    --light-bg: #f1f5f9;
    --dark-bg: #1e293b;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    background-color: #fff;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Premium Header */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 85px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

@media (max-width: 400px) {
    .brand-text {
        font-size: 1.1rem;
        margin-left: 0.5rem !important;
    }
}

.nav-link {
    font-weight: 600;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0 15px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #059669);
    border: none;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, var(--secondary-color));
}

.btn-outline-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sections & Cards */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-up:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

/* Footer Premium */
footer {
    background-color: var(--primary-color);
    color: #94a3b8;
    padding: 80px 0 30px;
}

footer h4 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Mobile Nav Fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* =========================================
   HERO SECTION - THE GATEWAY (REVISED)
   ========================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    /* Full viewport height */
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    overflow: hidden;
}

/* Dark Gradient Overlay for Maximum Reference Contrast */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(30, 41, 59, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Hero Typography */
.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    /* Massive text */
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 25px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #e2e8f0;
    /* Light gray */
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

/* Interactive Glass Cards */
.hero-card {
    background: rgba(255, 255, 255, 0.08);
    /* More visible background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--secondary-color);
    /* Highlight strip */
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-15px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-card h3 {
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.hero-card p {
    color: #cbd5e1;
    /* Lighter text for readability */
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.6;
}

/* Animated Background Icon for Cards */
.hero-card .icon {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
    z-index: 0;
}

.hero-card:hover .icon {
    color: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) rotate(0deg) scale(1.2);
    right: 20px;
}

/* Arrow Link inside Card */
.hero-card .arrow-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.hero-card .arrow-link i {
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.hero-card:hover .arrow-link i {
    margin-left: 15px;
}

/* Responsive Tweaks */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 60px;
        /* More top padding for mobile */
        min-height: auto;
    }

    .hero-card {
        margin-bottom: 15px;
    }
}

/* Mobile Specific Optimizations (Phones) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        /* Significantly smaller */
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
        padding-left: 15px;
        border-width: 3px;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    /* Fix Buttons Stacking and Size */
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }

    .hero-content .btn {
        width: 100%;
        /* Full width buttons */
        padding: 10px 20px;
        /* Reduced padding */
        font-size: 0.95rem;
    }
}

/* =========================================
   SECTION: UNIQUE ABOUT (Glass Overlay)
   ========================================= */
.about-section {
    position: relative;
    padding: 140px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.glass-panel-box {
    background: rgba(255, 255, 255, 0.03);
    /* Upper-class dark glass */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    color: white;
    position: relative;
    overflow: hidden;
}

.glass-panel-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    transform: rotate(30deg);
}

.about-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: block;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-panel-box h2 {
    color: white;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.glass-panel-box .lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #e2e8f0;
}

.glass-panel-box strong {
    color: white;
    font-weight: 600;
}

/* Stats Styling */
.glass-panel-box .display-5 {
    font-size: 3rem;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.glass-panel-box .col-6 {
    transition: transform 0.3s ease;
    padding: 20px;
    border-radius: 12px;
}

.glass-panel-box .col-6:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

/* =========================================
   SECTION: OUR COMPANIES (New Request)
   ========================================= */
.companies-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.companies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: 0;
}

.company-card-lg {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.company-card-lg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), #059669);
    /* Default to green/fertilizer */
    transition: height 0.3s ease;
}

/* Specific border for Industries card */
/* Specific border for Industries card - NOW NAVY BLUE */
.col-lg-6:last-child .company-card-lg::after {
    background: linear-gradient(90deg, var(--primary-color), #1e293b);
}

/* Custom Navy Blue Utilities */
.text-navy {
    color: var(--primary-color) !important;
}

.btn-outline-navy {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.border-navy {
    border-color: var(--primary-color) !important;
}

.bg-navy {
    background-color: var(--primary-color) !important;
}

.btn-outline-navy:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.2);
}

.company-card-lg:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.company-card-lg:hover::after {
    height: 8px;
}

.company-card-content {
    padding: 50px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.company-card-content img {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;
}

.company-card-lg:hover .company-card-content img {
    transform: scale(1.05);
}

.company-card-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.company-card-content p {
    font-size: 1.05rem;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.7;
}

.company-card-features {
    width: 100%;
    margin-bottom: 35px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    margin-right: 12px;
    font-size: 1.1rem;
}

/* =========================================
   SECTION: STRENGTHS (Dark Glow)
   ========================================= */
.strengths-section {
    background-color: #0f172a;
    /* Deep Navy */
    padding: 120px 0;
    position: relative;
    color: white;
    /* Ensure text is white */
}

.strength-card {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.strength-card:hover {
    transform: translateY(-15px);
    border-color: var(--secondary-color);
}

.strength-card:hover::before {
    opacity: 0.1;
    /* Subtle glow bg */
}

.strength-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    background: -webkit-linear-gradient(45deg, var(--secondary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strength-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.strength-text {
    color: #94a3b8;
    line-height: 1.7;
}

/* =========================================
   SECTION: CALL TO ACTION
   ========================================= */
/* =========================================
   SECTION: CALL TO ACTION
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, #064e3b, #065f46);
    /* Deep Emerald */
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    background-size: 100% 100%;
    z-index: 0;
}

.cta-section h2 {
    color: white;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.cta-section .btn {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    border: none;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .navbar {
        padding: 5px 0 !important;
        /* Slimmer padding */
    }

    .navbar-brand img {
        height: 65px !important;
        /* Larger mobile logo */
    }

    .glass-panel-box {
        padding: 30px;
        margin: 0 15px;
        /* Add margin so it doesn't touch edges */
    }

    .about-section {
        padding: 80px 0;
        min-height: auto;
        /* Fix for huge height on mobile */
        height: auto;
    }

    .about-overlay-dark {
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    }
}

/* =========================================
   SECTION: VIDEO SHOWCASE
   ========================================= */
.video-showcase-section {
    padding: 80px 0;
    background-color: #f1f5f9;
    /* Light contrast */
}

.video-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border: 8px solid white;
    transform: translateZ(0);
    /* Fix for Safari radius */
    background: #000;
    /* Fallback background */
    min-height: 400px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    /* Ensure visibility */
}

/* =========================================
   PAGE: CONTACT US (Industrial Theme)
   ========================================= */
.industrial-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8)), url('../images/operational/operational5.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 45vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
}

.section-header-industrial {
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

.form-control-industrial {
    border: 1px solid #cbd5e1;
    border-radius: 0 !important;
    /* SHARP CORNERS */
    padding: 15px;
    background-color: #f8fafc;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control-industrial:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: none;
    /* NO GLOW */
    border-left: 4px solid var(--primary-color);
}

.btn-industrial {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 0 !important;
    /* SHARP */
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    transition: all 0.3s ease;
}

.btn-industrial:hover {
    background-color: var(--accent-color);
    color: #000;
    transform: translateY(-2px);
}

.contact-card-industrial {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    height: 100%;
    transition: border-color 0.3s ease;
}

.contact-card-industrial:hover {
    border-color: var(--accent-color);
}

.map-filter {
    filter: grayscale(100%) contrast(1.2);
    /* INDUSTRIAL LOOK */
}

.video-overlay-text {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    max-width: 400px;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .video-wrapper video {
        min-height: 300px;
    }

    .video-overlay-text {
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

/* Mobile Menu Visibility Fix */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    background-color: transparent;
    z-index: 1060;
    /* Higher than offcanvas backdrop */
    display: block;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Force the icon to be visible (Dark/Black) */
.navbar-toggler i {
    color: #000000 !important;
    font-size: 1.5rem;
}

/* Hide on desktop */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }
}

/* =========================================
   MRI PRODUCTS SECTION (Premium Grid)
   ========================================= */
.mri-product-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    group: hover;
}

.mri-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.08);
}

.mri-product-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
    /* Fallback color */
}

.mri-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mri-product-card:hover .mri-product-img {
    transform: scale(1.08);
    /* Subtle zoom */
}

/* Overlay on Image */
.mri-product-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.mri-product-card:hover .mri-product-img-wrapper::after {
    opacity: 0.8;
}

.mri-product-body {
    padding: 25px;
    position: relative;
}

.mri-product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.mri-product-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
}

.mri-feature-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    /* Amber-600 */
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   OFFCANVAS MOBILE MENU (Premium Animation)
   ========================================= */
.offcanvas {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1070;
    /* Higher than navbar-toggler (1060) */
}

.offcanvas-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 25px;
}

.offcanvas-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
}

.offcanvas-body {
    padding: 25px;
}

/* Nav Item Animation in Offcanvas */
.offcanvas .nav-item {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInFade 0.5s ease forwards;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.offcanvas .nav-link {
    font-size: 1.1rem;
    color: #334155 !important;
    padding: 10px 0;
}

.offcanvas .nav-link:hover {
    color: var(--secondary-color) !important;
    padding-left: 10px;
}

/* Stagger Animations */
.offcanvas .nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

.offcanvas .nav-item:nth-child(2) {
    animation-delay: 0.2s;
}

.offcanvas .nav-item:nth-child(3) {
    animation-delay: 0.3s;
}

.offcanvas .nav-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideInFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
   PRELOADER STYLES
   ========================================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.logo-container {
    margin-bottom: 30px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.preloader-logo {
    width: 200px;
    height: auto;
}

.loading-bar-container {
    width: 200px;
    height: 4px;
    background-color: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.loading-bar {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: -50%;
    animation: loadBar 1.5s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

@keyframes loadBar {
    0% {
        left: -50%;
        width: 30%;
    }

    50% {
        width: 80%;
    }

    100% {
        left: 100%;
        width: 30%;
    }
}

@keyframes pulseLogo {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}