/* 
 * Elite Agri Feed Supply - Premium UI Theme
 * Aesthetic: Modern, Natural, Glassmorphic, High-End
 * Colors: Deep Forest Green, Vibrant Leaf Green, Golden Harvest, Deep Moss, White
 */

:root {
    /* Primary Palette */
    --color-primary: #1B4314;
    /* Deep Forest Green */
    --color-secondary: #49801C;
    /* Vibrant Leaf Green */
    --color-accent: #D49511;
    /* Golden Harvest */
    --color-tertiary: #2D5225;
    /* Deep Moss */
    --color-chocolate: #D2691E;
    /* Rich Chocolate */

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-bg-light: #F6F9F6;
    /* Very subtle green tint */
    --color-text-dark: #1A1A1A;
    --color-text-muted: #444444;
    /* Darkened for better contrast */
    --color-border: rgba(27, 67, 20, 0.1);

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-dark: rgba(27, 67, 20, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(12px);
    --glass-shadow: 0 8px 32px 0 rgba(27, 67, 20, 0.15);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(27, 67, 20, 0.08);
    /* Miniaturized shadow */
    --shadow-lg: 0 10px 25px rgba(27, 67, 20, 0.15);
    /* Miniaturized shadow */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    font-family: var(--font-body);
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    transition: opacity 0.5s ease;
}

/* Hide content during synchronized loading */
html.is-loading body {
    opacity: 0;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 1.8rem;
    /* Further reduced from 2.2rem */
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    /* Wider container for modern look */
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 40px 0;
    /* Reduced from 60px */
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.display-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none !important;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Grid Systems */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    padding: 0 15px;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 0 15px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Forced 3 columns for desktop */
    gap: 30px;
}

@media (max-width: 991px) {
    .grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Colors & Text Utilities */
.text-accent {
    color: var(--color-accent) !important;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-white {
    color: var(--color-white) !important;
}

.text-muted {
    color: var(--color-text-muted) !important;
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.bg-primary {
    background-color: var(--color-primary);
}

.bg-light {
    background-color: #F8FAF8;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-dark {
    background-color: #0F240B;
    color: #fff;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.footer-glass h1,
.footer-glass h2,
.footer-glass h3,
.footer-glass h4,
.footer-glass h5,
.footer-glass h6 {
    color: #fff !important;
}

.bg-dark p,
.bg-primary p,
.footer-glass p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.spacing-lg {
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
}

.lead-text {
    font-size: 1.05rem;
    /* Reduced from 1.15rem */
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    /* Reduced from 1.25rem */
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.body-text {
    font-size: 0.95rem;
    /* Reduced from 1.1rem */
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    line-height: 1.6;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
}

.small {
    font-size: 0.85rem;
}

.fw-bold {
    font-weight: 700;
}

.display-3 {
    font-size: 3rem;
    line-height: 1.1;
}

.highlight-green {
    position: relative;
    display: inline-block;
}

.highlight-green::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(73, 128, 28, 0.2);
    z-index: -1;
}

/* Glassmorphism & Cards */
.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(27, 67, 20, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Increased spacing between logo and text */
}

.logo-img {
    height: 66px;
    /* Increased size */
    width: auto;
    object-fit: contain;
}

.logo-text-img {
    height: 55px;
    /* Increased size */
    width: auto;
    object-fit: contain;
}

.hero-glass-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-card-dark {
    background: rgba(20, 40, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

/* Professional FAQ Interaction */
.faq-item-premium {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
    /* Removes blue highlight on mobile */
    outline: none !important;
}

.faq-item-premium:active {
    transform: scale(0.98);
    /* Smooth press animation */
    background: rgba(27, 67, 20, 0.03);
}

.faq-answer {
    animation: slideDown 0.4s ease-out;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info Word Break Fix */
.dynamic-email,
.dynamic-location {
    display: block;
    word-break: break-all;
    /* Prevents crossing the div boundary */
    overflow-wrap: break-word;
    /* Modern browser support */
    line-height: 1.4;
}

.service-glass-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    height: 100%;
    /* Ensure equal height */
    display: flex;
    flex-direction: column;
}

.service-glass-card h3 {
    font-size: 1.15rem;
    /* Slightly reduced */
    margin-bottom: 0;
    font-weight: 700;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-glass-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(27, 67, 20, 0.08);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.mission-visual-container {
    position: relative;
    padding: 0;
    background: #FFFFFF;
    /* Match marketing image precisely */
}

.mission-image-wrapper {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mission-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    /* Helps blend whitespace if slightly off */
}



@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 60vh;
    /* Reduced height */
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Changed from -1 to 0 for better stacking context */
    overflow: hidden;
}

.hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Start hidden */
    transition: opacity 1s ease-in;
    /* Smooth fade-in once playing */
    transform: scale(1.15);
    /* Zoom in to crop edges */
    transform-origin: top center;
    /* Focus on the top/middle, pushing the bottom (with logo) out */
}

/* Ensure video is visible when playing */
.hero-bg-video video[data-loaded="true"],
.hero-bg-video video {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 36, 11, 0.6), rgba(15, 36, 11, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
    /* Increased space from nav */
    margin-top: 0;
    display: flex;
    justify-content: center;
    /* Center the container */
    text-align: center;
    /* Center the text */
}

.hero-content-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.hero-desc {
    font-size: 1rem;
    /* Miniaturized */
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 149, 17, 0.2);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.scroll-indicator {
    display: none;
    /* Removed to save space as requested */
}

/* Horizontal Scroll */
.horizontal-scroll-container {
    display: block;
    width: 100%;
    overflow-x: auto;
    /* Enable manual swipe */
    padding: 20px 0;
    position: relative;
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Auto-scroll track (JS-controlled for touch support) */
.auto-scroll {
    display: flex;
    width: max-content;
    will-change: transform;
}

.product-scroll-card {
    width: 240px;
    /* Reduced width */
    min-width: 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    position: relative;
    margin-right: 25px;
    /* Added gap for smooth auto-scroll track */
}

.product-scroll-card:hover {
    transform: translateY(-5px);
}

.product-scroll-card .img-wrapper {
    height: 160px;
    /* Reduced height */
    width: 100%;
}

.product-scroll-card .content {
    padding: 15px;
}

.product-scroll-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-primary);
}

.product-scroll-card p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.product-scroll-card .badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(27, 67, 20, 0.85);
    /* Deep green transparent instead of white */
    color: #fff;
    /* White text for contrast */
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Elements */
.icon-box {
    width: 48px;
    /* Reduced from 60px */
    height: 48px;
    background: rgba(210, 105, 30, 0.08);
    /* Subtle chocolate tint */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-chocolate);
    /* All icons now Chocolate */
    flex-shrink: 0;
}

.service-card-header .icon-box {
    margin-bottom: 0;
}

.icon-box-accent {
    background: rgba(212, 149, 17, 0.1);
    color: var(--color-accent);
}

.custom-list {
    list-style: none;
}

.custom-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.service-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    margin-top: 15px;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
    display: list-item;
    /* Reset from potential global flex defaults */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-top: 5px;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(73, 128, 28, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    width: 600px;
    height: 600px;
    z-index: -1;
    pointer-events: none;
}

.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(27, 67, 20, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.tag-pill {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2D5225 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(27, 67, 20, 0.25), 0 0 15px rgba(73, 128, 28, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #49801C 0%, var(--color-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(27, 67, 20, 0.3), 0 0 20px rgba(73, 128, 28, 0.4);
}

.btn-accent {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 10px 20px rgba(212, 149, 17, 0.2);
}

.btn-accent:hover {
    background-color: #e5a415;
    transform: translateY(-3px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-glass:hover {
    background: #fff;
    color: var(--color-primary);
}

.btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

.border-white {
    border-color: #fff !important;
    color: #fff !important;
}

.border-white:hover {
    background: #fff !important;
    color: var(--color-primary) !important;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--color-chocolate);
    /* Initially Chocolate */
    margin-top: auto;
    /* Push to bottom of card */
    padding-top: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.link-arrow:hover {
    gap: 12px;
    color: var(--color-primary);
    /* Turns Dark Green on hover */
}

.link-arrow i {
    font-size: 0.8rem;
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(73, 128, 28, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(73, 128, 28, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(73, 128, 28, 0);
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer-glass {
    background: #0b1c08;
    color: #fff;
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Nav Link Hover */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn,
.close-sidebar {
    display: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.flex-reverse {
    /* Base style for mobile: natural source order (Text then Image) */
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .flex-reverse {
        display: grid;
        /* Restore grid for desktop */
        grid-template-columns: 1fr 1fr;
    }

    .flex-reverse>div:first-child {
        order: 2;
        /* Text moves to right */
    }

    .flex-reverse>div:last-child {
        order: 1;
        /* Image moves to left */
    }
}

/* Responsive */
@media (max-width: 992px) {

    .grid-2,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-glass-card {
        margin: 0 20px;
    }

    .col-lg-6,
    .col-lg-5,
    .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        /* Base spacing for sections */
    }

    /* Professional spacing and border refinements for mobile service images */
    .glass-card {
        padding: 5px !important;
        /* Thinner internal padding */
        border: 1px solid rgba(27, 67, 20, 0.1) !important;
        /* Thin, elegant border */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
        /* Softer shadow */
        margin-bottom: 30px !important;
        /* Added professional bottom padding */
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-section {
        height: 50vh;
        /* Reduced from 60vh to show cards below */
        min-height: 400px;
        /* Ensure content still fits */
    }

    .floating-card {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 20px;
        animation: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .glass-nav {
        height: 60px;
        /* Reduced navigation height */
        padding: 0 15px;
        /* Compact padding */
    }

    .hero-content {
        padding-top: 40px !important;
        /* Reduced from 80px */
    }

    .hero-title {
        font-size: 1.5rem !important;
        /* Smaller title for mobile */
    }

    .hero-desc {
        font-size: 0.85rem !important;
        margin-bottom: 1.5rem !important;
    }

    .logo-img {
        height: 48px;
        /* Increased from 40px */
    }

    .logo-text-img {
        height: 40px;
        /* Increased from 32px */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        /* Slightly wider drawer for better space usage */
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px;
        /* Adjusted internal padding */
        transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link.active {
        background-color: var(--color-primary);
        color: #fff !important;
        padding: 10px 20px;
        border-radius: 8px;
        width: 100%;
        display: block;
    }

    .nav-link.active::after {
        display: none;
        /* Hide the underline animation on mobile active link */
    }

    .close-sidebar {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 1.8rem;
        background: rgba(27, 67, 20, 0.1);
        border: none;
        color: var(--color-primary);
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1001;
    }

    .close-sidebar:hover {
        background: var(--color-primary);
        color: #fff;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--color-primary);
        position: absolute;
        right: 20px;
    }

    /* Global Utilities */
    /* Global Utilities - Mobile Typography */
    .section-title-small {
        font-size: 1.1rem;
        /* Reduced from 1.4rem */
        color: var(--color-primary);
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .section-title {
        font-size: 1.5rem;
        /* Reduced for mobile */
    }

    p.lead-text {
        font-size: 0.95rem;
        /* Reduced lead text size */
    }

    p.body-text,
    p {
        font-size: 0.9rem;
        /* Standard mobile reading size */
        line-height: 1.6;
    }

    /* Section Spacing Reductions */
    .section-padding {
        padding: 25px 0;
        /* Even tighter for mobile efficiency */
    }

    .impact-mini {
        padding: 15px 0 !important;
        /* Minimal padding to stay above fold */
    }

    .container {
        padding: 0 15px;
        /* Standard mobile gutter */
    }

    section.relative {
        overflow: hidden;
    }

    section.bg-light+section.bg-white {
        padding-top: 20px;
    }

    section.bg-white+section.bg-light {
        padding-top: 20px;
    }

    h1 {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.8rem;
        /* Significantly reduced from 2.8rem */
        line-height: 1.2;
    }

    .hero-section {
        height: 30vh;
        /* Reduced a bit more to ensure cards appear even higher */
        min-height: 330px;
        /* Slimmer for mobile efficiency */
    }

    /* Card & Grid Adjustments */
    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 15px;
        /* Slightly tighter gaps */
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        /* Forces 2x2 layout on mobile */
        gap: 10px;
    }

    .stats-grid .stat-item {
        padding: 15px 10px;
        /* More compact stats cards */
    }

    /* Spacing between stats and mission - Seamless White */
    .impact-mini {
        margin-bottom: 0;
        /* Removed margin to prevent body grey line */
        padding-bottom: 20px;
        /* Increased padding for a better gap */
        border-bottom: none;
        /* Make transition invisible */
    }

    /* Professional Top Padding for Mission */
    section.section-padding.bg-white.relative.pt-0 {
        padding-top: 30px !important;
    }

    /* Mission Image - Mobile Edge-to-Edge & Big */
    .mission-visual-container {
        margin: 0 -15px;
        /* Removed unwanted top/bottom margins */
        width: calc(100% + 30px);
        background: #fff;
    }

    .mission-image-wrapper {
        padding: 0;
        /* Removed internal padding for compactness */
        background: #fff;
    }

    .mission-image {
        border-radius: 0;
        width: 100%;
        height: auto;
        max-height: none;
        /* Make it big and visible */
        object-fit: contain;
        /* Don't cut the top/bottom of the real image */
        display: block;
        padding: 0;
        /* Zeroed out for absolute compactness */
    }

    .service-glass-card,
    .premium-card,
    .product-scroll-card {
        margin-bottom: 15px;
        /* Tighter card margins */
    }

    .horizontal-scroll-container {
        width: 100vw;
        margin-left: -20px;
        padding: 0;
        overflow-x: auto;
    }

    .auto-scroll {
        display: flex;
        gap: 0;
        padding: 10px 0;
    }

    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    .blob {
        display: none;
        /* Hide blobs on mobile to be safe and save performance */
    }
}

/* Animations Logic */
.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Compact Impact Section */
.impact-mini {
    padding: 30px 0;
    background: #fff;
    border-bottom: 2px solid var(--color-border);
    text-align: center;
}

.impact-mini .stat-item {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Professional subtle shadow */
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.impact-mini .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.1);
    /* Chocolate tinted shadow on hover */
}

.impact-mini .stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-chocolate);
    /* All numbers are now Chocolate */
    margin-bottom: 4px;
    display: block;
}

.impact-mini p {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Over-the-Top Spacing Utility */
.pt-0 {
    padding-top: 0 !important;
}

/* Contact Page Specific Styles */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(27, 67, 20, 0.1);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 67, 20, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #aaa;
}

/* Why Choose Us Components */
.benefit-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.icon-box-small {
    width: 40px;
    height: 40px;
    background: rgba(210, 105, 30, 0.1);
    color: var(--color-chocolate);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.benefit-content h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.benefit-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.image-with-badge {
    position: relative;
    padding-right: 30px;
    padding-bottom: 30px;
    margin-top: 95px;
    /* Restored for desktop alignment */
}

.rounded-15 {
    border-radius: 15px;
}

.floating-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 140px;
    border: 1px solid var(--color-border);
}

.floating-badge .stat-val {
    color: var(--color-accent);
    font-size: 1.8rem;
}

.floating-badge .stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .image-with-badge {
        margin-bottom: 30px;
        /* Reduced margin for mobile */
        padding-right: 0;
        margin-top: 0;
        /* Remove the large desktop gap on mobile */
    }
}

/* WhatsApp Floating Bubble */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Professional CTA Group */
.cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Professional Toast Notification System */
#toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: #fff;
    color: var(--color-primary);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 450px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    border-left: 5px solid var(--color-primary);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast i {
    font-size: 1.2rem;
}

.toast-success i {
    color: #10b981;
}

.toast-error i {
    color: #ef4444;
}

.toast-content {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 36, 11, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(210, 105, 30, 0.1);
    color: var(--color-chocolate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- Premium Product Cards --- */
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid-4 {
        grid-template-columns: 1fr;
    }
}

.premium-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(27, 67, 20, 0.15);
}

.card-image-box {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.55rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
    line-height: 1.1;
}

.card-content p {
    font-size: 0.75rem;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.feature-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--color-text-dark);
    margin-bottom: 3px;
    line-height: 1.2;
}

.feature-item i {
    color: #28a745;
    font-size: 0.65rem;
    margin-top: 1px;
}

.card-price-box {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.card-price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.price-label {
    font-size: 0.6rem;
    color: var(--color-text-muted);
    font-weight: 400;
    display: block;
    margin-bottom: 2px;
}

.btn.btn-primary.compact {
    padding: 6px !important;
    font-size: 0.7rem !important;
    width: 100%;
}