:root{
  --navy:#071d49;
  --blue:#0b3d91;
  --teal:#00a7a7;
  --gold:#d6a84f;
  --ink:#14213d;
  --muted:#64748b;
  --bg:#f5f8fc;
  --white:#fff;
  --soft:#eef6ff;
  --line:rgba(7,29,73,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}
a{text-decoration:none;color:inherit}
img{max-width:100%}

/* Shared animation: works on desktop and mobile without JavaScript */
.reveal-up,
.gateway-card,
.hero-content,
.feature-card,
.course-card,
.team-card,
.contact-card,
.cta{
  opacity:0;
  transform:translateY(26px);
  animation:fadeUp .8s ease forwards;
}

.delay-1{animation-delay:.12s!important}
.delay-2{animation-delay:.24s!important}
.delay-3{animation-delay:.36s!important}

@keyframes fadeUp{
  to{opacity:1;transform:none}
}

@keyframes slowZoom{
  from{transform:scale(1)}
  to{transform:scale(1.08)}
}

@keyframes floatSoft{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}

/* Gateway landing page */
.gateway-body{
  min-height:100vh;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--navy);
}

.gateway-bg{
  position:fixed;
  inset:0;
  background:linear-gradient(120deg,rgba(7,29,73,.88),rgba(0,167,167,.44)),var(--gateway-bg) center/cover no-repeat;
  animation:slowZoom 18s ease-in-out infinite alternate;
}

.gateway-card{
  position:relative;
  z-index:1;
  width:min(820px,92vw);
  text-align:center;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.26);
  backdrop-filter:blur(16px);
  padding:48px;
  border-radius:34px;
  color:#fff;
  box-shadow:0 30px 90px rgba(0,0,0,.28);
}

.brand-mark,
.brand-logo{
  width:76px;
  height:76px;
  border-radius:22px;
  background:linear-gradient(135deg,var(--gold),#fff1b8);
  color:var(--navy);
  display:grid;
  place-items:center;
  margin:0 auto 16px;
  font-weight:900;
  font-size:28px;
  object-fit:cover;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:800;
  color:var(--gold);
  margin:0 0 12px;
}

.gateway-card h1{
  font-size:clamp(42px,7vw,78px);
  line-height:.95;
  margin:0;
}

.gateway-sub{
  font-size:20px;
  line-height:1.6;
  margin:22px auto 30px;
  max-width:660px;
}

.gateway-actions,
.hero-actions{
  display:flex;
  gap:14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:14px 24px;
  font-weight:800;
  transition:.25s;
  border:0;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--gold),#f4d67b);
  color:var(--navy);
  box-shadow:0 10px 24px rgba(214,168,79,.32);
}

.btn-light{
  background:#fff;
  color:var(--navy);
}

.btn-outline{
  border:1px solid rgba(255,255,255,.62);
  color:#fff;
}

.btn-blue{
  background:var(--blue);
  color:#fff;
}

.btn:hover{
  transform:translateY(-3px);
}

/* Header */
.site-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 6vw;
  color:#fff;
}

.site-header.solid{
  position:sticky;
  background:#fff;
  color:var(--navy);
  box-shadow:0 10px 30px rgba(7,29,73,.08);
}

.logo{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:900;
}

.logo span,
.logo img{
  width:40px;
  height:40px;
  border-radius:12px;
  background:var(--gold);
  display:grid;
  place-items:center;
  color:var(--navy);
  object-fit:cover;
}

nav{
  display:flex;
  gap:22px;
  align-items:center;
  font-weight:700;
}

nav a{opacity:.96}
nav a:hover{color:var(--gold)}

.nav-lms{
  background:var(--gold);
  color:var(--navy)!important;
  padding:10px 16px;
  border-radius:999px;
}

/* Hero */
.hero{
  position:relative;
  min-height:94vh;
  background:var(--hero-bg) center/cover no-repeat;
  display:flex;
  align-items:center;
  padding:120px 6vw 80px;
  color:#fff;
  overflow:hidden;
}

.hero:after{
  content:"";
  position:absolute;
  right:-120px;
  top:18%;
  width:420px;
  height:420px;
  border-radius:50%;
  background:rgba(214,168,79,.16);
  filter:blur(8px);
  animation:floatSoft 6s ease-in-out infinite;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,29,73,.94),rgba(7,29,73,.62),rgba(0,167,167,.2));
}

