:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3399ff;
    --green: #00aa55;
    --green-dark: #008844;
    --green-light: #00cc66;
    --navy: #0a2540;
    --text: #1a2a3a;
    --muted: #5a6a7a;
    --light-bg: #f0f7ff;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 80, 160, 0.12);
    --radius: 16px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
#mainNav {
    background: transparent;
    transition: all 0.35s ease;
    padding: 0.8rem 0;
}

#mainNav.scrolled {
    background: rgba(10, 37, 64, 0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.navbar-brand .logo-nav {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--green-light);
    transition: all 0.3s;
    transform: translateX(-50%);
}

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

.btn-call {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white !important;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 170, 85, 0.4);
    color: white;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #004d99 0%, #0066cc 40%, #00aaff 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 200, 100, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.25);
}

.text-green {
    color: #5dff9a;
}

.hero-slogan {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #a8e6ff;
    font-style: italic;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    transition: all 0.25s;
    box-shadow: 0 4px 15px rgba(0, 170, 85, 0.35);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--green-dark), #006633);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 170, 85, 0.45);
}

.btn-outline-light {
    border-radius: 50px;
    border-width: 2px;
    font-weight: 600;
}

.hero-features {
    font-size: 0.85rem;
    opacity: 0.95;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.feature-item i {
    font-size: 1.1rem;
}

.hero-logo {
    max-width: 380px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

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

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* Sections */
.section-label {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    max-width: 640px;
    color: var(--muted);
    font-size: 1.05rem;
}

/* Services */
.section-services {
    background: var(--light-bg);
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,100,200,0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 80, 160, 0.18);
}

.service-img-wrap {
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f0ff, #c8e6ff);
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-icon-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.7;
}

.service-body {
    padding: 1.5rem 1.25rem 1.5rem;
    position: relative;
}

.service-icon-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: absolute;
    top: -24px;
    right: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 100, 200, 0.35);
}

/* Features strip */
.features-strip {
    background: linear-gradient(90deg, var(--navy), #0d3a5c);
    color: white;
}

.strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.strip-item i {
    font-size: 1.6rem;
    color: var(--green-light);
}

/* Contact */
.section-contact {
    background: white;
}

.contact-info-card,
.contact-form-card {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,100,200,0.08);
}

.contact-form-card {
    background: white;
}

.form-control, .form-select {
    border-radius: 10px;
    border: 1.5px solid #d0e0f0;
    padding: 0.7rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.map-container iframe {
    border-radius: 12px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5c 100%);
    color: white;
    padding: 2.5rem 0;
}

.btn-call-footer {
    background: var(--green);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

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

/* About Modal */
.about-modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.about-modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.about-stat {
    padding: 0.75rem;
}

.about-stat i {
    color: var(--primary) !important;
}

/* Scrollbar for modal */
.about-modal-body::-webkit-scrollbar {
    width: 8px;
}
.about-modal-body::-webkit-scrollbar-track {
    background: #f0f4f8;
    border-radius: 4px;
}
.about-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .hero-slogan {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 2.2rem;
    }
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55);
    color: white;
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 75px;
    background: #128C7E;
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-float .wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #128C7E;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

@media (max-width: 575px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 1.7rem;
    }
}

/* Service Areas badges - Local SEO */
.area-badge {
    background: #f0f7ff;
    border: 1.5px solid #c5dff5;
    border-radius: 50px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #0a2540;
    transition: all 0.2s;
}
.area-badge:hover {
    background: #e0f0ff;
    border-color: #0066cc;
}
.area-badge-primary {
    background: linear-gradient(135deg, #0066cc, #004d99);
    color: white;
    border-color: transparent;
    font-weight: 600;
}
.area-badge-primary:hover {
    background: linear-gradient(135deg, #004d99, #003366);
    color: white;
}

/* FAQ Section */
.section-faq {
    background: var(--light-bg);
}
.faq-accordion .faq-item {
    background: white;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0,100,200,0.1) !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,80,160,0.06);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--navy);
    background: white;
    box-shadow: none !important;
    padding: 1.1rem 1.25rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #f8fbff;
}
.faq-accordion .accordion-button::after {
    background-size: 1.1rem;
    filter: hue-rotate(180deg);
}
.faq-accordion .accordion-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Multi-page hero (About, Services, FAQ, Contact) */
.page-hero {
    background: linear-gradient(135deg, #004d99 0%, #0066cc 50%, #00aaff 100%);
    padding: 140px 0 80px;
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(0,200,100,0.12) 0%, transparent 60%);
}
.about-text-page {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}
.about-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    box-shadow: 0 4px 15px rgba(0,80,160,0.08);
    border: 1px solid rgba(0,100,200,0.08);
    height: 100%;
}
.nav-link.active {
    color: #5dff9a !important;
}
.nav-link.active::after {
    width: 60%;
    background: var(--green-light);
}
