/* ===== GLOBAL ===== */
:root {
  --amity-blue: #003087;
  --amity-gold: #f5a623;
  --amity-yellow: #f5c518;
  --amity-dark: #1a1a2e;
  --amity-light-bg: #f4f6fb;
  --amity-nav-bg: #002060;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: #222; overflow-x: hidden; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ===== TOP BAR ===== */
.top-bar {
  background: #001a4d;
  color: #fff;
  font-size: 0.78rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.top-bar .top-links a {
  color: rgba(255,255,255,0.8);
  margin-right: 12px;
  font-size: 0.75rem;
  transition: color 0.2s;
}
.top-bar .top-links a:hover { color: var(--amity-gold); }
.top-bar .top-right { display: flex; align-items: center; gap: 10px; }
.top-bar .top-right a { color: rgba(255,255,255,0.8); font-size: 0.8rem; }
.top-bar .top-right a:hover { color: var(--amity-gold); }
.btn-apply-top {
  background: var(--amity-gold);
  color: #fff !important;
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 3px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* ===== NAVBAR ===== */
.main-navbar {
  background: var(--amity-nav-bg);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.navbar-brand { padding: 6px 0; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  display: flex; flex-direction: column; align-items: center;
}
.logo-amity { font-size: 1.1rem; font-weight: 900; color: var(--amity-nav-bg); letter-spacing: 1.5px; line-height: 1; }
.logo-univ { font-size: 0.42rem; color: var(--amity-nav-bg); letter-spacing: 1px; font-weight: 600; white-space: nowrap; }
.main-navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  font-size: 0.82rem;
  padding: 18px 11px !important;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
  color: var(--amity-gold) !important;
  background: rgba(255,255,255,0.06);
}
.main-navbar .dropdown-menu {
  background: #002375;
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  min-width: 200px;
  padding: 6px 0;
}
.main-navbar .dropdown-item {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 8px 18px;
}
.main-navbar .dropdown-item:hover { background: rgba(255,255,255,0.1); color: var(--amity-gold); }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
.hero-section {
  background: linear-gradient(100deg, #002060 0%, #003087 40%, #1a5276 70%, #2e86c1 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' 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='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-text { position: relative; z-index: 2; }
.hero-text h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.hero-text h1 span { color: var(--amity-gold); }
.hero-text .hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin-bottom: 24px;
  font-style: italic;
}
.btn-hero-gold {
  background: var(--amity-gold);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
  margin-right: 10px;
  margin-bottom: 8px;
}
.btn-hero-gold:hover { background: #d4891e; color: #fff; transform: translateY(-1px); }
.btn-hero-outline {
  border: 2px solid var(--amity-gold);
  color: var(--amity-gold);
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.btn-hero-outline:hover { background: var(--amity-gold); color: #fff; }
.hero-img-area {
  position: relative; z-index: 2;
  display: flex; justify-content: flex-end; align-items: flex-end;
}
.hero-img-placeholder {
  width: 100%; max-width: 480px;
  height: 340px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-students {
  display: flex; gap: 0;
  align-items: flex-end;
  height: 100%; width: 100%;
  justify-content: center;
}
.student-fig {
  width: 130px; height: 300px;
  border-radius: 8px 8px 0 0;
  position: relative; overflow: hidden;
  margin: 0 4px;
}
.student-fig.s1 { background: linear-gradient(180deg, #5dade2 0%, #2e86c1 100%); }
.student-fig.s2 { background: linear-gradient(180deg, #f0b27a 0%, #e67e22 100%); height: 320px; }
.student-fig.s3 { background: linear-gradient(180deg, #82e0aa 0%, #27ae60 100%); }
.student-fig i { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font-size: 3rem; color: rgba(255,255,255,0.4); }

/* ===== STATS BAR ===== */
.stats-bar {
  background: #fff;
  border-bottom: 3px solid var(--amity-gold);
  padding: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}
.stat-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  border-right: 1px solid #e8ecf5;
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 48px; height: 48px;
  background: var(--amity-light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon i { font-size: 1.3rem; color: var(--amity-blue); }
.stat-info h5 { font-size: 1.1rem; font-weight: 800; color: var(--amity-blue); margin: 0; line-height: 1.2; }
.stat-info p { font-size: 0.73rem; color: #666; margin: 0; }

/* ===== SECTION COMMONS ===== */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amity-gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.section-title h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--amity-blue);
  position: relative; display: inline-block;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 60px; height: 3px;
  background: var(--amity-gold);
  margin: 8px auto 0;
}
.title-divider {
  display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px;
}
.title-divider::before, .title-divider::after {
  content: ''; flex: 1; height: 1px; background: #ddd; max-width: 80px;
}
.title-divider i { color: var(--amity-gold); font-size: 1rem; }

/* ===== WELCOME SECTION ===== */
.welcome-section { padding: 60px 0; background: #fff; }
.welcome-img-wrap { position: relative; }
.welcome-img {
  width: 100%; height: 380px;
  background: linear-gradient(135deg, #2e86c1 0%, #1a5276 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.welcome-img i { font-size: 6rem; color: rgba(255,255,255,0.25); }
.welcome-img-badge {
  position: absolute; bottom: -15px; right: -15px;
  background: var(--amity-gold);
  color: #fff; border-radius: 50%;
  width: 85px; height: 85px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  line-height: 1.2;
}
.welcome-img-badge small { font-size: 0.55rem; font-weight: 600; }
.welcome-text h2 { font-size: 1.7rem; font-weight: 800; color: var(--amity-blue); margin-bottom: 14px; }
.welcome-text p { color: #555; font-size: 0.93rem; line-height: 1.7; margin-bottom: 12px; }
.btn-read-more {
  background: var(--amity-gold);
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.btn-read-more:hover { background: #d4891e; color: #fff; }

/* ===== PROGRAMS SECTION ===== */
.programs-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #001a4d 0%, #003087 50%, #002060 100%);
  position: relative;
}
.programs-section .section-title h2 { color: #fff; }
.programs-section .section-title h2::after { background: var(--amity-gold); }
.programs-section .eyebrow { color: var(--amity-gold); }
.program-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.program-card-img {
  height: 180px;
  position: relative; overflow: hidden;
}
.program-card-img.grad { background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%); }
.program-card-img.postgrad { background: linear-gradient(135deg, #196f3d 0%, #27ae60 100%); }
.program-card-img.doctoral { background: linear-gradient(135deg, #6c3483 0%, #9b59b6 100%); }
.program-card-img i {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 3.5rem; color: rgba(255,255,255,0.3);
}
.program-card-img .prog-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.35);
  color: #fff; padding: 8px 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.program-card-body { padding: 18px; }
.program-card-body h5 { font-weight: 800; font-size: 1rem; color: var(--amity-blue); margin-bottom: 8px; }
.program-card-body p { font-size: 0.83rem; color: #555; margin-bottom: 14px; line-height: 1.6; }
.btn-explore {
  background: var(--amity-gold);
  color: #fff;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all 0.2s;
}
.btn-explore:hover { background: #d4891e; color: #fff; }

/* ===== EXCELLENCE BANNER ===== */
.excellence-banner {
  background: linear-gradient(100deg, #002060 0%, #003087 60%);
  padding: 50px 0;
  overflow: hidden;
}
.excellence-text h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 10px; }
.excellence-text p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-bottom: 20px; }
.excellence-stat { color: var(--amity-gold); font-weight: 800; font-size: 1.3rem; }
.excellence-stat small { font-size: 0.75rem; color: rgba(255,255,255,0.7); font-weight: 400; display: block; }
.excellence-img-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.exc-img {
  border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.exc-img.e1 { background: linear-gradient(135deg,#e74c3c,#c0392b); height: 130px; }
.exc-img.e2 { background: linear-gradient(135deg,#f39c12,#e67e22); height: 130px; }
.exc-img.e3 { background: linear-gradient(135deg,#2ecc71,#27ae60); height: 130px; }
.exc-img.e4 { background: linear-gradient(135deg,#3498db,#2980b9); height: 130px; }
.exc-img i { font-size: 2.5rem; color: rgba(255,255,255,0.4); }

/* ===== APPLY BANNERS ===== */
.apply-banners { padding: 0; }
.apply-card {
  min-height: 160px;
  display: flex; align-items: center;
  padding: 36px 40px;
  position: relative; overflow: hidden;
}
.apply-card.admission-card {
  background: linear-gradient(100deg, #002060 0%, #003087 100%);
}
.apply-card.scholarship-card {
  background: linear-gradient(100deg, #c8820a 0%, #f5a623 100%);
}
.apply-card h3 { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.apply-card h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.btn-click-here {
  background: var(--amity-gold);
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.2s;
}
.scholarship-card .btn-click-here { background: #002060; }
.btn-click-here:hover { opacity: 0.88; color: #fff; transform: translateY(-1px); }
.apply-card-img {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 200px; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.apply-card-img i { font-size: 6rem; color: rgba(255,255,255,0.1); }

/* ===== COUNTERS ===== */
.counters-section { background: #f4f6fb; padding: 55px 0; }
.counter-box { text-align: center; padding: 20px; }
.counter-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--amity-blue);
  margin-bottom: 4px;
}
.counter-box h2 span { color: var(--amity-gold); }
.counter-box p { font-size: 0.85rem; color: #666; margin: 0; }
.counter-divider { width: 2px; background: #dde; height: 60px; margin: auto; }

/* ===== WHY CHOOSE US ===== */
.why-section { padding: 65px 0; background: #fff; }
.why-img {
  width: 100%; height: 420px;
  background: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #5dade2 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.why-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(0,48,135,0.4),rgba(0,0,0,0.2));
}
.why-img i { font-size: 6rem; color: rgba(255,255,255,0.2); position: relative; z-index: 1; }
.why-point {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 28px;
}
.why-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--amity-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.why-icon i { font-size: 1rem; color: var(--amity-gold); }
.why-point h6 { font-weight: 800; font-size: 0.95rem; color: var(--amity-blue); margin-bottom: 5px; }
.why-point p { font-size: 0.85rem; color: #555; margin: 0; line-height: 1.6; }

/* ===== ALUMNI ===== */
.alumni-section { background: #f4f6fb; padding: 60px 0; }
.alumni-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  max-width: 700px; margin: 0 auto;
}
.alumni-avatar {
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, #f0b27a, #e67e22);
  display: flex; align-items: center; justify-content: center;
}
.alumni-avatar i { font-size: 3rem; color: rgba(255,255,255,0.7); }
.alumni-text p { font-size: 0.92rem; color: #444; margin-bottom: 12px; font-style: italic; line-height: 1.7; }
.alumni-name { font-weight: 800; font-size: 0.9rem; color: var(--amity-blue); }
.alumni-title { font-size: 0.8rem; color: #888; }

/* ===== EVENTS ===== */
.events-section { padding: 65px 0; background: #fff; }
.event-card {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  height: 100%; transition: all 0.25s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.14); }
.event-card-img {
  height: 170px; position: relative; overflow: hidden;
}
.event-card-img.ev1 { background: linear-gradient(135deg,#1a5276,#3498db); }
.event-card-img.ev2 { background: linear-gradient(135deg,#196f3d,#2ecc71); }
.event-card-img.ev3 { background: linear-gradient(135deg,#6c3483,#9b59b6); }
.event-card-img i { position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); font-size:3rem; color:rgba(255,255,255,0.3); }
.event-date-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--amity-gold);
  color: #fff; border-radius: 4px;
  padding: 6px 10px; text-align: center;
  font-weight: 800; font-size: 1rem; line-height: 1;
}
.event-date-badge small { display: block; font-size: 0.65rem; font-weight: 600; }
.event-card-body { padding: 16px; }
.event-card-body h6 { font-weight: 700; font-size: 0.9rem; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.event-card-body p { font-size: 0.8rem; color: #666; margin-bottom: 12px; line-height: 1.5; }
.btn-explore-sm {
  background: var(--amity-gold);
  color: #fff; font-weight: 700;
  padding: 6px 16px; border-radius: 4px;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 5px;
  transition: all 0.2s;
}
.btn-explore-sm:hover { background: #d4891e; color: #fff; }
.btn-view-all {
  border: 2px solid var(--amity-blue);
  color: var(--amity-blue);
  font-weight: 700;
  padding: 10px 32px; border-radius: 4px;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
}
.btn-view-all:hover { background: var(--amity-blue); color: #fff; }

/* ===== FOOTER ===== */
.main-footer { background: #001133; color: #aaa; }
.footer-top { padding: 50px 0 30px; }
.footer-col-title {
  color: #fff; font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--amity-gold);
  display: inline-block;
}
.footer-links-list { list-style: none; padding: 0; }
.footer-links-list li { margin-bottom: 7px; }
.footer-links-list a { color: #999; font-size: 0.82rem; transition: color 0.2s; }
.footer-links-list a:hover { color: var(--amity-gold); }
.footer-contact p { font-size: 0.82rem; color: #999; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 8px; }
.footer-contact i { color: var(--amity-gold); margin-top: 2px; flex-shrink: 0; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #aaa; font-size: 0.85rem;
  margin-right: 6px; margin-bottom: 6px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--amity-gold); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 0;
  font-size: 0.78rem; color: #666;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media(max-width:991px) {
  .hero-img-area { display: none; }
  .stat-item { padding: 12px 10px; }
  .stat-info h5 { font-size: 0.9rem; }
}
@media(max-width:767px) {
  .stat-item { border-right: none; border-bottom: 1px solid #eee; }
  .apply-card { padding: 28px 20px; }
  .counter-divider { display: none; }
  .alumni-card { flex-direction: column; text-align: center; }
}
