:root{
    /* Backgrounds (lightened for readability) */
    --bg1:#0c2a22;                 /* darker end, but not too dark */
    --bg2:#143a2e;                 /* top gradient color */
  
    /* Panels */
    --panel:rgba(22,68,54,.55);
    --panel2:rgba(18,56,44,.60);
  
    /* Text (higher contrast) */
    --text:#ffffff;                /* main text = white */
    --muted:rgba(255,255,255,.84); /* secondary text = readable */
  
    /* Lines & accents */
    --line:rgba(255,255,255,.18);
    --gold:#cba153;
  
    --shadow:0 18px 60px rgba(0,0,0,.30);
    --r1:18px;
    --r2:14px;
    --max:1100px;
    --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  }
  
  *{box-sizing:border-box}
  
  body{
    margin:0;
    font-family:var(--font);
    color:var(--text);
    font-size:19px;
    line-height:1.75;
    background:
      radial-gradient(900px 600px at 20% 0%, rgba(203,161,83,.22), transparent 55%),
      radial-gradient(800px 500px at 85% 10%, rgba(255,255,255,.10), transparent 55%),
      linear-gradient(180deg, var(--bg2), var(--bg1) 75%);
    min-height:100vh;
  }
  
  .wrap{
    max-width:var(--max);
    margin:0 auto;
    padding:28px 18px 60px;
  }
  
  /* ================= HEADER ================= */
  
  .topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    padding:24px 28px;
    border:1px solid var(--line);
    border-radius:var(--r1);
    background:var(--panel);
    backdrop-filter: blur(10px);
    box-shadow:var(--shadow);
  }
  
  /* Left side */
  .brand{
    display:flex;
    align-items:center;
    gap:30px;
    min-width:0;
  }
  
  .logoBox{
    width:220px;          /* ~2× previous size */
  height:220px;
  border-radius:36px;
  box-shadow:0 24px 70px rgba(203,161,83,.30);
  }
  
  .logoBox img{
    width:90%;
    height:90%;
    object-fit:contain;
    display:block;
  }
  
  .brandText{
    display:flex;
    flex-direction:column;
    align-items:center;      /* ← critical */
    text-align:center;       /* ← critical */
  }
  


.brandName{
  font-size:20px;
  letter-spacing:.18em;
  line-height:1.05;
}

