:root {
  --navy: #061a5c;
  --blue: #0737b8;
  --bright-blue: #1976e8;
  --sky: #eaf3ff;
  --dark: #071126;
  --muted: #667085;
  --white: #ffffff;
  --border: rgba(6, 26, 92, .10);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background: #fff;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: "Outfit", sans-serif;
}

.navbar-glass {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6,26,92,.07);
  transition: .3s ease;
}

.navbar-glass.scrolled { box-shadow: 0 10px 35px rgba(4,25,80,.08); }

.brand-logo { height: 55px; width: auto; object-fit: contain; }

.nav-link {
  color: #172554 !important;
  font-weight: 600;
  padding: 10px 13px !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  background: var(--blue);
  transition: .25s;
}

.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn-primary-custom {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #062b9f, #1879e8);
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(18,84,206,.24);
  transition: .3s ease;
}

.btn-primary-custom:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18,84,206,.30);
}

.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(35,133,255,.22), transparent 30%),
    radial-gradient(circle at 15% 80%, rgba(22,104,236,.17), transparent 28%),
    linear-gradient(135deg, #031044 0%, #06227a 48%, #061b58 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  border: 1px solid rgba(255,255,255,.08);
}
.orb-one { width: 420px; height: 420px; right: -150px; top: 100px; }
.orb-two { width: 280px; height: 280px; left: -120px; bottom: 50px; }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  color: #76b8ff;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.04em;
  max-width: 760px;
}

.hero-title span,
.section-title span,
.cta-box h2 span {
  background: linear-gradient(90deg, #4ba2ff, #b5dcff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  color: rgba(255,255,255,.78);
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.stat-card {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.stat-card strong { display:block; font-family:"Outfit"; font-size:1.35rem; }
.stat-card span { color: rgba(255,255,255,.58); font-size:.78rem; }

.hero-visual {
  position: relative;
  max-width: 470px;
  margin: auto;
  padding: 28px;
}

.malta-card {
  min-height: 490px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 36px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.03)),
    radial-gradient(circle at 60% 30%, rgba(54,150,255,.5), transparent 35%),
    #071a58;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 35px 80px rgba(0,0,0,.25);
}

.malta-card::before {
  content: "M";
  position: absolute;
  right: -25px;
  top: -75px;
  font-size: 27rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(255,255,255,.035);
  font-family: "Outfit";
}

.map-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  top: 75px;
  left: 90px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 0 0 35px rgba(75,162,255,.05), 0 0 0 70px rgba(75,162,255,.035);
}

