/* Start custom CSS *//* ============================================================
   TDB RESCUE DIVER — "Tactical Readiness" Theme
   Typography: Barlow Condensed + DM Sans
   Palette: Deep Slate + Rescue Red + Amber + Teal
   ============================================================ */

/* --- VARIABLES --- */
.rsc-page{
  --rsc-slate:#1B2432;
  --rsc-deep:#243040;
  --rsc-charcoal:#2C3A4E;
  --rsc-ink:#111820;

  --rsc-red:#E63946;
  --rsc-red-dark:#C1303B;
  --rsc-amber:#F4A261;
  --rsc-teal:#2A9D8F;
  --rsc-sky:#90E0EF;

  --rsc-white:#FFFFFF;
  --rsc-off:#F6F7F9;
  --rsc-light:#E9ECF0;
  --rsc-text:#3A4450;
  --rsc-text-muted:#6B7A88;

  --font-head:'Barlow Condensed',sans-serif;
  --font-body:'DM Sans',sans-serif;

  --sp-xs:8px;--sp-sm:16px;--sp-md:24px;--sp-lg:40px;--sp-xl:64px;--sp-2xl:96px;

  font-family:var(--font-body);font-weight:400;color:var(--rsc-text);line-height:1.7;
  margin:0;padding:0;
}
.rsc-page *,.rsc-page *::before,.rsc-page *::after{box-sizing:border-box}
.rsc-page h1,.rsc-page h2,.rsc-page h3,.rsc-page h4{font-family:var(--font-head);margin:0;line-height:1.1}
.rsc-page p{margin:0}
.rsc-page img{max-width:100%;display:block}
.rsc-page a{text-decoration:none}
.rsc-wrap{max-width:1140px;margin:0 auto;padding:0 clamp(20px,4vw,40px)}

/* --- HERO --- */
.rsc-hero{
  position:relative;min-height:100vh;display:flex;align-items:flex-end;
  overflow:hidden;background:var(--rsc-ink);
  width:100vw;left:50%;margin-left:-50vw;
  margin-top:-40px;padding-top:40px;
}
.rsc-hero__bg{position:absolute;inset:0}
.rsc-hero__bg img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.rsc-hero__overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(17,24,32,.3) 0%,rgba(17,24,32,.5) 40%,rgba(17,24,32,.88) 75%,rgba(17,24,32,.97) 100%),
    linear-gradient(90deg,rgba(230,57,70,.08) 0%,transparent 50%);
}

/* Grid lines decoration */
.rsc-hero__grid{
  position:absolute;inset:0;pointer-events:none;z-index:1;
  display:flex;justify-content:space-evenly;
}
.rsc-hero__grid span{
  width:1px;height:100%;
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.04) 30%,rgba(255,255,255,.04) 70%,transparent);
}

/* Pulse ring */
.rsc-hero__pulse{
  position:absolute;top:20%;right:12%;z-index:1;pointer-events:none;
  width:200px;height:200px;
}
.rsc-hero__pulse span{
  position:absolute;inset:0;border-radius:50%;
  border:1px solid rgba(230,57,70,.15);
  animation:rscPulse 4s ease-out infinite;
}
.rsc-hero__pulse span:nth-child(2){animation-delay:1.3s}
.rsc-hero__pulse span:nth-child(3){animation-delay:2.6s}
@keyframes rscPulse{
  0%{transform:scale(.3);opacity:.8}
  100%{transform:scale(2.5);opacity:0}
}

/* Fish */
.rsc-fish{position:absolute;pointer-events:none;z-index:1;color:rgba(255,255,255,.04)}
.rsc-fish--1{width:36px;top:35%;animation:rscSwimR 22s linear infinite}
.rsc-fish--2{width:24px;top:55%;animation:rscSwimL 28s linear infinite;animation-delay:3s}
.rsc-fish--3{width:30px;top:45%;animation:rscSwimR 25s linear infinite;animation-delay:8s}
@keyframes rscSwimR{0%{left:-5%}100%{left:105%}}
@keyframes rscSwimL{0%{left:105%;transform:scaleX(-1)}100%{left:-5%;transform:scaleX(-1)}}

