/* ===== CSS Variables ===== */
:root {
    --primary-green: #1a5632;
    --secondary-green: #0d3b1f;
    --accent-orange: #F58529;
    --light-green: #e8f5e9;
    --medium-green: #2e7d32;
    --medium-gray: #666666;
    --dark-gray: #333333;
    --white: #ffffff;
    --whatsapp: #25D366;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --emergency-red: #e74c3c;
    --emergency-dark-red: #c0392b;
}

/* ===== PWA STYLES ===== */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a5632, #0d3b1f);
    color: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 99999;
    display: none;
    animation: slideInUp 0.3s ease;
    border: 2px solid #dc3545;
    max-width: 400px;
    margin: 0 auto;
}

.install-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.install-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: white;
    padding: 8px;
    flex-shrink: 0;
}

.install-text {
    flex: 1;
}

.install-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: white;
}

.install-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.install-btn {
    background: white;
    color: #1a5632;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    white-space: nowrap;
}

.install-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.install-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1;
}

.install-close:hover {
    background: #c82333;
    transform: scale(1.1);
}

.pwa-status {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 9999;
    backdrop-filter: blur(10px);
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Update Notification */
.update-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 99999;
    animation: slideInDown 0.3s ease;
    max-width: 90%;
    width: 400px;
}

.update-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.update-content p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

.update-content .btn {
    background: white;
    color: #e67e22;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.update-content .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.update-content .btn-text {
    background: transparent;
    color: white;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.update-content .btn-text:hover {
    opacity: 1;
}

/* Offline/Online Notifications */
.offline-notification,
.online-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 25px;
    border-radius: 25px;
    z-index: 9999;
    animation: slideInDown 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 90%;
    text-align: center;
    font-weight: 500;
}

.offline-notification {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: 2px solid #c0392b;
}

.online-notification {
    background: rgba(46, 204, 113, 0.9);
    color: white;
    border: 2px solid #27ae60;
}