.malta-content { position: relative; z-index: 2; }
.small-label { font-size:.7rem; letter-spacing:.2em; font-weight:800; color:#72b6ff; }
.malta-content h3 { font-size:4.3rem; margin:.25rem 0; font-weight:800; }
.malta-content p { color:rgba(255,255,255,.7); }

.mini-route {
  margin-top: 26px;
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  font-size:.72rem;
  font-weight:700;
}
.mini-route span {
  padding:8px 11px;
  border-radius:30px;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.12);
}
.mini-route i { color:#63afff; }

.floating-badge {
  position:absolute;
  z-index:5;
  padding:13px 17px;
  border-radius:14px;
  background:#fff;
  color:var(--navy);
  font-size:.75rem;
  font-weight:800;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  animation: float 4s ease-in-out infinite;
}
.floating-badge i { color:#1375e7; margin-right:7px; }
.badge-top { top: 0; right: -5px; }
.badge-bottom { bottom: 5px; left: -4px; animation-delay:1s; }

@keyframes float { 50% { transform:translateY(-10px); } }

.scroll-indicator {
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.55);
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  display:flex;
  gap:10px;
  align-items:center;
}
.scroll-indicator span {
  width:7px; height:7px; border-radius:50%;
  background:#64b1ff;
  box-shadow:0 0 0 7px rgba(100,177,255,.12);
}

.section-padding { padding: 110px 0; }
.bg-light-custom { background:#f5f8fd; }

.section-kicker { color:#1559d6; margin-bottom:13px; }
.section-title {
  font-size:clamp(2.3rem,4vw,4rem);
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.035em;
  margin-bottom:22px;
}
.section-text { color:var(--muted); line-height:1.85; }

.text-link {
  display:inline-flex;
  gap:9px;
  align-items:center;
  color:#0b50c6;
  font-weight:800;
  text-decoration:none;
  margin-top:12px;
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.feature-card {
  padding:28px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:0 18px 50px rgba(13,48,112,.06);
  transition:.35s ease;
}
.feature-card:hover { transform:translateY(-7px); box-shadow:0 25px 60px rgba(13,48,112,.12); }
.feature-large { grid-row:span 2; display:flex; flex-direction:column; justify-content:center; }
.icon-box {
  width:52px; height:52px; display:grid; place-items:center;
  color:#fff; border-radius:15px;
  background:linear-gradient(135deg,#082b9f,#2084ef);
  margin-bottom:22px;
}
.icon-blue { background:#eaf3ff; color:#1767da; }
.icon-dark { background:#e9edf7; color:#172554; }
.feature-card h4 { font-size:1.15rem; }
.feature-card p { color:var(--muted); font-size:.9rem; line-height:1.7; margin-bottom:0; }

.college-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(49,138,255,.25), transparent 30%),
    linear-gradient(135deg,#04134b,#082b8e 60%,#05194f);
}
.college-showcase {
  display:flex;
  align-items:center;
  gap:35px;
  padding:35px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(12px);
}
.college-logo-placeholder {
  flex:0 0 130px;
  width:130px; height:130px;
  display:grid; place-items:center;
  border-radius:24px;
  color:#fff;
  font-size:3rem;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
}
.college-main-info h3 { color:#fff; font-size:2rem; margin:8px 0; }
.college-main-info p { color:rgba(255,255,255,.62); max-width:720px; }
.college-tag { color:#74b8ff; font-weight:800; font-size:.7rem; letter-spacing:.15em; }
.info-pill {
  color:#fff;
  font-size:.75rem;
  padding:9px 12px;
  border-radius:30px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
}

.section-heading { max-width:720px; }
.program-card {
  height:100%;
  padding:34px;
  border-radius:25px;
  border:1px solid var(--border);
  background:#fff;
  position:relative;
  overflow:hidden;
  transition:.35s ease;
}
.program-card::before {
  content:"";
  position:absolute; width:130px; height:130px; right:-55px; top:-55px;
  border-radius:50%; background:#eef5ff;
}
.program-card:hover { transform:translateY(-9px); box-shadow:0 28px 65px rgba(12,52,125,.12); }
.program-number { position:absolute; right:25px; top:25px; color:#b7c7e7; font-weight:800; }
.program-icon {
  width:60px; height:60px; border-radius:18px; display:grid; place-items:center;
  background:#eaf3ff; color:#0d61d7; font-size:1.45rem; margin-bottom:26px;
}
.program-card h4 { font-size:1.3rem; }
.program-card p { color:var(--muted); line-height:1.7; }
.program-card a { color:#0955c8; text-decoration:none; font-size:.82rem; font-weight:800; }

.timeline { position:relative; }
.timeline::before {
  content:""; position:absolute; left:25px; top:20px; bottom:20px; width:1px; background:#cad8ef;
}
.timeline-item {
  position:relative;
  display:flex;
  gap:22px;
  padding-bottom:32px;
}
.timeline-item:last-child { padding-bottom:0; }
.timeline-dot {
  flex:0 0 51px; height:51px; border-radius:50%;
  display:grid; place-items:center; z-index:1;
  background:#fff; border:2px solid #1768dc; color:#125dcc;
  font-size:.72rem; font-weight:800;
}
.timeline-item h5 { margin-top:5px; font-size:1.15rem; }
.timeline-item p { color:var(--muted); margin:0; line-height:1.7; }

.cta-section { padding:30px 0 100px; background:#f5f8fd; }
.cta-box {
  padding:55px;
  border-radius:30px;
  color:#fff;
  background:linear-gradient(135deg,#06195d,#0c52c5 70%,#2086ed);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:35px;
  box-shadow:0 30px 70px rgba(10,60,160,.2);
}
.cta-box h2 { font-size:clamp(2rem,4vw,3.3rem); line-height:1; margin:10px 0 15px; }
.cta-box p { color:rgba(255,255,255,.7); max-width:620px; margin:0; }
.cta-actions { display:flex; flex-wrap:wrap; gap:12px; }

.footer { padding:35px 0; background:#050f2e; color:#fff; }
.footer-logo { height:48px; width:auto; object-fit:contain; background:#fff; border-radius:7px; padding:2px 6px; }
.footer p { color:rgba(255,255,255,.5); font-size:.8rem; }
.footer small { color:rgba(255,255,255,.4); }
.footer-links { display:flex; gap:17px; justify-content:flex-end; flex-wrap:wrap; margin-bottom:8px; }
.footer-links a { color:rgba(255,255,255,.7); text-decoration:none; font-size:.78rem; }

.back-top {
  position:fixed; right:22px; bottom:22px; z-index:20;
  width:46px; height:46px; border-radius:50%; border:0;
  color:#fff; background:#0c56cb; box-shadow:0 12px 30px rgba(0,0,0,.2);
  opacity:0; pointer-events:none; transition:.3s;
}
.back-top.show { opacity:1; pointer-events:auto; }

@media (max-width: 991px) {
  .navbar-collapse {
    background:#fff; margin-top:10px; padding:12px 15px 18px;
    border-radius:15px; box-shadow:0 18px 45px rgba(0,0,0,.1);
  }
  .hero-section .row { padding-top:100px !important; }
  .hero-visual { margin-top:15px; }
  .scroll-indicator { display:none; }
  .cta-box { flex-direction:column; align-items:flex-start; }
}

@media (max-width: 767px) {
  .section-padding { padding:78px 0; }
  .hero-title { font-size:3rem; }
  .malta-card { min-height:390px; }
  .malta-content h3 { font-size:3.3rem; }
  .about-grid { grid-template-columns:1fr; }
  .feature-large { grid-row:auto; }
  .college-showcase { flex-direction:column; align-items:flex-start; }
  .cta-box { padding:35px 25px; }
  .footer-links { justify-content:flex-start; }
}
