/* =============================================================================
   CRM Force Custom Theme — crmforce.css
   Version: 1.0.0
   ============================================================================= */

/* ----------------------------------------------------------------------------
   GOOGLE FONTS
   ---------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&family=Roboto:wght@300;400;500;700&display=swap');

/* ----------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------------------- */
:root {
    --blue:     #00A1E1;
    --navy:     #063661;
    --light-bg: #f5f6f7;
    --gray-bg:  #e8e8e8;
    --text:     #333;
    --white:    #fff;

    --font-heading: 'Roboto Condensed', sans-serif;
    --font-body:    'Roboto', sans-serif;

    --header-height: 70px;
    --container-max: 1080px;
    --radius:        4px;
    --transition:    0.2s ease;
}

/* ----------------------------------------------------------------------------
   CSS RESET / NORMALIZE
   ---------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--navy);
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: inherit;
}

p {
    margin-bottom: 1em;
}

p:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------------------------------------------
   ACCESSIBILITY — SKIP LINK
   ---------------------------------------------------------------------------- */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 9999;
    background: var(--navy);
    color: var(--white);
    padding: 10px 20px;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 0 0 var(--radius) 0;
    transition: top var(--transition);
    text-decoration: none;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

/* ----------------------------------------------------------------------------
   LAYOUT — CONTAINER
   ---------------------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ----------------------------------------------------------------------------
   SPACING UTILITIES
   ---------------------------------------------------------------------------- */
.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.py-40 {
    padding-top: 40px;
    padding-bottom: 40px;
}

.py-60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* ----------------------------------------------------------------------------
   STICKY HEADER
   ---------------------------------------------------------------------------- */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    height: 44px;
    width: auto;
}

/* Primary Navigation */
#primary-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

#primary-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-nav ul li a {
    display: inline-flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    min-height: 44px;
}

#primary-nav ul li a:hover,
#primary-nav ul li a:focus {
    color: var(--blue);
    border-bottom-color: var(--blue);
    text-decoration: none;
    outline: none;
}

#primary-nav ul li a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

/* Hamburger toggle — hidden on desktop */
#nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
}

#nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

#nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

#nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ----------------------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------------------- */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0090cc;
    border-color: #0090cc;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 161, 225, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 161, 225, 0.35);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn-white:hover,
.btn-white:focus {
    background: var(--navy);
    color: var(--white);
    border-color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-gap {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ----------------------------------------------------------------------------
   FORMS
   ---------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group label.label-white {
    color: var(--white);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 225, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--blue);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox label.label-white {
    color: rgba(255,255,255,0.9);
}

.form-submit {
    margin-top: 8px;
}

.form-submit .btn-primary,
.form-submit .btn-white {
    width: 100%;
    justify-content: center;
}

/* Form on dark background */
.form-dark .form-group input[type="text"],
.form-dark .form-group input[type="email"],
.form-dark .form-group input[type="tel"],
.form-dark .form-group input[type="url"],
.form-dark .form-group select {
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.3);
    color: var(--text);
}

.form-dark .form-group input:focus,
.form-dark .form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 161, 225, 0.3);
}

/* ----------------------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 600px;
    background-color: var(--navy);
    background-image: url('https://www.thecrmforce.com/wp-content/uploads/2023/06/creative-digital-marketing.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 54, 97, 0.92) 0%, rgba(6, 54, 97, 0.82) 60%, rgba(0, 161, 225, 0.20) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 40px;
    align-items: start;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero LEFT — text */
.hero-text {
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.hero-text h1 .highlight {
    color: var(--blue);
}

.hero-text h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255,255,255,0.92);
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.hero-text h4 {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    font-family: var(--font-body);
    line-height: 1.6;
}