.brandTag{
  font-size:18px;
  letter-spacing:.14em;
  margin-top:8px;
  }
  
  .brandName{
    font-weight:700;
    letter-spacing:.12em;
    font-size:26px;
    line-height:1.1;
    color:var(--text);
  }
  
  .brandTag{
    font-weight:800;
    font-size:15px;
    letter-spacing:.10em;
    color:rgba(255,255,255,.88);
    text-transform:uppercase;
    .brandName,
.brandTag{
  width:100%;
}
  }
  @media (max-width: 900px){
    .brand{
      flex-direction:column;
      gap:18px;
    }
  
    .brandText{
      align-items:center;
      text-align:center;
    }
  }
  
  
  /* Right side */
  .actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
    grid-column:3;
  justify-self:end;
  }
  
  /* ================= BUTTONS ================= */
  
  .btn{
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.07);
    color:var(--text);
    padding:12px 18px;
    border-radius:14px;
    cursor:pointer;
    font-weight:850;
    font-size:16px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:.2s ease;
  }
  
  .btn:hover{
    background:rgba(255,255,255,.12);
    border-color:rgba(203,161,83,.38);
  }
  
  .btnPrimary{
    background:rgba(203,161,83,.22);
    border-color:rgba(203,161,83,.48);
  }
  
  .btnPrimary:hover{
    background:rgba(203,161,83,.28);
  }
  
  /* ================= HERO ================= */
  
  .hero{
    margin-top:22px;
    border:1px solid var(--line);
    border-radius:var(--r1);
    background:rgba(22,68,54,.38);
    box-shadow:var(--shadow);
    padding:30px;
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:24px;
  }
  
  .hero h1{
    font-size:38px !important;   /* down from ~46 */
    line-height:1.2 !important;
    max-width: 90%;
  }
  
  .hero p{
    font-size:18px;
    line-height:1.8;
    color:rgba(255,255,255,.88);
  }
  
  .pillRow{
    margin-top:16px;
    display:flex;
    flex-wrap:wrap;
    gap:12px;
  }
  
  .pill{
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(203,161,83,.33);
    background:rgba(203,161,83,.16);
    font-size:14px;
    font-weight:850;
    color:rgba(255,255,255,.95);
  }
  
  /* ================= HERO CARD ================= */
  
  .heroCard{
    border:1px solid rgba(255,255,255,.14);
    border-radius:var(--r2);
    background:rgba(18,56,44,.70);
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:14px;
  }
  
  .heroCard h2{
    font-size:20px;
    color:var(--text);
  }
  
  .kv{
    display:grid;
    gap:8px;
    font-size:16px;
    color:rgba(255,255,255,.86);
  }
  
  .kv b{ color:rgba(255,255,255,.98); }
  
  .mini{
    font-size:15px;
    color:rgba(255,255,255,.78);
    line-height:1.65;
  }
  
  /* ================= TABS ================= */
  
  .tabs{
    margin-top:22px;
    border:1px solid var(--line);
    border-radius:var(--r1);
    background:rgba(22,68,54,.28);
    box-shadow:var(--shadow);
  }
  
  .tabBar{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    padding:14px;
    border-bottom:1px solid var(--line);
  }
  
  .tabBtn{
    border:1px solid rgba(255,255,255,.16);
    background:rgba(255,255,255,.07);
    color:rgba(255,255,255,.92);
    padding:12px 18px;
    border-radius:14px;
    cursor:pointer;
    font-weight:850;
    font-size:16px;
    transition:.2s ease;
  }
  
  .tabBtn:hover{
    background:rgba(255,255,255,.12);
    border-color:rgba(203,161,83,.30);
  }
  
  .tabBtn[aria-selected="true"]{
    background:rgba(203,161,83,.22);
    border-color:rgba(203,161,83,.50);
    color:rgba(255,255,255,.98);
  }
  
  /* ================= PANELS ================= */
  
  .panel{
    display:none;
    padding:26px;
  }
  
  .panel.active{
    display:block;
  }
  
  /* ================= CONTENT ================= */
  
  .grid2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  
  .card{
    border:1px solid rgba(255,255,255,.12);
    border-radius:var(--r2);
    background:rgba(18,56,44,.65);
    padding:22px;
  }
  
  .card h3{
    font-size:22px;
    margin:0 0 12px;
    color:rgba(255,255,255,.98);
  }
  
  .card p{
    font-size:18px;
    line-height:1.85;
    color:rgba(255,255,255,.88);
  }
  
  .list{
    margin-top:12px;
    padding-left:20px;
    font-size:18px;
    line-height:1.85;
    color:rgba(255,255,255,.88);
  }
  
  .row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
  }
  
  /* Instructor tab: make it slightly more white */
  .panel[data-panel="instructors"] .card p,
  .panel[data-panel="instructors"] .list{
    color:rgba(255,255,255,.92);
  }
  
  /* ================= FOOTER ================= */
  
  .foot{
    margin-top:26px;
    text-align:center;
    font-size:14px;
    color:rgba(255,255,255,.72);
  }
  
  /* ================= MOBILE ================= */
  
  @media (max-width: 900px){
    .topbar{
      flex-direction:column;
      align-items:flex-start;
    }
  
    .actions{
      width:100%;
      justify-content:flex-start;
    }
  
    .logoBox{
      width:96px;
      height:96px;
    }
  
    .brandName{
      font-size:22px;
    }
  
    .hero{
      grid-template-columns:1fr;
    }
  
    .grid2{
      grid-template-columns:1fr;
    }
  
    .hero h1{
      font-size:36px;

    }
    /* ===== HEADER: ACADEMY STYLE ===== */

.topbar{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    padding:40px 32px;
  }
  
  /* Center the brand block */
  .brand{
    grid-column:2;
    display:flex;
    align-items:center;
    gap:32px;
    justify-content:center;
    text-align:left;
  }
  
  
  }
  /* ================= HEADER FINAL FIX ================= */

