/* ============================================================
   ACADEM INTERNATIONAL — SHARED STYLESHEET
   Sections:
   1.  Design tokens (CSS custom properties)
   2.  Reset & base
   3.  Layout helpers
   4.  Glassmorphism primitive
   5.  Buttons
   6.  Preloader
   7.  Header / navigation
   8.  Page enter animation
   9.  Hero slider
   10. Cards & grids
   11. Split / image-text sections
   12. Parallax band
   13. Stats counter
   14. Course cards & filters
   15. Pricing table
   16. FAQ accordion
   17. Gallery + lightbox
   18. Contact
   19. Page banner (inner pages)
   20. Testimonials
   21. Team
   22. CTA band
   23. Footer
   24. Back-to-top
   25. Scroll-reveal animations
   26. Responsive breakpoints
   27. Reduced motion & print
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --primary: #0057b8;
  --primary-dark: #00418a;
  --accent: #00a6ff;
  --bg: #ffffff;
  --text: #0b1f33;
  --secondary: #eaf4ff;

  --muted: #5a7089;
  --line: rgba(11, 31, 51, .09);
  --glass-bg: rgba(255, 255, 255, .58);
  --glass-bg-strong: rgba(255, 255, 255, .78);
  --glass-border: rgba(255, 255, 255, .75);
  --glass-shadow: 0 10px 34px rgba(11, 31, 51, .10);

  --container: 1200px;
  --nav-h: 76px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --speed: .4s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 1rem;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-h);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(58vw 58vw at 6% 2%, rgba(0, 166, 255, .18), transparent 62%),
    radial-gradient(46vw 46vw at 98% 10%, rgba(0, 87, 184, .16), transparent 60%),
    radial-gradient(72vw 62vw at 50% 104%, rgba(0, 166, 255, .14), transparent 66%),
    #ffffff;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit
}

ul {
  list-style: none
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.7rem)
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem)
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem)
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 3000;
  background: var(--primary);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top .3s var(--ease);
}

.skip-link:focus {
  top: 0
}

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container {
  width: min(var(--container), 92%);
  margin-inline: auto
}

.section {
  padding: clamp(72px, 9vw, 132px) 0
}

.section--tight {
  padding: clamp(52px, 6vw, 84px) 0
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(42px, 5vw, 68px);
  text-align: center;
}

.section-head p {
  color: var(--muted);
  margin-top: .9rem;
  font-size: 1.05rem
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 166, 255, .12);
  border: 1px solid rgba(0, 166, 255, .24);
  padding: .42rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.1rem;
}

.text-accent {
  color: var(--accent)
}

.text-primary {
  color: var(--primary)
}

.center {
  text-align: center
}

/* ============================================================
   4. GLASSMORPHISM PRIMITIVE
   ============================================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
  white-space: nowrap;
}

.btn i {
  font-size: .9em
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 87, 184, .30);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 87, 184, .38)
}

.btn-ghost {
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, .85);
  color: var(--primary);
  box-shadow: 0 8px 22px rgba(11, 31, 51, .08);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: #fff
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 87, 184, .35);
  color: var(--primary)
}

.btn-outline:hover {
  background: var(--secondary);
  transform: translateY(-3px)
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18)
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .24)
}

.btn-glass-outline {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(10px);
}

.btn-glass-outline:hover {
  background: rgba(255, 255, 255, .26);
  transform: translateY(-3px)
}

.btn-sm {
  padding: .62rem 1.2rem;
  font-size: .85rem
}

.btn-block {
  width: 67%
}

/* ============================================================
   6. PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  background: linear-gradient(160deg, #ffffff 0%, #eaf4ff 100%);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 4px solid rgba(0, 87, 184, .14);
  border-top-color: var(--primary);
  border-right-color: var(--accent);
  animation: spin 1s linear infinite;
  position: relative;
}

.loader-ring::after {
  content: "A";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  animation: spin 1s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.loader-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--primary);
}

/* ============================================================
   7. HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, .65);
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 10px 32px rgba(11, 31, 51, .09);
}

.nav-bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap:1.5rem; */
}

