/* ===================================
   ACTICEM - Clean Working Version
   =================================== */

:root {
    --color-light-green: #86efac;
    --color-dark-green: #0a4d3c;
    --color-light-blue: #7dd3fc;
    --color-dark-blue: #1e40af;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    --spacing-xs: 0.375rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 1.75rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 3.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-gray-900);
}

img {
    max-width: 100%;
    display: block;
}

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

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

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    z-index: 1001;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-dark-green);
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-gray-700);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-dark-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-arrow {
    margin-left: 0.25rem;
    font-size: 0.7rem;
}

/* Mega Menu - Desktop */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 700px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: var(--spacing-lg);
    opacity: 0;
    visibility: hidden;
    margin-top: 1rem;
    transition: var(--transition);
    border-top: 3px solid var(--color-dark-green);
}

.nav-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.mega-menu-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-dark-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gray-200);
}

.mega-menu-list {
    list-style: none;
}

.mega-menu-list li {
    margin-bottom: 0.5rem;
}

.mega-menu-list a {
    color: var(--color-gray-600);
    font-size: 0.85rem;
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.mega-menu-list a:hover {
    color: var(--color-dark-green);
    padding-left: 0.5rem;
}

.mobile-toggle {
    display: none;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-lg);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-white);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

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

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: var(--transition);
    color: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--color-white);
}

.carousel-control.prev { left: 2rem; }
.carousel-control.next { right: 2rem; }

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--color-white);
    width: 30px;
    border-radius: 5px;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-light-green));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark-green);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

/* ===================================
   SECTIONS
   =================================== */

section {
    padding: 4rem 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-dark-green);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.05rem;
    color: var(--color-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   Who We Are Section - CORRECT LAYOUT
   =================================== */

.who-we-are {
    padding: 5rem 0;
    background: white;
}

.who-we-are-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.2), rgba(10, 77, 60, 0.1));
    color: #0a4d3c;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Chemical Application Areas */
.application-areas {
    margin-top: auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 16px;
    border-left: 4px solid #0a4d3c;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.application-areas h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0a4d3c;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-category {
    margin-bottom: 1.5rem;
}

.application-category:last-child {
    margin-bottom: 0;
}

.application-category h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.application-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.application-list li {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 0.5rem 1rem;
    padding-left: 1.75rem;
    position: relative;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    flex: 0 1 auto;
}

.application-list li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: #0a4d3c;
    font-weight: 800;
    font-size: 1rem;
}

.application-list li:hover {
    background: rgba(134, 239, 172, 0.1);
    border-color: #86efac;
    transform: translateX(5px);
    color: #0a4d3c;
}

/* Image Side - Same Height as Content */
.who-we-are-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    min-height: 100%;
}

.who-we-are-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 77, 60, 0.95), transparent);
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.who-we-are-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.overlay-content p {
    font-size: 1rem;
    color: #86efac;
    margin: 0;
}

/* Full-Width Stats Badge at Bottom */
.stats-badge {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, #0a4d3c 0%, #059669 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(10, 77, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.stats-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(134, 239, 172, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-number {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.counter {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.plus {
    font-size: 2.5rem;
    font-weight: 900;
    color: #86efac;
    font-family: 'Montserrat', sans-serif;
}

.stats-badge p {
    font-size: 1.1rem;
    color: #86efac;
    margin-top: 0.75rem;
    margin-bottom: 0;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Mobile Optimization */
@media (max-width: 968px) {
    .who-we-are {
        padding: 4rem 0;
    }
    
    .who-we-are-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .who-we-are-image {
        order: 1;
        min-height: 200px;
    }
    
    .who-we-are-content {
        order: 2;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .application-areas {
        padding: 1.5rem;
    }
    
    .application-list {
        flex-direction: column;
    }
    
    .stats-badge {
        padding: 2rem;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .plus {
        font-size: 2rem;
    }
    
    .stats-badge p {
        font-size: 1rem;
    }
    
    .image-overlay {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 77, 60, 0.85), transparent);
    }
}

@media (max-width: 480px) {
    .who-we-are {
        padding: 3rem 0;
    }
    
    .who-we-are-wrapper {
        gap: 1.5rem;
    }
    
    .who-we-are-grid {
        gap: 2rem;
    }
    
    .who-we-are-image {
        min-height: 100px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .application-areas {
        padding: 1.25rem;
    }
    
    .stats-badge {
        padding: 1.5rem;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .plus {
        font-size: 1.5rem;
    }
    
    .stats-badge p {
        font-size: 0.95rem;
    }
}
/* News Section */
.news-section {
    background: var(--color-white);
}

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

.news-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

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

.news-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-white);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--color-dark-green);
}