.hero-content{
  position:relative;
  z-index:1;
  max-width:800px;
}

.hero h1{
  font-size:clamp(46px,7vw,86px);
  line-height:.95;
  margin:0 0 22px;
}

.hero p{
  font-size:20px;
  line-height:1.7;
  max-width:680px;
}

.hero-stats{
  position:absolute;
  right:6vw;
  bottom:45px;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.2);
  backdrop-filter:blur(12px);
  border-radius:24px;
  overflow:hidden;
  animation:fadeUp .9s ease .25s both;
}

.hero-stats div{
  padding:20px 26px;
  border-right:1px solid rgba(255,255,255,.16);
}

.hero-stats div:last-child{border-right:0}

.hero-stats strong{
  display:block;
  font-size:30px;
  color:var(--gold);
}

.hero-stats span{font-size:13px}

/* Sections */
.section{padding:86px 6vw}

.split{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  align-items:center;
}

.split h2,
.section-head h2,
.cta h2,
.page-hero h1{
  font-size:clamp(32px,4vw,54px);
  line-height:1.05;
  margin:0 0 18px;
}

.split-text p{
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
}

.glass-note{
  background:#fff;
  border-left:6px solid var(--gold);
  padding:24px;
  border-radius:22px;
  box-shadow:0 18px 50px rgba(7,29,73,.08);
  line-height:1.7;
  color:var(--muted);
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.feature-card,
.course-card,
.contact-card{
  background:#fff;
  border-radius:26px;
  padding:28px;
  box-shadow:0 16px 50px rgba(7,29,73,.08);
  transition:.3s;
  border:1px solid rgba(7,29,73,.06);
}

.feature-card:hover,
.course-card:hover,
.team-card:hover,
.contact-card:hover{
  transform:translateY(-8px);
}

.feature-card span{
  color:var(--gold);
  font-weight:900;
  font-size:24px;
}

.feature-card p,
.course-card p{
  color:var(--muted);
  line-height:1.7;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin-bottom:26px;
  gap:20px;
}

.section-head a,
.text-link{
  color:var(--teal);
  font-weight:900;
}

/* Courses */
.course-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.course-grid.large{
  grid-template-columns:repeat(3,1fr);
}

.course-card{overflow:hidden}

.course-photo{
  height:180px;
  margin:-28px -28px 22px;
  background:#dbeafe center/cover no-repeat;
}

.course-badge{
  display:inline-block;
  background:#e8fbfb;
  color:#007b7b;
  font-weight:900;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
}

.course-card h3{
  font-size:24px;
  margin:18px 0 12px;
}

.course-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px;
}

.course-meta span{
  background:#f1f5f9;
  padding:9px 12px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
}