.logo {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.02em
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 87, 184, .32);
}

.logo-text small {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .35rem
}

.nav-link {
  position: relative;
  padding: .55rem .95rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width var(--speed) var(--ease);
}

.nav-link:hover {
  color: var(--primary)
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 42%
}

.nav-link.active {
  color: var(--primary);
  background: rgba(0, 166, 255, .10)
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .9rem
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background var(--speed) var(--ease);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.4px;
  border-radius: 3px;
  background: var(--primary);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.4px) rotate(45deg)
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.4px) rotate(-45deg)
}

/* Hidden on desktop, shown on mobile */
.nav-links .mobile-cta {
  display: none
}

/* ============================================================
   8. PAGE ENTER ANIMATION
   ============================================================ */
.page-main {
  animation: pageIn .6s var(--ease) both
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(14px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ============================================================
   9. HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  overflow: hidden;
  border-radius: 0 0 clamp(28px, 4vw, 54px) clamp(28px, 4vw, 54px);
  isolation: isolate;
}

/* All slides stack in the same grid cell instead of being absolutely
   positioned. The hero then sizes itself to the tallest slide on every
   viewport — no fixed heights, nothing collapses on mobile. */
.slide {
  position: relative;
  /* anchor for .slide-bg / ::after */
  grid-area: 1 / 1;
  /* row 1, column 1 */
  opacity: 0;
  transition: opacity 1.1s var(--ease);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2
}

.slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* keeps the zoomed image inside the frame */
}

/* The image itself handles the cover + slow zoom effect */
.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 7s linear;
}

.slide.active .slide-bg img {
  transform: scale(1);
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 31, 51, .86) 0%, rgba(0, 87, 184, .62) 46%, rgba(0, 166, 255, .28) 100%);
}

.slide-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(48px, 7vw, 90px) 0;
}

.hero-card {
  max-width: 660px;
  padding: clamp(28px, 3.6vw, 50px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: 0 24px 70px rgba(4, 20, 40, .34);
  color: #fff;
}

.hero-card .eyebrow {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .34);
  color: #fff;
}

.hero-card h1 {
  color: #fff;
  margin-bottom: 1rem
}

.hero-card h1 span {
  background: linear-gradient(120deg, #8fd8ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-card p {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem
}

.slider-nav {
  position: absolute;
  bottom: clamp(24px, 4vw, 46px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: .6rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .3);
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  cursor: pointer;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, .38);
  transform: scale(1.08)
}

.slider-dots {
  display: flex;
  gap: .5rem
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width var(--speed) var(--ease), background var(--speed) var(--ease);
}

.dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: #fff
}

/* ============================================================
   10. CARDS & GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 30px)
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr)
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

.card {
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), background var(--speed) var(--ease);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(11, 31, 51, .15);
  background: var(--glass-bg-strong);
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 26px rgba(0, 87, 184, .28);
  margin-bottom: 1.2rem;
}

.card h3 {
  margin-bottom: .6rem
}

.card p {
  color: var(--muted);
  font-size: .96rem
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--speed) var(--ease);
}

.mini-card:hover {
  transform: translateY(-5px)
}

.mini-card i {
  font-size: 1.25rem;
  color: var(--primary)
}

.mini-card strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem
}

.mini-card span {
  font-size: .84rem;
  color: var(--muted)
}

/* ============================================================
   11. SPLIT / IMAGE-TEXT SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 62px rgba(11, 31, 51, .20);
  aspect-ratio: 4/3;
  border: 1px solid rgba(255, 255, 255, .7);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.06)
}

.floating-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 1rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 16px 34px rgba(11, 31, 51, .18);
  text-align: center;
}

.floating-badge strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
  line-height: 1.1;
}

.floating-badge span {
  font-size: .76rem;
  color: var(--muted);
  font-weight: 600
}

.check-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.6rem
}

.check-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .97rem;
  color: var(--muted)
}

.check-list i {
  color: var(--accent);
  margin-top: .35rem;
  font-size: .95rem
}

/* ============================================================
   12. PARALLAX BAND
   ============================================================ */
