:root{
  --primary:#0b63f6;
  --primary-dark:#082a57;
  --navy:#071d3a;
  --text:#12213a;
  --muted:#667085;
  --soft:#f7faff;
  --border:#e8eef7;
  --white:#ffffff;
  --orange:#f6a821;
  --shadow:0 14px 40px rgba(16,33,61,.07);
  --radius:18px;
}

/* RESET */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,Arial,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.65;
  font-size:16px;
}

a{
  text-decoration:none;
  color:inherit;
}

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

.container{
  width:min(1160px,calc(100% - 36px));
  margin:auto;
}

/* BUTTON */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:11px 18px;
  border-radius:8px;
  font-size:14px;
  font-weight:700;
  border:1px solid transparent;
  transition:.25s ease;
  cursor:pointer;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}

.btn-primary:hover{
  background:#084fd0;
  transform:translateY(-2px);
}

.btn-orange{
  background:var(--orange);
  color:#fff;
}

.btn-outline{
  background:#fff;
  color:var(--primary);
  border-color:var(--primary);
}

.btn-dark-outline{
  background:rgba(255,255,255,.08);
  color:#fff;
  border-color:rgba(255,255,255,.55);
}

.btn-dark-outline:hover{
  background:#fff;
  color:var(--navy);
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:99;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
}

.navbar{
  position:relative;
  height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
}

.logo{
  display:flex;
  align-items:center;
  gap:0;
  font-weight:900;
  color:var(--navy);
  flex-shrink:0;
}

.logo-mark{
  width:65px;
  height:65px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.logo-text strong{
  display:block;
  font-size:22px;
  line-height:1;
}

.logo-text span{
  display:block;
  font-size:10px;
  color:#506078;
  margin-top:1px;
}

.nav-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  list-style:none;
  gap:30px;
  font-size:14px;
  font-weight:650;
  flex:1;
}

.nav-menu li{
  list-style:none;
}

.nav-menu a{
  position:relative;
  color:#122442;
}

.nav-menu a.active,
.nav-menu a:hover{
  color:var(--primary);
}

.nav-menu a.active::after,
.nav-menu a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-14px;
  height:3px;
  background:var(--primary);
  border-radius:10px;
}

.nav-actions{
  display:flex;
  gap:11px;
  align-items:center;
  flex-shrink:0;
}

.mobile-action{
  display:none;
}

.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--navy);
  border-radius:10px;
  font-size:18px;
  cursor:pointer;
  flex-shrink:0;
}

/* HERO */
.hero{
  position:relative;
  min-height:530px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
}

.hero.small{
  min-height:300px;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(3,17,36,.88) 0%,
    rgba(5,26,56,.72) 48%,
    rgba(5,26,56,.13) 100%
  );
  z-index:2;
}

.hero-content{
  position:relative;
  z-index:3;
}

.hero h1{
  font-size:clamp(34px,4.6vw,52px);
  line-height:1.14;
  letter-spacing:-1.3px;
  margin-bottom:18px;
  font-weight:850;
}

.hero p{
  font-size:16px;
  color:rgba(255,255,255,.9);
  margin-bottom:24px;
  max-width:590px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:13px;
}

/* SECTION */
.section{
  padding:76px 0;
}

.section-white{
  background:#fff;
}

.section-soft{
  background:#f8fbff;
}

.section-title{
  margin-bottom:32px;
}

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

.section-title span,
.eyebrow{
  display:inline-block;
  color:var(--primary);
  font-weight:800;
  margin-bottom:8px;
  font-size:14px;
}

.section-title h2{
  font-size:clamp(28px,3.5vw,38px);
  line-height:1.25;
  letter-spacing:-.5px;
  color:var(--navy);
  font-weight:850;
}

.section-title p{
  color:var(--muted);
  max-width:700px;
  margin-top:11px;
  font-size:15.5px;
}

/* ABOUT */
.about-preview{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:58px;
  align-items:center;
}

.photo-card{
  border-radius:12px;
  overflow:hidden;
  min-height:310px;
  box-shadow:var(--shadow);
}

.photo-img{
  width:100%;
  height:100%;
  min-height:310px;
  object-fit:cover;
}

.about-text h2{
  font-size:clamp(27px,3.5vw,38px);
  line-height:1.28;
  margin-bottom:15px;
  color:var(--navy);
  font-weight:850;
}

.about-text p{
  color:var(--muted);
  margin-bottom:15px;
  font-size:15.5px;
}

/* SERVICES */
.services{
  padding:78px 0;
  background:#fff;
  overflow:hidden;
}

.service-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:38px;
}

.service-head h2{
  font-size:clamp(30px,4vw,42px);
  line-height:1.12;
  color:var(--navy);
  letter-spacing:-.7px;
  font-weight:850;
}