.hero-star-list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-star-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.hero-star-list li::before {
    content: "★";
    color: var(--blue);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-cta {
    margin-bottom: 32px;
}

.hero-saad-img {
    margin-top: auto;
    max-width: 240px;
    border-radius: 8px;
}

/* Hero RIGHT — form card */
.hero-form-card {
    background: rgba(255,255,255,0.97);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.hero-form-card h2 {
    font-size: 1.375rem;
    color: var(--navy);
    margin-bottom: 20px;
    text-align: center;
}

.hero-form-card .form-group label {
    color: var(--text);
}

/* ----------------------------------------------------------------------------
   PAGE HERO (interior pages)
   ---------------------------------------------------------------------------- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #0a4d8a 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.page-hero p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.88);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ----------------------------------------------------------------------------
   SECTION — WELCOME
   ---------------------------------------------------------------------------- */
.welcome-section {
    background: var(--white);
}

.welcome-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 1.0625rem;
    color: #555;
    max-width: 800px;
    line-height: 1.7;
}

/* ----------------------------------------------------------------------------
   SECTION — ABOUT TRIO
   ---------------------------------------------------------------------------- */
.about-section {
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background: var(--white);
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.about-card h3 {
    font-size: 1.1875rem;
    color: var(--navy);
    margin-bottom: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.about-card p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ----------------------------------------------------------------------------
   SECTION — EXPERTISE (dark bg with overlay)
   ---------------------------------------------------------------------------- */
.expertise-section {
    position: relative;
    background-color: var(--navy);
    background-image: url('https://www.thecrmforce.com/wp-content/uploads/2023/06/interview-2-1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.expertise-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,54,97,0.93) 0%, rgba(6,54,97,0.88) 100%);
    z-index: 1;
}

.expertise-inner {
    position: relative;
    z-index: 2;
}

.expertise-section h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.expertise-subtitle {
    color: rgba(255,255,255,0.8);
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.0625rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expertise-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    transition: background var(--transition), transform var(--transition);
}

.expertise-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    line-height: 1;
}

.expertise-card h3 {
    font-size: 1.0625rem;
    color: var(--white);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expertise-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ----------------------------------------------------------------------------
   SECTION — CTA BAND
   ---------------------------------------------------------------------------- */
.cta-section {
    background: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cta-section p {
    font-size: 1.0625rem;
    color: #555;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------------------
   SECTION — BOTTOM FORM (dark with bg image, same as expertise)
   ---------------------------------------------------------------------------- */
.bottom-form-section {
    position: relative;
    background-color: var(--navy);
    background-image: url('https://www.thecrmforce.com/wp-content/uploads/2023/06/interview-2-1.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bottom-form-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,54,97,0.93) 0%, rgba(6,54,97,0.88) 100%);
    z-index: 1;
}

.bottom-form-inner {
    position: relative;
    z-index: 2;
}

.bottom-form-section h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bottom-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 40px 36px;
}

.bottom-form-wrap .form-group label {
    color: rgba(255,255,255,0.9);
}

.bottom-form-wrap .form-checkbox label {
    color: rgba(255,255,255,0.85);
}

.bottom-form-wrap .form-group input[type="text"],
.bottom-form-wrap .form-group input[type="email"],
.bottom-form-wrap .form-group input[type="tel"],
.bottom-form-wrap .form-group input[type="url"],
.bottom-form-wrap .form-group select {
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.3);
    color: var(--text);
}

.bottom-form-wrap .form-group input:focus,
.bottom-form-wrap .form-group select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,161,225,0.3);
}

/* ----------------------------------------------------------------------------
   HOW IT WORKS — NUMBERED STEPS
   ---------------------------------------------------------------------------- */
.steps-section {
    background: var(--white);
}

.steps-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.steps-intro {
    color: #555;
    margin-bottom: 48px;
    max-width: 640px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 32px 24px;
    position: relative;
    border-top: 4px solid var(--blue);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--blue);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 1.0625rem;
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.step-card p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 0;
}

.steps-cta {
    text-align: center;
    padding-top: 8px;
}

/* ----------------------------------------------------------------------------
   SECTION — CTA DARK (navy solid)
   ---------------------------------------------------------------------------- */
.cta-dark {
    background: var(--navy);
    text-align: center;
}

.cta-dark h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cta-dark p {
    color: rgba(255,255,255,0.85);
    font-size: 1.0625rem;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------------------- */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.contact-form-col h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-info-col {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 32px 24px;
    border-top: 4px solid var(--blue);
}

.contact-info-col h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contact-info-col p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.65;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
    color: #555;
}

.contact-info-item a {
    color: var(--blue);
    word-break: break-all;
}

.contact-info-item a:hover {
    color: var(--navy);
}

/* ----------------------------------------------------------------------------
   PRIVACY POLICY PAGE
   ---------------------------------------------------------------------------- */
.privacy-content {
    background: var(--white);
}

.privacy-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content .entry-content h2,
.privacy-content .entry-content h3 {
    color: var(--navy);
    margin-top: 32px;
    margin-bottom: 12px;
}

.privacy-content .entry-content p,
.privacy-content .entry-content li {
    color: #444;
    line-height: 1.75;
    margin-bottom: 12px;
}

.privacy-content .entry-content ul {
    list-style: disc;
    padding-left: 24px;
}

/* ----------------------------------------------------------------------------
   BLOG / ARCHIVE
   ---------------------------------------------------------------------------- */
.archive-section {
    background: var(--white);
}

.archive-section h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-card {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray-bg);
    transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.post-card-body {
    padding: 24px;
}

.post-card h2 {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.post-card h2 a {
    color: var(--navy);
    text-decoration: none;
    transition: color var(--transition);
}

.post-card h2 a:hover {
    color: var(--blue);
}

.post-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ----------------------------------------------------------------------------
   SINGLE POST
   ---------------------------------------------------------------------------- */
.single-notice {
    background: #fff8e7;
    border-left: 4px solid #f0b429;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
    margin-bottom: 32px;
    font-size: 0.9375rem;
    color: #7a6220;
}

.single-article h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.2;
}

.single-article .entry-content {
    font-size: 1rem;
    color: #444;
    line-height: 1.75;
    max-width: 780px;
}

.single-article .entry-content h2,
.single-article .entry-content h3 {
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 12px;
}

.single-article .entry-content p {
    margin-bottom: 16px;
}

/* ----------------------------------------------------------------------------
   404 PAGE
   ---------------------------------------------------------------------------- */
.not-found-section {
    background: var(--light-bg);
    text-align: center;
    min-height: calc(100vh - var(--header-height) - 120px);
    display: flex;
    align-items: center;
}

.not-found-section h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--navy);
    margin-bottom: 8px;
}