/* PWA Specific Enhancements */
@media (display-mode: standalone) {
    /* iOS PWA specific styles */
    @supports (-webkit-touch-callout: none) {
        body {
            padding-top: env(safe-area-inset-top);
            padding-bottom: env(safe-area-inset-bottom);
        }
        
        .whatsapp {
            bottom: calc(30px + env(safe-area-inset-bottom));
        }
    }
    
    /* Android PWA specific styles */
    .standalone-mode {
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Prevent pull-to-refresh in standalone mode */
    body {
        overscroll-behavior: none;
    }
}

/* Progressive enhancement for PWA features */
@media (hover: none) and (pointer: coarse) {
    /* Touch device optimizations for PWA */
    button, 
    .btn, 
    .kingu-order-btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    input, 
    select, 
    textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* Print styles for PWA */
@media print {
    .whatsapp,
    .install-prompt,
    .pwa-status,
    .update-notification,
    .offline-notification,
    .online-notification {
        display: none !important;
    }
    
    .product-card {
        break-inside: avoid;
    }
}

/* Dark mode support for PWA */
@media (prefers-color-scheme: dark) {
    .install-prompt {
        background: linear-gradient(135deg, #0d3b1f, #082614);
    }
    
    .update-notification {
        background: linear-gradient(135deg, #d68910, #b9770e);
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, .nav-logo, .btn {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.hidden { display: none; }
.section-center { text-align: center; }

/* ===== GREEN BUTTON TEXT OVERRIDES ===== */
/* All buttons with colored backgrounds should have green text */
button,
.btn,
.emergency-btn,
.promo-btn,
.btn-kingu-shop,
.whatsapp-btn,
.whatsapp-option,
.package-item a,
.service-item a,
.product-item a,
.kingu-shop-section a,
.contact-header a:hover,
form button[type="submit"],
#booking-form button,
[style*="background: #dc3545"],
[style*="background:  #dc3545"],
[style*="background:#dc3545"],
[style*="background: linear-gradient(90deg, #FFD700, #FFA500)"],
[style*="background: linear-gradient(90deg, var(--accent-orange)"] {
    color: var(--primary-green) !important;
}

/* Special case for Kingu shop button */
.btn-kingu-shop {
    color: var(--primary-green) !important;
}

/* Keep accent colors for decorative elements */
.stat-number,
.team-name,
.service-icon,
.product-icon,
.price,
.popular-badge,
.tagline,
.welcome-tagline,
.promo-badge,
.kingu-shop-cta {
    color: #dc3545 !important;
}

/* ===== Promo Banner ===== */
.promo-banner {
    background: linear-gradient(90deg, var(--emergency-red) 0%, var(--emergency-dark-red) 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.95; }
    50% { opacity: 1; }
    100% { opacity: 0.95; }
}

.promo-badge {
    background: var(--accent-orange);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.promo-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.promo-btn {
    background: var(--white);
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1.1rem;
}

.promo-btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--primary-green);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: var(--whatsapp);
    color: var(--white);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    border: 3px solid white;
    overflow: hidden;
}

.whatsapp:hover {
    background: #1da851;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp img {
    width: 36px;
    height: 36px;
    display: block;
    transition: transform 0.3s ease;
}

.whatsapp:hover img {
    transform: scale(1.2);
}

/* ===== HEADER - FIXED VERSION ===== */
header {
    background: 
        linear-gradient(
            rgba(26, 86, 50, 0.85), 
            rgba(13, 59, 31, 0.95)
        ),
        url('Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: overlay;
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    font-weight: 700;
    line-height: 1.2;
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.contact-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    z-index: 1;
}

.contact-header a {
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
    backdrop-filter: blur(10px);
    font-size: 1.1rem;
}

.contact-header a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-color: var(--accent-orange);
    color: var(--primary-green) !important;
}

.contact-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 10px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.contact-header a:hover .contact-icon {
    transform: scale(1.2);
}

/* ===== Navigation ===== */
nav {
    background: var(--secondary-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 80px;
}

.nav-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 28px 25px;
    display: block;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-green) !important;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.hamburger:hover {
    color: var(--accent-orange);
}

/* ===== Sections ===== */
section {
    padding: 100px 0;
}

section:nth-child(even) {
    background: var(--light-green);
}

h2 {
    color: var(--secondary-green);
    margin-bottom: 50px;
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--accent-orange);
    border-radius: 5px;
}

/* ===== Grid Layout ===== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

/* ===== Cards ===== */
.card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-green);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-orange);
}

.card h3 {
    margin-top: 0;
    color: var(--secondary-green);
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
}

.card p {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ===== Icon Cards ===== */
.card-icon {
    display: inline-block;
    margin-bottom: 25px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green) 0%, rgba(26, 86, 50, 0.1) 100%);
    border-radius: 50%;
    padding: 20px;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--accent-orange) 0%, rgba(245, 133, 41, 0.2) 100%);
    transform: rotate(10deg) scale(1.1);
}

.card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--secondary-green);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-orange);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #dc3545 !important;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== Service Packages ===== */
#packages {
    background: var(--light-green);
}

.card.popular {
    position: relative;
    border: 3px solid var(--accent-orange);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(245, 133, 41, 0.2);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-orange);
    color: #dc3545 !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1;
    white-space: nowrap;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #dc3545 !important;
    margin: 20px 0;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    width: 100%;
}

.card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card li:before {
    content: "✓";
    color: var(--medium-green);
    font-weight: bold;
}

/* Package buttons */
.package-item a {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.package-item a:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 133, 41, 0.3);
    border-color: var(--primary-green);
}

/* ===== Emergency CTA ===== */
.emergency-cta {
    background: linear-gradient(135deg, var(--emergency-red) 0%, var(--emergency-dark-red) 100%);
    color: white;
    padding: 60px 20px;
    margin: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-cta:before {
    content: "⚡";
    position: absolute;
    font-size: 300px;
    opacity: 0.1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.emergency-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.emergency-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.emergency-contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.emergency-btn {
    background: white;
    color: var(--primary-green) !important;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: 3px solid white;
}

.emergency-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    background: #ffe6e3;
}

.emergency-btn img {
    width: 32px;
    height: 32px;
}

/* ===== Projects Gallery ===== */
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.project-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(26,86,50,0.1);
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover .project-img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.project-content h3 {
    color: var(--secondary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* ===== Products ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

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

.product-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    color: var(--secondary-green);
}

.product-card p {
    padding: 0 20px;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

.price-range {
    padding: 0 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #dc3545 !important;
    margin-bottom: 20px;
}

.product-card .btn {
    margin: 0 20px 25px;
    width: calc(100% - 40px);
    justify-content: center;
}

/* Product buttons */
.product-item a {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: var(--transition);
}

.product-item a:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 133, 41, 0.3);
}

/* ===== Testimonials ===== */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    border-left: 5px solid var(--accent-orange);
}

