/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #1e1e3a; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== LOGO COLOR VARIABLES ===== */
:root {
  --navy:        #333185;
  --navy-dark:   #22205a;
  --navy-light:  #4a47a3;
  --green:       #3BBC46;
  --green-dark:  #2a9934;
  --green-light: #e8fcea;
  --gold:        #C8960C;
  --gold-light:  #fdf3d7;
  --grey:        #6C6C6C;
  --grey-light:  #f4f4f8;
  --white:       #ffffff;
  --text:        #1e1e3a;
  --muted:       #6C6C6C;
  --shadow:      0 4px 24px rgba(51,49,133,0.10);
  --radius:      12px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background: var(--grey-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(51,49,133,0.35); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); font-weight: 700; }
.btn-white:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.full-width { width: 100%; text-align: center; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--navy); margin: 8px 0 12px; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.section-tag {
  display: inline-block;
  background: linear-gradient(135deg, #e0dfff, var(--green-light));
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ===== TOPBAR ===== */
.topbar { background: var(--navy-dark); color: #c8c7e8; font-size: 0.82rem; padding: 8px 0; }
.topbar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.topbar span { display: flex; align-items: center; gap: 7px; }
.topbar i { color: var(--gold); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(51,49,133,0.10);
  padding: 10px 0; transition: all 0.3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-area { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-weight: 500; font-size: 0.9rem;
  color: var(--text); transition: all 0.2s;
}
.nav-links a:hover { background: var(--grey-light); color: var(--navy); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 88vh;
  background: var(--navy-dark);
  display: flex; flex-direction: column;
  justify-content: center; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  background-repeat: no-repeat; background-color: var(--navy-dark); z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(34,32,90,0.92) 0%, rgba(51,49,133,0.82) 50%, rgba(30,80,40,0.80) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 80px 20px 40px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag {
  display: inline-block;
  background: rgba(200,150,12,0.18); color: var(--gold);
  border: 1px solid rgba(200,150,12,0.45);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px; }
.hero-content h1 span { color: var(--green); }
.hero-desc { color: #c8c7e8; font-size: 1.1rem; max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.10); margin-top: auto;
}
.stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; padding: 28px 20px; gap: 20px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: #c8c7e8; font-weight: 500; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(51,49,133,0.25); background: var(--navy);
}
.about-img { width: 100%; height: 380px; object-fit: cover; display: block; }
.about-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(34,32,90,0.96) 0%, rgba(51,49,133,0.65) 70%, transparent 100%);
  color: #fff; padding: 28px 24px 24px; text-align: center;
}
.about-img-overlay .about-icon-big { font-size: 2.4rem; color: var(--gold); margin-bottom: 8px; }
.about-img-overlay h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.about-img-overlay p { font-size: 0.85rem; color: #c8c7e8; }
.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--gold); color: #fff;
  padding: 12px 20px; border-radius: 12px;
  font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(200,150,12,0.40);
}
.about-text .section-tag { margin-bottom: 12px; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; font-size: 0.97rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.feature-item i { color: var(--green); font-size: 1rem; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 24px; box-shadow: var(--shadow);
  transition: all 0.3s; border-bottom: 3px solid transparent;
}
.service-card:hover { transform: translateY(-6px); border-bottom-color: var(--green); box-shadow: 0 12px 40px rgba(51,49,133,0.13); }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #e0dfff, var(--green-light));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--navy); margin-bottom: 18px;
}
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== UNIVERSITIES ===== */
.uni-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.uni-card {
  background: #fff; border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
  box-shadow: var(--shadow); transition: all 0.3s; border: 2px solid transparent;
}
.uni-card:hover { border-color: var(--navy); transform: translateY(-4px); }
.uni-card.featured { border-color: var(--gold); background: var(--gold-light); }
.uni-icon { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.uni-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.uni-location { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; }
.uni-location i { color: var(--green); }

/* ===== PROGRAMS ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 24px; box-shadow: var(--shadow);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(51,49,133,0.14); }
.program-card.highlight { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #fff; }
.program-card.highlight h3 { color: #fff; }
.program-card.highlight p { color: #c8c7e8; }
.program-card.highlight ul li { color: #c8c7e8; }
.prog-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
}
.prog-icon { font-size: 2rem; color: var(--navy); margin-bottom: 14px; }
.program-card.highlight .prog-icon { color: var(--green); }
.program-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.program-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }
.program-card ul { padding-left: 0; }
.program-card ul li { font-size: 0.88rem; color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.program-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.program-card.highlight ul li::before { color: var(--gold); }

/* ===== GLOBAL BANNER STRIP ===== */
.global-banner-strip { position: relative; height: 260px; overflow: hidden; background: var(--navy-dark); }
.global-banner-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; filter: brightness(0.38); }
.global-banner-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; color: #fff; gap: 10px;
}
.global-banner-text span { font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.global-banner-text h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }

