/*
Theme Name: PDR University
Theme URI: https://pdruniversity.com
Author: PDR University
Description: Official theme for PDR University - The National Certification Authority for Paintless Dent Repair Technicians
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pdr-university
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --navy: #0b1a2a;
    --navy-light: #122236;
    --steel: #2e3a44;
    --steel-light: #3d4e5a;
    --gold: #d6a23b;
    --gold-light: #e8b84d;
    --gold-dark: #b8882a;
    --white: #ffffff;
    --off-white: #f0f0f0;
    --light-gray: #c5c9cc;
    --text-muted: #8a95a0;
    --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-gold: 0 4px 20px rgba(214,162,59,0.3);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--navy);
    color: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; color: var(--light-gray); }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-pad {
    padding: 90px 0;
}

.section-pad-sm {
    padding: 60px 0;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}
.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 26, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 162, 59, 0.2);
    transition: all var(--transition);
}

#site-header.scrolled {
    background: rgba(11, 26, 42, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    height: 75px;
    gap: 1rem;
}

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

/* Client logo image — mix-blend-mode:screen makes black bg transparent on dark header */
.site-logo-img {
    height: 42px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
    transition: opacity var(--transition);
}

.site-logo:hover .site-logo-img {
    opacity: 0.82;
}

/* Keep old CSS classes in case used elsewhere — hidden now */
.logo-badge { display: none; }
.logo-text  { display: none; }

.logo-text .pdr {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo-text .university {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--light-gray);
    letter-spacing: 0.25em;
    line-height: 1;
}

/* Badge images — round crop, dark bg blends naturally */
.badge-img,
.step-badge-img {
    /* The badge images have black bg which blends well on dark sections */
    border: 2px solid rgba(255,255,255,0.08);
}

/* Primary Nav */
#primary-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
}

#primary-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}

#primary-nav ul li a {
    display: block;
    padding: 8px 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--light-gray);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition);
    white-space: nowrap;
}

#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
    color: var(--gold);
}

.header-cta {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    transition: all var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.header-cta:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Hide CTA on smaller desktops to prevent overflow */
@media (max-width: 1100px) {
    .header-cta { display: none; }
    #primary-nav ul li a { padding: 8px 8px; font-size: 0.75rem; }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--navy);
}

.hero-bg-picture {
    position: absolute;
    inset: 0;
    display: block;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,26,42,0.92) 0%, rgba(11,26,42,0.75) 50%, rgba(11,26,42,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 2rem 80px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(214,162,59,0.4);
}

.hero-headline {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: var(--white);
    white-space: nowrap;
}

@media (max-width: 700px) {
    .hero-headline { white-space: normal; font-size: clamp(1.8rem, 6vw, 2.5rem); }
}

.hero-headline span { color: var(--gold); }

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1.2rem auto 1.5rem;
}

.section-lead {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto;
    color: var(--light-gray);
}

/* =============================================
   AUTHORITY SECTION (#2)
   ============================================= */
#authority {
    background: #0e2035;
    position: relative;
}

#authority::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.authority-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.authority-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.authority-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

/* Badges */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-align: center;
}

.badge-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}

.badge-img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(214,162,59,0.4);
}

.badge-item span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--light-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =============================================
   CERTIFICATION LADDER (#3)
   ============================================= */
#cert-ladder {
    background: var(--navy);
    position: relative;
}

.ladder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.ladder-intro h2 { text-align: left; margin-bottom: 1rem; }
.ladder-intro p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }

.ladder-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ladder-step {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--steel);
    position: relative;
    transition: all var(--transition);
    cursor: default;
}

.ladder-step:hover {
    border-left-color: var(--gold);
    background: rgba(214,162,59,0.05);
}

.ladder-step.top { border-left-color: var(--gold); }

.step-badge-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.ladder-step:hover .step-badge-img {
    transform: scale(1.1);
}

.step-info h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.step-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* =============================================
   PROFESSIONAL STANDARD (#4)
   ============================================= */
#professional-standard {
    background: linear-gradient(135deg, #0e2035 0%, #122a3d 100%);
    position: relative;
    overflow: hidden;
}

#professional-standard::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,162,59,0.06) 0%, transparent 70%);
}

.standard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.standard-image {
    position: relative;
}

.standard-image-frame {
    aspect-ratio: 4/5;
    background: var(--steel);
    position: relative;
    overflow: hidden;
}

