
:root {
    --primary: #0B3D91;
    --primary-light: #1565C0;
    --primary-dark: #062a66;
    --accent: #2E7D32;
    --accent-light: #43A047;
    --accent-dark: #1B5E20;
    --text: #1a1a2e;
    --text-light: #4a4a6a;
    --bg: #ffffff;
    --bg-alt: #f0f4f8;
    --bg-dark: #0a1628;
    --border: #d0d7e2;
    --shadow: 0 4px 24px rgba(11,61,145,0.10);
    --shadow-lg: 0 8px 40px rgba(11,61,145,0.15);
    --radius: 8px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.top-bar {
    background: var(--primary-dark);
    color: #fff;
    padding: 6px 0;
    font-size: 14px;
    text-align: center;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; align-items: center; gap: 20px; }
.top-bar-phone { font-size: 16px; font-weight: 700; }

header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-area img { height: 55px; width: auto; }
.logo-text h1, .logo-text .logo-name { font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--primary); line-height: 1.2; margin: 0; }
.logo-text .logo-tagline { font-size: 12px; color: var(--text-light); font-weight: 500; }

nav { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
nav a, .dropdown > a { font-weight: 600; padding: 10px 12px; border-radius: var(--radius); color: var(--text); font-size: 14px; transition: background 0.2s, color 0.2s; display: block; white-space: nowrap; }
nav a:hover, .dropdown:hover > a { background: var(--bg-alt); color: var(--primary); }

.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    min-width: 280px;
    z-index: 100;
    padding: 8px 0;
    border: 1px solid var(--border);
    animation: dropdownFade 0.2s ease;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { padding: 10px 20px; font-size: 14px; white-space: nowrap; display: block; border-left: 3px solid transparent; }
.dropdown-content a:hover { background: var(--bg-alt); border-left-color: var(--primary); }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff !important;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.header-cta:hover { background: var(--accent-light); transform: translateY(-1px); color: #fff !important; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* HERO */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(11,61,145,0.92), rgba(6,42,102,0.88)), url('../images/hero.jpg') center/cover no-repeat;
    color: #fff;
    padding: 100px 0 80px;
    text-align: center;
}
.hero h1 { font-family: var(--font-heading); font-size: 48px; font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.hero p { font-size: 20px; max-width: 700px; margin: 0 auto 32px; opacity: 0.9; }
.hero-phone { font-size: 28px; font-weight: 700; margin-bottom: 24px; }
.hero-phone a { color: #fff; border-bottom: 2px solid var(--accent-light); padding-bottom: 2px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(46,125,50,0.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-secondary { background: var(--primary); color: #fff; }
.btn-secondary:hover { background: var(--primary-light); color: #fff; transform: translateY(-2px); }

/* SECTIONS */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg-alt); }

.section-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 16px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 48px;
}

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* CARDS */
.card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-family: var(--font-heading); font-size: 20px; color: var(--primary); margin-bottom: 12px; }
.card-body p { color: var(--text-light); margin-bottom: 16px; font-size: 15px; }

/* LOCATIONS GRID */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.location-link {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 18px; background: #fff; border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); font-weight: 600;
    color: var(--primary); transition: all 0.2s; border: 1px solid var(--border);
}
.location-link:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* AREAS LIST */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-tag {
    padding: 8px 18px; background: #fff; border: 1px solid var(--border);
    border-radius: 50px; font-size: 14px; font-weight: 500;
    color: var(--text); transition: all 0.2s;
}
.area-tag:hover, a.area-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* TESTIMONIALS */
.testimonial-card {
    background: #fff; padding: 32px; border-radius: var(--radius);
    box-shadow: var(--shadow); position: relative;
}
.testimonial-card::before { content: '"'; font-size: 60px; color: var(--primary); opacity: 0.15; position: absolute; top: 10px; left: 20px; font-family: serif; }
.testimonial-card p { font-style: italic; margin-bottom: 16px; color: var(--text-light); }
.testimonial-author { font-weight: 700; color: var(--primary); }
.stars { color: #f59e0b; margin-bottom: 8px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%; text-align: left; padding: 20px 0;
    background: none; border: none; cursor: pointer;
    font-size: 17px; font-weight: 600; color: var(--text);
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body);
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--text-light); }
.faq-item.active .faq-answer { max-height: 500px; }

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; padding: 64px 0; text-align: center;
}
.cta-banner h2 { font-family: var(--font-heading); font-size: 36px; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .hero-buttons { margin-bottom: 0; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text h2 { font-family: var(--font-heading); font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; color: var(--text-light); }

/* FOOTER */
footer {
    background: var(--bg-dark); color: #c0c8d8; padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h3 { color: #fff; font-family: var(--font-heading); font-size: 18px; margin-bottom: 20px; }
footer a { color: #c0c8d8; display: block; padding: 4px 0; font-size: 14px; }
footer a:hover { color: var(--accent-light); }
.footer-about p { font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; text-align: center; font-size: 13px;
}
.footer-bottom a { display: inline; padding: 0; }

/* PAGE HERO */
.page-hero {
    background: linear-gradient(135deg, rgba(11,61,145,0.9), rgba(6,42,102,0.85)), url('../images/hero.jpg') center/cover no-repeat;
    color: #fff; padding: 80px 0 60px; text-align: center;
}
.page-hero h1 { font-family: var(--font-heading); font-size: 42px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* CONTENT */
.content-section { padding: 60px 0; }
.content-section h2 { font-family: var(--font-heading); font-size: 28px; color: var(--primary); margin: 32px 0 16px; }
.content-section h3 { font-family: var(--font-heading); font-size: 22px; color: var(--primary-dark); margin: 24px 0 12px; }
.content-section p { margin-bottom: 16px; color: var(--text-light); }
.content-section ul { margin: 16px 0; padding-left: 24px; }
.content-section li { margin-bottom: 8px; color: var(--text-light); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; padding: 14px 18px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 15px;
    font-family: var(--font-body); margin-bottom: 16px;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-info-card { background: var(--bg-alt); padding: 32px; border-radius: var(--radius); margin-bottom: 24px; }
.contact-info-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 16px; }
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 300px; border: 0; }

/* RESOURCE CARDS */
.resource-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; transition: transform 0.3s; }
.resource-card:hover { transform: translateY(-4px); }
.resource-card h3 { font-family: var(--font-heading); color: var(--primary); margin-bottom: 12px; font-size: 20px; }
.resource-card p { color: var(--text-light); margin-bottom: 16px; }

/* MOBILE */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container { justify-content: center; }
    .top-bar-left { gap: 12px; }

    .header-main { flex-wrap: wrap; }
    .logo-text .logo-name { font-size: 18px; }
    .logo-area img { height: 42px; }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 3;
        padding: 16px 0;
        border-top: 1px solid var(--border);
    }
    nav.active { display: flex; }
    nav a, .dropdown > a { padding: 12px 0; }
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0 0 0 20px;
        display: none;
        min-width: auto;
    }
    .dropdown.active .dropdown-content { display: block; }

    .mobile-toggle { display: block; }

    .header-cta { order: 2; padding: 10px 18px; font-size: 14px; }

    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
    .hero-phone { font-size: 22px; }

    .section-title { font-size: 28px; }
    section { padding: 50px 0; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .page-hero h1 { font-size: 30px; }
    .page-hero { padding: 60px 0 40px; }
}
