*{margin:0;padding:0;box-sizing:border-box;font-family:Arial}

body{background:#f4f8fc}
.container{width:90%;max-width:1200px;margin:auto}

/* HEADER */
.header{
background:#fff;
position:sticky;
top:0;
z-index:999;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
height:80px;
}

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

.logo-mark{
width:50px;height:50px;border-radius:14px;
display:flex;align-items:center;justify-content:center;
background:linear-gradient(#1b79d1,#0f4c81);
color:#fff;font-weight:800;
}

/* HERO */
.hero{
background:linear-gradient(135deg,#0f4c81,#1b79d1);
color:white;
padding:100px 0;
text-align:center;
}

.hero h1{font-size:42px}

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

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.card{
background:white;
padding:25px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
transition:.3s;
text-align:center;
}

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

/* INFO */
.info{
background:white;
padding:40px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,.05);
line-height:1.7;
}

/* CTA */
.cta{
text-align:center;
padding:60px 0;
}

.cta a{
padding:15px 30px;
background:#1b79d1;
color:white;
border-radius:10px;
display:inline-block;
}

/* FOOTER */
.footer{
background:#0d2340;
color:#d5e3f3;
margin-top:80px;
}

.footer-top{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
padding:60px 0;
}

.footer-bottom{
text-align:center;
padding:15px;
border-top:1px solid rgba(255,255,255,.1);
}

@media(max-width:900px){
.grid{grid-template-columns:1fr}
.footer-top{grid-template-columns:1fr}
}

@media (max-width: 560px) {
  .hero h1  { font-size: 26px; padding: 0 10px; }
  .hero p   { font-size: 15px; padding: 0 10px; }
  .hero     { padding: 60px 0; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .topbar-right { gap: 12px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .container { width: 95%; }
}



/* ─── 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; }
}