.parallax {
  position: relative;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(64px, 8vw, 120px) 0;
  background-image: var(--p-img);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  isolation: isolate;
}

.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(0, 65, 138, .90), rgba(0, 166, 255, .68));
}

.parallax-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  color: #fff;
  padding: 0 6%;
}

.parallax-inner h2 {
  color: #fff;
  margin-bottom: 1rem
}

.parallax-inner p {
  color: rgba(255, 255, 255, .92);
  font-size: 1.06rem
}

/* ============================================================
   13. STATS COUNTER
   ============================================================ */
.stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.stat-card {
  text-align: center;
  padding: clamp(26px, 3vw, 40px) 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 16px 40px rgba(11, 31, 51, .10);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(11, 31, 51, .16)
}

.stat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 22px rgba(0, 87, 184, .26);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-label {
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .35rem;
}

/* ============================================================
   14. COURSE CARDS & FILTERS
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-bottom: clamp(28px, 3.4vw, 46px);
}

.search-field {
  position: relative;
  flex: 1 1 280px;
  min-width: 220px
}

.search-field i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: .95rem;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: .82rem 1rem .82rem 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 31, 51, .12);
  background: rgba(255, 255, 255, .85);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.search-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 166, 255, .16);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem
}

.chip {
  padding: .58rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 87, 184, .20);
  background: rgba(255, 255, 255, .7);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
}

.chip:hover {
  background: var(--secondary);
  transform: translateY(-2px)
}

.chip.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 87, 184, .28);
}

.course-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(11, 31, 51, .16)
}

.course-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden
}

.course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.course-card:hover .course-thumb img {
  transform: scale(1.08)
}

.course-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: .35rem .85rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, .9);
}

.course-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .75rem
}

.course-body h3 {
  font-size: 1.18rem
}

.course-body p {
  color: var(--muted);
  font-size: .92rem;
  flex: 1
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}

.course-meta i {
  color: var(--accent);
  margin-right: .32rem
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .6rem;
}

.price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--primary)
}

.price small {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  display: block;
  letter-spacing: .04em
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px dashed rgba(0, 87, 184, .28);
}

.empty-state i {
  font-size: 2.6rem;
  color: var(--accent);
  margin-bottom: 1rem
}

.empty-state h3 {
  margin-bottom: .5rem
}

.empty-state p {
  color: var(--muted)
}

/* ============================================================
   15. PRICING TABLE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(11, 31, 51, .16)
}

.price-card.featured {
  background: linear-gradient(150deg, rgba(0, 87, 184, .96), rgba(0, 166, 255, .92));
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  box-shadow: 0 30px 68px rgba(0, 87, 184, .34);
  transform: translateY(-12px) scale(1.015);
}

.price-card.featured:hover {
  transform: translateY(-18px) scale(1.015)
}

.price-card.featured .price-amount,
.price-card.featured h3 {
  color: #fff
}

.price-card.featured .price-sub,
.price-card.featured .plan-desc {
  color: rgba(255, 255, 255, .86)
}

.price-card.featured .plan-features li {
  color: rgba(255, 255, 255, .95)
}

.price-card.featured .plan-features i {
  color: #b9e8ff
}

.price-card.featured .plan-features li.muted {
  color: rgba(255, 255, 255, .55)
}

.price-card.featured .plan-features li.muted i {
  color: rgba(255, 255, 255, .45)
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: .42rem 1.15rem;
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--primary);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(11, 31, 51, .18);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary)
}

.plan-desc {
  font-size: .88rem;
  color: var(--muted);
  margin: .5rem 0 1.4rem
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-sub {
  font-size: .84rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.6rem;
  display: block
}

.plan-features {
  display: grid;
  gap: .78rem;
  margin-bottom: 2rem;
  flex: 1
}

.plan-features li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--muted)
}

.plan-features i {
  margin-top: .32rem;
  font-size: .85rem;
  color: var(--accent)
}

.plan-features li.muted {
  opacity: .55
}

.plan-features li.muted i {
  color: var(--muted)
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px
}

caption {
  text-align: left;
  padding: 1.3rem 1.5rem 0;
  font-weight: 700;
  color: var(--muted);
  font-size: .9rem
}

th,
td {
  padding: 1.05rem 1.5rem;
  text-align: left;
  font-size: .92rem;
  border-bottom: 1px solid var(--line)
}

thead th {
  background: rgba(0, 166, 255, .10);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
}

tbody tr {
  transition: background var(--speed) var(--ease)
}

tbody tr:hover {
  background: rgba(255, 255, 255, .75)
}

tbody tr:last-child td {
  border-bottom: none
}

td strong {
  color: var(--primary)
}

/* ============================================================
   16. FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin-inline: auto
}

.faq-item {
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(11, 31, 51, .07);
  overflow: hidden;
  transition: box-shadow var(--speed) var(--ease);
}

.faq-item.open {
  box-shadow: 0 18px 42px rgba(11, 31, 51, .13)
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  transition: color var(--speed) var(--ease);
}

.faq-question:hover {
  color: var(--primary)
}

.faq-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 166, 255, .14);
  color: var(--primary);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  padding: 0 1.5rem 1.4rem
}

.faq-answer p {
  color: var(--muted);
  font-size: .95rem
}

/* ============================================================
   17. GALLERY + LIGHTBOX
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 12px 30px rgba(11, 31, 51, .12);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  background: none;
  padding: 0;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 52px rgba(11, 31, 51, .20)
}

.gallery-item:hover img {
  transform: scale(1.08)
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(180deg, rgba(0, 87, 184, .10), rgba(11, 31, 51, .72));
  color: #fff;
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
  padding: 1rem;
  text-align: center;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1
}

.gallery-overlay i {
  font-size: 1.5rem
}

.gallery-overlay span {
  font-weight: 700;
  font-size: .92rem
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 17, 31, .90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
  padding: 5vw;
}

.lightbox.open {
  opacity: 1;
  visibility: visible
}

.lightbox-figure {
  max-width: min(1000px, 92vw);
  text-align: center;
  transform: scale(.94);
  transition: transform .4s var(--ease);
}

.lightbox.open .lightbox-figure {
  transform: scale(1)
}

.lightbox-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transition: opacity .15s var(--ease);
}

.lightbox-caption {
  color: rgba(255, 255, 255, .9);
  margin-top: 1rem;
  font-size: .95rem;
  font-weight: 600
}

.lightbox-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.08)
}

.lb-close {
  top: 24px;
  right: 24px
}

.lb-prev {
  left: 3vw;
  top: 50%;
  margin-top: -26px
}

.lb-next {
  right: 3vw;
  top: 50%;
  margin-top: -26px
}

/* ============================================================
   18. CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.form-card {
  padding: clamp(26px, 3vw, 44px)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem
}

.field {
  display: flex;
  flex-direction: column;
  gap: .42rem
}

.field.full {
  grid-column: 1/-1
}

.field label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text)
}

.field label .req {
  color: #e5484d
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(11, 31, 51, .14);
  background: rgba(255, 255, 255, .86);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  font-size: .95rem;
}

.field textarea {
  resize: vertical;
  min-height: 140px
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a7089' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 166, 255, .16);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, .12)
}

.field.valid input,
.field.valid select,
.field.valid textarea {
  border-color: #12a150
}

.error-msg {
  font-size: .79rem;
  color: #e5484d;
  font-weight: 600;
  min-height: 1.05rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center
}

.form-success {
  display: none;
  align-items: center;
  gap: .9rem;
  margin-top: 1.3rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--radius-sm);
  background: rgba(18, 161, 80, .10);
  border: 1px solid rgba(18, 161, 80, .32);
  color: #0d7a3d;
  font-weight: 700;
  font-size: .92rem;
}

.form-success.show {
  display: flex;
  animation: pageIn .45s var(--ease) both
}

.form-success i {
  font-size: 1.3rem
}

.info-card {
  padding: clamp(24px, 2.6vw, 34px);
  margin-bottom: 1.1rem
}

.info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}

.info-row+.info-row {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line)
}

.info-row i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.02rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 22px rgba(0, 87, 184, .24);
}

.info-row h4 {
  font-size: .98rem;
  margin-bottom: .15rem
}

.info-row p,
.info-row a {
  color: var(--muted);
  font-size: .9rem
}

.info-row a:hover {
  color: var(--primary)
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  line-height: 0;
  height: 100%;
  min-height: 340px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
  filter: saturate(1.05)
}

.social-row {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .66);
  border: 1px solid rgba(255, 255, 255, .9);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(11, 31, 51, .08);
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), color var(--speed) var(--ease);
}

.social-btn:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

/* ============================================================
   19. PAGE BANNER
   ============================================================ */