.news-content {
    padding: var(--spacing-md);
}

.news-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
    color: var(--color-gray-900);
}

.news-excerpt {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.news-link {
    color: var(--color-dark-green);
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

/* Resources Section */
.resources-section {
    background: var(--color-gray-50);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));  /* Changed from 280px to 200px */
    gap: 1.5rem;  /* Changed from 2rem to 1.5rem */
}

.resource-card {
    background: var(--color-white);
    padding: 1.5rem;  /* Changed from var(--spacing-lg) which is 1.75rem */
    border-radius: 8px;
    border: 2px solid var(--color-gray-200);
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    border-color: var(--color-dark-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    width: 45px;  /* Changed from 60px */
    height: 45px;  /* Changed from 60px */
    margin: 0 auto 1rem;  /* Changed from var(--spacing-md) */
    color: var(--color-dark-green);
}
.resource-icon svg {
    width: 100%;
    height: 100%;
}

.resource-card h3 {
    font-size: 1rem;  /* Changed from 1.125rem */
    font-weight: 800;
    margin-bottom: 0.5rem;  /* Changed from var(--spacing-sm) */
}

.resource-card p {
    color: var(--color-gray-600);
    font-size: 0.85rem;  /* Changed from 0.9rem */
    margin-bottom: 1rem;  /* Changed from var(--spacing-md) */
}
.resource-card .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contact-info p {
    font-size: 1rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-lg);
}

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

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-light-green));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--color-white);
}

.contact-item h4 {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.125rem;
}

.contact-item p {
    color: var(--color-gray-600);
    margin: 0;
    font-size: 0.875rem;
}

.contact-form-wrapper {
    background: var(--color-gray-50);
    padding: var(--spacing-lg);
    border-radius: 10px;
}

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

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-gray-300);
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-dark-green);
}

textarea {
    resize: vertical;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #0f2557;
    color: var(--color-white);
    padding: 1.5rem 0 1rem;  /* Reduced height further */
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 0.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;  /* Changed back to 4 columns for Support */
    gap: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.2rem;  /* Smaller logo */
    font-weight: 900;
    margin-bottom: 0.4rem;  /* Less space */
    color: var(--color-light-green);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;  /* Tighter */
    font-size: 0.75rem;  /* Smaller text */
    text-align: left;
    margin-bottom: 0.4rem;
}

.footer-column h4 {
    font-family: var(--font-primary);
    font-size: 0.85rem;  /* Smaller headings */
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.5rem;  /* Less space */
    text-align: left;
}

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

.footer-links li {
    margin-bottom: 0.25rem;  /* Very tight spacing */
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;  /* Smaller links */
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-light-green);
    padding-left: 0.375rem;
}

.footer-bottom {
    padding-top: 0.75rem;  /* Less padding */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.7rem;  /* Smaller copyright */
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;  /* Smaller legal links */
}

.footer-legal a:hover {
    color: var(--color-light-green);
}
/* Quote Modal */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.quote-modal.active {
    display: flex;
}

.quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.quote-modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quote-modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 35px;
    height: 35px;
    background: var(--color-gray-100);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-700);
}

.quote-modal-close:hover {
    background: var(--color-gray-200);
}

.quote-modal h2 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark-green);
}

