*{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(135deg,#1b79d1,#0f4c81);
color:#fff;font-weight:800;
}

.logo-text strong{color:#123b67}
.logo-text small{color:#6b7b8c;font-size:12px}

/* HERO */

.hero{
  background: linear-gradient(rgba(9,28,50,0.75), rgba(9,28,50,0.82)),
    url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 100px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  margin-bottom: 20px;
  font-size: 13px;
}
.hero h1{font-size:42px; margin-bottom:14px;}
.hero p { font-size: 17px; opacity: 0.9; max-width: 680px; }

/* TABLE */

.section{
padding:80px 0;
}

.table{
width:100%;
border-collapse:collapse;
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.table th{
background:#0f4c81;
color:white;
padding:15px;
}

.table td{
padding:15px;
border-bottom:1px solid #eee;
text-align:center;
}

.table tr:hover{
background:#f3f7fc;
}

/* ANIMATION */

.fade{
opacity:0;
transform:translateY(20px);
transition:.6s;
}

.fade.show{
opacity:1;
transform:translateY(0);
}

/* 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-col h3{color:white;margin-bottom:15px}

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

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

/* Table responsive */
@media (max-width: 768px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}


@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; }
}

/* ─── QUOTA CARDS ───────────────────── */
.quota-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.quota-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 24px rgba(15,76,129,0.08);
  border: 1px solid rgba(15,76,129,0.08);
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
.quota-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(15,76,129,0.14);
  border-color: #1b79d1;
}
.quota-icon {
  font-size: 32px;
  flex-shrink: 0;
}
.quota-info h3 {
  font-size: 15px;
  color: #123b67;
  margin-bottom: 6px;
}
.quota-info span {
  font-size: 13px;
  color: #1b79d1;
  font-weight: 700;
}
@media (max-width: 640px) {
  .quota-grid { grid-template-columns: 1fr; }
}

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