/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Agricultural Theme Colors */
    --primary-color: #2d5a27;
    --secondary-color: #8bc34a;
    --accent-color: #ff9800;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-green: #e8f5e8;
    --medium-green: #4caf50;
    --dark-green: #1b5e20;
    --brown: #8d6e63;
    --gold: #ffc107;
    --body-bg: #ffffff;
    --surface-bg: #ffffff;
    --surface-muted: #f8fcf8;
    --surface-soft: #e8f5e8;
    --border-soft: #e2eee2;
    --header-bg: #ffffff;
    --header-bg-scrolled: rgba(255, 255, 255, 0.95);
    
    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --font-size-small: 0.875rem;
    --font-size-base: 1rem;
    --font-size-large: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --primary-color: #8bcf68;
    --secondary-color: #c9a227;
    --accent-color: #e7b84a;
    --text-dark: #eef5ec;
    --text-light: #c3cec0;
    --light-green: #14271d;
    --medium-green: #74b85a;
    --dark-green: #0b160f;
    --brown: #c7ab90;
    --gold: #e4bd45;
    --body-bg: #0b1410;
    --surface-bg: #111d17;
    --surface-muted: #16251d;
    --surface-soft: #122119;
    --border-soft: #2b3d31;
    --header-bg: #0f1914;
    --header-bg-scrolled: rgba(15, 25, 20, 0.95);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 18px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.42);
}

/* Respect device safe areas */
body {
    background: var(--body-bg);
    color: var(--text-dark);
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Improve video fit for extreme aspect ratios */
.hero-video-bg {
    object-fit: cover;
    object-position: center center;
}

@media (max-aspect-ratio: 4/5) {
    .hero-video-bg { object-position: center top; }
}

@media (min-aspect-ratio: 21/9) {
    .hero-video-bg { object-position: center center; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .hero-video-bg {
        animation: none !important;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-base);
}

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

.btn-primary:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--medium-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-sm) 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.logo-text {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--light-green);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--surface-muted);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:focus-visible {
    outline: 3px solid rgba(139, 195, 74, 0.35);
    outline-offset: 3px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

html[data-theme="dark"] .header {
    border-bottom: 1px solid var(--border-soft);
}

html[data-theme="dark"] .nav-link {
    color: var(--text-dark);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
    color: var(--secondary-color);
    background-color: rgba(201, 162, 39, 0.13);
}

html[data-theme="dark"] .logo-text,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6 {
    color: var(--text-dark);
}

html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] .section-title p,
html[data-theme="dark"] .page-header p,
html[data-theme="dark"] .product-info p,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .contact-card p,
html[data-theme="dark"] .info-item .label,
html[data-theme="dark"] .timeline-content p,
html[data-theme="dark"] .timeline-content .location,
html[data-theme="dark"] .terms-section p {
    color: var(--text-light);
}

html[data-theme="dark"] .features,
html[data-theme="dark"] .products-preview,
html[data-theme="dark"] .products-categories,
html[data-theme="dark"] .services-overview,
html[data-theme="dark"] .contact-info-section,
html[data-theme="dark"] .tracking-form-section,
html[data-theme="dark"] .about-intro,
html[data-theme="dark"] .terms-content {
    background: var(--body-bg);
}