.standard-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.standard-image-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(11,26,42,0.8));
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2f42, #2e3a44);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.image-placeholder-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.image-placeholder p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 1rem;
}

.accent-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid var(--gold);
    pointer-events: none;
    opacity: 0.4;
}

.standard-content h2 { margin-bottom: 1.5rem; }
.standard-content p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }

/* =============================================
   PHILOSOPHY SECTION (#5)
   ============================================= */
#philosophy {
    background: var(--navy);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.philosophy-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 700;
    color: rgba(255,255,255,0.02);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
}

.philosophy-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-quote {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--white);
}

.philosophy-quote .percent {
    color: var(--gold);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.philosophy-quote .label {
    color: var(--light-gray);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.philosophy-divider {
    width: 1px;
    height: 40px;
    background: var(--gold);
    margin: 0 auto 2rem;
    opacity: 0.5;
}

.philosophy-desc {
    font-size: 1.05rem;
    color: var(--light-gray);
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto;
}

/* =============================================
   WHO IT'S FOR (#6)
   ============================================= */
#who-for {
    background: #0d1f30;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.who-card {
    background: rgba(46,58,68,0.5);
    border: 1px solid rgba(214,162,59,0.15);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.who-card:hover {
    border-color: rgba(214,162,59,0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.who-card:hover::before { transform: scaleX(1); }

.who-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.who-card h4 {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

.who-supporting {
    text-align: center;
    max-width: 600px;
    margin: 3rem auto 0;
    font-size: 1rem;
    color: var(--light-gray);
    line-height: 1.7;
}

/* =============================================
   NATIONAL STANDARD BANNER
   ============================================= */
#national-standard {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    padding: 60px 0;
    text-align: center;
}

#national-standard h2 {
    color: var(--navy);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0.8rem;
}

#national-standard p {
    color: rgba(11,26,42,0.75);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* =============================================
   CTA SECTION (#7)
   ============================================= */
#cta {
    background: var(--navy);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(214,162,59,0.08) 0%, transparent 70%);
}

.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { margin-bottom: 1.2rem; }
.cta-inner p { max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
    background: #060f18;
    border-top: 1px solid rgba(214,162,59,0.2);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo { display: inline-block; text-decoration: none; }

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

.footer-brand p { margin-top: 1.2rem; font-size: 0.9rem; line-height: 1.7; }

.footer-col h5 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--light-gray); }

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-contact a { color: var(--light-gray); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* =============================================
   INNER PAGE HERO
   ============================================= */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0b1a2a 0%, #122236 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(214,162,59,0.2);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(214,162,59,0.08) 0%, transparent 60%);
}

.page-hero-inner { position: relative; z-index: 1; }

.page-hero .page-eyebrow {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; max-width: 600px; }

/* =============================================
   CONTENT SECTIONS
   ============================================= */
.content-section { padding: 80px 0; }
.content-section:nth-child(even) { background: #0d1f30; }

.content-block { max-width: 800px; margin: 0 auto; }
.content-block h2 { margin-bottom: 1.5rem; }
.content-block h3 { color: var(--gold); margin-bottom: 1rem; font-size: 1.3rem; text-transform: none; }
.content-block p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }
.content-block ul { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; }
.content-block ul li { color: var(--light-gray); margin-bottom: 0.5rem; line-height: 1.6; }

/* =============================================
   CERTIFICATION PROGRAM PAGE
   ============================================= */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    background: rgba(46,58,68,0.4);
    border: 1px solid rgba(214,162,59,0.15);
    padding: 2.5rem;
    position: relative;
    transition: all var(--transition);
}

.cert-card:hover {
    border-color: rgba(214,162,59,0.5);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.cert-card.featured {
    border-color: var(--gold);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.cert-badge-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.cert-badge-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(214,162,59,0.35);
}

.cert-badge-sm {
    width: 65px;
    height: 65px;
}

.cert-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.cert-card .cert-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; }

.cert-skills h5, .cert-reqs h5 {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.cert-skills ul, .cert-reqs ul {
    list-style: none;
    margin: 0 0 1rem 0;
}

.cert-skills ul li, .cert-reqs ul li {
    font-size: 0.85rem;
    color: var(--light-gray);
    padding: 0.3rem 0;
    padding-left: 1rem;
    position: relative;
}

.cert-skills ul li::before, .cert-reqs ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}

