
*{ margin:0; padding:0; box-sizing:border-box; }

:root{
  --navy:#0e1a3a;
  --navy-deep:#090f22;
  --blue:#1a3270;
  --blue-mid:#1e3d8f;
  --gold:#c9a84c;
  --gold-light:#e8c97a;
  --white:#ffffff;
  --off-white:#f4f2ed;
  --light-gray:#eaeaea;
  --text-dark:#111827;
  --text-muted:#6b7280;
}

html{ scroll-behavior:smooth; }
body{ font-family:'DM Sans',sans-serif; color:var(--text-dark); overflow-x:hidden; background:#fff; }

/* ========== TOP BAR ========== */
  .top-bar {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .top-bar .container { display: flex; justify-content: space-between; align-items: center; }
  .top-bar a { color: rgba(255,255,255,0.75); text-decoration: none; margin-left: 20px; }
  .top-bar a:hover { color: var(--gold-light); }
  .top-bar-left { display: flex; gap: 20px; align-items: center; }
  .top-bar-right { display: flex; align-items: center; gap: 14px; }
  .top-bar-right i { font-size: 14px; }
  .lang-select {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.75); font-size: 12px; padding: 2px 8px;
    border-radius: 3px; cursor: pointer;
  }

  /* ========== NAVBAR ========== */
  .navbar {
    background: var(--navy);
    position: sticky; top: 0;
    z-index: 1000;
    padding: 0;
    transition: box-shadow 0.3s;
  }
  .navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0; }
  .logo { display: flex; align-items: center; gap: 10px; padding: 18px 0; text-decoration: none; }
  .logo-icon {
    width: 42px; height: 42px; background: var(--gold); border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--navy);
  }
  .logo-text { display: flex; flex-direction: column; line-height: 1; }
  .logo-text span:first-child { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; }
  .logo-text span:last-child { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

  .nav-menu { display: flex; list-style: none; }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a {
    display: block; padding: 28px 18px;
    color: rgba(255,255,255,0.88); text-decoration: none; font-size: 14px; font-weight: 500;
    letter-spacing: 0.3px; transition: color 0.2s; white-space: nowrap;
  }
  .nav-menu > li > a:hover, .nav-menu > li:hover > a { color: var(--gold-light); }
  .nav-menu > li > a i { font-size: 10px; margin-left: 4px; }

  .dropdown {
    position: absolute; top: 100%; left: 0;
    background: var(--navy-deep); min-width: 200px;
    border-top: 2px solid var(--gold);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    opacity: 0; visibility: hidden;
    transform: translateY(10px); transition: all 0.25s; z-index: 999;
  }
  .dropdown.mega { min-width: 600px; display: grid; grid-template-columns: repeat(3, 1fr); padding: 24px; gap: 20px; }
  .nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown a {
    display: block; padding: 9px 18px;
    color: rgba(255,255,255,0.75); font-size: 13.5px; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: all 0.2s;
  }
  .dropdown a:hover { color: var(--gold-light); padding-left: 24px; }
  .dropdown.mega a { border: none; padding: 6px 0; }
  .dropdown-group h6 { color: var(--gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }

  .nav-menu > li:has(.nav-cta) { display: flex; align-items: center; padding: 0 0 0 10px; }
  .nav-menu > li > a.nav-cta { padding: 12px 26px !important; }
  .nav-cta {
    background: var(--gold); color: var(--navy) !important;
    padding: 10px 22px !important; font-weight: 600 !important;
    border-radius: 3px; margin-left: 10px; align-self: center; transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
  .hamburger { display: none; background: none; border: none; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }
  .nav-close { display: none; position: fixed; top: 24px; right: 24px; z-index: 999; background: none; border: none; cursor: pointer; color: #fff; font-size: 28px; }
  @media (max-width: 1024px) { .nav-close { display: block; } }

/* ========== CONTAINER ========== */
.container { max-width:1240px; margin:0 auto; padding:0 28px; }

/* ========== SCROLL ANIMATIONS ========== */
.reveal { opacity:0; transform:translateY(36px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }

/* ========== SECTION UTILITIES ========== */
.section-label { font-size:11px; letter-spacing:4px; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:18px; display:flex; align-items:center; gap:12px; }
.section-label::before { content:''; width:36px; height:1px; background:var(--gold); }
.section-title { font-family:'Cormorant Garamond',serif; font-size:clamp(42px,4.5vw,64px); line-height:1.05; font-weight:700; color:var(--navy); }
.section-title em { font-style:italic; color:var(--blue-mid); }

/* ========== PAGE HERO ========== */
.page-hero { background:var(--navy); padding:90px 0 80px; position:relative; overflow:hidden; }
.page-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(120deg, var(--navy-deep) 40%, rgba(14,26,58,0.6) 100%); }
.page-hero-bg { position:absolute; right:0; top:0; bottom:0; width:45%; overflow:hidden; clip-path:polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero-bg img { width:100%; height:100%; object-fit:cover; opacity:0.3; }
.page-hero-content { position:relative; z-index:2; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-size:13px; color:rgba(255,255,255,0.5); margin-bottom:24px; list-style:none; }
.breadcrumb li a { color:var(--gold-light); text-decoration:none; transition:color 0.2s; }
.breadcrumb li a:hover { color:var(--gold); }
.breadcrumb li::after { content:'/'; margin-left:8px; }
.breadcrumb li:last-child::after { display:none; }
.breadcrumb li:last-child { color:rgba(255,255,255,0.65); }
.page-hero h1 { font-family:'Cormorant Garamond',serif; font-size:clamp(48px,6vw,80px); font-weight:700; color:#fff; line-height:0.95; letter-spacing:-1px; margin-bottom:20px; }
.page-hero h1 em { font-style:italic; color:var(--gold-light); }
.page-hero p { font-size:16px; color:rgba(255,255,255,0.6); max-width:540px; line-height:1.75; }
.page-hero-deco { position:absolute; right:100px; bottom:40px; z-index:2; font-family:'Cormorant Garamond',serif; font-size:120px; font-weight:700; line-height:1; color:rgba(255,255,255,0.04); letter-spacing:-4px; pointer-events:none; user-select:none; }

/* Hero stats strip */
.hero-stats { display:flex; gap:48px; margin-top:40px; }
.hero-stat { }
.hero-stat-num { font-family:'Cormorant Garamond',serif; font-size:38px; font-weight:700; color:var(--gold-light); line-height:1; }
.hero-stat-label { font-size:12px; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-top:4px; }

/* ========== MARQUEE ========== */
.marquee-wrap { background:var(--gold); padding:14px 0; overflow:hidden; }
.marquee-track { display:flex; animation:marquee 28s linear infinite; white-space:nowrap; }
.marquee-track span { display:inline-flex; align-items:center; gap:18px; padding:0 24px; font-size:13px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:var(--navy); }
.marquee-track span i { font-size:14px; }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ========== FILTER TABS ========== */
.filter-section { background:#fff; border-bottom:1px solid var(--light-gray); padding:0; position:sticky; top:72px; z-index:90; }
.filter-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0; }
.filter-tabs { display:flex; list-style:none; }
.filter-tabs li a { display:block; padding:20px 22px; font-size:13px; font-weight:600; letter-spacing:0.5px; color:var(--text-muted); text-decoration:none; border-bottom:3px solid transparent; transition:all 0.2s; white-space:nowrap; }
.filter-tabs li a:hover { color:var(--navy); }
.filter-tabs li a.active { color:var(--navy); border-bottom-color:var(--gold); }
.filter-right { display:flex; align-items:center; gap:12px; padding-right:4px; }
.filter-right select { border:1px solid var(--light-gray); border-radius:4px; padding:8px 14px; font-size:13px; font-family:'DM Sans',sans-serif; color:var(--text-dark); background:#fff; cursor:pointer; outline:none; }
.download-btn { display:inline-flex; align-items:center; gap:8px; background:var(--navy); color:#fff; padding:9px 20px; border-radius:4px; font-size:13px; font-weight:600; text-decoration:none; transition:background 0.2s; white-space:nowrap; }
.download-btn:hover { background:var(--blue-mid); }
.download-btn i { font-size:12px; }

/* ========== MAIN CALENDAR SECTION ========== */
.calendar-section { padding:80px 0 100px; background:#fff; }
.calendar-layout { display:grid; grid-template-columns:1fr 320px; gap:64px; align-items:start; }

/* ========== SEMESTER BLOCK ========== */
.semester-block { margin-bottom:64px; }
.semester-block:last-child { margin-bottom:0; }
.semester-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:32px; padding-bottom:20px; border-bottom:2px solid var(--light-gray); }
.semester-title-group { }
.semester-tag { display:inline-flex; align-items:center; gap:8px; font-size:11px; letter-spacing:3px; text-transform:uppercase; font-weight:700; color:var(--gold); margin-bottom:10px; }
.semester-tag::before { content:''; width:24px; height:1px; background:var(--gold); }
.semester-name { font-family:'Cormorant Garamond',serif; font-size:36px; font-weight:700; color:var(--navy); line-height:1; }
.semester-name em { font-style:italic; color:var(--blue-mid); }
.semester-badge { font-size:12px; font-weight:600; padding:6px 16px; border-radius:20px; border:1px solid var(--light-gray); color:var(--text-muted); white-space:nowrap; }
.semester-badge.current { background:rgba(201,168,76,0.1); border-color:var(--gold); color:var(--gold); }

/* Event rows */
.events-table { width:100%; }
.event-row { display:grid; grid-template-columns:140px 1fr auto; align-items:center; gap:24px; padding:18px 0; border-bottom:1px solid var(--light-gray); transition:all 0.2s; }
.event-row:first-child { border-top:1px solid var(--light-gray); }
.event-row:hover { background:var(--off-white); margin:0 -16px; padding-left:16px; padding-right:16px; border-radius:6px; border-color:transparent; }
.event-row:hover + .event-row { border-top-color:transparent; }

.event-date { }
.event-date-main { font-family:'Cormorant Garamond',serif; font-size:18px; font-weight:700; color:var(--navy); line-height:1; }
.event-date-sub { font-size:12px; color:var(--text-muted); margin-top:3px; letter-spacing:0.3px; }

.event-info { }
.event-name { font-size:15px; font-weight:600; color:var(--text-dark); margin-bottom:4px; }
.event-desc { font-size:13px; color:var(--text-muted); line-height:1.55; }

.event-tag { display:inline-flex; align-items:center; font-size:11px; font-weight:600; letter-spacing:0.5px; padding:5px 12px; border-radius:3px; white-space:nowrap; }
.event-tag.academic { background:rgba(30,61,143,0.08); color:var(--blue-mid); }
.event-tag.exam { background:rgba(14,26,58,0.08); color:var(--navy); }
.event-tag.holiday { background:rgba(201,168,76,0.12); color:#a0782a; }
.event-tag.deadline { background:rgba(220,38,38,0.08); color:#b91c1c; }
.event-tag.break { background:rgba(5,150,105,0.08); color:#047857; }
.event-tag.ceremony { background:rgba(124,58,237,0.08); color:#6d28d9; }

/* ========== SIDEBAR ========== */
.calendar-sidebar { }

/* Mini calendar */
.mini-cal { background:var(--off-white); border:1px solid var(--light-gray); border-radius:8px; overflow:hidden; margin-bottom:24px; }
.mini-cal-header { background:var(--navy); color:#fff; padding:18px 20px; display:flex; align-items:center; justify-content:space-between; }
.mini-cal-header span { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:700; }
.mini-cal-nav { background:none; border:none; color:rgba(255,255,255,0.6); cursor:pointer; font-size:14px; padding:4px 8px; transition:color 0.2s; }
.mini-cal-nav:hover { color:var(--gold-light); }
.mini-cal-grid { padding:16px 20px 20px; }
.mini-cal-days { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; margin-bottom:8px; }
.mini-cal-day-label { text-align:center; font-size:10px; font-weight:700; letter-spacing:1px; color:var(--text-muted); padding:4px 0; }
.mini-cal-dates { display:grid; grid-template-columns:repeat(7,1fr); gap:2px; }
.mini-cal-date { text-align:center; font-size:13px; padding:7px 4px; border-radius:4px; color:var(--text-dark); cursor:default; line-height:1; }
.mini-cal-date.other-month { color:var(--light-gray); }
.mini-cal-date.has-event { background:rgba(201,168,76,0.15); color:var(--navy); font-weight:600; }
.mini-cal-date.today { background:var(--navy); color:#fff; font-weight:700; border-radius:50%; }
.mini-cal-date.highlight { background:var(--gold); color:var(--navy); font-weight:700; border-radius:50%; }

/* Legend */
.sidebar-card { background:var(--off-white); border:1px solid var(--light-gray); border-radius:8px; padding:24px; margin-bottom:20px; }
.sidebar-card-title { font-size:11px; letter-spacing:3px; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:18px; display:flex; align-items:center; gap:10px; }
.sidebar-card-title::before { content:''; width:20px; height:1px; background:var(--gold); }
.legend-item { display:flex; align-items:center; gap:12px; margin-bottom:12px; font-size:13px; color:var(--text-dark); }
.legend-dot { width:10px; height:10px; border-radius:2px; flex-shrink:0; }
.legend-dot.academic { background:var(--blue-mid); }
.legend-dot.exam { background:var(--navy); }
.legend-dot.holiday { background:var(--gold); }
.legend-dot.deadline { background:#b91c1c; }
.legend-dot.break { background:#047857; }
.legend-dot.ceremony { background:#6d28d9; }

/* Key dates */
.key-date-item { display:flex; align-items:flex-start; gap:14px; padding:14px 0; border-bottom:1px solid var(--light-gray); }
.key-date-item:last-child { border-bottom:none; padding-bottom:0; }
.key-date-item:first-child { padding-top:0; }
.key-date-box { min-width:44px; height:48px; background:var(--navy); border-radius:6px; display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0; }
.key-date-box .kd-month { font-size:9px; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); font-weight:700; }
.key-date-box .kd-day { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; color:#fff; line-height:1; }
.key-date-info h5 { font-size:13px; font-weight:600; color:var(--text-dark); margin-bottom:2px; line-height:1.3; }
.key-date-info p { font-size:12px; color:var(--text-muted); line-height:1.45; }

/* CTA card */
.sidebar-cta { background:var(--navy); border-radius:8px; padding:28px 24px; text-align:center; }
.sidebar-cta i { font-size:28px; color:var(--gold); margin-bottom:14px; display:block; }
.sidebar-cta h4 { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; color:#fff; margin-bottom:10px; }
.sidebar-cta p { font-size:13px; color:rgba(255,255,255,0.55); line-height:1.65; margin-bottom:20px; }
.sidebar-cta a { display:inline-flex; align-items:center; gap:8px; background:var(--gold); color:var(--navy); padding:12px 24px; border-radius:4px; font-size:13px; font-weight:700; text-decoration:none; transition:background 0.2s; }
.sidebar-cta a:hover { background:var(--gold-light); }

/* ========== IMPORTANT DATES DARK BAND ========== */
.dark-band { background:var(--navy); padding:80px 0; }
.dark-band-inner { display:grid; grid-template-columns:1fr 1.8fr; gap:72px; align-items:start; }
.dark-band-left .section-label { color:var(--gold); }
.dark-band-left .section-label::before { background:var(--gold); }
.dark-band-left .section-title { color:#fff; }
.dark-band-left .section-title em { color:var(--gold-light); }
.dark-band-left p { color:rgba(255,255,255,0.55); font-size:15px; line-height:1.85; margin-top:20px; }

.deadlines-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.deadline-card { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:8px; padding:22px 20px; transition:all 0.25s; cursor:default; }
.deadline-card:hover { border-color:rgba(201,168,76,0.4); background:rgba(201,168,76,0.07); transform:translateY(-3px); }
.deadline-card-date { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); font-weight:700; margin-bottom:10px; }
.deadline-card h4 { font-size:15px; font-weight:600; color:#fff; margin-bottom:6px; line-height:1.3; }
.deadline-card p { font-size:13px; color:rgba(255,255,255,0.45); line-height:1.55; }
.deadline-card .dc-icon { font-size:22px; color:rgba(201,168,76,0.4); margin-bottom:14px; }

/* ========== FOOTER ========== */
footer { background:var(--navy-deep); padding:80px 0 0; color:rgba(255,255,255,0.7); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; }
.footer-brand p { font-size:14px; line-height:1.8; margin:18px 0 24px; color:rgba(255,255,255,0.55); }
.footer-socials { display:flex; gap:10px; }
.footer-socials a { width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.15); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.6); font-size:14px; text-decoration:none; transition:all 0.25s; }
.footer-socials a:hover { background:var(--gold); border-color:var(--gold); color:var(--navy); }
.footer-col h6 { font-size:13px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:20px; font-weight:600; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:14px; transition:all 0.2s; display:flex; align-items:center; gap:6px; }
.footer-col ul li a:hover { color:var(--gold-light); padding-left:4px; }
.footer-col ul li a::before { content:'→'; font-size:11px; color:var(--gold); }
.footer-bottom { margin-top:60px; padding:20px 0; border-top:1px solid rgba(255,255,255,0.08); display:flex; justify-content:space-between; align-items:center; font-size:13px; color:rgba(255,255,255,0.4); }
.footer-bottom a { color:var(--gold); text-decoration:none; }
.divider { border:none; border-top:1px solid var(--light-gray); margin:36px 0; }

/* ========== RESPONSIVE ========== */
@media (max-width:1024px) {
  .hamburger { display:block; }
  .nav-menu { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:var(--navy-deep); flex-direction:column; padding:80px 32px 40px; overflow-y:auto; z-index:998; }
  .nav-menu.open { display:flex; }
  .nav-menu > li > a { padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.07); font-size:16px; }
  .page-hero-bg { display:none; }
  .calendar-layout { grid-template-columns:1fr; }
  .dark-band-inner { grid-template-columns:1fr; gap:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .filter-inner { flex-wrap:wrap; }
  .filter-tabs { overflow-x:auto; }
}
@media (max-width:640px) {
  .deadlines-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
  .top-bar .container { flex-direction:column; gap:6px; }
  .hero-stats { gap:24px; flex-wrap:wrap; }
  .event-row { grid-template-columns:100px 1fr; }
  .event-row .event-tag { display:none; }
}
