/* ============================================================
   STYLE.CSS - QuickIQTest.net Seattle Pages
   Directory: /iq-testing-seattle/style.css
   Used by: All Seattle pages (main + sub-pages)
   ============================================================ */

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f2f4f8;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    padding: 0;
    padding-top: 80px; /* space for fixed header */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: #dee3ef;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.04);
    padding: 20px 30px 30px;
}

/* ============================================================
   FIXED HEADER / NAV
   ============================================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: #DEE3EF;
    border-bottom: 3px solid #f9b81b;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.top-nav .logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.top-nav .contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    flex-wrap: wrap;
}

.top-nav .contact-info .phone-link {
    font-size: 1.5rem;
    font-weight: 700;
    background: #f9b81b;
    color: #002b5e;
    padding: 4px 20px;
    border-radius: 60px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    white-space: nowrap;
}

.top-nav .contact-info .phone-link:hover {
    background: #fdd966;
}

.top-nav .contact-info .label {
    color: #1e293b;
    font-size: 0.95rem;
}

.top-nav .contact-info i {
    margin-right: 4px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 15px;
    padding: 8px 0;
}

.breadcrumb a {
    color: #002b5e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #d4952b;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: #002b5e;
    color: white;
    padding: 28px 30px 32px;
    border-radius: 16px;
    margin: 18px 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 55%;
    min-width: 280px;
}

.hero-image {
    flex: 0 0 35%;
    min-width: 180px;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.hero .sub {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.hero .phone {
    font-size: 2.4rem;
    font-weight: 700;
    background: #f9b81b;
    color: #002b5e;
    padding: 6px 28px;
    border-radius: 60px;
    display: inline-block;
    text-decoration: none;
    margin: 6px 0 4px;
}

.hero .phone:hover {
    background: #fdd966;
}

.hero .cta-btn {
    background: #f9b81b;
    color: #002b5e;
    font-weight: 700;
    padding: 8px 28px;
    border-radius: 60px;
    text-decoration: none;
    display: inline-block;
    margin-top: 6px;
}

.hero .cta-btn:hover {
    background: #fdd966;
}

.hero .badge-line {
    margin-top: 14px;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.hero .badge-line span {
    opacity: 0.9;
}

.hero .badge-line i {
    margin-right: 6px;
}

/* ============================================================
   LEAD SECTION (image + form)
   ============================================================ */
.lead-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 20px 0 10px;
    flex-wrap: wrap;
    padding: 1px 1px;
    border-radius: 16px;
}

.lead-image {
    flex: 1 1 45%;
    min-width: 200px;
}

.lead-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.lead-form {
    flex: 1 1 45%;
    min-width: 280px;
}

.lead-form iframe {
    width: 100%;
    height: 905px;
    border: none;
    border-radius: 10px;
    display: block;
}

/* ============================================================
   HEADINGS & TEXT
   ============================================================ */
h2 {
    font-size: 1.7rem;
    margin: 28px 0 10px;
    color: #002b5e;
    border-left: 5px solid #f9b81b;
    padding-left: 14px;
}

h3 {
    font-size: 1.25rem;
    margin: 18px 0 6px;
    color: #0a2a4a;
}

p {
    margin-bottom: 12px;
}

.last-updated {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: -5px;
    margin-bottom: 15px;
}

/* ============================================================
   SERVICE GRID
   ============================================================ */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 18px 0 10px;
}

.service-card {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 14px;
    border-left: 6px solid #002b5e;
    transition: 0.15s;
}

.service-card:hover {
    background: #f1f5f9;
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #002b5e;
}

.service-card h4 i {
    width: 1.4rem;
    color: #002b5e;
    margin-right: 6px;
}

/* Clickable service titles - hover effect */
.service-card h4 a {
    color: #002b5e;
    text-decoration: none;
    transition: color 0.2s;
}

.service-card h4 a:hover {
    color: #f9b81b;
    text-decoration: underline;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #1e293b;
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    background: #eef2f6;
    padding: 14px 24px;
    border-radius: 60px;
    margin: 16px 0 8px;
    font-weight: 500;
}

.badge-strip i {
    margin-right: 6px;
    color: #2b7a3e;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
    overflow-x: auto;
    margin-bottom: 20px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: #002b5e;
    color: white;
    padding: 12px 16px;
    text-align: left;
}

.comparison-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #dee3ef;
}

.comparison-table tr:nth-child(even) {
    background: #f1f4f8;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   CAREER GRID
   ============================================================ */
.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 18px 0 10px;
}

