/* style.css */

/* --- BRAND COLORS --- */
:root {
    --navy-blue: #1B3B5A;
    --tool-orange: #F39C12;
    --wifi-green: #27AE60;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --text-dark: #2c3e50;
}

/* FIX SCROLL JUMPING */
html { scroll-padding-top: 130px; }

* { box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    background: var(--white);
    padding: 10px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-link img { height: 80px; width: auto; display: block; } 
.logo-link:hover { transform: scale(1.02); transition: 0.2s; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a {
    text-decoration: none; color: var(--navy-blue);
    font-weight: 600; font-size: 1.05rem; transition: color 0.2s;
}
.nav-links a:hover { color: var(--tool-orange); }
.nav-btn {
    background-color: var(--navy-blue); color: white !important;
    padding: 10px 20px; border-radius: 50px;
    transition: background-color 0.2s;
}
.nav-btn:hover { background-color: #152e46; }

/* --- HERO --- */
.hero {
    background-color: var(--navy-blue); color: var(--white);
    padding: 100px 8%; text-align: center;
    background-image: linear-gradient(135deg, rgba(27, 59, 90, 0.95), rgba(27, 59, 90, 0.85)), url('https://images.unsplash.com/photo-1597733336794-12d05021d510?auto=format&fit=crop&q=80&w=1200');
    background-size: cover; background-position: center;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.4rem; max-width: 700px; margin: 0 auto 40px auto; color: #e0e6ed; }
.cta-btn {
    background-color: var(--tool-orange); color: var(--white);
    padding: 18px 45px; font-size: 1.2rem; font-weight: bold;
    text-decoration: none; border-radius: 50px; display: inline-block;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3); transition: 0.2s;
}
.cta-btn:hover { transform: translateY(-3px); background-color: #e67e22; }

/* --- SECTIONS --- */
.section-std { padding: 80px 8%; }
.bg-white { background: var(--white); }
.bg-grey { background: #f8f9fa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
h2.section-title { color: var(--navy-blue); text-align: center; margin-bottom: 40px; font-size: 2rem; }

/* --- TRUST BAR --- */
.trust-bar {
    background: var(--white); padding: 40px 8%; display: flex;
    justify-content: center; gap: 50px; flex-wrap: wrap; border-bottom: 1px solid #eee;
}
.trust-item { text-align: center; font-weight: 600; color: var(--navy-blue); }
.trust-item span { display: block; color: var(--wifi-green); font-size: 1.5rem; margin-bottom: 5px; }

/* --- ABOUT ME --- */
.about-container {
    display: flex; align-items: center; gap: 50px; max-width: 1000px; margin: 0 auto;
}
.about-text { flex: 1; }
.about-img { flex: 1; max-width: 400px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- SERVICES (Flexbox Fix Applied) --- */
.services-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* Centers the orphaned cards */
    gap: 30px; 
}

.service-card {
    background: var(--white); 
    padding: 35px; 
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    border-top: 5px solid var(--navy-blue); 
    transition: 0.3s;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    
    /* Flex Sizing */
    flex: 1 1 300px; 
    max-width: 400px;
}

.service-card:hover { transform: translateY(-7px); }
.card-orange { border-top-color: var(--tool-orange); }
.card-green { border-top-color: var(--wifi-green); }

.service-link { color: var(--navy-blue); font-weight: bold; text-decoration: none; margin-top: 15px; display: block; }
.service-link:hover { color: var(--tool-orange); }

/* --- TESTIMONIALS --- */
.testimonials { background-color: var(--navy-blue); color: white; text-align: center; }
.testimonial-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.testimonial-card {
    background: rgba(255,255,255,0.1); padding: 25px; border-radius: 10px;
    max-width: 350px; text-align: left;
}
.stars { color: var(--tool-orange); letter-spacing: 2px; margin-bottom: 10px; display: block;}

/* --- MAP & AREAS --- */
.map-container {
    max-width: 900px; margin: 0 auto; border-radius: 12px;
    overflow: hidden; border: 4px solid var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.areas-list {
    text-align: center; margin-top: 20px; color: #666; font-size: 0.9rem;
}

/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
details { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-bottom: 15px; cursor: pointer; }
summary { font-weight: bold; color: var(--navy-blue); padding-right: 30px; position: relative; list-style: none; }
summary::after { content: '+'; position: absolute; right: 0; color: var(--tool-orange); }
details[open] summary::after { content: '-'; }

/* --- CONTACT --- */
.form-container {
    max-width: 650px; margin: 0 auto; background: #f8f9fa;
    padding: 45px; border-radius: 15px; border: 1px solid #e1e4e8;
}
input, select, textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: 2px solid #ddd; border-radius: 8px; font-family: inherit;
}
.submit-btn {
    width: 100%; background-color: var(--navy-blue); color: var(--white);
    padding: 18px; border: none; border-radius: 8px; font-weight: bold; cursor: pointer;
    transition: background-color 0.2s;
}
.submit-btn:hover { background-color: #152e46; }

/* --- FOOTER & MOBILE --- */
footer { background-color: var(--navy-blue); color: #bdc3c7; padding: 50px 8%; text-align: center; }
footer a { color: var(--tool-orange); text-decoration: none; }

.mobile-call-bar {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--white); z-index: 2000; padding: 15px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
}
.mobile-call-btn {
    background: var(--wifi-green); color: white; display: block;
    text-decoration: none; font-weight: bold; padding: 12px 0;
    border-radius: 8px; text-align: center;
}
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: #FFF; border-radius: 50%;
    width: 65px; height: 65px; line-height: 65px; text-align: center;
    font-size: 35px; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none; z-index: 3000; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

@media (max-width: 768px) {
    nav { flex-direction: column; gap: 15px; }
    .nav-links { gap: 15px; font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
    .about-container { flex-direction: column-reverse; }
    .about-img { width: 100%; }
    .mobile-call-bar { display: block; }
    body { padding-bottom: 80px; }
    .whatsapp-float { bottom: 95px; right: 20px; width: 55px; height: 55px; line-height: 55px; font-size: 30px; }
}