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

body{
background:#f4f8fc;
}

/* HEADER (same) */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background:#f4f8fc;
}

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

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

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:92px;
  gap:30px;
}

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

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

.logo-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
  line-height:1.15;
}

.logo-text strong{
  font-size:18px;
  color:#123b67;
  font-weight:800;
  margin-bottom:4px;
  white-space:nowrap;
}

.logo-text small{
  font-size:12px;
  color:#6b7b8c;
  letter-spacing:.2px;
  white-space:nowrap;
}

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

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

.menu ul{
  list-style:none;
  margin:0;
  padding:0;
}

.menu > ul{
  display:flex;
  align-items:center;
  gap:34px;
}

.menu a{
  text-decoration:none;
  font-weight:700;
  font-size:16px;
  color:#0f4c81;
  padding:10px 0;
  display:block;
  transition:.3s ease;
  position:relative;
  white-space:nowrap;
}

.menu a:hover{
  color:#1b79d1;
}

.menu > ul > li > a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:#1b79d1;
  transition:.3s ease;
}

.menu > ul > li > a:hover::after{
  width:100%;
}

.dropdown{
  position:relative;
}

.submenu{
  position:absolute;
  top:100%;
  left:0;
  background:#fff;
  min-width:240px;
  box-shadow:0 12px 28px rgba(0,0,0,.10);
  border-radius:12px;
  padding:10px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.28s ease;
}

.submenu li{
  padding:0 16px;
}

.submenu a{
  color:#334;
  font-size:14px;
  font-weight:600;
  padding:10px 0;
}

.submenu a::after{
  display:none;
}

.submenu a:hover{
  color:#1b79d1;
}

.dropdown:hover .submenu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px){
  .nav{
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:18px 0;
  }

  .menu{
    width:100%;
  }

  .menu > ul{
    flex-wrap:wrap;
    gap:18px 26px;
  }
}

@media (max-width: 600px){
  .logo-text strong{
    font-size:16px;
  }

  .logo-text small{
    font-size:11px;
  }

  .menu > ul{
    gap:14px 18px;
  }

  .menu a{
    font-size:15px;
  }
}

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

.hero h1{
font-size:45px;
margin-bottom:10px;
}

/* CONTENT */
.container{
width:90%;
max-width:1200px;
margin:auto;
}

section{
padding:70px 0;
}

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

.title h2{
font-size:32px;
color:#123b67;
}

/* REQUIREMENTS */
.req-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
}

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

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

.req-card h3{
color:#0f4c81;
margin-bottom:10px;
}

/* STEPS */
.steps{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.step{
background:white;
padding:20px;
border-radius:15px;
text-align:center;
transition:.3s;
}

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

.step span{
font-size:25px;
font-weight:bold;
color:#1b79d1;
}

/* CTA */
.cta{
text-align:center;
}

.cta button{
padding:15px 30px;
background:#1b79d1;
color:white;
border:none;
border-radius:10px;
cursor:pointer;
}

/* 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-logo{
font-size:26px;
color:white;
margin-bottom:10px;
}

.footer-col h3{
color:white;
margin-bottom:15px;
}

.footer-col p{
font-size:14px;
line-height:1.6;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col a{
color:#c9d8ea;
text-decoration:none;
transition:.3s;
}

.footer-col a:hover{
color:#1b79d1;
padding-left:5px;
}

.socials{
margin-top:15px;
display:flex;
gap:10px;
}

.socials a{
width:35px;
height:35px;
display:flex;
align-items:center;
justify-content:center;
background:#1b79d1;
border-radius:50%;
color:white;
transition:.3s;
}

.socials a:hover{
transform:translateY(-5px);
background:#0f4c81;
}

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

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

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

/* RESPONSIVE */
@media(max-width:900px){
.req-grid,
.steps{
grid-template-columns:1fr;
}
}


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