.testimonial:before {
    content: '"';
    font-size: 100px;
    color: var(--light-green);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-orange);
}

.client-info h4 {
    margin: 0;
    color: var(--secondary-green);
    font-size: 1.2rem;
}

.client-info p {
    margin: 5px 0 0;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* ===== Booking Widget ===== */
.booking-widget {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 60px auto;
    text-align: center;
    border: 2px solid var(--primary-green);
}

.booking-widget h3 {
    color: var(--secondary-green);
    margin-bottom: 30px;
    font-size: 2rem;
}

#booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

#booking-form input:focus,
#booking-form select:focus,
#booking-form textarea:focus {
    border-color: var(--primary-green);
    outline: none;
}

#booking-form textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical;
}

#booking-form button {
    grid-column: 1 / -1;
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#booking-form button:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
}

/* ===== WhatsApp Features ===== */
.whatsapp-features {
    background: #25D366;
    color: white;
    padding: 50px 20px;
    border-radius: var(--border-radius);
    margin: 60px 0;
    text-align: center;
}

.whatsapp-features h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

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

.whatsapp-option {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-green) !important;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.whatsapp-option:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border-color: var(--primary-green);
}

/* Service buttons */
.service-item a {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    transition: var(--transition);
}

.service-item a:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 133, 41, 0.3);
}

/* ===== Service Area ===== */
.service-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.areas-list ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.areas-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.areas-list li:before {
    content: "✅";
    font-size: 1.2rem;
}

.map-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ===== Resources ===== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 5px solid var(--accent-orange);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.resource-card h3 {
    color: var(--secondary-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.resource-card p {
    color: var(--medium-gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Resource download buttons */
button[onclick*="downloadResource"] {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

button[onclick*="downloadResource"]:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 133, 41, 0.3);
}

/* ===== Certificates ===== */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.certificate-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(26, 86, 50, 0.1);
}

.certificate-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-green);
}

.certificate-img {
    max-width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 25px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.certificate-item:hover .certificate-img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(rgba(26, 86, 50, 0.9), rgba(13, 59, 31, 0.9)),
                url('https://images.unsplash.com/photo-1621905252507-b35492cc74b4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    border-radius: var(--border-radius-lg);
    margin: 60px auto;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.cta h2::after {
    background: var(--white);
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    padding: 20px 45px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    gap: 12px;
    box-shadow: 0 6px 15px rgba(245, 133, 41, 0.3);
}

.btn:hover {
    background: #ff9c4d;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(245, 133, 41, 0.4);
}

.btn img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn:hover img {
    transform: scale(1.2);
}

/* ===== Forms ===== */
form {
    max-width: 700px;
    margin: 40px auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(26, 86, 50, 0.1);
}

input, textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition);
    background: #f9f9f9;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.1);
    background: var(--white);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

form button[type="submit"] {
    background: var(--accent-orange);
    color: var(--primary-green) !important;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form button[type="submit"]:hover {
    background: #ff9c4d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 133, 41, 0.3);
}

/* ===== Footer ===== */
footer {
    background: var(--secondary-green);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-orange);
}

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-column a:hover {
    color: var(--white);
    padding-left: 10px;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.social-links a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.2);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    margin-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
}