.slider-buttons{
  display:flex;
  gap:14px;
  flex-shrink:0;
}

.slider-buttons button{
  width:54px;
  height:54px;
  border-radius:50%;
  border:1px solid var(--border);
  background:#fff;
  color:var(--navy);
  cursor:pointer;
  font-size:17px;
  box-shadow:0 8px 20px rgba(16,33,61,.035);
  transition:.2s ease;
}

.slider-buttons button:hover{
  background:var(--primary);
  color:#fff;
}

.slider-viewport{
  overflow:hidden;
  width:100%;
}

.service-slider{
  display:flex;
  gap:24px;
  transition:transform .45s ease;
  will-change:transform;
}

.service-card{
  flex:0 0 calc((100% - 48px) / 3);
  min-height:340px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:17px;
  padding:34px 30px;
  position:relative;
  box-shadow:0 10px 28px rgba(16,33,61,.035);
}

.service-icon{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#f4f7ff;
  color:var(--primary);
  display:grid;
  place-items:center;
  font-size:30px;
  margin-bottom:34px;
}

.service-number{
  position:absolute;
  top:30px;
  right:30px;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#f4f7ff;
  color:var(--navy);
  display:grid;
  place-items:center;
  font-size:21px;
  font-weight:850;
}

.service-card h3{
  font-size:21px;
  line-height:1.32;
  margin-bottom:14px;
  color:var(--navy);
  font-weight:850;
}

.service-card p{
  font-size:15.5px;
  color:#627089;
  line-height:1.75;
}

/* STATS */
.stats-wrap{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  align-items:center;
  gap:52px;
}

.stats-box{
  border:1px solid var(--border);
  border-radius:12px;
  padding:42px 40px;
  background:#fff;
}

.stat-row{
  display:flex;
  align-items:center;
  gap:22px;
  padding:18px 0;
  border-bottom:1px solid var(--border);
}

.stat-row:last-child{
  border-bottom:none;
}

.stat-row strong{
  font-size:48px;
  line-height:1;
  color:var(--primary);
  letter-spacing:-1px;
}

.stat-row h3{
  font-size:23px;
  line-height:1.24;
  color:var(--navy);
}

.stat-row p{
  color:var(--muted);
  font-size:14px;
  margin-top:4px;
}

.collage{
  position:relative;
  min-height:340px;
}

.collage-img{
  position:absolute;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:6px solid #fff;
}

.collage-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.collage-img.one{
  top:0;
  right:0;
  width:82%;
  height:178px;
}

.collage-img.two{
  left:0;
  bottom:45px;
  width:42%;
  height:145px;
}

.collage-img.three{
  right:0;
  bottom:0;
  width:56%;
  height:160px;
}

/* CTA */
.cta-band{
  position:relative;
  overflow:hidden;
  color:#fff;
  padding:48px 0;
}

.cta-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

.cta-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(3,17,36,.9),rgba(6,42,86,.76));
  z-index:2;
}

.cta-inner{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:1.3fr auto;
  align-items:center;
  gap:28px;
}

.cta-inner span{
  color:#6aa8ff;
  font-weight:800;
  font-size:14px;
}

.cta-inner h2{
  font-size:clamp(25px,3.4vw,36px);
  max-width:770px;
  line-height:1.28;
  font-weight:850;
}

/* CONTENT */
.content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.info-card,
.program-card,
.contact-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:17px;
  padding:30px;
  box-shadow:0 10px 28px rgba(16,33,61,.035);
}

.info-card h3,
.program-card h3,
.contact-card h3{
  font-size:22px;
  margin-bottom:11px;
  color:var(--navy);
  font-weight:850;
}

.info-card p,
.program-card p,
.contact-card p{
  color:var(--muted);
  font-size:15.5px;
}

/* PROGRAM */
.program-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.program-card i{
  font-size:31px;
  color:var(--primary);
  margin-bottom:18px;
}

/* GALLERY */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.gallery-item{
  min-height:225px;
  border-radius:16px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
  position:relative;
}

.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent,rgba(3,17,36,.72));
}

.gallery-item span{
  position:absolute;
  z-index:2;
  left:22px;
  bottom:18px;
  color:#fff;
  font-weight:800;
  font-size:15px;
}

/* CONTACT */
.contact-layout{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
}

.map{
  border:0;
  width:100%;
  height:320px;
  border-radius:16px;
  margin-top:22px;
}

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

.form-group{
  margin-bottom:15px;
}

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

label{
  display:block;
  font-weight:750;
  margin-bottom:8px;
  font-size:14px;
}

input,
select,
textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:12px 14px;
  font:inherit;
  font-size:15px;
  outline:none;
  background:#fff;
}

textarea{
  min-height:122px;
  resize:vertical;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(11,99,246,.08);
}