/* ===== CTA BANNER ===== */
.cta-banner { position: relative; overflow: hidden; padding: 60px 0; }
.cta-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--navy); z-index: 0;
}
.cta-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(34,32,90,0.93) 0%, rgba(51,49,133,0.90) 100%);
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-inner p { color: #c8c7e8; font-size: 1rem; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); }
.contact-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; flex-shrink: 0;
}
.contact-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.contact-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.contact-card a { color: var(--navy-light); }
.contact-card a:hover { text-decoration: underline; }
.contact-form { background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0dfff; border-radius: 8px;
  font-size: 0.92rem; font-family: inherit; color: var(--text);
  margin-bottom: 14px; transition: border-color 0.2s; background: var(--grey-light);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; }
.contact-form textarea { resize: vertical; }
.form-success {
  display: none; background: var(--green-light); color: var(--green-dark);
  padding: 12px 16px; border-radius: 8px;
  font-size: 0.9rem; font-weight: 600; margin-top: 12px; text-align: center;
}

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); color: #a8a7cc; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 16px; color: #7a79a8; }
.footer h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-links ul li, .footer-programs ul li { padding: 5px 0; font-size: 0.88rem; }
.footer-links a { color: #a8a7cc; transition: color 0.2s; }
.footer-links a:hover { color: var(--green); }
.footer-contact p { font-size: 0.85rem; display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.6; }
.footer-contact i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { color: #a8a7cc; }
.footer-contact a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; text-align: center; font-size: 0.82rem; color: #6a69a0; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--navy); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 4px 16px rgba(51,49,133,0.40);
  opacity: 0; pointer-events: none; transition: all 0.3s; z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--green); transform: translateY(-3px); }

/* ===== LOGO IMAGES ===== */
.nav-logo-img { height: 60px; width: auto; object-fit: contain; }
.footer-logo-img { height: 70px; width: auto; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px 8px; margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .uni-grid { grid-template-columns: repeat(3, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .topbar-inner { justify-content: center; text-align: center; }
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(51,49,133,0.12); gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-inner { position: relative; flex-wrap: wrap; }
  .services-grid, .programs-grid, .contact-grid { grid-template-columns: 1fr; }
  .uni-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .form-row, .about-features { grid-template-columns: 1fr; }
  .hero-content { padding: 60px 20px 30px; }
  .section-header h2 { font-size: 1.7rem; }
  .contact-form { padding: 24px 18px; }
  .nav-logo-img { height: 48px; }
  .about-img { height: 280px; }
  .global-banner-strip { height: 180px; }
}
@media (max-width: 480px) {
  .uni-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 16px; }
  .stat-num { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}

/* ===== UNIVERSITY LOGOS ===== */
.uni-logo-wrap {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: #f8f8ff;
  border-radius: 8px;
  padding: 6px;
  overflow: hidden;
}
.uni-logo {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.uni-card { padding: 18px 14px; }
