:root {
    --primary: #0a1128; /* Dark Blue */
    --secondary: #ffb703; /* Yellow */
    --accent: #fb8500; /* Orange/Gold */
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --bg-light: #f1f5f9;
    --bg-dark: #12182b;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand h1, .tagline {
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Adjust padding for mobile */
}

/* Top Nav */
.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 900;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.btn-emergency {
    background-color: #dc2626; /* Red for emergency */
    color: white;
    padding: 6px 10px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #ef4444;
}

.btn-emergency:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    color: white;
}

/* Header / Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    position: relative;
    padding-top: 90px; /* Added spacing for mobile */
    padding-bottom: 40px; /* Reduced for mobile */
    overflow: hidden;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
}

.brand i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
}

.brand h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 10px;
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 5px 12px;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 4px;
    transform: skewX(-10deg);
}

.main-heading {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.3;
    width: 100%;
}

.main-heading span {
    color: var(--secondary);
    font-size: 1.2rem;
    display: block;
    margin-top: 5px;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 320px; /* Cap size on mobile */
    margin: 20px auto 0;
}

.hero-image img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--secondary);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(255, 183, 3, 0.4);
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,183,3,0.3) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    z-index: 10;
    width: 100%; /* Full width for easy tapping on mobile */
    max-width: 350px;
    text-align: center;
}

.btn-primary {
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
}

.btn-secondary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Services */
.services {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    color: white;
    flex-direction: column;
    text-align: center;
    border: 2px solid var(--secondary);
    padding: 25px 20px;
}

.service-card.featured p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
    line-height: 1.4;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 183, 3, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card.featured .icon-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}

.icon-wrapper i {
    font-size: 1.2rem;
    color: var(--secondary);
}

.service-card.featured .icon-wrapper i {
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card.featured h4 {
    font-size: 1.2rem;
}

/* Expertise Section */
.expertise {
    padding: 50px 0;
    background-color: white;
}

.expertise-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
}

.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.checklist li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #25d366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.checklist i {
    color: #25d366;
    font-size: 1.5rem;
    margin-top: 2px;
}

.checklist strong {
    color: var(--primary);
    display: block;
    font-size: 1.05rem;
    margin-bottom: 3px;
}

/* Features */
.features {
    background-color: var(--primary);
    color: white;
    padding: 40px 0;
    border-top: 4px solid var(--secondary);
    border-bottom: 4px solid var(--secondary);
}

.features-flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary);
    width: 40px;
    text-align: center;
}

.feature-item span {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

/* CTA Section */
.cta-section {
    padding: 50px 0;
    background-color: var(--bg-light);
}

.contact-box {
    background: var(--primary);
    border-radius: 15px;
    padding: 30px 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--secondary);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,183,3,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 0;
}

.contact-box > * {
    position: relative;
    z-index: 1;
}

.contact-box p {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.phone-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.phone-link i {
    color: #25d366;
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.mt-2 { margin-top: 15px; }
.text-center { text-align: center; }

footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 20px 15px;
    font-size: 0.8rem;
}

/* Reset hover animations for mobile to avoid glitches on scroll */
.service-card, .feature-item, .contact-box {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Testimonials */
.testimonials {
    padding: 60px 0;
    background-color: white;
    overflow: hidden;
}

.google-badge {
    text-align: center;
    margin-bottom: 25px;
}

.google-badge .stars {
    margin: 8px 0 5px;
}

.google-badge .stars i {
    color: #FBBC05; /* Google Yellow */
    font-size: 1.5rem;
}

.google-badge p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #5f6368;
    font-size: 1.1rem;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.carousel::before,
.carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
}

.carousel::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.carousel::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.carousel-track {
    display: flex;
    gap: 20px;
    width: calc(300px * 10 + 20px * 10); /* 10 items (5 + 5 duplicated) */
    animation: scroll 35s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 10px)); } /* Shift by exactly half including gap */
}

.review-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    width: 300px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
}

.review-header h5 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.review-stars i {
    color: #FBBC05;
    font-size: 0.8rem;
}

.review-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}

/* Coverage Area */
.coverage-area {
    background-color: var(--secondary);
    padding: 10px 0;
    border-bottom: 4px solid var(--accent);
}

.coverage-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 10px;
    border: 2px dashed var(--primary);
}

.coverage-box i {
    font-size: 1.5rem;
    color: var(--primary);
}

.pulse-location {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

.coverage-text h3 {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 3px;
}

.coverage-text p {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float-up-down 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

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

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-logo {
        font-size: 1.5rem;
        gap: 8px;
    }
    
    .btn-emergency {
        font-size: 1rem;
        padding: 10px 20px;
        gap: 8px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
    }

    .hero .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    
    .hero-content {
        flex: 1;
        align-items: flex-start;
        text-align: left;
    }
    
    .brand {
        text-align: left;
    }

    .brand h1 {
        font-size: 3.5rem;
    }
    
    .main-heading {
        text-align: left;
        font-size: 2.5rem;
    }
    
    .main-heading span {
        font-size: 1.8rem;
        display: inline;
    }
    
    .btn {
        width: auto;
    }

    .hero-image {
        flex: 1;
        max-width: 450px;
        margin: 0;
    }

    .hero-image img {
        width: 300px;
        height: 300px;
    }

    .wave-bottom svg {
        height: 60px;
    }
    
    .services-grid {
        flex-direction: row;
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card.featured {
        grid-column: span 2;
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    
    .features-flex {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .feature-item {
        flex: 1;
        justify-content: center;
    }
    
    .phone-link {
        flex-direction: row;
        font-size: 3rem;
    }
    
    .phone-link i {
        margin-bottom: 0;
    }

    .contact-box {
        padding: 50px 30px;
    }
    
    .floating-whatsapp {
        bottom: 30px;
        right: 30px;
        width: 65px;
        height: 65px;
        font-size: 38px;
    }
    
    .coverage-box {
        flex-direction: row;
        gap: 20px;
        padding: 15px;
    }
    
    .coverage-box i {
        font-size: 2.2rem;
    }
    
    .coverage-text h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .coverage-text p {
        font-size: 1.05rem;
        line-height: 1.4;
    }
    
    .coverage-text {
        text-align: left;
    }
    
    /* Re-enable hover/scroll animations ONLY on desktop */
    .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }
    .service-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
        border-left: 4px solid var(--secondary);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-card.featured {
        grid-column: span 3;
    }

    .checklist {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brand h1 {
        font-size: 4rem;
    }

    .main-heading {
        font-size: 3rem;
    }
}