/* Bubbles */
.rsc-bubbles{position:absolute;inset:0;pointer-events:none;z-index:1;overflow:hidden}
.rsc-bubbles i{
  position:absolute;bottom:-10px;border-radius:50%;
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.12),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.06);
  animation:rscBubUp linear infinite;
}
.rsc-bubbles i:nth-child(1){width:6px;height:6px;left:10%;animation-duration:14s}
.rsc-bubbles i:nth-child(2){width:10px;height:10px;left:22%;animation-duration:18s;animation-delay:2s}
.rsc-bubbles i:nth-child(3){width:4px;height:4px;left:35%;animation-duration:12s;animation-delay:5s}
.rsc-bubbles i:nth-child(4){width:14px;height:14px;left:48%;animation-duration:20s;animation-delay:1s}
.rsc-bubbles i:nth-child(5){width:7px;height:7px;left:58%;animation-duration:15s;animation-delay:4s}
.rsc-bubbles i:nth-child(6){width:5px;height:5px;left:70%;animation-duration:13s;animation-delay:7s}
.rsc-bubbles i:nth-child(7){width:18px;height:18px;left:78%;animation-duration:22s;animation-delay:3s;
  background:radial-gradient(circle at 35% 35%,rgba(230,57,70,.08),transparent);border-color:rgba(230,57,70,.06)}
.rsc-bubbles i:nth-child(8){width:8px;height:8px;left:88%;animation-duration:16s;animation-delay:6s}
.rsc-bubbles i:nth-child(9){width:12px;height:12px;left:15%;animation-duration:19s;animation-delay:9s}
.rsc-bubbles i:nth-child(10){width:3px;height:3px;left:42%;animation-duration:10s;animation-delay:2.5s}
.rsc-bubbles i:nth-child(11){width:16px;height:16px;left:65%;animation-duration:24s;animation-delay:0s;
  background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.06),transparent);border-color:rgba(255,255,255,.04)}
.rsc-bubbles i:nth-child(12){width:5px;height:5px;left:92%;animation-duration:11s;animation-delay:8s}
@keyframes rscBubUp{
  0%{transform:translateY(0) translateX(0) scale(0);opacity:0}
  10%{opacity:.6;transform:translateY(-8vh) translateX(4px) scale(1)}
  50%{opacity:.3;transform:translateY(-50vh) translateX(-8px) scale(.9)}
  100%{transform:translateY(-110vh) translateX(6px) scale(.5);opacity:0}
}

@media(max-width:768px){
  .rsc-fish,.rsc-hero__pulse,.rsc-hero__grid,.rsc-bubbles{display:none}
}

/* Hero content */
.rsc-hero__content{position:relative;z-index:10;padding-top:clamp(140px,22vh,220px);padding-bottom:clamp(60px,10vh,120px)}
.rsc-hero__tag{
  display:inline-flex;align-items:center;gap:12px;
  font-family:var(--font-head);font-size:.8rem;font-weight:500;
  letter-spacing:.25em;text-transform:uppercase;color:var(--rsc-amber);
  margin-bottom:var(--sp-md);
}
.rsc-hero__tag-line{width:40px;height:2px;background:var(--rsc-red)}

.rsc-hero h1{
  font-size:clamp(2.8rem,7vw,5.5rem);font-weight:800;
  color:var(--rsc-white);text-transform:uppercase;letter-spacing:.02em;
  margin-bottom:var(--sp-md);
}
.rsc-hero h1 span{
  color:var(--rsc-red);
  text-shadow:0 0 60px rgba(230,57,70,.3);
}

.rsc-hero__sub{
  font-size:clamp(.95rem,1.5vw,1.12rem);color:rgba(255,255,255,.7);
  max-width:580px;font-weight:300;margin-bottom:var(--sp-lg);line-height:1.7;
}

.rsc-hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:var(--sp-xl)}

/* Buttons */
.rsc-btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--font-head);font-size:.9rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  padding:16px 36px;cursor:pointer;border:none;
  transition:all .35s cubic-bezier(.23,1,.32,1);
}
.rsc-btn--red{
  background:var(--rsc-red);color:var(--rsc-white);
}
.rsc-btn--red:hover{
  background:var(--rsc-red-dark);transform:translateY(-3px);
  box-shadow:0 12px 40px rgba(230,57,70,.35);
}
.rsc-btn--ghost{
  background:transparent;color:var(--rsc-white);
  border:1px solid rgba(255,255,255,.3);
}
.rsc-btn--ghost:hover{
  border-color:var(--rsc-white);background:rgba(255,255,255,.06);
  transform:translateY(-3px);
}
.rsc-btn--white{
  background:var(--rsc-white);color:var(--rsc-slate);
}
.rsc-btn--white:hover{
  background:var(--rsc-off);transform:translateY(-3px);
  box-shadow:0 12px 40px rgba(255,255,255,.15);
}

