/*
Theme Name: SIVT Swiss International Vocational Training
Theme URI: https://sivt.ae
Author: SIVT
Version: 2.0.0
Description: 1:1 WordPress conversion of the SIVT React website.
Text Domain: sivt
*/

/* ── DESIGN TOKENS (exact from original index.css) ── */
:root {
  --primary:    #E30613;
  --primary-fg: #ffffff;
  --foreground: #0A192F;
  --background: #ffffff;
  --secondary:  #f7f7f7;
  --muted:      #f2f2f2;
  --muted-fg:   #808080;
  --border:     #e5e5e5;
  --radius:     0rem;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--background); color: var(--foreground); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ── CONTAINER ── */
.container { width: 100%; margin-left: auto; margin-right: auto; padding: 0 1rem; }
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; max-width: 1280px; } }

/* ── ANIMATIONS (matching animate-in / fade-in / slide-in) ── */
@keyframes fadeIn       { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp      { from { opacity: 0; transform: translateY(2rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn       { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes pulse        { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes bounce       { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.animate-fade-in    { animation: fadeIn  .5s ease forwards; }
.animate-slide-up   { animation: slideUp 1s ease forwards; }
.animate-zoom-in    { animation: zoomIn  .5s ease forwards; }
.animate-pulse      { animation: pulse   2s infinite; }
.animate-bounce     { animation: bounce  1.5s infinite; }

/* ── TOP BAR ── */
.topbar { background: var(--primary); color: #fff; padding: .5rem 0; font-size: .875rem; display: none; }
@media (min-width: 768px) { .topbar { display: block; } }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-left  { display: flex; align-items: center; gap: 1.5rem; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar a { color: #fff; opacity: .9; transition: opacity .2s; }
.topbar a:hover { opacity: 1; }
.topbar svg { display: inline; vertical-align: middle; margin-right: 5px; }
.topbar-divider { border-left: 1px solid rgba(255,255,255,.2); padding-left: 1rem; }
.topbar-social { display: flex; gap: .75rem; align-items: center; }
.topbar-social a { background: rgba(255,255,255,.15); padding: .3rem; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.topbar-social a:hover { background: rgba(255,255,255,.3); }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.95); backdrop-filter: blur(8px); }
.header-inner { display: flex; height: 80px; align-items: center; justify-content: space-between; }
.site-logo img { height: 56px; width: auto; object-fit: contain; }

/* Desktop Nav */
.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1024px) { .desktop-nav { display: flex; } }
.desktop-nav > a, .nav-dropdown > button {
  font-size: .875rem; font-weight: 500; color: rgba(10,25,47,.8);
  transition: color .2s; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.desktop-nav > a:hover, .nav-dropdown > button:hover { color: var(--primary); }
.desktop-nav > a.active { color: var(--primary); font-weight: 700; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--primary);
  min-width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 200;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a { display: block; padding: .75rem 1rem; font-size: .875rem; border-bottom: 1px solid var(--border); color: var(--foreground); transition: background .15s, color .15s; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--muted); color: var(--primary); }

/* Apply Button */
.btn-apply { background: var(--primary); color: #fff !important; padding: .45rem 1.5rem; font-weight: 700; font-size: .875rem; border: none; cursor: pointer; transition: background .2s; display: inline-block; border-radius: var(--radius); }
.btn-apply:hover { background: #c00510; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--foreground); }

/* Mobile Drawer */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; }
.mobile-overlay.open { display: block; }
.mobile-drawer { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 300px; background: #fff; z-index: 999; flex-direction: column; }
.mobile-drawer.open { display: flex; }
.mobile-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.mobile-drawer-header img { height: 48px; }
.mobile-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; }
.mobile-drawer nav { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-drawer nav a { font-size: 1.1rem; font-weight: 500; display: block; color: var(--foreground); }
.mobile-drawer nav a:hover { color: var(--primary); }
.mobile-drawer-footer { padding: 1.5rem; border-top: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: .875rem 2rem; font-weight: 700; font-size: 1rem; cursor: pointer; border: none; transition: all .2s; text-align: center; border-radius: var(--radius); }
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #c00510; color: #fff; }
.btn-dark      { background: var(--foreground); color: #fff; }
.btn-dark:hover { background: #0d2240; color: #fff; }
.btn-white     { background: #fff; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,.9); color: var(--primary); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-outline-dark  { background: transparent; color: var(--foreground); border: 2px solid var(--foreground); }
.btn-outline-dark:hover { background: var(--foreground); color: #fff; }
.btn-outline-primary { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.125rem; }
.btn-sm { padding: .4rem 1.2rem; font-size: .875rem; }

/* ── FOOTER ── */
.site-footer { background: var(--foreground); color: rgba(255,255,255,.6); padding: 4rem 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-logo { height: 48px; filter: brightness(0) invert(1); margin-bottom: 1.5rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-social a { background: rgba(255,255,255,.1); padding: .5rem; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.footer-contact-item svg { color: var(--primary); flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 4rem; padding: 2rem 0; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .75rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── PAGE HERO VARIANTS ── */
.hero-dark    { background: var(--foreground); color: #fff; padding: 5rem 0; }
.hero-primary { background: var(--primary); color: #fff; padding: 5rem 0; }
.hero-light   { background: var(--secondary); padding: 5rem 0; }
.hero-eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; display: block; margin-bottom: 1rem; }
.hero-dark .hero-eyebrow    { color: var(--primary); }
.hero-primary .hero-eyebrow { color: rgba(255,255,255,.8); }
.hero-light .hero-eyebrow   { color: var(--primary); }
.hero-h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.hero-dark .hero-h1    { color: #fff; }
.hero-primary .hero-h1 { color: #fff; }
.hero-p { font-size: 1.25rem; line-height: 1.7; max-width: 700px; }
.hero-dark .hero-p    { color: rgba(255,255,255,.8); }
.hero-primary .hero-p { color: rgba(255,255,255,.9); }
.hero-light .hero-p   { color: var(--muted-fg); }

/* ── TABS (sticky, used on SwissVet and About) ── */
.sticky-tabs { border-bottom: 1px solid var(--border); position: sticky; top: 80px; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); z-index: 40; }
.tabs-inner  { display: flex; overflow-x: auto; }
.tab-link    { padding: 1rem 1.5rem; font-weight: 700; border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; color: var(--muted-fg); transition: color .2s, border-color .2s; display: block; }
.tab-link:hover  { color: var(--foreground); }
.tab-link.active { border-color: var(--primary); color: var(--primary); }

/* ── ACCORDION (FAQ) ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger { width: 100%; background: none; border: none; text-align: left; padding: 1.25rem 0; font-size: 1.1rem; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--foreground); transition: color .2s; }
.accordion-trigger:hover { color: var(--primary); }
.accordion-icon { flex-shrink: 0; transition: transform .2s; font-size: 1.25rem; }
.accordion-item.open .accordion-icon { transform: rotate(180deg); }
.accordion-content { display: none; padding: 0 0 1.25rem; font-size: 1rem; color: var(--muted-fg); line-height: 1.7; }
.accordion-item.open .accordion-content { display: block; }

/* ── CHECK LISTS ── */
.check-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.check-icon { flex-shrink: 0; background: rgba(227,6,19,.1); padding: .5rem; margin-top: 2px; transition: background .3s; }
.check-icon svg { width: 18px; height: 18px; stroke: var(--primary); fill: none; transition: stroke .3s; }
.check-list li:hover .check-icon { background: var(--primary); }
.check-list li:hover .check-icon svg { stroke: #fff; }

/* ── CARDS ── */
.card-border { border: 1px solid var(--border); transition: border-color .3s; }
.card-border:hover { border-color: var(--primary); }

/* ── PROGRAMME CARD (home) ── */
.prog-card { background: #fff; border: 1px solid var(--border); transition: border-color .3s; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; }
.prog-card:hover { border-color: rgba(227,6,19,.5); }
.prog-card-img { height: 256px; overflow: hidden; position: relative; }
.prog-card-img .overlay { position: absolute; inset: 0; background: rgba(227,6,19,.2); mix-blend-mode: multiply; z-index: 1; transition: background .5s; }
.prog-card:hover .prog-card-img .overlay { background: transparent; }
.prog-card-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .7s; }
.prog-card:hover .prog-card-img img { transform: scale(1.05); }
.prog-card-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.prog-card-tag { background: var(--secondary); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .25rem .75rem; display: inline-block; }
.prog-card-arrow { color: var(--primary); opacity: 0; transform: translateX(-1rem); transition: all .3s; }
.prog-card:hover .prog-card-arrow { opacity: 1; transform: translateX(0); }
.prog-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .75rem; transition: color .3s; }
.prog-card:hover h3 { color: var(--primary); }
.prog-card-meta { display: flex; gap: 1rem; font-size: .875rem; font-weight: 500; color: rgba(10,25,47,.7); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto; }
.prog-card-meta span { display: flex; align-items: center; gap: .25rem; }
.prog-card-meta svg { width: 14px; height: 14px; }

/* ── STATS BAR ── */
.stats-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { padding-left: 1.5rem; border-left: 2px solid var(--primary); }
.stat-num   { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1.1; }
.stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* ── PROCESS STEPS ── */
.steps-grid { display: grid; gap: 2rem; position: relative; }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(4,1fr); } }
.steps-line { display: none; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--border); transform: translateY(-50%); z-index: 0; }
@media (min-width: 1024px) { .steps-line { display: block; } }
.step-card { background: #fff; border: 1px solid var(--border); padding: 2rem; transition: border-color .3s; position: relative; z-index: 1; }
.step-card:hover { border-color: var(--primary); }
.step-num { width: 48px; height: 48px; background: var(--secondary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; margin-bottom: 1.5rem; transition: background .3s, color .3s; }
.step-card:hover .step-num { background: var(--primary); color: #fff; }

/* ── COMPARISON TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { border-bottom: 2px solid var(--border); }
.compare-table .th-sivt { border-bottom-color: var(--primary); background: rgba(227,6,19,.05); }
.compare-table .td-sivt { background: rgba(227,6,19,.05); font-weight: 500; }
.compare-table .th-sivt span { color: var(--primary); font-weight: 700; }

/* ── DUAL SYSTEM INFOGRAPHIC ── */
.dual-box { background: var(--secondary); padding: 2rem; border: 1px solid var(--border); position: relative; overflow: hidden; }
.dual-box-tag { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; padding: .25rem .75rem; }
.dual-item { display: flex; align-items: center; gap: 1rem; }
.dual-icon { width: 64px; height: 64px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--primary); flex-shrink: 0; }
.dual-icon svg { width: 32px; height: 32px; stroke: var(--primary); fill: none; }
.dual-icon.primary-bg { background: var(--primary); }
.dual-icon.primary-bg svg { stroke: #fff; }
.dual-text { flex: 1; background: #fff; padding: 1rem; border: 1px solid var(--border); }
.dual-text h4 { font-weight: 700; font-size: 1.1rem; }
.dual-text p  { font-size: .875rem; color: var(--muted-fg); }
.dual-connector { height: 32px; border-left: 2px dashed rgba(227,6,19,.3); margin-left: 32px; margin-top: -.5rem; margin-bottom: -.5rem; }

/* ── KEY DIFF BOX ── */
.key-diff { background: var(--secondary); padding: 1.5rem; border-left: 4px solid var(--primary); }
.key-diff h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.key-diff p  { font-size: .875rem; color: var(--muted-fg); }

/* ── HOW IT WORKS CARDS ── */
.hiw-card { background: #fff; padding: 2rem; border: 1px solid var(--border); transition: border-color .3s; }
.hiw-card:hover { border-color: var(--primary); }
.hiw-icon { width: 48px; height: 48px; background: rgba(227,6,19,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.hiw-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; }
.hiw-dual-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); background: var(--primary); color: #fff; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .75rem; white-space: nowrap; }
.hiw-check li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--muted-fg); margin-bottom: .5rem; }
.hiw-check li svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; flex-shrink: 0; }

/* ── VIDEO PLACEHOLDER ── */
.video-wrap { aspect-ratio: 16/9; background: rgba(0,0,0,.9); border-radius: .5rem; overflow: hidden; position: relative; cursor: pointer; }
.video-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .3s; }
.video-wrap:hover img { opacity: .4; }
.video-play { width: 80px; height: 80px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); transition: transform .3s; z-index: 1; }
.video-wrap:hover .video-play { transform: translate(-50%,-50%) scale(1.1); }
.video-play svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.video-caption { position: absolute; bottom: 2rem; left: 2rem; color: #fff; z-index: 1; }
.video-caption p:first-child { font-weight: 700; font-size: 1.1rem; }
.video-caption p:last-child  { font-size: .875rem; opacity: .8; }

/* ── PARTNERS GRID ── */
.partners-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
.partner-item { aspect-ratio: 3/2; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); padding: 1rem; transition: box-shadow .3s; }
.partner-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.partner-item span { font-weight: 700; color: var(--muted-fg); text-align: center; font-size: .875rem; transition: color .3s; }
.partner-item:hover span { color: var(--primary); }

/* ── APPLY PAGE ── */
.apply-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .apply-grid { grid-template-columns: 2fr 1fr; } }
.apply-process-step { position: relative; padding-left: 1.5rem; }
.apply-process-step::before { content: ''; position: absolute; left: 0; top: 8px; width: 1rem; height: 1rem; border-radius: 50%; background: var(--primary); }
.apply-process-step + .apply-process-step::after { content: ''; position: absolute; left: 7px; bottom: 100%; height: 1.5rem; width: 1px; background: var(--border); }
.apply-sidebar-block { background: var(--secondary); padding: 1.5rem; border: 1px solid var(--border); }
.apply-sidebar-dark  { background: var(--foreground); padding: 1.5rem; }
.req-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.8); margin-bottom: .75rem; }
.req-item svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; flex-shrink: 0; margin-top: 2px; }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea { width: 100%; padding: .625rem .75rem; border: 1px solid var(--border); font-family: inherit; font-size: 1rem; outline: none; border-radius: 0; background: #fff; transition: border-color .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); }
.form-textarea { min-height: 100px; resize: vertical; }

/* ── PRICING ── */
.pricing-grid { display: grid; gap: 2rem; max-width: 896px; margin: 0 auto; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pricing-card { border: 1px solid var(--border); padding: 2rem; display: flex; flex-direction: column; transition: border-color .3s; }
.pricing-card:hover { border-color: var(--primary); }
.pricing-card.light { background: var(--secondary); }
.pricing-price { font-size: 3rem; font-weight: 900; }
.pricing-price.red { color: var(--primary); }
.pricing-features li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.pricing-features svg { width: 20px; height: 20px; fill: none; flex-shrink: 0; margin-top: 2px; }
.pricing-features .red svg   { stroke: var(--primary); }
.pricing-features .dark svg  { stroke: var(--foreground); }

/* ── PRACTICAL TRAINING ── */
.internship-icon { background: rgba(227,6,19,.1); padding: .5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: .25rem; }
.internship-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; }
.timeline-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .timeline-grid { grid-template-columns: repeat(4,1fr); } }
.tl-item { border-top: 4px solid; padding-top: 1.5rem; }
.tl-item.active   { border-color: var(--primary); }
.tl-item.inactive { border-color: rgba(255,255,255,.2); }
.tl-year.active   { color: var(--primary); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.tl-year.inactive { color: rgba(255,255,255,.5); font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }

/* ── FAQ PAGE ── */
.faq-category-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.faq-no-results { text-align: center; padding: 3rem 0; }

/* ── ABOUT/CONTACT ── */
.contact-grid { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-icon-row { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 24px; height: 24px; stroke: var(--primary); fill: none; flex-shrink: 0; margin-top: 4px; }
.become-partner { background: rgba(227,6,19,.05); padding: 2rem; text-align: center; margin-top: 3rem; }

/* ── SUCCESS STATE (Apply form) ── */
.success-state { min-height: 80vh; display: flex; align-items: center; justify-content: center; background: var(--background); }
.success-icon { width: 80px; height: 80px; background: #dcfce7; color: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.success-icon svg { width: 40px; height: 40px; stroke: #16a34a; fill: none; }

/* ── FORM NOTICE ── */
.form-notice { padding: .875rem 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
.form-notice.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.form-notice.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ── UTILS ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-secondary { background: var(--secondary); }
.bg-foreground { background: var(--foreground); }
.bg-primary-color { background: var(--primary); }
.text-primary { color: var(--primary) !important; }
.text-white { color: #fff !important; }
.text-muted  { color: var(--muted-fg) !important; }
.text-center { text-align: center; }
.font-black  { font-weight: 900; }
.grid-2 { display: grid; gap: 2rem; }
.grid-3 { display: grid; gap: 2rem; }
.grid-4 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }
.max-3xl { max-width: 768px; }
.max-4xl { max-width: 896px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.border-l-primary { border-left: 4px solid var(--primary); }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }

/* ── QUFORM STYLING – Apply & Contact ── */

/* Input fields */
.quform-input input[type="text"],
.quform-input input[type="email"],
.quform-input input[type="tel"],
.quform-input input[type="number"],
.quform-input textarea,
.quform-select-inner select {
  width: 100% !important;
  padding: .625rem .75rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  font-family: var(--font) !important;
  font-size: 1rem !important;
  background: #fff !important;
  color: var(--foreground) !important;
  outline: none !important;
  transition: border-color .2s !important;
  box-shadow: none !important;
}
.quform-input input:focus,
.quform-input textarea:focus,
.quform-select-inner select:focus {
  border-color: var(--primary) !important;
}

/* Labels */
.quform-label label,
.quform-element label {
  font-size: .875rem !important;
  font-weight: 500 !important;
  color: var(--foreground) !important;
  margin-bottom: .5rem !important;
  display: block !important;
}

/* Submit Button */
.quform-submit-inner button,
.quform-submit-inner input[type="submit"] {
  background: var(--primary) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: none !important;
  padding: 1.25rem 2rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  font-family: var(--font) !important;
  cursor: pointer !important;
  width: 100% !important;
  border-radius: 0 !important;
  transition: background .2s !important;
}
.quform-submit-inner button:hover {
  background: #c00510 !important;
}

/* Remove Quform default styles */
.quform-outer-wrapper { margin: 0 !important; padding: 0 !important; }
.quform-inner { background: none !important; border: none !important; padding: 0 !important; }
.quform-elements { padding: 0 !important; }
.quform-element { margin-bottom: 1rem !important; }

/* File upload */
.quform-input input[type="file"] {
  padding: .5rem !important;
  border: 1px dashed var(--border) !important;
  background: var(--secondary) !important;
  cursor: pointer !important;
}
.quform-input input[type="file"]:hover {
  border-color: var(--primary) !important;
}

/* Error messages */
.quform-error-message {
  color: var(--primary) !important;
  font-size: .8rem !important;
  margin-top: .25rem !important;
}

/* Success message */
.quform-success-message {
  background: #dcfce7 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
  padding: 1rem 1.5rem !important;
  font-weight: 600 !important;
}

/* Fix custom logo size & remove white background */
.site-logo a img,
.site-logo img,
.custom-logo-link img,
.custom-logo {
  height: 40px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  background: transparent !important;
}

/* Hide the white custom logo - use fallback img instead */
.footer-brand .custom-logo-link { display: none !important; }
.footer-brand .footer-logo { display: block !important; }

/* ── FIX 1: Button hover text visibility ── */
/* View All Programmes + all outline-dark buttons */
a[style*="border"][style*="1px solid"] {
  color: var(--foreground) !important;
  -webkit-text-fill-color: var(--foreground) !important;
}
a[style*="border"]:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: var(--foreground) !important;
}
/* Prog card tag always visible */
.prog-card-tag {
  color: var(--foreground) !important;
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255,255,255,.9) !important;
}
/* Prog card h3 always visible */
.prog-card h3 {
  color: var(--foreground) !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.prog-card:hover h3 { color: var(--primary) !important; }

/* All buttons with dark border on hover → white text */
.btn-outline-dark:hover,
a.btn-outline-dark:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* ── FIX 6: Contact social icons on white ── */
.contact-social-fixed a {
  background: var(--foreground) !important;
  color: #fff !important;
}
.contact-social-fixed a:hover {
  background: var(--primary) !important;
}

/* ── FIX 7: FAQ accordion toggle (close on click) ── */
.accordion-item.open .accordion-trigger { color: var(--primary); }

/* ── FIX: Footer custom logo hidden ── */
.footer-brand .custom-logo-link,
.footer-brand a img.custom-logo {
  display: none !important;
}

/* ═══════════════════════════════════════════
   BUG FIXES v2
   ═══════════════════════════════════════════ */

/* FIX 1: btn-outline-dark hover → white text */
.btn-outline-dark { color: var(--foreground) !important; -webkit-text-fill-color: var(--foreground) !important; }
.btn-outline-dark:hover { background: var(--foreground) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* FIX 1: prog-card-tag always visible (dark text on light bg) */
.prog-card-tag { color: var(--foreground) !important; background: rgba(255,255,255,.92) !important; -webkit-text-fill-color: var(--foreground) !important; }

/* FIX 1: prog-card h3 always visible */
.prog-card h3 { color: var(--foreground) !important; opacity: 1 !important; visibility: visible !important; }
.prog-card:hover h3 { color: var(--primary) !important; }

/* FIX 1: prog-card-arrow always visible */
.prog-card-arrow { opacity: 1 !important; transform: translateX(0) !important; color: var(--primary) !important; }

/* FIX 2: Hide white custom logo box in footer completely */
.footer-brand a.custom-logo-link,
.footer-brand .custom-logo-link,
.footer-brand .wp-block-site-logo,
.footer-brand img.custom-logo { display: none !important; }

/* FIX 6: Social icons on white background (contact page) */
.contact-social-wrap a {
  background: var(--foreground) !important;
  color: #fff !important;
  width: 40px; height: 40px;
  display: inline-flex !important;
  align-items: center; justify-content: center;
  transition: background .2s;
}
.contact-social-wrap a:hover { background: var(--primary) !important; }
.contact-social-wrap a svg { stroke: #fff; fill: currentColor; }
