/* --- GLOBAL STYLES --- */
:root {
    --primary: #0056b3; /* Authority Blue */
    --dark-blue: #003d80;
    --accent: #ffc107; /* Conversion Yellow */
    --red-btn: #dc2626; /* Emergency Red */
    --blue-btn: #2563eb; /* Trust Blue */
    --dark: #212529;
    --grey: #555;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; margin: 0; padding: 0; color: var(--dark); line-height: 1.6; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }

/* --- HEADER (THE NAVBAR) --- */
.navbar {
    background: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); text-transform: uppercase; letter-spacing: -1px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.nav-links a:hover { color: var(--primary); }

/* Custom Red Button for Header */
.nav-cta-red { 
    background: var(--red-btn); 
    color: white !important; 
    padding: 12px 25px; 
    border-radius: 5px; 
    font-weight: 800; 
    transition: 0.3s;
}
.nav-cta-red:hover { background: #b91c1c; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); }

/* --- HERO SECTION --- */
.hero {
    /* Background Image is defined INLINE on the HTML page for flexibility */
    background-color: #333; /* Fallback color */
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
    position: relative;
}
.hero-bg-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }

.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 10px; line-height: 1.1; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.4rem; margin-bottom: 30px; font-weight: 500; opacity: 0.9; }

/* --- CONVERSION BOX (Hero Button) --- */
.zip-box {
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
    display: inline-flex;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
/* Note: zip-input styles removed as we switched to a direct link button */

/* Custom Blue Button */
.zip-btn-blue { 
    background: var(--blue-btn); 
    color: white; 
    border: none; 
    padding: 15px 30px; 
    font-weight: 800; 
    font-size: 1.1rem; 
    border-radius: 5px; 
    cursor: pointer; 
    text-transform: uppercase; 
}
.zip-btn-blue:hover { background: #1d4ed8; }

/* --- TRUST BAR --- */
.trust-bar { background: #f4f4f4; padding: 20px 0; border-bottom: 1px solid #ddd; }
.trust-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--grey); text-transform: uppercase; font-size: 0.9rem; }
.check { color: green; font-size: 1.2rem; }

/* --- SECTIONS COMMON --- */
.section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; color: var(--dark); }
.section-header p { font-size: 1.1rem; color: var(--grey); }

/* --- SERVICE GRID --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { 
    background: var(--white); border-radius: 12px; overflow: hidden; 
    box-shadow: var(--shadow); transition: transform 0.3s; border: 1px solid #eee;
    display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.service-img { height: 200px; background-color: #ddd; background-size: cover; background-position: center; }
.service-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between;}
.service-info h3 { margin-top: 0; color: var(--primary); font-size: 1.4rem; }
.service-link { font-weight: 700; color: var(--accent); text-transform: uppercase; font-size: 0.9rem; margin-top: 15px; display: block; }


/* --- HIGH CONVERSION FORM STYLES --- */

/* The Floating Card Container */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

/* Add a colored accent bar at the top */
.form-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.form-header { text-align: center; margin-bottom: 35px; }
.form-header h2 { font-size: 2.2rem; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.5px; }
.form-header p { color: #666; font-size: 1rem; max-width: 90%; margin: 0 auto; }

/* The "Live Status" Badge */
.verified-badge {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid #d1fae5;
}

/* Form Layout */
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Input Styling */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Icons inside inputs */
.input-icon {
    position: absolute;
    left: 15px;
    font-size: 1.1rem;
    color: #9ca3af;
    pointer-events: none;
    z-index: 10;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 16px 16px 16px 45px; /* Extra padding left for icon */
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.2s ease;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
}

/* Remove icon padding for textarea since it has no icon */
.form-group textarea { padding: 16px; }

/* Focus States - The "Pop" */
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1); /* Soft glow */
    outline: none;
}

/* Custom File Upload Styling */
.file-upload-wrapper { position: relative; width: 100%; }
.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
}
.file-upload-label {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}
.file-upload-wrapper:hover .file-upload-label {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

/* The "Billion Dollar" Button */
.submit-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: var(--dark);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.2);
    transition: transform 0.1s, box-shadow 0.1s;
    margin-top: 10px;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(245, 158, 11, 0.3);
    filter: brightness(1.05);
}
.submit-btn:active { transform: translateY(0); }

/* Security Footer */
.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex; justify-content: center; gap: 15px;
}


/* --- FOOTER --- */
footer { background: #1a1a1a; color: white; padding: 80px 20px 40px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { color: var(--accent); margin-top: 0; margin-bottom: 20px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 0.9rem; }
.footer-col ul li a:hover { color: white; }
.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 60px; padding-top: 30px; color: #666; font-size: 0.8rem; }


/* --- MOBILE STICKY CALL (Updated to Navy Blue) --- */
.mobile-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a; /* Premium Navy Blue */
    color: white;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    display: none; /* Hidden on desktop by default */
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .zip-box { flex-direction: column; width: 100%; }
    .zip-btn-blue { width: 100%; }
    .trust-container { flex-direction: column; gap: 15px; align-items: center; }
    
    /* Ensure sticky bar appears and body has room */
    .mobile-sticky { display: block; }
    body { padding-bottom: 60px; }
    
    /* Form adjustments */
    .form-container { padding: 25px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-header h2 { font-size: 1.8rem; }
}
/* --- LOGO IMAGE STYLES --- */
.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px; /* Fits perfectly inside the 80px navbar */
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    .logo-img {
        max-height: 40px; /* Slightly smaller for mobile phones */
    }
}