.not-found-code {
    font-size: clamp(4rem, 12vw, 8rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    display: block;
    margin-bottom: 16px;
}

.not-found-section p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 32px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

/* ----------------------------------------------------------------------------
   GENERIC PAGE CONTENT
   ---------------------------------------------------------------------------- */
.page-content {
    background: var(--white);
}

.page-content .entry-content {
    font-size: 1rem;
    color: #444;
    line-height: 1.75;
}

.page-content .entry-content h1,
.page-content .entry-content h2,
.page-content .entry-content h3 {
    color: var(--navy);
    margin-top: 28px;
    margin-bottom: 12px;
}

.page-content .entry-content p {
    margin-bottom: 16px;
}

.page-content .entry-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content .entry-content li {
    margin-bottom: 8px;
}

/* ----------------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------------- */
#site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    padding: 40px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-center {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-center a {
    color: rgba(255,255,255,0.85);
    text-decoration: underline;
    transition: color var(--transition);
}

.footer-center a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background var(--transition);
    min-height: 44px;
    min-width: 44px;
}

.footer-social a:hover {
    background: var(--blue);
    color: var(--white);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ----------------------------------------------------------------------------
   RESPONSIVE — TABLET (max 768px)
   ---------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Header / Nav */
    #nav-toggle {
        display: inline-flex;
    }

    #primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #primary-nav.nav-open {
        max-height: 320px;
    }

    #primary-nav ul {
        flex-direction: column;
        padding: 8px 0 16px;
        gap: 0;
    }

    #primary-nav ul li {
        width: 100%;
    }

    #primary-nav ul li a {
        height: auto;
        min-height: 44px;
        padding: 12px 24px;
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }

    #primary-nav ul li a:hover,
    #primary-nav ul li a:focus {
        border-bottom: none;
        border-left-color: var(--blue);
        background: var(--light-bg);
    }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 20px;
    }

    .hero-form-card {
        padding: 24px 20px;
    }

    .hero-saad-img {
        max-width: 180px;
    }

    /* About trio */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Expertise grid */
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Bottom form */
    .bottom-form-wrap {
        padding: 28px 20px;
    }

    /* Posts grid */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------------------------
   RESPONSIVE — MOBILE (max 480px)
   ---------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .hero-saad-img {
        max-width: 140px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .btn-gap {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-gap .btn-primary,
    .btn-gap .btn-outline,
    .btn-gap .btn-white {
        text-align: center;
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-form-card {
        padding: 20px 16px;
    }
}
