/* ============================================
   COMPLY ABOUT PAGE STYLES
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #0056b3;
    --dark-blue: #004a9e;
    --accent-green: #7ed321;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #5a5a5a;
    --light-gray: #f5f5f5;
    
    /* Fluid Typography Scale */
    --font-sm: clamp(0.8rem, 2vw, 1rem);
    --font-md: clamp(1rem, 2.5vw, 1.2rem);
    --font-lg: clamp(1.5rem, 4vw, 2.5rem);
    --font-xl: clamp(2rem, 5vw, 3rem);
    
    /* Fluid Spacing Scale */
    --spacing-sm: clamp(10px, 2vw, 20px);
    --spacing-md: clamp(20px, 4vw, 40px);
    --spacing-lg: clamp(40px, 8vw, 80px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
    background-color: var(--light-gray);
}

/* =========================================
   HEADER STYLES
   ========================================= */
.header {
    background-color: var(--primary-blue);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo-icon {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background-color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
    color: var(--primary-blue);
    font-size: clamp(20px, 4vw, 28px);
    border: 3px solid white;
    flex-shrink: 0;
}

.logo-text {
    font-size: clamp(24px, 5vw, 32px);
    font-weight: bold;
    letter-spacing: -1px;
    color: white;
    line-height: 1;
}

.logo-text span {
    color: var(--accent-green);
}

.tagline {
    font-size: clamp(10px, 2vw, 11px);
    color: var(--accent-green);
    margin-top: 2px;
    letter-spacing: 2px;
    text-transform: lowercase;
}

.menu-btn {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    background-color: var(--primary-blue);
    padding: 0;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: var(--font-md);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-link i {
    font-size: 12px;
    margin-left: 8px;
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    background-color: var(--dark-blue);
    padding-left: 20px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-link {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    font-size: var(--font-sm);
    font-weight: normal;
    text-transform: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    transition: background-color 0.3s;
}

.dropdown-link:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .header {
        padding: 15px 40px;
    }

    .menu-btn {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        gap: 5px;
        width: auto;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 14px;
        border-top: none;
        border-radius: 5px;
        white-space: nowrap;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-blue);
        padding: 10px 0;
        min-width: 220px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1000;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown-content.active {
        display: none;
    }

    .dropdown-link {
        padding: 12px 20px;
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    margin-top: 70px;
    position: relative;
    min-height: clamp(250px, 40vh, 400px);
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1200') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: var(--spacing-md);
}

.hero h1 {
    font-size: var(--font-xl);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   SECTION STYLES
   ========================================= */
section {
    padding: var(--spacing-lg) var(--spacing-sm);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================
   ETHOS SECTION
   ========================================= */
.ethos-section {
    background-color: white;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    min-height: 300px;
    padding: var(--spacing-md);
}

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

.error-icon {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    border: 3px solid #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #666;
}

.video-link {
    color: white;
    text-decoration: underline;
    font-size: var(--font-md);
    margin-bottom: 10px;
    display: block;
}

.ethos-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--font-md);
    line-height: 1.8;
    color: #333;
    padding: 0 var(--spacing-sm);
}

/* =========================================
   GREEN HEART SECTION
   ========================================= */
.green-heart-section {
    background-color: var(--light-gray);
}

.green-heart-title {
    text-align: center;
    color: var(--primary-blue);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-weight: bold;
    padding: 0 var(--spacing-sm);
}

.image-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: var(--spacing-md);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.collage-img {
    width: 100%;
    height: clamp(150px, 25vw, 200px);
    object-fit: cover;
    border-radius: 4px;
}

.products-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-md);
    font-size: var(--font-md);
    line-height: 1.8;
    padding: 0 var(--spacing-sm);
}

.product-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.product-img {
    width: 100%;
    height: clamp(200px, 30vw, 250px);
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================================
   QUALITY ASSURANCE SECTION
   ========================================= */
.quality-section {
    background-color: white;
    padding: var(--spacing-md) var(--spacing-sm);
}

.quality-card {
    max-width: 900px;
    margin: 0 auto;
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background-color: white;
    flex-wrap: wrap;
    justify-content: center;
}

.quality-icon {
    flex-shrink: 0;
    text-align: center;
}

.quality-icon svg {
    width: clamp(80px, 15vw, 120px);
    height: clamp(80px, 15vw, 120px);
}

.quality-content {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.quality-content h2 {
    color: var(--primary-blue);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-sm);
}

.quality-content p {
    font-size: var(--font-md);
    line-height: 1.8;
}

/* =========================================
   BANNER SECTION
   ========================================= */
.banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1200') center/cover;
    padding: var(--spacing-md) var(--spacing-sm);
    text-align: center;
    color: white;
}

.banner-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.banner-text {
    font-size: var(--font-md);
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.sustainable-badge {
    width: clamp(70px, 12vw, 80px);
    height: clamp(70px, 12vw, 80px);
    background-color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.6rem, 2vw, 0.7rem);
    text-align: center;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
    flex-shrink: 0;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.footer {
    background-color: var(--primary-blue);
    padding: var(--spacing-md) var(--spacing-sm);
    color: white;
    width: 100%;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: clamp(16px, 3vw, 20px);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: white;
    transform: scale(1.1);
    color: var(--primary-blue);
}

.sitemap {
    max-width: 1200px;
    margin: 0 auto;
}

.sitemap-title {
    color: var(--accent-green);
    font-size: var(--font-lg);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sitemap-column a {
    color: #ccc;
    text-decoration: none;
    font-size: var(--font-md);
    transition: all 0.3s ease;
}

.sitemap-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    color: rgba(255,255,255,0.5);
    font-size: var(--font-sm);
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   FLOATING BUTTONS
   ========================================= */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    color: white;
    font-size: clamp(20px, 4vw, 24px);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.call-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #007bff 100%);
    border: 3px solid white;
    animation: pulse-blue 2s infinite;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border: 3px solid white;
    animation: pulse-green 2s infinite;
    animation-delay: 0.5s;
}

.btn-label {
    position: absolute;
    right: 70px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-btn:hover .btn-label {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 86, 179, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   MOBILE CONTACT BAR
   ========================================= */
.mobile-contact-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px;
}

.mobile-contact-bar-inner {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-call {
    background-color: var(--primary-blue);
}

.mobile-whatsapp {
    background-color: #25d366;
}

.mobile-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    .floating-buttons {
        display: none;
    }

    .mobile-contact-bar {
        display: block;
    }

    footer {
        padding-bottom: 100px;
    }

    .hero {
        margin-top: 60px;
    }

    .quality-card {
        flex-direction: column;
        text-align: center;
    }

    .banner-content {
        flex-direction: column;
    }

    .footer-logo-section {
        flex-direction: column;
        text-align: center;
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title,
    .green-heart-title {
        font-size: 1.5rem;
    }

    .collage-img {
        height: 150px;
    }

    .product-img {
        height: 200px;
    }
}

/* =========================================
   UTILITY CLASSES & ACCESSIBILITY
   ========================================= */
::selection {
    background-color: var(--primary-blue);
    color: white;
}

a:focus,
button:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .floating-buttons,
    .mobile-contact-bar {
        display: none !important;
    }

    .hero {
        margin-top: 0;
        height: auto;
    }

    section {
        page-break-inside: avoid;
    }
}