.quote-modal-subtitle {
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.quote-form .form-group {
    margin-bottom: var(--spacing-md);
}

/* ===================================
   PRODUCT PAGES
   =================================== */

.page-header {
    background: linear-gradient(135deg, var(--color-dark-green), var(--color-dark-blue));
    padding: 6rem 0 3rem;
    margin-top: 70px;
    text-align: center;
    color: var(--color-white);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.products-section {
    padding: 3rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

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

.product-image-wrapper {
    height: 220px;
    overflow: hidden;
    background: var(--color-gray-100);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.product-card-description {
    color: var(--color-gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: var(--color-gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--color-gray-700);
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.view-details {
    color: var(--color-dark-green);
    font-weight: 700;
    font-size: 0.85rem;
}

.product-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-dark-green);
    text-transform: uppercase;
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */


/* ===================================
   MOBILE MENU - WHITE & BLACK
   Right Side, Clearly Visible
   =================================== */

@media (max-width: 768px) {
    /* Mobile Toggle Button */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    .resource-card .btn-outline,
    .resource-card .btn-small {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        background: var(--color-dark-green) !important;
        color: white !important;
        border: 2px solid var(--color-dark-green) !important;
        width: 100%;
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-align: center;
        margin-top: 1rem;
    }
    
    
    .mobile-toggle span {
        display: block !important;
        width: 100%;
        height: 3px;
        background: #111827 !important;  /* Dark gray/black bars */
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    /* Hamburger to X animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: #111827 !important;  /* Stay black */
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: #111827 !important;  /* Stay black */
    }
    
    /* Mobile Menu - RIGHT SIDE, WHITE BACKGROUND */
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;  /* Start hidden on RIGHT */
        left: auto !important;
        width: 55% !important;    /* 55% of screen - not full */
        height: 100vh !important;
        background: white !important;  /* WHITE BACKGROUND */
        flex-direction: column;
        padding: 80px 0 2rem 0 !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.4s ease !important;
        overflow-y: auto;
        z-index: 1000;
        align-items: flex-start !important;
        gap: 0 !important;
    }
    
    /* Show menu when active */
    .nav-menu.active {
        right: 0 !important;
    }
    
    /* Menu items */
    .nav-item {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid #e5e7eb;
    }
    
    /* Menu links - BLACK TEXT, BIGGER FONT */
    .nav-link {
        display: block !important;
        padding: 1.3rem 1.5rem !important;
        font-size: 1.15rem !important;  /* Bigger font */
        font-weight: 600;
        color: #111827 !important;  /* BLACK TEXT */
        text-align: left;
        width: 100%;
    }
    
    .nav-link::after {
        display: none !important;
    }
    
    .nav-link:hover {
        background: #f3f4f6 !important;
        color: #0a4d3c !important;  /* Dark green on hover */
        padding-left: 2rem !important;
    }
    
    .nav-link.active {
        background: #f3f4f6 !important;
        color: #0a4d3c !important;
        border-left: 4px solid #0a4d3c;
    }
    
    /* Dropdown arrow - BLACK */
    .dropdown-arrow {
        color: #111827 !important;
        float: right;
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    /* Mega menu dropdown - LIGHT GRAY BACKGROUND */
  .mega-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    background: #f9fafb !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-left: 3px solid #0a4d3c !important;
    border-top: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    overflow: visible !important;
}
    
    .nav-dropdown.active .mega-menu {
        display: block !important;
    }
    
   .mega-menu-container {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    position: relative !important;
}
    .mega-menu-column {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}
    
    .mega-menu-column:last-child {
        border-bottom: none;
    }
    
    /* Dropdown category titles - DARK GREEN */
   .mega-menu-title {
    display: block !important;
    padding: 1rem 1.5rem 0.5rem 1.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #0a4d3c !important;  /* Dark green */
    text-align: left !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}
    
   .mega-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mega-menu-list li {
    margin-bottom: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Dropdown items - BLACK TEXT, BIGGER FONT */
.mega-menu-list a {
    display: block !important;
    padding: 0.75rem 1.5rem 0.75rem 2rem !important;  /* Indented */
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #374151 !important;  /* Dark gray */
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
    background: transparent !important;
    text-decoration: none !important;
    border: none !important;
    left: 0 !important;
    transform: none !important;
    position: relative !important;
}

.mega-menu-list a:hover {
    background: #f3f4f6 !important;
    color: #0a4d3c !important;
    padding-left: 2.5rem !important;
}
    
    /* Dark overlay on LEFT side */
    /* Dark overlay on LEFT side */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 0% !important;  /* CHANGED - No overlay */
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 999;
}
    
    /* Overlay element (if exists in HTML) */
    .nav-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 45%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    body.menu-open .nav-menu-overlay {
        display: block;
    }
    
    /* Smaller phones - 70% width */
    @media (max-width: 480px) {
        .nav-menu {
            width: 70% !important;
        }
        
        body.menu-open::before,
        .nav-menu-overlay {
            width: 30%;
        }
    }
    
    /* Tablets - 45% width */
    @media (min-width: 481px) and (max-width: 768px) {
        .nav-menu {
            width: 45% !important;
        }
        
        body.menu-open::before,
        .nav-menu-overlay {
            width: 55%;
        }
    }
    
    /* Hero smaller on mobile */
    .hero {
        height: 50vh;
        min-height: 350px;
        max-height: 500px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .carousel-control.prev { left: 1rem; }
    .carousel-control.next { right: 1rem; }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;  /* All 4 columns */
        gap: 0.5rem !important;
        font-size: 0.65rem;
    }
    
    .footer-logo {
        font-size: 0.9rem;
    }
    
    .footer-column p {
        font-size: 0.6rem;
        display: none;  /* Hide description to save space */
    }
    
    .footer-column h4 {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-links a {
        font-size: 0.65rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.text-center {
    text-align: center;
}
/* ===================================
   Countries Served Section - COMPACT LIST
   =================================== */

.countries-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
}

.countries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

/* Map Container */
.map-container {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.africa-map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
}

.africa-map-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Country Markers Overlay */
.country-markers-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.country-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: all;
}

.country-dot {
    width: 18px;
    height: 18px;
    background: #0a4d3c;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }
    50% {
        transform: scale(1.3);
        box-shadow: 0 4px 20px rgba(10, 77, 60, 0.6);
    }
}

.country-marker:hover .country-dot {
    background: #86efac;
    transform: scale(1.6);
    box-shadow: 0 4px 20px rgba(134, 239, 172, 0.8);
}

/* Countries List - COMPACT */
.countries-list-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.countries-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Reduced from 1.5rem */
}

.country-item {
    display: flex;
    align-items: center;
    gap: 1rem; /* Reduced from 1.5rem */
    padding: 1rem; /* Reduced from 1.5rem */
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #0a4d3c;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.country-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(10, 77, 60, 0.15);
    background: linear-gradient(135deg, rgba(134, 239, 172, 0.1) 0%, #ffffff 100%);
}

.country-icon {
    width: 40px; /* Reduced from 50px */
    height: 40px; /* Reduced from 50px */
    min-width: 40px; /* Reduced from 50px */
    background: linear-gradient(135deg, #86efac, #0a4d3c);
    border-radius: 10px; /* Reduced from 12px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-icon svg {
    width: 22px; /* Reduced from 28px */
    height: 22px; /* Reduced from 28px */
    color: white;
}

.country-info h4 {
    font-size: 1rem; /* Reduced from 1.15rem */
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.2rem; /* Reduced from 0.25rem */
}

.country-info p {
    font-size: 0.85rem; /* Reduced from 0.9rem */
    color: #6b7280;
    margin: 0;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .countries-section {
        padding: 3rem 0;
    }
    
    .countries-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    /* List comes FIRST on mobile */
    .countries-list-container {
        order: 1;
        padding: 2rem 1.5rem;
        height: auto;
    }
    
    /* Map comes SECOND on mobile */
    .map-container {
        order: 2;
        padding: 1.5rem 1rem;
    }
    
    .countries-list {
        gap: 0.875rem;
    }
    
    .country-item {
        padding: 0.875rem;
        gap: 0.875rem;
    }
    
    .country-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .country-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .country-info h4 {
        font-size: 0.95rem;
    }
    
    .country-info p {
        font-size: 0.8rem;
    }
    
    .country-dot {
        width: 16px;
        height: 16px;
        border: 2px solid white;
    }
}

@media (max-width: 480px) {
    .countries-section {
        padding: 2.5rem 0;
    }
    
    .countries-grid {
        gap: 1.5rem;
    }
    
    .map-container {
        padding: 1rem;
    }
    
    .countries-list-container {
        padding: 1.5rem 1rem;
    }
    
    .country-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .country-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .country-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .country-info h4 {
        font-size: 0.9rem;
    }
    
    .country-info p {
        font-size: 0.75rem;
    }
    
    .country-dot {
        width: 14px;
        height: 14px;
    }
}