.cert-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    background: rgba(214,162,59,0.15);
    color: var(--gold);
    border: 1px solid rgba(214,162,59,0.3);
    margin-bottom: 1rem;
}

/* Supporting certs */
.supporting-certs {
    margin-top: 4rem;
}

.supporting-certs h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(214,162,59,0.2);
}

/* =============================================
   APPLY PAGE / FORM
   ============================================= */
.apply-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(46,58,68,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

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

.form-group select option { background: var(--navy); }

/* =============================================
   FAQ PAGE
   ============================================= */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    cursor: pointer;
    gap: 1rem;
}

.faq-question h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: rgba(214,162,59,0.15);
    border: 1px solid rgba(214,162,59,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 300;
    transition: all var(--transition);
}

.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); }

.faq-answer {
    display: none;
    padding: 0 0 1.5rem 0;
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: rgba(214,162,59,0.15);
    border: 1px solid rgba(214,162,59,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-item-text label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.contact-item-text a,
.contact-item-text span {
    font-size: 0.95rem;
    color: var(--light-gray);
}

/* =============================================
   METHODOLOGY PAGE
   ============================================= */
.methodology-sections .method-block {
    padding: 70px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.method-block:last-child { border-bottom: none; }

.method-block h2 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: var(--gold);
    text-transform: none;
}

.method-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--light-gray);
    max-width: 750px;
}

.method-list {
    list-style: none;
    margin: 1rem 0;
}

.method-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.method-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .authority-content,
    .ladder-layout,
    .standard-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

    .badges-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-pad { padding: 60px 0; }

    #primary-nav { display: none; position: fixed; top: 75px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 2rem; border-top: 1px solid rgba(214,162,59,0.2); }
    #primary-nav.open { display: flex; }
    #primary-nav ul { flex-direction: column; width: 100%; }
    #primary-nav ul li a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
    .header-cta { display: none; }
    .mobile-menu-toggle { display: flex; }

    .hero-content { padding: 110px 1.5rem 60px; }

    .who-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: 1fr; }
    .cert-card.featured { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .who-grid { grid-template-columns: 1fr; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* =============================================
   CONTACT FORM 7 — THEME OVERRIDES
   ============================================= */

/* Wrapper */
.wpcf7 { width: 100%; }
.wpcf7 form { width: 100%; }

/* Inputs, selects, textareas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    background: rgba(46, 58, 68, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    color: var(--white);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 1.2rem;
    display: block;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--gold);
    background: rgba(46, 58, 68, 0.7);
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: var(--text-muted); }

/* Textarea */
.wpcf7 textarea {
    resize: vertical;
    min-height: 140px;
}

/* Select */
.wpcf7 select option { background: var(--navy); color: var(--white); }

/* Submit button */
.wpcf7 input[type="submit"] {
    background: var(--gold);
    border: 2px solid var(--gold);
    color: var(--navy);
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    border-radius: 0;
    margin-top: 0.5rem;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Validation messages */
.wpcf7-not-valid-tip {
    color: #e05555;
    font-size: 0.8rem;
    margin-top: -0.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.wpcf7-response-output {
    margin: 1rem 0 0;
    padding: 1rem 1.2rem;
    border: none;
    font-size: 0.9rem;
}

.wpcf7-mail-sent-ok {
    background: rgba(214, 162, 59, 0.1);
    border-left: 4px solid var(--gold) !important;
    color: var(--gold);
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: rgba(224, 85, 85, 0.1);
    border-left: 4px solid #e05555 !important;
    color: #e05555;
}

.wpcf7-validation-errors {
    background: rgba(214, 162, 59, 0.08);
    border-left: 4px solid var(--gold) !important;
    color: var(--light-gray);
}

/* Spinner */
.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* Labels above fields (Apply form layout) */
.apply-form-wrap .wpcf7 br { display: none; }
.contact-form-wrap .wpcf7 br { display: none; }

/* =============================================
   RECAPTCHA v2 WIDGET
   ============================================= */
.cf7sr-g-recaptcha {
    margin-bottom: 1.2rem;
}

/* Ensure the widget doesn't overflow on mobile */
@media (max-width: 400px) {
    .cf7sr-g-recaptcha { transform: scale(0.9); transform-origin: 0 0; }
}