.career-card {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 14px;
    border-left: 6px solid #f9b81b;
    transition: 0.15s;
}

.career-card:hover {
    background: #f1f5f9;
}

.career-card h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #002b5e;
}

.career-card p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #1e293b;
}

.career-card .strength {
    display: inline-block;
    background: #eef2f6;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #002b5e;
    margin-right: 4px;
    margin-top: 4px;
}

/* ============================================================
   SCHOOL GRID
   ============================================================ */
.school-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin: 18px 0 10px;
}

.school-card {
    background: #f8fafc;
    padding: 18px 20px;
    border-radius: 14px;
    border-left: 6px solid #f9b81b;
    transition: 0.15s;
}

.school-card:hover {
    background: #f1f5f9;
}

.school-card h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: #002b5e;
}

.school-card p {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #1e293b;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-item {
    border-bottom: 1px solid #dde3ea;
    padding: 14px 0;
}

.faq-item strong {
    display: block;
    font-size: 1.05rem;
    color: #002b5e;
}

.faq-item strong i {
    margin-right: 8px;
    color: #f9b81b;
    width: 1.2rem;
}

.faq-item p {
    margin: 4px 0 0;
    color: #1e293b;
}

.faq-item ul {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 4px;
}

.faq-item ul li {
    margin-bottom: 4px;
}

/* ============================================================
   GOOGLE MAPS
   ============================================================ */
.map-section {
    margin: 30px 0 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================================
   CTA FOOTER
   ============================================================ */
.cta-footer {
    background: #002b5e;
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    margin: 30px 0 10px;
}

.cta-footer .phone-big {
    font-size: 2.8rem;
    font-weight: 700;
    color: #f9b81b;
    text-decoration: none;
}

.cta-footer .btn-outline {
    border: 2px solid white;
    color: white;
    padding: 8px 32px;
    border-radius: 60px;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

.cta-footer .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-footer .btn-outline i {
    margin-right: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-note {
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
    padding: 18px 0 6px;
    border-top: 1px solid #e2e8f0;
    margin-top: 18px;
}

.footer-note a {
    color: #002b5e;
    text-decoration: none;
}

.footer-note i {
    margin-right: 4px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 700px) {
    body {
        padding-top: 110px;
    }
    .container {
        padding: 12px 16px;
    }
    .top-nav {
        padding: 10px 16px;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .top-nav .logo img {
        max-height: 45px;
    }
    .top-nav .contact-info {
        font-size: 0.9rem;
        justify-content: center;
    }
    .top-nav .contact-info .phone-link {
        font-size: 1.2rem;
        padding: 3px 14px;
    }
    .top-nav .contact-info .label {
        font-size: 0.8rem;
    }
    .hero {
        padding: 20px 18px;
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        flex: 1 1 100%;
        min-width: 0;
    }
    .hero-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .hero-image img {
        max-width: 100%;
    }
    .hero h1 {
        font-size: 1.9rem;
    }
    .hero .phone {
        font-size: 1.8rem;
        padding: 4px 18px;
    }
    .hero .badge-line {
        justify-content: center;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
    .career-grid {
        grid-template-columns: 1fr;
    }
    .school-grid {
        grid-template-columns: 1fr 1fr;
    }
    .badge-strip {
        border-radius: 30px;
        padding: 12px 16px;
        justify-content: center;
    }
    .cta-footer .phone-big {
        font-size: 2.2rem;
    }
    .lead-section {
        flex-direction: column;
        padding: 1px;
    }
    .lead-image {
        flex: 1 1 100%;
        width: 100%;
    }
    .lead-form {
        flex: 1 1 100%;
        width: 100%;
    }
    .lead-form iframe {
        height: 350px;
    }
    .map-section iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero .sub {
        font-size: 1rem;
    }
    .lead-form iframe {
        height: 400px;
    }
    .map-section iframe {
        height: 200px;
    }
    .school-grid {
        grid-template-columns: 1fr;
    }
    .top-nav .contact-info .phone-link {
        font-size: 1rem;
        padding: 3px 10px;
    }
    .top-nav .contact-info .label {
        font-size: 0.7rem;
    }
}

/* ============================================================
   HIDE UNWANTED WIDGETS (legacy / 3rd party)
   ============================================================ */
.flags,
#left-column,
.adstophppp,
.face-wrapper,
#iq-info {
    display: none !important;
}

#nav {
    display: none;
}

.logo {
    text-align: left;
}

.quickiqtest {
    font-size: 1.3rem;
}

.fineline {
    display: none;
}