*{
      margin:0;
      padding:0;
      box-sizing:border-box;
      scroll-behavior:smooth;
      font-family:Arial, Helvetica, sans-serif;
    }

    body{
      background:linear-gradient(180deg,#f5f9fd 0%, #eef4fb 100%);
      color:#1a1a1a;
      overflow-x:hidden;
    }

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

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

    .site-logo{
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.logo-mark{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#1b79d1,#0f4c81);
  color:#fff;
  font-size:20px;
  font-weight:800;
  letter-spacing:1px;
  box-shadow:0 10px 24px rgba(27,121,209,.28);
  transition:.3s ease;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.logo-text strong{
  font-size:20px;
  color:#123b67;
  font-weight:800;
}

.logo-text small{
  font-size:12px;
  color:#6b7b8c;
  margin-top:4px;
  letter-spacing:.3px;
}

.site-logo:hover .logo-mark{
  transform:translateY(-2px) scale(1.04);
}

.site-logo:hover .logo-text strong{
  color:#1b79d1;
}

    .container{
      width:90%;
      max-width:1280px;
      margin:0 auto;
    }

    header{
      position:sticky;
      top:0;
      z-index:999;
      background:rgba(255,255,255,.95);
      /* backdrop-filter:blur(12px); */
      box-shadow:0 8px 24px rgba(0,0,0,.06);
    }

    .navbar{
      min-height:84px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }

    .logo{
      height:54px;
      transition:.3s ease;
    }

    .logo:hover{
      transform:scale(1.05);
    }

    .back-link{
      font-weight:700;
      color:#123b67;
      transition:.3s;
    }

    .back-link:hover{
      color:#1b79d1;
    }

    .hero{
      position:relative;
      min-height:50vh;
      display:flex;
      align-items:center;
      background:
        linear-gradient(rgba(9,28,50,.82), rgba(9,28,50,.72)),
        url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
      overflow:hidden;
    }

    .hero::before,
    .hero::after{
      content:"";
      position:absolute;
      border-radius:50%;
      background:rgba(255,255,255,.08);
      animation:float 8s ease-in-out infinite;
    }

    .hero::before{
      width:240px;
      height:240px;
      top:10%;
      left:-70px;
    }

    .hero::after{
      width:170px;
      height:170px;
      right:-40px;
      bottom:8%;
      animation-delay:2s;
    }

    @keyframes float{
      0%,100%{transform:translateY(0)}
      50%{transform:translateY(-18px)}
    }

    .hero-content{
      position:relative;
      z-index:2;
      color:#fff;
      max-width:850px;
      animation:fadeUp 1s ease;
    }

    .hero-badge{
      display:inline-block;
      padding:10px 18px;
      border-radius:999px;
      background:rgba(255,255,255,.13);
      border:1px solid rgba(255,255,255,.18);
      margin-bottom:22px;
      font-size:14px;
      /* backdrop-filter:blur(10px); */
    }

    .hero h1{
      font-size:54px;
      line-height:1.08;
      margin-bottom:18px;
      font-weight:800;
    }

    .hero p{
      font-size:18px;
      line-height:1.7;
      max-width:760px;
      opacity:.95;
    }

    section{
      padding:90px 0;
    }

    .section-title{
      text-align:center;
      margin-bottom:50px;
    }

    .section-title span{
      display:inline-block;
      color:#1b79d1;
      font-weight:700;
      margin-bottom:12px;
      text-transform:uppercase;
      letter-spacing:1px;
      font-size:13px;
    }

    .section-title h2{
      font-size:40px;
      color:#13385d;
      margin-bottom:14px;
    }

    .section-title p{
      max-width:760px;
      margin:0 auto;
      color:#6b7b8c;
      font-size:17px;
      line-height:1.7;
    }

    .stats-strip{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:22px;
      margin-top:-60px;
      position:relative;
      z-index:5;
    }

    .stat-card{
      background:rgba(255,255,255,.88);
      /* backdrop-filter:blur(10px); */
      border:1px solid rgba(15,76,129,.08);
      border-radius:22px;
      padding:26px 22px;
      text-align:center;
      box-shadow:0 16px 36px rgba(18,59,103,.08);
      transition:.35s ease;
    }

    .stat-card:hover{
      transform:translateY(-8px);
    }

    .stat-card h3{
      font-size:34px;
      color:#0f4c81;
      margin-bottom:8px;
    }

    .stat-card p{
      color:#6b7d8f;
      font-weight:600;
    }

    .gallery-wrap{
      columns:3 320px;
      column-gap:22px;
    }

    .gallery-item{
      position:relative;
      margin-bottom:22px;
      break-inside:avoid;
      border-radius:24px;
      overflow:hidden;
      box-shadow:0 16px 36px rgba(0,0,0,.08);
      cursor:pointer;
      background:#fff;
    }

    .gallery-item img{
      width:100%;
      height:auto;
      transition:.5s ease;
    }

    .gallery-overlay{
      position:absolute;
      inset:0;
      background:linear-gradient(to top, rgba(9,28,50,.85), rgba(9,28,50,.15));
      display:flex;
      align-items:flex-end;
      padding:24px;
      opacity:0;
      transition:.35s ease;
    }

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

    .gallery-item:hover .gallery-overlay{
      opacity:1;
    }

    .gallery-text h3{
      color:#fff;
      font-size:22px;
      margin-bottom:8px;
    }

    .gallery-text p{
      color:rgba(255,255,255,.9);
      line-height:1.6;
      font-size:14px;
    }

    .featured{
      background:linear-gradient(135deg,#0f4c81,#143b67);
      color:#fff;
      border-radius:30px;
      padding:50px 36px;
      overflow:hidden;
      position:relative;
    }

    .featured::before{
      content:"";
      position:absolute;
      width:220px;
      height:220px;
      border-radius:50%;
      background:rgba(255,255,255,.08);
      right:-50px;
      top:-50px;
    }

    .featured-inner{
      position:relative;
      z-index:2;
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:28px;
      align-items:center;
    }

    .featured-text h3{
      font-size:36px;
      margin-bottom:16px;
    }

    .featured-text p{
      line-height:1.75;
      opacity:.95;
      margin-bottom:14px;
    }

    .featured-grid{
      display:grid;
      grid-template-columns:repeat(2,1fr);
      gap:16px;
    }

    .mini-photo{
      border-radius:18px;
      overflow:hidden;
      box-shadow:0 10px 24px rgba(0,0,0,.18);
    }

    .mini-photo img{
      width:100%;
      height:180px;
      object-fit:cover;
      transition:.45s ease;
    }

    .mini-photo:hover img{
      transform:scale(1.07);
    }

    footer{
      background:#0d2340;
      color:#d5e3f3;
      margin-top:90px;
    }

    .footer-inner{
      padding:24px 0;
      text-align:center;
      font-size:14px;
    }

    .reveal{
      opacity:0;
      transform:translateY(40px);
      transition:all .9s ease;
    }

    .reveal.active{
      opacity:1;
      transform:translateY(0);
    }

    @keyframes fadeUp{
      from{
        opacity:0;
        transform:translateY(35px);
      }
      to{
        opacity:1;
        transform:translateY(0);
      }
    }

    @media (max-width:1100px){
      .stats-strip{
        grid-template-columns:repeat(2,1fr);
      }

      .featured-inner{
        grid-template-columns:1fr;
      }

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

    @media (max-width:700px){
      .stats-strip{
        grid-template-columns:1fr;
      }

      .featured-grid{
        grid-template-columns:1fr;
      }

      .hero h1,
      .section-title h2,
      .featured-text h3{
        font-size:32px;
      }
    }

    @media (max-width:560px){
      .hero h1{
        font-size:28px;
      }

      .hero p{
        font-size:16px;
      }

      .featured{
        padding:34px 22px;
      }
    }
  

/* ─── PAGE RESPONSIVE ─────────────────────────── */
@media (max-width: 1100px) {
  .stats-grid, .features-grid, .programs-grid,
  .news-grid, .footer-grid, .steps-grid, .benefits-grid,
  .cards-grid, .partners-grid, .docs-grid, .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .hero { padding: 70px 0 !important; min-height: auto !important; }
  .hero h1, .hero h2 { font-size: 30px !important; }
  .hero p { font-size: 16px !important; }
  .hero-badge { font-size: 12px; padding: 8px 12px; }
  .section-title h2 { font-size: 28px !important; }
  .cta h2 { font-size: 26px !important; }
  .cta { padding: 50px 20px !important; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mobility-grid, .schedule-layout, .contact-grid,
  .two-col, .split-grid { grid-template-columns: 1fr !important; }
  .sidebar { position: static !important; }
}
@media (max-width: 560px) {
  .stats-grid, .features-grid, .programs-grid,
  .news-grid, .footer-grid, .steps-grid, .benefits-grid,
  .cards-grid, .partners-grid, .docs-grid, .team-grid {
    grid-template-columns: 1fr !important;
  }
  .container { width: 95% !important; }
  .hero h1, .hero h2 { font-size: 24px !important; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr !important; }
  section { padding: 60px 0 !important; }
  .timeline-line { left: 16px !important; transform: none !important; }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    width: 100% !important; left: 0 !important;
    text-align: left !important; padding: 0 0 24px 44px !important;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot { left: 6px !important; right: auto !important; }
}

/* ─── OVERFLOW / SCROLL FIX ──── */
html, body { overflow-x: hidden; max-width: 100%; }
* { max-width: 100%; }
img, video { max-width: 100%; height: auto; }
.schedule-layout { grid-template-columns: 1fr !important; }
@media (max-width: 1100px) {
  .schedule-layout { grid-template-columns: 1fr !important; }
  .sidebar { position: static !important; top: auto; }
}
@media (max-width: 768px) {
  .lesson { grid-template-columns: 1fr !important; }
  .room { align-items: flex-start !important; text-align: left !important; }
}


/* Django gallery refinements */
.gallery-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gallery-categories .cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #123b67;
  border: 1px solid rgba(15, 76, 129, .12);
  box-shadow: 0 10px 24px rgba(18, 59, 103, .06);
  font-weight: 700;
  transition: .25s ease;
}

.gallery-categories .cat:hover,
.gallery-categories .cat.active {
  background: #0f4c81;
  color: #fff;
  transform: translateY(-2px);
}

.empty-gallery {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, .1);
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 16px 36px rgba(18, 59, 103, .08);
}

.empty-gallery h3 {
  color: #123b67;
  margin-bottom: 10px;
}

.empty-gallery p {
  color: #6b7b8c;
}