html[data-theme="dark"] .page-header,
html[data-theme="dark"] .quality-assurance,
html[data-theme="dark"] .process-flow,
html[data-theme="dark"] .contact-form-section,
html[data-theme="dark"] .tracking-result-section,
html[data-theme="dark"] .mission-vision,
html[data-theme="dark"] .about-pillars,
html[data-theme="dark"] .certifications-section,
html[data-theme="dark"] .tracking-features {
    background: var(--surface-soft);
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .product-item,
html[data-theme="dark"] .quality-item,
html[data-theme="dark"] .process-step,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .contact-card,
html[data-theme="dark"] .contact-form-container,
html[data-theme="dark"] .tracking-form-container,
html[data-theme="dark"] .tracking-result-container,
html[data-theme="dark"] .info-item,
html[data-theme="dark"] .timeline-content,
html[data-theme="dark"] .about-intro-wrap,
html[data-theme="dark"] .about-pillar,
html[data-theme="dark"] .mission-card,
html[data-theme="dark"] .vision-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .cert-card,
html[data-theme="dark"] .terms-section,
html[data-theme="dark"] .terms-popup-content {
    background: var(--surface-bg);
    border-color: var(--border-soft);
    box-shadow: var(--shadow-md);
}

html[data-theme="dark"] .product-specs,
html[data-theme="dark"] .service-features,
html[data-theme="dark"] .cert-logo-wrap,
html[data-theme="dark"] .terms-popup-header,
html[data-theme="dark"] .terms-popup-footer {
    background: var(--surface-muted);
    border-color: var(--border-soft);
}

html[data-theme="dark"] .product-specs li,
html[data-theme="dark"] .service-features li,
html[data-theme="dark"] .terms-section li,
html[data-theme="dark"] .contact-info-link,
html[data-theme="dark"] .contact-info p,
html[data-theme="dark"] .contact-card a {
    color: var(--text-dark);
    border-color: var(--border-soft);
}

html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea,
html[data-theme="dark"] .tracking-form-container input,
html[data-theme="dark"] .tracking-form-container select,
html[data-theme="dark"] .tracking-form-container textarea {
    background: #0d1712;
    border-color: var(--border-soft);
    color: var(--text-dark);
}

html[data-theme="dark"] .form-group input::placeholder,
html[data-theme="dark"] .form-group textarea::placeholder {
    color: #88968a;
}

html[data-theme="dark"] .footer {
    background: #07100c;
}

html[data-theme="dark"] .about-intro-wrap {
    background: linear-gradient(180deg, #111d17 0%, #17251d 100%);
}

html[data-theme="dark"] .about-intro h2 {
    color: var(--primary-color);
}

html[data-theme="dark"] .about-intro h3 {
    color: var(--secondary-color);
}

html[data-theme="dark"] .about-intro p {
    color: #d9e3d5;
}

html[data-theme="dark"] .highlight-item {
    background: var(--surface-muted);
    border-color: var(--border-soft);
    color: var(--text-dark);
}

html[data-theme="dark"] .process-step h3 {
    color: var(--text-dark);
}

html[data-theme="dark"] .process-step p {
    color: #d9e3d5;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-tagline {
    font-size: var(--font-size-xl);
    color: #007bff;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: var(--font-size-large);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-large);
    font-weight: 600;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-2xl);
    font-size: var(--font-size-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* Mobile Responsive Hero Video */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: var(--font-size-xl);
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-large);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: var(--font-size-large);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
}

/* Products Preview */
.products-preview {
    padding: var(--spacing-2xl) 0;
    background-color: var(--light-green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: var(--spacing-md);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.product-card p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    margin-bottom: 0;
}

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

/* Stats Section */
.stats {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.stats p {
    color: var(--white);
    font-size: var(--font-size-large);
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo h3 {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.footer-brand-copy {
    margin-top: var(--spacing-sm);
    max-width: 340px;
}

.footer-tagline {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-tagline::after {
    content: "";
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 8px;
    background: var(--secondary-color);
}

.footer-description {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-info {
    display: grid;
    gap: 10px;
    max-width: 380px;
}

.contact-info-link,
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    color: var(--white);
    text-decoration: none;
    line-height: 1.5;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.contact-info span {
    display: inline-block;
    max-width: 310px;
}

.contact-info-link:hover {
    background: rgba(139, 195, 74, 0.12);
    color: var(--secondary-color);
    transform: translateX(3px);
}

.contact-info-link i,
.contact-info p i {
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 1px;
    padding-top: 0;
    height: 34px;
    border-radius: 50%;
    background: rgba(139, 195, 74, 0.12);
    color: var(--secondary-color);
    width: 34px;
    font-size: 0.95rem;
}

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

.contact-info a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #34495e;
}

/* Floating Contact Menu */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.floating-contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: var(--transition);
}

.floating-contact:hover .floating-contact-options,
.floating-contact:focus-within .floating-contact-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-contact-toggle,
.floating-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    border-radius: 50%;
    border: 0;
    text-decoration: none;
    font-size: 1.45rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.floating-contact-toggle {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
    cursor: pointer;
    font-size: 1.35rem;
}

.floating-contact-link.whatsapp {
    background-color: #25d366;
}

.floating-contact-link.gmail {
    background-color: #d93025;
}

.floating-contact-link.linkedin {
    background-color: #0a66c2;
}

.floating-contact-toggle:hover,
.floating-contact-link:hover {
    transform: translateY(-3px) scale(1.05);
}

.floating-contact-link.whatsapp:hover {
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.floating-contact-link.gmail:hover {
    box-shadow: 0 10px 20px rgba(217, 48, 37, 0.28);
}

.floating-contact-link.linkedin:hover {
    box-shadow: 0 10px 20px rgba(10, 102, 194, 0.28);
}

/* Page Header */
.page-header {
    padding: 120px 0 var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--dark-green));
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.page-header h2 {
    max-width: 820px;
    margin: 0 auto var(--spacing-md);
    color: #e8f5e8;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.35;
}

.page-header p {
    font-size: var(--font-size-large);
    color: var(--light-green);
    margin-bottom: 0;
}

.page-tagline {
    font-size: var(--font-size-xl);
    color: #007bff;
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Page Styles */
.products-categories {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf7 40%, #eef6ee 100%);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid #d9ead9;
    background: #ffffff;
    color: var(--primary-color);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--medium-green));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(45, 90, 39, 0.25);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.product-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid #e7f1e7;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transform: scale(1.0);
    transition: transform .4s ease;
}

.product-item:hover .product-image {
    transform: scale(1.04);
}

.product-info {
    padding: calc(var(--spacing-lg) + 4px);
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.3;
}

.product-info p {
    color: #5e6f61;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.product-specs {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.spec {
    background: #ecf6ec;
    color: var(--primary-color);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #d9ead9;
}

/* Premium CTA button inside product card */
.product-item .btn.btn-primary {
    width: 100%;
    margin-top: var(--spacing-sm);
    background: linear-gradient(135deg, #95c978 0%, #77a85f 100%);
    border: 0;
    box-shadow: 0 10px 22px rgba(87, 130, 69, 0.24);
}

.product-item .btn.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #a3d284 0%, #82b867 100%);
    box-shadow: 0 12px 26px rgba(87, 130, 69, 0.3);
}

/* Subtle divider spacing on the page */
.products-categories .container {
    max-width: 1200px;
}

/* Quality section elevate */
.quality-assurance {
    background: #ffffff;
}

.quality-assurance h2,
.process-flow h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-xl);
}

.quality-item {
    background: #ffffff;
    border-radius: 14px;
    padding: var(--spacing-lg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 1px solid #e7f1e7;
    text-align: center;
}

.quality-item i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.quality-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.quality-item p {
    color: #5d6f62;
    line-height: 1.7;
}

/* Services Page Styles */
.services-overview {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: stretch;
}

.service-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e7f1e7;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: #5d6f62;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    min-height: 5.1em;
}

.service-features {
    list-style: none;
    margin: var(--spacing-md) 0 var(--spacing-lg);
    text-align: left;
    background: #f8fcf8;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
}

.service-features li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e1eee1;
    color: #53675a;
    line-height: 1.45;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    color: var(--secondary-color);
    font-weight: 900;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-right: 0;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
    min-width: 190px;
}

/* Process Flow */
.process-flow {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #f8fcf8 0%, var(--light-green) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.process-step {
    text-align: center;
    position: relative;
    background: #ffffff;
    border: 1px solid #e7f1e7;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.process-step h3 {
    color: var(--primary-color);
}

.process-step p {
    color: #5d6f62;
    line-height: 1.65;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: bold;
    margin: 0 auto var(--spacing-md);
}

/* Contact Page Styles */
.contact-info-section {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.contact-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e7f1e7;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.contact-card p {
    color: #5d6f62;
    line-height: 1.7;
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color .25s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #f8fcf8 0%, var(--light-green) 100%);
}

.contact-form-container {
    max-width: 860px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e1eee1;
    box-shadow: var(--shadow-md);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.form-header h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-sm);
}

.form-header p {
    max-width: 620px;
    margin: 0 auto;
    color: #5d6f62;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: var(--spacing-xs);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.95rem 1rem;
    border: 1px solid #dcebdc;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background: #fbfdfb;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    color: #5d6f62;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Tracking Page Styles */
.tracking-form-section {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.tracking-form-container {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e1eee1;
    box-shadow: var(--shadow-md);
}

.tracking-result-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #f8fcf8 0%, var(--light-green) 100%);
}

.tracking-result-container {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid #e1eee1;
    box-shadow: var(--shadow-md);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.tracking-number {
    background: #f8fcf8;
    border: 1px solid #dcebdc;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    color: #5d6f62;
}

.tracking-header h2,
.order-info h3,
.tracking-timeline h3,
.tracking-features h2 {
    color: var(--primary-color);
}

.tracking-header h2,
.tracking-features h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

.tracking-features h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.order-details {
    margin-bottom: var(--spacing-xl);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #e1eee1;
    gap: var(--spacing-sm);
}

.info-item .label {
    color: #5d6f62;
    font-weight: 600;
}

.info-item .value {
    color: var(--text-dark);
    text-align: right;
}

.status-in-transit {
    color: var(--accent-color);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--spacing-xl);
}

.timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dcebdc;
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.timeline-content {
    background: #f8fcf8;
    border: 1px solid #e1eee1;
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.timeline-content p,
.timeline-content .location {
    color: #5d6f62;
    line-height: 1.55;
}

.timeline-marker {
    position: absolute;
    left: -25px;
    width: 30px;
    height: 30px;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.timeline-item.completed .timeline-marker {
    background: var(--secondary-color);
    color: var(--white);
}

.timeline-item.active .timeline-marker {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
}

.tracking-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
}

.tracking-features {
    background: #ffffff;
}

/* About Page Styles */
.company-story {
    padding: var(--spacing-2xl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.story-text h2 {
    color: var(--primary-color);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.story-text p {
    color: #54665a;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: var(--spacing-md);
}

.story-lede {
    color: var(--text-dark) !important;
    font-size: 1.1rem !important;
    font-weight: 500;
    line-height: 1.8 !important;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.about-pillar {
    padding: var(--spacing-md);
    border-left: 3px solid var(--secondary-color);
    background: #f8fcf8;
    border-radius: var(--border-radius);
}

.about-pillar span {
    display: inline-block;
    margin-bottom: 0.4rem;
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.about-pillar h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.about-pillar p {
    color: #647268;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    padding: var(--spacing-2xl) 0;
    background: var(--light-green);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

.mission-card,
.vision-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mission-card h3,
.vision-card h3,
.value-card h3 {
    color: var(--primary-color);
}

.mission-card p,
.vision-card p,
.value-card p {
    color: #5d6f62;
    line-height: 1.7;
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.mission-icon i,
.vision-icon i {
    font-size: 2rem;
    color: var(--white);
}

.company-values {
    padding: var(--spacing-2xl) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.value-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Company Timeline */
.company-timeline {
    padding: var(--spacing-2xl) 0;
    background: var(--light-green);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--spacing-xl);
}

.timeline:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

.timeline-content {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0 var(--spacing-lg);
    flex: 1;
}

/* Team Section */
.team-section {
    padding: var(--spacing-2xl) 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.team-member {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto var(--spacing-md);
    border: 4px solid var(--light-green);
}

.position {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.bio {
    color: var(--text-light);
    font-size: var(--font-size-small);
}

/* Map Section */
.map-section {
    padding: var(--spacing-2xl) 0;
    background: var(--light-green);
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); } 

/* Certifications Section */
.certifications-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf7 100%);
}

.certifications-section h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.certifications-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-xl);
}

.cert-card {
    background: #ffffff;
    border: 1px solid #e7f1e7;
    border-radius: 16px;
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.cert-logo-wrap {
    width: 160px;
    height: 100px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3faf3;
    border-radius: 12px;
    border: 1px solid #e1eee1;
}

.cert-logo {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
}

.cert-name {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.cert-desc {
    color: #5e6f61;
    font-size: var(--font-size-small);
} 

/* About Intro Section */
.about-intro {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.about-intro-wrap {
    background: linear-gradient(180deg, #f8fcf8 0%, #f2f9f2 100%);
    border: 1px solid #e7f1e7;
    border-radius: 16px;
    padding: var(--spacing-2xl);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.about-intro h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.about-intro p {
    color: #5e6f61;
    margin-bottom: var(--spacing-md);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-sm);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: #ffffff;
    border: 1px solid #e7f1e7;
    border-radius: 10px;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-item i {
    color: var(--secondary-color);
} 

/* Terms and Conditions Page */
.terms-content {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.terms-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e7f1e7;
}

.terms-section {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #e7f1e7;
}

.terms-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
}

.terms-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.terms-section ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.terms-section li {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

.terms-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--primary-color);
    text-align: center;
}

.terms-footer p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Terms & Conditions Popup */
.terms-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.terms-popup-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.terms-popup-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid #e7f1e7;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.terms-popup-header h3 {
    margin: 0;
    color: var(--white);
    font-size: var(--font-size-xl);
}

.terms-popup-body {
    padding: var(--spacing-lg);
}

.terms-popup-body p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

.terms-popup-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid #e7f1e7;
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
    flex-wrap: wrap;
}

.terms-popup-footer .btn {
    min-width: 120px;
}

/* Product card alignment polish */
.products-grid {
    align-items: stretch;
}

.product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-specs {
    align-content: flex-start;
    min-height: 190px;
}

.product-item .btn.btn-primary {
    margin-top: auto;
}

@media (max-width: 767px) {
    .product-specs {
        min-height: auto;
    }
}

/* Product specs final polish */
.product-info h3 {
    min-height: 3.2rem;
}

.product-info p {
    min-height: 6.8rem;
}

.product-specs {
    background: transparent !important;
    border: 0 !important;
    min-height: 170px;
    gap: 0.7rem;
    margin: var(--spacing-md) 0 var(--spacing-lg);
}

.spec {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.85rem;
    line-height: 1.15;
}

html[data-theme="dark"] .product-specs {
    background: transparent !important;
}

@media (max-width: 767px) {
    .product-info h3,
    .product-info p,
    .product-specs {
        min-height: auto;
    }
}

/* Service feature list alignment polish */
.service-card p {
    min-height: 4.8em;
}

.service-features {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
}

.service-features li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    overflow-wrap: normal;
}

.service-features li::before {
    text-align: center;
}

@media (min-width: 992px) {
    .service-card h3 {
        min-height: 3.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card p {
        min-height: 8.6em;
        margin: 0 auto;
        max-width: 92%;
    }

    .service-features {
        margin-top: var(--spacing-md);
    }

    .service-card .btn {
        align-self: center;
    }
}

@media (max-width: 767px) {
    .service-card p {
        min-height: auto;
    }
}

/* Final services card polish */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.service-card {
    text-align: left;
    overflow: visible;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 0 var(--spacing-md);
}

.service-icon i {
    font-size: 1.55rem;
}

.service-card h3 {
    min-height: auto !important;
    display: block !important;
    text-align: left;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    min-height: auto !important;
    max-width: none !important;
    text-align: left;
    margin: 0 0 var(--spacing-lg);
}

.service-features {
    background: transparent !important;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 0;
    margin: 0 0 var(--spacing-lg);
    min-height: 0 !important;
}

.service-features li {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.96rem;
    line-height: 1.35;
}

.service-features li::before {
    line-height: 1.35;
}

.service-card .btn {
    width: 100%;
    min-width: 0;
}

html[data-theme="dark"] .service-features {
    background: rgba(255, 255, 255, 0.02) !important;
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .service-card {
        text-align: left;
    }
}

/* Desktop service box baseline alignment */
@media (min-width: 992px) {
    .service-card h3 {
        min-height: 3.4rem !important;
        display: flex !important;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .service-card p {
        min-height: 10.25rem !important;
        margin-bottom: var(--spacing-md);
    }

    .service-features {
        margin-top: 0;
    }
}

/* Service feature box final alignment */
@media (min-width: 992px) {
    .services-grid {
        gap: 1.75rem;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    .service-features {
        width: 100% !important;
        align-self: stretch;
    }

    .service-features li {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        padding: 0.8rem 0.85rem;
    }
}

/* Mobile responsiveness for popup */
@media (max-width: 768px) {
    .terms-popup {
        padding: var(--spacing-sm);
    }
    
    .terms-popup-content {
        max-height: 90vh;
    }
    
    .terms-popup-footer {
        flex-direction: column;
    }
    
    .terms-popup-footer .btn {
        width: 100%;
    }
}