.page-banner {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
  border-radius: 0 0 clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px);
  overflow: hidden;
  background-image: var(--b-img);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  margin-bottom: clamp(48px, 6vw, 84px);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(0, 65, 138, .92), rgba(0, 166, 255, .62));
}

.banner-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  box-shadow: 0 22px 60px rgba(4, 20, 40, .3);
}

.banner-inner h1 {
  color: #fff;
  margin-bottom: .9rem
}

.banner-inner p {
  color: rgba(255, 255, 255, .92);
  max-width: 60ch
}

.breadcrumb {
  display: flex;
  gap: .6rem;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline
}

.breadcrumb i {
  font-size: .62rem;
  opacity: .7
}

/* ============================================================
   20. TESTIMONIALS
   ============================================================ */
.testimonial {
  padding: clamp(24px, 2.6vw, 36px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem
}

.stars {
  color: #ffb020;
  font-size: .92rem;
  letter-spacing: .15em
}

.testimonial blockquote {
  color: var(--muted);
  font-size: .97rem;
  font-style: italic;
  flex: 1
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line)
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(11, 31, 51, .14)
}

.testimonial-author strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem
}

.testimonial-author span {
  font-size: .8rem;
  color: var(--muted)
}

/* ============================================================
   21. TEAM
   ============================================================ */