/* Make the header a 3-column grid so the brand can be truly centered */
.topbar{
    display:grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items:center !important;
    padding:32px 28px !important;
  }
  
  /* Center the brand block as a single unit */
  .brand{
    grid-column:2 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:32px !important;
  }
  
  /* Remove the weird “double shadow/ghost” look */
  .logoBox{
    width:220px !important;      /* ~2x */
    height:220px !important;     /* ~2x */
    border-radius:28px !important;
    background:rgba(255,255,255,.06) !important;
    border:1px solid rgba(203,161,83,.45) !important;
    box-shadow:0 16px 40px rgba(0,0,0,.28) !important;  /* clean shadow */
    overflow:hidden !important;
  }
  
  /* Make sure the logo image scales with the bigger box */
  .logoBox img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
    display:block !important;
  }
  
  /* ACTUAL text centering (this is the missing part) */
  .brandText{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }
  
  /* Make title/subtitle look like a masthead */
  .brandName{
    font-size:38px !important;
    letter-spacing:.18em !important;
    line-height:1.05 !important;
    margin:0 !important;
  }
  
  .brandTag{
    font-size:18px !important;
    letter-spacing:.14em !important;
    margin-top:8px !important;
  }
  
  /* Keep buttons on the right */
  .actions{
    grid-column:3 !important;
    justify-self:end !important;
  }
  
  /* ================= MOBILE ================= */
  @media (max-width: 900px){
    .topbar{
      grid-template-columns: 1fr !important;
      gap:18px !important;
      padding:22px 18px !important;
    }
  
    .brand{
      grid-column:1 !important;
      flex-direction:column !important;
      gap:14px !important;
    }
  
    .logoBox{
      width:160px !important;
      height:160px !important;
    }
  
    .brandName{
      font-size:28px !important;
      letter-spacing:.14em !important;
    }
  
    .brandTag{
      font-size:15px !important;
    }
  
    .actions{
      grid-column:1 !important;
      justify-self:center !important;
    }
  }
  /* ===== HEADER TUNING ===== */

/* Allow brand to breathe left, not dead-center */
.topbar{
    grid-template-columns: auto 1fr auto !important;
  }
  
  /* Move brand slightly left but keep alignment clean */
  .brand{
    grid-column:1 !important;
    justify-content:flex-start !important;
    padding-left:10px;
  }
  
  /* Make logo a bit larger (but not dominant) */
  .logoBox{
    width:250px !important;   /* was 220 */
    height:250px !important;
  }
  
  /* Keep text aligned relative to logo, not page */
  .brandText{
    align-items:flex-start !important;
    text-align:left !important;
  }
  
  /* Slightly tighten title so it doesn’t look pushed */
  .brandName{
    font-size:40px !important;
    letter-spacing:.16em !important;
  }
  
  .brandTag{
    font-size:18px !important;
  }
  
  
  /* ================= FINAL HEADER FIX ================= */

/* Header layout: logo + text left, buttons right */
.topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:32px 36px;
  }
  
  /* Brand block */
  .brand{
    display:flex;
    align-items:center;
    gap:28px;
  }
  
  /* Logo box: big, clean, contained */
  .logoBox{
    width:280px;
    height:280px;
    border-radius:28px;
    border:1px solid rgba(203,161,83,.45);
    background:rgba(255,255,255,.06);
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 18px 48px rgba(0,0,0,.28);
  }
  
  /* FIX: let logo scale naturally */
  .logoBox img{
    width:92%;
    height:92%;
    object-fit:contain;
    display:block;
  }
  
  /* Text block: CENTERED RELATIVE TO ITSELF */
  .brandText{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-end;   /* left relative to logo */
  }
  
  /* Academy name */
  .brandName{
    font-size:20px;
    letter-spacing:.14em;
    line-height:1.1;
    margin:1;
  }
  
  /* Subtitle */
  .brandTag{
    font-size:16px;
    letter-spacing:.12em;
    margin-top:8px;
  }
  
  /* Buttons stay right */
  .actions{
    display:flex;
    gap:12px;
  }
  
  /* ================= HERO HEADLINE TWEAK ================= */
  
  .hero h1{
    font-size:38px;
    line-height:1.25;
    max-width:100%;
  }
  
  /* ================= MOBILE ================= */
  
  @media (max-width: 900px){
    .topbar{
      flex-direction:column;
      align-items:flex-start;
      gap:20px;
      padding:22px 18px;
    }
  
    .brand{
      flex-direction:column;
      align-items:center;
      text-align:center;
    }
  
    .brandText{
      align-items:center;
      text-align:center;
    }
  
    .logoBox{
      width:160px;
      height:160px;
    }
  
    .brandName{
      font-size:20px;
      letter-spacing:.14em;
    }
  
    .brandTag{
      font-size:12px;
    }
  
    .actions{
      width:100%;
      justify-content:flex-start;
    }
  }
  .logoBox img{
    width:100%;
    height:100%;
    object-fit:contain;
  }
  
  /* === FORCE LOGO SIZE (OVERRIDE EVERYTHING) === */