/* Team */
.dark{
  background:linear-gradient(135deg,var(--navy),#082f65);
  color:#fff;
}

.dark .section-head h2{color:#fff}

.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.team-grid.large{
  grid-template-columns:repeat(4,1fr);
}

.team-card{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  border-radius:26px;
  padding:26px;
  text-align:center;
  transition:.3s;
}

.team-card.light{
  background:#fff;
  color:var(--ink);
  box-shadow:0 16px 50px rgba(7,29,73,.08);
}

.avatar{
  width:86px;
  height:86px;
  border-radius:28px;
  background:linear-gradient(135deg,var(--gold),#fff1b8);
  color:var(--navy);
  font-size:34px;
  font-weight:900;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
}

.staff-photo{
  width:110px;
  height:110px;
  border-radius:30px;
  object-fit:cover;
  margin-bottom:14px;
}

.team-card h3{margin:8px 0}

.team-card p{
  color:#dbeafe;
  margin:4px;
}

.team-card.light p{color:var(--muted)}

.team-card span,
.team-card small{
  display:block;
  color:#bdd7ff;
  margin-top:8px;
  line-height:1.5;
}

.team-card.light span,
.team-card.light small{
  color:var(--muted);
}

/* CTA / Footer / Page hero */
.cta{
  margin:80px 6vw;
  background:#fff;
  border-radius:34px;
  text-align:center;
  padding:60px 30px;
  box-shadow:0 22px 70px rgba(7,29,73,.1);
}

.footer{
  padding:28px 6vw;
  background:#061637;
  color:#dbeafe;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.page-hero{
  padding:120px 6vw 70px;
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  position:relative;
  overflow:hidden;
}

.page-hero:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(214,168,79,.16);
}

.page-hero p{
  font-size:18px;
  color:#dbeafe;
  max-width:760px;
  line-height:1.7;
}

/* Contact page */
.contact-page{
  background:linear-gradient(180deg,#f5f8fc,#eef6ff);
}

.contact-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:24px;
  align-items:stretch;
}

.contact-card h2{
  margin-top:0;
  color:var(--navy);
}

.contact-card p{
  color:var(--muted);
  line-height:1.7;
}

.contact-list{
  display:grid;
  gap:16px;
  margin-top:18px;
}

.contact-item{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}

.contact-icon{
  width:46px;
  height:46px;
  border-radius:16px;
  background:linear-gradient(135deg,var(--gold),#fff1b8);
  color:var(--navy);
  font-weight:900;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}

.contact-item b{
  display:block;
  color:var(--navy);
  margin-bottom:4px;
}

.contact-item a{
  color:var(--blue);
  font-weight:800;
  word-break:break-word;
}

.contact-note{
  background:linear-gradient(135deg,var(--navy),var(--blue));
  color:#fff;
  border-radius:26px;
  padding:30px;
  box-shadow:0 16px 50px rgba(7,29,73,.16);
}

.contact-note p{color:#dbeafe}
.contact-note .btn{margin-top:12px}

/* Old form style kept only for admin/site reuse if needed */
.contact-card input,
.contact-card textarea,
.contact-card select{
  width:100%;
  padding:14px;
  border:1px solid #d9e2ef;
  border-radius:14px;
  margin-bottom:12px;
  font-size:15px;
}

.contact-card textarea{min-height:130px}
.form-note{color:var(--muted);font-size:13px}

/* Mobile responsive with same animations */
@media(max-width:950px){
  .site-header{
    position:relative;
    background:var(--navy);
    flex-direction:column;
    gap:14px;
    padding:18px 5vw;
  }

  .site-header.solid{
    position:sticky;
    background:#fff;
  }

  nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    font-size:14px;
  }

  nav a{padding:8px 10px}
  .nav-lms{padding:9px 14px}

  .gateway-card{
    padding:34px 22px;
    border-radius:28px;
  }

  .gateway-card h1{font-size:44px}
  .gateway-sub{font-size:17px}

  .hero{
    min-height:auto;
    padding:70px 6vw 44px;
    display:block;
  }

  .hero h1{font-size:44px}
  .hero p{font-size:17px}

  .hero-stats{
    position:relative;
    right:auto;
    bottom:auto;
    margin-top:30px;
    grid-template-columns:1fr;
    border-radius:22px;
  }

  .hero-stats div{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.16);
  }

  .hero-stats div:last-child{border-bottom:0}

  .split,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .course-grid,
  .feature-grid,
  .team-grid,
  .team-grid.large,
  .course-grid.large{
    grid-template-columns:1fr;
  }

  .section{
    padding:58px 5vw;
  }

  .section-head{
    display:block;
  }

  .cta{
    margin:55px 5vw;
    padding:42px 22px;
  }

  .page-hero{
    padding:70px 5vw 46px;
  }

  .footer{
    display:block;
    text-align:center;
  }

  .footer div{
    margin:8px 0;
  }

  .contact-item{
    padding:16px;
  }

  .contact-note{
    padding:24px;
  }

  .btn{
    width:auto;
    max-width:100%;
  }
}

@media(max-width:520px){
  .gateway-actions,
  .hero-actions{
    flex-direction:column;
  }

  .gateway-actions .btn,
  .hero-actions .btn{
    width:100%;
  }

  .gateway-card{
    width:92vw;
    padding:28px 18px;
    border-radius:24px;
  }

  .brand-mark,
  .brand-logo{
    width:54px !important;
    height:54px !important;
    border-radius:16px !important;
    font-size:20px !important;
    margin-bottom:12px !important;
  }

  .gateway-card h1,
  .hero h1{
    font-size:38px !important;
    line-height:1 !important;
  }

  .gateway-sub{
    font-size:16px !important;
    line-height:1.5 !important;
    margin:16px auto 22px !important;
  }

  .gateway-actions{
    gap:10px;
  }

  .gateway-actions .btn{
    width:100%;
    padding:13px 18px;
    font-size:14px;
  }

  .course-card,
  .feature-card,
  .team-card,
  .contact-card{
    border-radius:22px;
    padding:22px;
  }

  .course-photo{
    margin:-22px -22px 18px;
    height:160px;
  }
}