.team-card {
  text-align: center;
  padding: 1.7rem 1.3rem
}

.team-card img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 4px solid #fff;
  box-shadow: 0 14px 32px rgba(11, 31, 51, .16);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: .25rem
}

.team-card .role {
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  display: block;
}

.team-card p {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1rem
}

.team-social {
  display: flex;
  gap: .5rem;
  justify-content: center
}

.team-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 166, 255, .12);
  color: var(--primary);
  font-size: .82rem;
  transition: all var(--speed) var(--ease);
}

.team-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px)
}

/* ============================================================
   22. CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  padding: clamp(44px, 5vw, 72px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 87, 184, .94), rgba(0, 166, 255, .86));
  color: #fff;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 87, 184, .30);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  top: -190px;
  right: -120px;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  bottom: -170px;
  left: -100px;
}

.cta-band>* {
  position: relative;
  z-index: 2
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 1rem
}

.cta-band p {
  color: rgba(255, 255, 255, .92);
  max-width: 62ch;
  margin: 0 auto 2rem
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center
}

/* ============================================================
   23. FOOTER
   ============================================================ */
.site-footer {
  margin-top: clamp(64px, 8vw, 120px);
  padding-top: clamp(56px, 6vw, 84px);
  background: linear-gradient(180deg, rgba(234, 244, 255, .55), rgba(255, 255, 255, .95));
  border-top: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 3.4vw, 50px);
  padding-bottom: clamp(38px, 4vw, 56px);
}

