/* --- CSS RESET & VARIABLES --- */
:root {
    --primary: #0284c7; /* Professional Blue */
    --primary-hover: #0369a1;
    --secondary: #f59e0b; /* Accent Yellow/Orange */
    --bg-main: #f8fafc; /* Light grey body */
    --bg-white: #ffffff; /* White cards */
    --text-dark: #0f172a; /* Main dark text */
    --text-gray: #475569; /* Paragraphs */
    --border-color: #e2e8f0;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; }

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; justify-content: center; }
.section-title { margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-gray); font-size: 1.1rem; }
.title-underline { height: 4px; width: 60px; background: var(--primary); margin: 0 auto; border-radius: 2px; }
.title-underline.left { margin: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.5rem; border-radius: 8px; font-weight: 600; font-family: var(--font-heading);
    cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(2, 132, 199, 0.2); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }


/* --- HEADER --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition);
    padding: 1rem 0;
}
.header.scrolled { padding: 0.5rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; font-family: var(--font-heading); display: flex; align-items: center; gap: 0.5rem; color: var(--text-dark); }
.logo i { color: var(--primary); }
.logo span { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 1rem; position: relative; color: var(--text-dark); }
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: transparent; border: none; color: var(--text-dark); font-size: 1.5rem; cursor: pointer; }
.mobile-menu-logo { display: none; }


/* --- HERO --- */
.hero {
    padding: 150px 0 80px 0;
    background: linear-gradient(135deg, var(--bg-main) 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--secondary); margin-right: 0.5rem; }
.hero-content h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); line-height: 1.15; margin-bottom: 1.5rem; color: var(--text-dark); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.15rem; color: var(--text-gray); margin-bottom: 2.5rem; line-height: 1.7; max-width: 550px; font-weight: 500;}
.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }

/* Trust Avatars */
.hero-trust { display: flex; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.05); max-width: 400px;}
.trust-avatars { display: flex; align-items: center; gap: 1rem; }
.trust-avatars img { width: 45px; height: 45px; border-radius: 50%; border: 3px solid #fff; margin-left: -15px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.trust-avatars img:first-child { margin-left: 0; }
.trust-rating { display: flex; flex-direction: column; }
.trust-rating strong { font-size: 1.1rem; color: var(--text-dark); line-height: 1.2; font-weight: 800; }
.trust-rating span { font-size: 0.85rem; color: var(--text-gray); font-weight: 500;}

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-image-wrapper { position: relative; border-radius: 24px; z-index: 2; padding: 1.5rem; }
.hero-image-wrapper::before {
    content: ''; position: absolute; top: -2%; left: 5%; width: 100%; height: 100%;
    background: var(--primary); border-radius: 24px; z-index: -1; opacity: 0.1;
}
.hero-image-wrapper::after {
    content: ''; position: absolute; bottom: -5%; right: -5%; width: 50%; height: 50%;
    background: var(--secondary); border-radius: 24px; z-index: -1; opacity: 0.1;
}
.main-hero-img { width: 100%; max-width: 450px; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); object-fit: cover; aspect-ratio: 4/5; }

/* Floating Badges */
.floating-badge {
    position: absolute; background: #fff; padding: 1rem 1.5rem; border-radius: 12px;
    display: flex; align-items: center; gap: 1rem; box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    animation: floatAnim 3s infinite ease-in-out;
}
.floating-badge.top-right { top: 30px; right: 0; animation-delay: 0.5s; }
.floating-badge.bottom-left { bottom: 50px; left: -10px; }
.floating-badge .icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(245, 158, 11, 0.1); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.floating-badge.bottom-left .icon { background: rgba(2, 132, 199, 0.1); color: var(--primary); }
.floating-badge .text { display: flex; flex-direction: column; }
.floating-badge .text strong { font-size: 1.1rem; line-height: 1.1; color: var(--text-dark); }
.floating-badge .text span { font-size: 0.85rem; color: var(--text-gray); }

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


/* --- SERVICES DETAILED CARDS --- */
.services { padding: 5rem 0; background-color: var(--bg-main); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.service-card {
    background: var(--bg-white); border-radius: 16px; overflow: hidden;
    border: 1px solid var(--border-color); transition: var(--transition);
    display: flex; flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: rgba(2, 132, 199, 0.3); }
.service-img-wrapper { position: relative; height: 220px; overflow: hidden; }
.service-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-img { transform: scale(1.05); }

.service-icon-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--bg-white); color: var(--primary);
    padding: 0.5rem 1rem; border-radius: 30px; font-weight: 700; font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 0.5rem;
}

.service-info { padding: 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-info h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.service-info p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }

.service-price-list { list-style: none; margin-bottom: 1.5rem; border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.service-price-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px dashed var(--border-color); }
.service-price-list li:last-child { border-bottom: none; }
.service-price-list li span { color: var(--text-gray); font-size: 0.95rem; }
.service-price-list li strong { color: var(--text-dark); font-weight: 700; font-size: 1.05rem; }
.service-price-list li strong.highlight { color: var(--primary); }