.logoBox{
    width: 280px !important;
    height: 280px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
  }
  
  /* Make the image fill the box */
  .logoBox img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display:block !important;
  }
  /* === CENTER THE TEXT BLOCK === */
.brandText{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }
  .topbar{
    display:grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items:center !important;
  }
  
  .brand{
    grid-column:2 !important;
    justify-content:center !important;
  }
  /* === FORCE ARROWS & STARS ON ONE LINE === */

.brandName{
    white-space: nowrap;        /* ← prevents line breaks */
    font-size: 40px;            /* keep strong but controlled */
    letter-spacing: .14em;      /* slightly tighter */
    line-height: 1.1;
  }
  
  /* Ensure brand text container is wide enough */
  .brandText{
    min-width: max-content;     /* ← critical */
  }
  /* ===== HEADER LAYOUT FIX: logo | centered text | button ===== */

.topbar{
    display:grid !important;
    grid-template-columns: 280px 1fr auto !important; /* left/logo | center/text | right/button */
    align-items:center !important;
    column-gap: 32px !important;
    padding: 28px 32px !important;
  }
  
  /* Let the brand container stop fighting the layout */
  .brand{
    display: contents !important; /* key trick: logoBox + brandText become grid items */
  }
  
  /* Place items into the 3 columns */
  .logoBox{ grid-column:1 !important; }
  .brandText{
    grid-column:2 !important;
    justify-self:center !important;
    text-align:center !important;
    align-items:center !important;
  }
  
  /* Keep the CTA button inside the right column */
  .actions{
    grid-column:3 !important;
    justify-self:end !important;
  }
  
  /* One-line title WITHOUT forcing the whole header to expand */
  .brandName{
    white-space:nowrap !important;
    font-size: clamp(28px, 3.6vw, 44px) !important;
    letter-spacing: .14em !important;
  }
  
  /* Remove any old "max-content" constraint if you added it earlier */
  .brandText{
    min-width: 0 !important;
  }
  /* ================= MOBILE FIX ================= */
@media (max-width: 700px){

    /* Stop any horizontal overflow */
    html, body{ overflow-x:hidden; }
    .wrap{ padding:16px 12px 40px; }
  
    /* Header: stack nicely */
    .topbar{
      display:flex !important;
      flex-direction:column !important;
      align-items:center !important;
      justify-content:center !important;
      gap:14px !important;
      padding:18px 14px !important;
      text-align:center !important;
    }
  
    .brand{
      display:flex !important;
      flex-direction:column !important;
      align-items:center !important;
      justify-content:center !important;
      gap:12px !important;
      width:100% !important;
    }
  
    /* Logo: big but not ridiculous on phone */
    .logoBox{
      width:170px !important;
      height:170px !important;
      border-radius:24px !important;
    }
  
    .logoBox img{
      width:100% !important;
      height:100% !important;
      object-fit:contain !important;
    }
  
    /* Text: keep it readable and prevent overlap */
    .brandText{
      width:100% !important;
      align-items:center !important;
      text-align:center !important;
      min-width:0 !important;
    }
  
    .brandName{
      white-space:normal !important;   /* allow wrap on small screens */
      font-size:26px !important;
      letter-spacing:.10em !important;
      line-height:1.1 !important;
    }
  
    .brandTag{
      font-size:14px !important;
      letter-spacing:.12em !important;
      margin-top:6px !important;
    }
  
    /* Button: center it and keep it inside the card */
    .actions{
      width:100% !important;
      display:flex !important;
      justify-content:center !important;
    }
  
    .actions .btnPrimary{
      width:100% !important;
      max-width:260px !important;
      padding:12px 16px !important;
      font-size:16px !important;
    }
  
    /* Hero: stack columns */
    .hero{
      grid-template-columns:1fr !important;
      padding:18px 14px !important;
    }
  
    .hero h1{
      font-size:34px !important;
      line-height:1.15 !important;
    }
  
    /* Pills: wrap nicely */
    .pillRow{ gap:8px !important; }
    .pill{ font-size:12px !important; }
  }
  .consultBtn {
    pointer-events: auto;
    position: relative;
    z-index: 50;
  }
  