/* Hero stats bar */
.rsc-hero__bar{
  display:flex;flex-wrap:wrap;gap:0;
  background:rgba(255,255,255,.05);backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.08);
  max-width:720px;
}
.rsc-hero__bar-item{
  flex:1;min-width:140px;padding:18px 24px;
  border-right:1px solid rgba(255,255,255,.06);
  text-align:center;
}
.rsc-hero__bar-item:last-child{border-right:none}
.rsc-hero__bar-val{
  display:block;font-family:var(--font-head);font-size:1.1rem;font-weight:700;
  color:var(--rsc-white);letter-spacing:.04em;text-transform:uppercase;
}
.rsc-hero__bar-label{
  display:block;font-size:.65rem;color:rgba(255,255,255,.45);
  letter-spacing:.08em;text-transform:uppercase;margin-top:4px;
}

/* --- SECTIONS --- */
.rsc-section{
  padding:var(--sp-2xl) 0;position:relative;overflow:hidden;
  width:100vw;left:50%;margin-left:-50vw;
}
.rsc-section--white{background:var(--rsc-white)}
.rsc-section--off{background:var(--rsc-off)}
.rsc-section--dark{background:var(--rsc-slate)}
.rsc-section--slate{background:var(--rsc-deep)}

.rsc-section-head{margin-bottom:var(--sp-xl)}
.rsc-section-head h2{
  font-size:clamp(2rem,4.5vw,3.2rem);font-weight:800;
  text-transform:uppercase;letter-spacing:.02em;color:var(--rsc-slate);
}
.rsc-section-head--light h2{color:var(--rsc-white)}
.rsc-section-sub{
  font-size:1.05rem;color:var(--rsc-text-muted);max-width:560px;
  font-weight:300;margin-top:var(--sp-sm);
}
.rsc-section-head--light .rsc-section-sub{color:rgba(255,255,255,.6)}

.rsc-label{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--font-head);font-size:.75rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:var(--rsc-teal);
  margin-bottom:var(--sp-sm);
}
.rsc-label::before{content:'';width:28px;height:2px;background:var(--rsc-teal)}
.rsc-label--red{color:var(--rsc-red)}
.rsc-label--red::before{background:var(--rsc-red)}

/* --- OVERVIEW --- */
.rsc-overview__grid{
  display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(40px,5vw,80px);
  align-items:start;
}
.rsc-overview__text p{margin-bottom:var(--sp-sm);font-size:1.02rem;color:var(--rsc-text)}
.rsc-overview__text strong{color:var(--rsc-slate);font-weight:600}