.footer-col h4 {
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.footer-col p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 1.2rem
}

.footer-links {
  display: grid;
  gap: .7rem
}

.footer-links a {
  color: var(--muted);
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}

.footer-links a i {
  font-size: .62rem;
  color: var(--accent)
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px)
}

.footer-contact li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: .9rem;
}

.footer-contact i {
  color: var(--accent);
  margin-top: .35rem;
  font-size: .9rem
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--muted);
}

.footer-bottom nav {
  display: flex;
  gap: 1.3rem;
  flex-wrap: wrap
}

.footer-bottom a:hover {
  color: var(--primary)
}

/* ============================================================
   24. BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 87, 184, .36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed) var(--ease);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

#backToTop:hover {
  transform: translateY(-5px) scale(1.06)
}

/* ============================================================
   25. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none
}

.reveal-left {
  transform: translateX(-44px)
}

.reveal-right {
  transform: translateX(44px)
}

.reveal-left.visible,
.reveal-right.visible {
  transform: none
}

.reveal-zoom {
  transform: scale(.94)
}

.reveal-zoom.visible {
  transform: none
}

/* ============================================================
   26. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width:1100px) {
  .grid-4 {
    grid-template-columns: repeat(1, 1fr)
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .footer-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:980px) {
  .grid-3 {
    grid-template-columns: repeat(1, 1fr)
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto
  }

  .price-card.featured {
    transform: none
  }

  .price-card.featured:hover {
    transform: translateY(-8px)
  }

  .split {
    grid-template-columns: 1fr
  }

  .contact-layout {
    grid-template-columns: 1fr
  }

  .stats-wrap {
    grid-template-columns: repeat(2, 1fr)
  }

  .parallax {
    background-attachment: scroll
  }
}

@media (max-width:860px) {
  .hamburger {
    display: flex
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: min(340px, 86vw);
    height: calc(100vh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    padding: 1.6rem 1.3rem 2.5rem;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, .9);
    box-shadow: -18px 0 50px rgba(11, 31, 51, .14);
    transform: translateX(105%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.open {
    transform: translateX(0)
  }

  .nav-link {
    padding: .95rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem
  }

  .nav-link::after {
    display: none
  }

  .nav-link.active {
    background: rgba(0, 166, 255, .14)
  }

  .nav-actions .btn {
    display: none
  }

  .nav-links .mobile-cta {
    display: block;
    margin-top: 1rem
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/10
  }
}

@media (max-width:640px) {
  :root {
    --nav-h: 68px
  }

  /* Hero: let the grid size to its content on small screens */
  .hero {
    min-height: auto;
    border-radius: 0 0 28px 28px;
  }

  /* Content padding: top breathing room + bottom room for the slider dots */
  .slide-inner {
    min-height: auto;
    padding: 48px 0 104px;
  }

  .hero-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .hero-card h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.4rem);
  }

  .hero-card p {
    font-size: .98rem;
    margin-bottom: 1.6rem;
  }

  /* Stack CTA buttons full-width on phones */
  .hero-actions {
    flex-direction: column;
    gap: .7rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Keep the slider controls tidy and clear of the card */
  .slider-nav {
    bottom: 18px;
    padding: .5rem .85rem;
    gap: .85rem;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 24px;
  }
}

/* ============================================================
   27. REDUCED MOTION & PRINT
   ============================================================ */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important
  }

  .slide-bg {
    transform: none !important
  }

  .parallax {
    background-attachment: scroll
  }
}

@media print {

  .site-header,
  #backToTop,
  .slider-nav,
  .site-footer {
    display: none !important
  }

  body {
    padding-top: 0
  }
}