.copyright p {
    margin-bottom: 10px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
    from { opacity: 0; transform: translate(-50%, -50px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    header h1 { font-size: 3rem; }
    .tagline { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    /* Mobile-specific styles */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    
    /* Fix 100vh issue on mobile */
    .full-height {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
    
    /* Improve button touch targets */
    button, 
    .btn, 
    .kingu-order-btn, 
    a[role="button"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Fix form input zoom on iOS */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px; /* Prevents iOS zoom */
    }
    
    /* Improve scrolling performance */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Fix fixed elements on mobile */
    .whatsapp,
    .install-prompt {
        bottom: 20px;
        right: 20px;
        transform: scale(0.9);
    }
    
    /* Reduce padding for mobile */
    section {
        padding: 40px 0;
    }
    
    /* Optimize grid layout for mobile */
    .grid,
    .products-grid,
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Optimize card layout for mobile */
    .card {
        padding: 20px;
        margin: 10px;
    }
    
    /* Improve contact header for mobile */
    .contact-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-header a {
        width: 100%;
        text-align: center;
        font-size: 14px;
        padding: 12px;
    }
    
    /* Fix sticky navigation */
    nav {
        height: 60px;
    }
    
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    /* Improve mobile menu */
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--secondary-green);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 20px;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        padding: 15px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Fix modal for mobile */
    .modal-content {
        width: 90%;
        margin: 20px auto;
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Improve product cards for mobile */
    .product-card {
        margin: 0 10px 20px;
    }
    
    /* Fix cart sidebar for mobile */
    #cartSidebar {
        width: 100%;
        max-width: 100vw;
    }
    
    header {
        padding: 80px 20px;
        min-height: auto;
        background-attachment: scroll;
    }
    
    .nav-container { padding: 0 20px; }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--secondary-green);
        flex-direction: column;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hamburger {
        display: block;
    }

    header h1 { font-size: 2.5rem; }
    .tagline { font-size: 1.4rem; }
    
    h2 { font-size: 2.2rem; }
    
    .grid, .certificate-grid, .project-gallery, .client-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .card { padding: 30px; }
    .card h3 { font-size: 1.5rem; }
    
    .contact-header { flex-direction: column; gap: 15px; }
    .contact-header a { width: 100%; justify-content: center; }
    
    .whatsapp { bottom: 25px; right: 25px; width: 60px; height: 60px; }
    .whatsapp img { width: 30px; height: 30px; }
    
    .btn { padding: 18px 35px; font-size: 1.1rem; }
    
    form { padding: 30px 20px; }
    
    .footer-content { gap: 30px; }
    
    section { padding: 80px 0; }
    
    .cta { padding: 80px 20px; margin: 40px auto; }
    
    .service-map {
        grid-template-columns: 1fr;
    }
    
    #booking-form {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .whatsapp-buttons {
        grid-template-columns: 1fr;
    }
    
    .card.popular {
        transform: none;
    }
    
    .emergency-content h3 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .emergency-btn {
        font-size: 1.2rem;
        padding: 18px 30px;
    }
    
    .promo-content h3 {
        flex-direction: column;
        gap: 10px;
    }
    
    .install-prompt {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .update-notification {
        width: 95%;
    }
    
    .offline-notification,
    .online-notification {
        width: 95%;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .install-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .install-text h4 {
        font-size: 1rem;
    }
    
    .install-text p {
        font-size: 0.85rem;
    }
    
    header h1 { font-size: 2rem; }
    .tagline { font-size: 1.2rem; }
    h2 { font-size: 1.8rem; }
    .logo { max-width: 200px; }
    .card { padding: 25px; }
    .card-icon { width: 70px; height: 70px; padding: 15px; }
    .card-icon img { width: 35px; height: 35px; }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-content h3 {
        font-size: 1.3rem;
    }
    
    .emergency-content h3 {
        font-size: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 360px) {
    .install-btn {
        width: 100%;
    }
    
    .emergency-btn,
    .promo-btn,
    .btn {
        padding: 14px 20px;
        font-size: 13px;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* iOS specific styles */
    input, textarea {
        border-radius: 0; /* Remove iOS rounded corners */
    }
    
    button {
        -webkit-appearance: none;
        border-radius: 0;
    }
}

/* Touch device specific */
@media (hover: none) and (pointer: coarse) {
    .touch-device *:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .touch-device button:hover,
    .touch-device a:hover {
        opacity: 1 !important;
    }
}