.rsc-overview__cards{display:flex;flex-direction:column;gap:16px}
.rsc-stat-card{
  display:flex;gap:16px;align-items:flex-start;
  padding:20px 24px;background:var(--rsc-off);
  border-left:3px solid var(--rsc-red);
  transition:all .35s ease;
}
.rsc-stat-card:hover{transform:translateX(6px);box-shadow:0 8px 24px rgba(0,0,0,.06)}
.rsc-stat-card:nth-child(2){border-color:var(--rsc-teal)}
.rsc-stat-card:nth-child(3){border-color:var(--rsc-amber)}
.rsc-stat-card__icon{font-size:1.8rem;flex-shrink:0}
.rsc-stat-card__title{font-family:var(--font-head);font-size:1rem;font-weight:700;color:var(--rsc-slate);text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.rsc-stat-card__text{font-size:.85rem;color:var(--rsc-text-muted);font-weight:300;line-height:1.6}

/* --- CURRICULUM --- */
.rsc-cur__grid{display:flex;flex-direction:column;gap:0}
.rsc-cur__module{
  display:flex;gap:clamp(20px,3vw,40px);
  padding:var(--sp-lg) 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.rsc-cur__module:first-child{padding-top:0}
.rsc-cur__module:last-child{border-bottom:none}
.rsc-cur__num{
  font-family:var(--font-head);font-size:clamp(3rem,5vw,4.5rem);font-weight:800;
  color:rgba(230,57,70,.15);line-height:1;flex-shrink:0;min-width:80px;
}
.rsc-cur__body h3{
  font-size:clamp(1.2rem,2vw,1.6rem);font-weight:700;color:var(--rsc-white);
  text-transform:uppercase;letter-spacing:.03em;margin-bottom:var(--sp-xs);
}
.rsc-cur__body p{font-size:.95rem;color:rgba(255,255,255,.65);font-weight:300;line-height:1.7;margin-bottom:var(--sp-sm)}
.rsc-cur__tags{display:flex;flex-wrap:wrap;gap:8px}
.rsc-cur__tags span{
  padding:5px 14px;font-size:.7rem;font-weight:500;letter-spacing:.06em;
  text-transform:uppercase;color:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.1);
  transition:all .3s ease;
}
.rsc-cur__tags span:hover{
  border-color:var(--rsc-red);color:var(--rsc-red);
  background:rgba(230,57,70,.08);
}

/* --- INCLUDES --- */
.rsc-includes__grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.rsc-inc-card{
  display:flex;gap:16px;align-items:flex-start;
  padding:24px;background:var(--rsc-off);
  border:1px solid var(--rsc-light);
  transition:all .35s ease;
}
.rsc-inc-card:hover{
  border-color:var(--rsc-red);transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.rsc-inc-card__icon{font-size:1.6rem;flex-shrink:0}
.rsc-inc-card strong{
  display:block;font-family:var(--font-head);font-size:.95rem;font-weight:700;
  color:var(--rsc-slate);text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px;
}
.rsc-inc-card p{font-size:.82rem;color:var(--rsc-text-muted);font-weight:300;line-height:1.5}

.rsc-includes__note{
  margin-top:var(--sp-lg);padding:16px 24px;background:var(--rsc-off);
  border-left:3px solid var(--rsc-amber);
  font-size:.88rem;color:var(--rsc-text-muted);
}
.rsc-includes__note strong{color:var(--rsc-slate)}

/* --- PRICING --- */
.rsc-price__grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:20px;
}
.rsc-price-group{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);
  overflow:hidden;transition:all .35s ease;
}
.rsc-price-group:hover{border-color:rgba(255,255,255,.12);transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.2)}
.rsc-price-group__head{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 24px;border-bottom:1px solid rgba(255,255,255,.06);
}
.rsc-price-group__head h3{
  font-size:1.1rem;font-weight:700;color:var(--rsc-white);
  text-transform:uppercase;letter-spacing:.05em;
}
.rsc-price-group__badge{
  font-family:var(--font-head);font-size:.6rem;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;
  padding:4px 12px;background:var(--rsc-red);color:var(--rsc-white);
}
.rsc-price-group__badge--teal{background:var(--rsc-teal)}
.rsc-price-group__badge--green{background:#2A9D8F}
.rsc-price-group__badge--amber{background:var(--rsc-amber);color:var(--rsc-slate)}

.rsc-price-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 24px;border-bottom:1px solid rgba(255,255,255,.03);
  transition:background .3s ease;
}
.rsc-price-row:last-child{border-bottom:none}
.rsc-price-row:hover{background:rgba(255,255,255,.04)}
.rsc-price-row span{font-size:.88rem;color:rgba(255,255,255,.6);font-weight:300}
.rsc-price-row strong{
  font-family:var(--font-head);font-size:1rem;font-weight:700;
  color:var(--rsc-white);letter-spacing:.02em;
}

.rsc-price__course-only{margin-top:var(--sp-lg)}
.rsc-price__course-only-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 28px;
  border:2px dashed rgba(255,255,255,.12);
  background:rgba(230,57,70,.06);
}
.rsc-price__course-only-inner strong{
  display:block;font-family:var(--font-head);font-size:1rem;font-weight:700;
  color:var(--rsc-white);text-transform:uppercase;letter-spacing:.05em;
}
.rsc-price__course-only-inner span{font-size:.8rem;color:rgba(255,255,255,.5);font-weight:300}
.rsc-price__course-only-price{
  font-family:var(--font-head);font-size:1.8rem;font-weight:800;
  color:var(--rsc-red);
}