/* --- WHY US --- */
.why-us { padding: 5rem 0; background-color: var(--bg-white); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.why-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-features { display: grid; gap: 2rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.why-icon {
    min-width: 60px; height: 60px; border-radius: 12px;
    background: rgba(2, 132, 199, 0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.why-item h4 { margin-bottom: 0.3rem; font-size: 1.2rem; }
.why-item p { color: var(--text-gray); font-size: 0.95rem; }
.why-image {
    position: relative; height: 500px;
    background: url('images/hero_bg.png') center/cover;
    border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.experience-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--primary); color: #fff;
    padding: 1.5rem 2rem; border-radius: 16px;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.3);
}
.experience-badge .number { font-size: 3rem; font-weight: 800; font-family: var(--font-heading); line-height: 1; }
.experience-badge .text { font-weight: 600; line-height: 1.2; }


/* --- TESTIMONIALS --- */
.testimonials { padding: 5rem 0; background-color: var(--bg-main); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
    background: var(--bg-white); padding: 2.5rem 2rem; border-radius: 16px;
    border: 1px solid var(--border-color); position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 10px; right: 20px;
    font-size: 5rem; color: rgba(2, 132, 199, 0.1); font-family: var(--font-heading); line-height: 1;
}
.rating { color: var(--secondary); margin-bottom: 1rem; font-size: 1.1rem; }
.testimonial-card p { font-style: italic; color: var(--text-gray); margin-bottom: 1.5rem; }
.author { font-weight: 700; color: var(--text-dark); display: flex; align-items: center; gap: 0.5rem; }
.author::before { content: ''; width: 20px; height: 2px; background: var(--primary); display: inline-block; }

/* --- CONTACT --- */
.contact { padding: 5rem 0; background-color: var(--bg-white); border-top: 1px solid var(--border-color); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-details { margin-top: 2rem; display: grid; gap: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1.5rem; }
.contact-item .icon {
    min-width: 50px; height: 50px; border-radius: 50%;
    background: rgba(2, 132, 199, 0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-item h5 { margin-bottom: 0.2rem; color: var(--text-gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-item a, .contact-item p { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); }
.contact-item a:hover { color: var(--primary); }

.areas-covered-box { background: var(--bg-main); padding: 3rem; border-radius: 16px; border: 1px solid var(--border-color); }
.area-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.area-list li { display: flex; align-items: center; gap: 0.8rem; font-size: 1.05rem; font-weight: 500; }
.area-list li i { color: var(--primary); background: rgba(2, 132, 199, 0.1); padding: 0.5rem; border-radius: 50%; font-size: 0.8rem; }

/* --- FOOTER --- */
footer { padding: 3rem 0 2rem; background-color: #0f172a; color: #fff; text-align: center; } /* Keeps footer dark for anchor */
.footer-brand .logo { color: #fff; justify-content: center; margin-bottom: 1rem; }
.footer-brand p { color: #94a3b8; font-size: 0.95rem; max-width: 400px; margin: 0 auto; }
.footer-copyright { margin-top: 3rem; color: #64748b; font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }


/* --- FLOATING BUTTONS --- */
.floating-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff; z-index: 100;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); transition: var(--transition);
}
.floating-btn.whatsapp { background: var(--whatsapp); bottom: 100px; }
.floating-btn.whatsapp:hover { background: var(--whatsapp-hover); transform: scale(1.1) translateY(-5px); }
.floating-btn.phone { background: var(--primary); color: #fff; font-size: 1.5rem; }
.floating-btn.phone:hover { background: var(--primary-hover); transform: scale(1.1) translateY(-5px); }


/* --- ANIMATIONS & SCROLL REVEAL --- */
.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll Intersection Observer Classes */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}
.reveal-up { transform: translateY(60px); }
.reveal-down { transform: translateY(-60px); }
.reveal-left { transform: translateX(60px); }
.reveal-right { transform: translateX(-60px); }
.zoom-in { transform: scale(0.85); }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .why-wrapper, .contact-wrapper { grid-template-columns: 1fr; }
    .why-image { height: 350px; order: -1; margin-bottom: 2rem; }
    .experience-badge { left: 20px; bottom: -20px; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 130px; }
    .hero-badge { margin: 0 auto 1.5rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-trust { margin: 0 auto 3rem; }
    .floating-badge.top-right { right: 0; }
    .floating-badge.bottom-left { left: 0; }
    .hero-image-wrapper { padding: 1rem; }
}

@media (max-width: 768px) {
    .header-contact { display: none; }
    .mobile-menu-btn { display: block; position: relative; z-index: 1001; }
    .hero-features { flex-direction: column; gap: 1rem; }
    .hero-buttons { flex-direction: column; }
    .area-list { grid-template-columns: 1fr; }
    
    /* Mobile Menu Style (Sliding from Left to Right) */
    .mobile-menu-logo { 
        display: block; 
        margin-bottom: 1rem; 
        padding-bottom: 1.5rem; 
        border-bottom: 1px solid var(--border-color); 
    }
    .logo { 
        font-size: 1.2rem; 
        gap: 0.3rem; 
    }
    .mobile-menu-logo .logo { 
        font-size: 1.3rem; 
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed; 
        top: 0; 
        left: -100%; 
        width: 80%; 
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white); 
        padding: 3rem 2rem 2rem; 
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-links.active {
        left: 0;
    }
}