/* MEMBERSHIP */
.member-grid{
  display:grid;
  grid-template-columns:1.1fr .85fr;
  gap:32px;
  align-items:start;
}

/* LOGIN */
.login-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:34px;
  box-shadow:var(--shadow);
  position:sticky;
  top:105px;
}

.login-card h3{
  font-size:30px;
  line-height:1.2;
  margin:16px 0 10px;
  color:var(--navy);
  font-weight:850;
}

.login-card p{
  color:var(--muted);
  font-size:15.5px;
  margin-bottom:24px;
}

.login-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.login-links{
  margin-top:18px;
  text-align:center;
}

.login-links a{
  color:var(--primary);
  font-size:14px;
  font-weight:700;
}

.login-links a:hover{
  text-decoration:underline;
}

/* FAQ */
.faq-accordion{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.faq-item{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.faq-question{
  width:100%;
  border:0;
  background:#fff;
  color:var(--navy);
  padding:21px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  font-size:16px;
  font-weight:800;
  text-align:left;
  cursor:pointer;
}

.faq-question i{
  color:var(--primary);
  transition:.3s ease;
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease;
}

.faq-answer p{
  padding:0 24px 22px;
  color:var(--muted);
  font-size:15.5px;
}

.faq-item.active .faq-question{
  color:var(--primary);
}

.faq-item.active .faq-question i{
  transform:rotate(180deg);
}

/* FOOTER */
.footer{
  background:#f6f9ff;
  border-top:1px solid var(--border);
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:5px;
  padding:50px 0;
}

.footer p,
.footer a,
.footer li{
  color:#59677c;
  font-size:14px;
}

.footer h4{
  margin-bottom:15px;
  color:var(--navy);
  font-size:16px;
}

.footer ul{
  list-style:none;
}

.footer li{
  margin-bottom:9px;
}

.footer-bottom{
  border-top:1px solid var(--border);
  text-align:center;
  padding:17px 0;
  color:#59677c;
  font-size:14px;
}

.backtop{
  position:fixed;
  right:22px;
  bottom:22px;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#fff;
  color:var(--primary);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  display:grid;
  place-items:center;
  z-index:80;
}

/* RESPONSIVE TABLET */
@media(max-width:980px){

  .menu-toggle{
    display:grid;
    place-items:center;
  }

  .nav-actions{
    display:none;
  }

  .nav-menu{
    position:absolute;
    top:78px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:18px 20px 20px;
    background:#fff;
    border-bottom:1px solid var(--border);
    box-shadow:0 18px 35px rgba(16,33,61,.08);
  }

  .nav-menu.show{
    display:flex;
  }

  .nav-menu li{
    width:100%;
  }

  .nav-menu a{
    display:flex;
    width:100%;
    padding:12px 0;
    font-size:15px;
  }

  .nav-menu a.active::after,
  .nav-menu a:hover::after{
    display:none;
  }

  .mobile-action{
    display:block;
    width:100%;
    margin-top:8px;
    padding-top:16px;
    border-top:1px solid var(--border);
  }

  .mobile-action .btn{
    width:100%;
    justify-content:center;
    padding:13px 18px;
    color:#fff;
  }

  .about-preview,
  .stats-wrap,
  .cta-inner,
  .content-grid,
  .contact-layout,
  .member-grid{
    grid-template-columns:1fr;
  }

  .program-grid,
  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .service-card{
    flex:0 0 calc((100% - 24px) / 2);
  }

  .login-card{
    position:relative;
    top:auto;
  }
}

/* RESPONSIVE MOBILE */
@media(max-width:640px){

  body{
    font-size:15px;
  }

  .navbar{
    height:72px;
  }

  .nav-menu{
    top:72px;
  }

  .logo-mark{
    width:58px;
    height:58px;
  }

  .logo-text strong{
    font-size:19px;
  }

  .logo-text span{
    font-size:9px;
  }

  .hero{
    min-height:500px;
  }

  .hero h1{
    font-size:34px;
  }

  .section,
  .services{
    padding:58px 0;
  }

  .service-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .slider-buttons button{
    width:50px;
    height:50px;
  }

  .service-card{
    flex:0 0 86%;
    min-height:330px;
    padding:30px 26px;
  }

  .service-card h3{
    font-size:20px;
  }

  .service-card p{
    font-size:15px;
  }

  .program-grid,
  .gallery-grid,
  .footer-grid,
  .form-grid{
    grid-template-columns:1fr;
  }

  .footer-grid{
    gap:24px;
  }

  .stat-row strong{
    font-size:40px;
  }

  .login-card{
    padding:26px;
  }

  .faq-question{
    padding:18px 20px;
    font-size:15px;
  }

  .faq-answer p{
    padding:0 20px 20px;
    font-size:14px;
  }
}