/* --- PREREQUISITES --- */
.rsc-prereq__grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
.rsc-prereq__card{
  padding:28px 24px;background:var(--rsc-off);border:1px solid var(--rsc-light);
  transition:all .35s ease;
}
.rsc-prereq__card:hover{
  border-color:var(--rsc-red);transform:translateY(-4px);
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.rsc-prereq__icon{font-size:2rem;display:block;margin-bottom:var(--sp-sm)}
.rsc-prereq__card h3{
  font-size:1rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;
  color:var(--rsc-slate);margin-bottom:8px;
}
.rsc-prereq__card p{font-size:.85rem;color:var(--rsc-text-muted);font-weight:300;line-height:1.6}

.rsc-prereq__note{
  margin-top:var(--sp-lg);font-size:.92rem;color:var(--rsc-text-muted);
}
.rsc-prereq__note a{color:var(--rsc-red);font-weight:500;border-bottom:1px solid var(--rsc-red);transition:color .3s}
.rsc-prereq__note a:hover{color:var(--rsc-red-dark)}

/* --- WHY TDB --- */
.rsc-why__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rsc-why__card{
  padding:32px 28px;background:var(--rsc-white);
  border:1px solid var(--rsc-light);position:relative;overflow:hidden;
  transition:all .35s ease;
}
.rsc-why__card:hover{transform:translateY(-6px);box-shadow:0 16px 48px rgba(0,0,0,.08)}
.rsc-why__card-accent{position:absolute;top:0;left:0;width:100%;height:4px}
.rsc-why__card h3{
  font-size:1.15rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em;
  color:var(--rsc-slate);margin-bottom:12px;margin-top:4px;
}
.rsc-why__card p{font-size:.9rem;color:var(--rsc-text-muted);font-weight:300;line-height:1.7}

/* --- FAQ --- */
.rsc-faq__list{max-width:800px}
.rsc-faq__item{border-bottom:1px solid var(--rsc-light)}
.rsc-faq__item:first-child{border-top:1px solid var(--rsc-light)}
.rsc-faq__q{
  display:flex;align-items:center;gap:16px;
  width:100%;padding:20px 0;cursor:pointer;
  font-family:var(--font-body);font-size:1rem;font-weight:500;
  color:var(--rsc-slate);list-style:none;
  transition:all .3s ease;
}
.rsc-faq__q::-webkit-details-marker{display:none}
.rsc-faq__q::marker{display:none;content:''}
.rsc-faq__q:hover{padding-left:8px;color:var(--rsc-red)}

.rsc-faq__plus{
  flex-shrink:0;width:28px;height:28px;position:relative;
  border:2px solid var(--rsc-red);
  transition:all .35s ease;
}
.rsc-faq__plus::before,.rsc-faq__plus::after{
  content:'';position:absolute;top:50%;left:50%;
  background:var(--rsc-red);transition:all .35s ease;
}
.rsc-faq__plus::before{width:12px;height:2px;transform:translate(-50%,-50%)}
.rsc-faq__plus::after{width:2px;height:12px;transform:translate(-50%,-50%)}

.rsc-faq__item[open] .rsc-faq__plus{
  background:var(--rsc-red);transform:rotate(45deg);
}
.rsc-faq__item[open] .rsc-faq__plus::before,
.rsc-faq__item[open] .rsc-faq__plus::after{background:var(--rsc-white)}
.rsc-faq__item[open] .rsc-faq__q{color:var(--rsc-red)}

.rsc-faq__a{padding:0 0 20px 44px}
.rsc-faq__a p{font-size:.92rem;color:var(--rsc-text-muted);font-weight:300;line-height:1.75}

/* --- CTA --- */
.rsc-cta{
  background:linear-gradient(160deg,var(--rsc-slate),var(--rsc-red-dark));
  text-align:center;position:relative;overflow:hidden;
  padding:var(--sp-2xl) 0 0 !important;
}
.rsc-cta h2{
  font-size:clamp(2rem,4.5vw,3.2rem);font-weight:800;
  text-transform:uppercase;color:var(--rsc-white);margin-bottom:var(--sp-sm);
}
.rsc-cta p{
  font-size:1.05rem;color:rgba(255,255,255,.75);max-width:560px;
  margin:0 auto var(--sp-lg);font-weight:300;
}
.rsc-cta__fade{
  height:120px;
  background:linear-gradient(to bottom,transparent,#ffffff);
  margin-top:var(--sp-2xl);
}

/* --- RESPONSIVE --- */
@media(max-width:1024px){
  .rsc-overview__grid{grid-template-columns:1fr}
  .rsc-includes__grid{grid-template-columns:repeat(2,1fr)}
  .rsc-prereq__grid{grid-template-columns:repeat(2,1fr)}
  .rsc-why__grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .rsc-hero{min-height:auto;padding-top:60px}
  .rsc-hero__bar{flex-direction:column}
  .rsc-hero__bar-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.06)}
  .rsc-hero__bar-item:last-child{border-bottom:none}
  .rsc-hero__actions{flex-direction:column;align-items:flex-start}
  .rsc-section{padding:var(--sp-xl) 0}
  .rsc-includes__grid{grid-template-columns:1fr}
  .rsc-price__grid{grid-template-columns:1fr}
  .rsc-prereq__grid{grid-template-columns:1fr}
  .rsc-cur__num{display:none}
}/* End custom CSS */