@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

/* --- 1. GLOBAL VARIABLES --- */
:root {
    --primary: #0b1f44;
    --accent: #e06c00;
    --accent-hover: #c55d00;
    --light: #f8f9fa;
    --grey: #6c757d;
    --dark: #212529;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* --- 2. BASE STYLES --- */
body { font-family: 'Roboto', sans-serif; margin: 0; padding: 0; color: var(--dark); background-color: var(--white); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section { padding: 80px 0; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; }

/* --- 3. BUTTONS --- */
.btn { display: inline-block; padding: 12px 30px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; border-radius: 4px; cursor: pointer; border: none; transition: all 0.3s ease; }
.btn-orange { background: var(--accent); color: white; }
.btn-orange:hover { background: var(--accent-hover); color: white; transform: translateY(-2px); }
.btn-outline { border: 2px solid white; color: white; background: transparent; }
.btn-outline:hover { background: white; color: var(--primary); }

/* --- 4. HEADER & NAVIGATION --- */
header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
header .top-bar { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); display: flex; align-items: center; gap: 10px; }
nav ul { display: flex; gap: 30px; align-items: center; margin: 0; }
nav a { color: var(--primary); font-weight: 500; font-size: 1rem; }
nav a:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 15px; }
.phone-btn { background: var(--accent); color: white; padding: 10px 20px; border-radius: 4px; font-weight: bold; display: flex; align-items: center; gap: 8px; }

/* Desktop Dropdown Styles */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1001;
    flex-direction: column;
    gap: 0;
    border-top: 3px solid var(--accent);
}
.dropdown:hover .dropdown-menu { display: flex; } /* Show on hover for desktop */
.dropdown-menu li { width: 100%; margin: 0; }
.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark);
    font-size: 0.95rem;
    border-bottom: 1px solid #f4f4f4;
    font-weight: 400;
}
.dropdown-menu a:hover { background: var(--light); color: var(--accent); padding-left: 25px; }
.dropdown-menu li:last-child a { border-bottom: none; }

/* Default state for burger menu */
.menu-toggle { display: none; font-size: 1.8rem; cursor: pointer; color: var(--primary); transition: 0.3s; }
.menu-toggle:hover { color: var(--accent); }

/* --- 5. HERO SECTION --- */
.hero { 
    color: white; 
    position: relative; 
    padding: 120px 0 100px; /* Restores the tall, professional spacing */
}
.hero h1 { 
    font-size: 3.5rem; /* Restores the large, bold headline */
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 20px;
}
.hero p { 
    font-size: 1.4rem; /* Restores the readable sub-headline */
    opacity: 0.9; 
    margin-bottom: 40px;
    font-weight: 300;
}
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- 6. TRUST BAR --- */
.trust-bar { background: #f0f2f5; padding: 15px 0; border-bottom: 1px solid #ddd; }
.trust-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--primary); }
.trust-item i { color: var(--primary); font-size: 1.2rem; }

/* --- 7. SERVICES GRID & CARDS --- */
.service-section { background: var(--light); }
.section-title { margin-bottom: 50px; }
.section-title h2 { color: var(--primary); font-size: 2.5rem; margin-bottom: 10px; }
.section-title p { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.card-img { height: 200px; background-size: cover; background-position: center; }
.card-body { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card h3 { color: var(--primary); margin-top: 0; }
.card p { color: var(--grey); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-link { color: var(--accent); font-weight: 700; margin-top: auto; }

/* --- 8. WHY CHOOSE US --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-box { background: white; padding: 30px; border-radius: 8px; border-top: 4px solid var(--primary); text-align: center; box-shadow: var(--shadow); }
.feature-box img { height: 180px; width: 100%; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.feature-box h3 { color: var(--primary); margin-bottom: 10px; }

/* --- 9. FORMS & LEAD GENERATION --- */
.cta-section { background: linear-gradient(135deg, #0b1f44 0%, #1e3c72 100%); padding: 60px 0; position: relative; margin-top: 60px; }
.cta-box { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); margin-top: -100px; position: relative; z-index: 10; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: span 2; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-family: inherit; font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(224, 108, 0, 0.2); }
textarea { resize: vertical; }

/* --- 10. FOOTER --- */
footer { background: var(--primary); color: white; padding: 80px 0 30px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
footer h3 { color: white; font-size: 1.2rem; border-bottom: 2px solid var(--accent); padding-bottom: 15px; margin-bottom: 20px; display: inline-block; }
footer ul li { margin-bottom: 12px; }
footer a { color: #ccc; transition: 0.3s; }
footer a:hover { color: white; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;}
.trust-badges { display: flex; gap: 15px; }
.trust-badges i { font-size: 2rem; color: #ccc; }

/* --- 11. MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 900px) {
    header { position: relative; } /* Necessary for dropdown to position correctly on mobile */
    
    /* Hide normal nav, set it up to drop down */
    nav { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: white; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        padding: 20px; 
        box-sizing: border-box; 
        z-index: 999;
        border-top: 1px solid #eee;
    }
    
    /* Toggle class added via Javascript */
    nav.nav-active { display: block; }
    
    nav ul { flex-direction: column; gap: 15px; align-items: flex-start; }
    nav a { font-size: 1.1rem; padding: 5px 0; display: block; width: 100%; }

    /* Mobile Dropdown Fix */
    .dropdown-menu {
        position: relative;
        box-shadow: none;
        padding-left: 15px;
        display: none; /* Hidden by default on mobile */
        width: 100%;
        border-top: none;
        border-left: 2px solid var(--accent);
        margin-top: 10px;
    }
    
    /* Triggered by clicking "Services" via JS */
    .dropdown.dropdown-active .dropdown-menu { display: flex; }

    /* Show burger menu */
    .menu-toggle { display: block; }
    
    /* Hide desktop phone button on small screens to make room for logo + burger */
    .header-cta .desktop-phone { display: none; } 
    
    .hero h1 { font-size: 2.2rem !important; }
    .hero p { font-size: 1.1rem !important; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; box-sizing: border-box; }
    .form-grid { grid-template-columns: 1fr; }
    .form-full { grid-column: span 1; }
    .cta-box { margin-top: 0; padding: 25px; }
    .section-title h2 { font-size: 2rem; }
}