@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root{--brand-navy:#16264f;--brand-navy-dark:#0e1a3a;--brand-gold:#e0a800;--brand-gold-light:#f4b902;--brand-cream:#faf8f1;--brand-red:#b91c1c}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',sans-serif;color:#1a1a1a;line-height:1.5;overflow-x:hidden;background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
ul{list-style:none}
.container-x{max-width:1280px;margin:0 auto;padding:0 24px}
.font-serif{font-family:'Playfair Display',serif}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 28px;background:var(--brand-navy);color:#fff;font-weight:600;border-radius:4px;font-size:15px;border:1.5px solid var(--brand-navy);cursor:pointer;transition:background .25s,color .25s,border-color .25s;font-family:inherit}
.btn:hover{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--brand-navy)}
.btn-outline{background:transparent;color:var(--brand-navy)}
.btn-outline:hover{background:var(--brand-navy);color:#fff}
.btn-gold{background:var(--brand-gold);border-color:var(--brand-gold);color:var(--brand-navy)}
.btn-gold:hover{background:var(--brand-navy);border-color:var(--brand-navy);color:#fff}
.btn-ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.5);color:#fff}
.btn-ghost:hover{background:#fff;color:var(--brand-navy);border-color:#fff}

/* Header */
header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.04)}
.top-bar{background:var(--brand-navy);color:#cfd8ee;font-size:13px}
.top-bar .container-x{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;padding-top:10px;padding-bottom:10px;gap:8px}
.top-bar a{transition:color .2s}
.top-bar a:hover{color:var(--brand-gold-light)}
.top-links{display:flex;gap:20px;font-size:13px}
.top-links a{display:inline-flex;align-items:center;gap:6px}
.main-nav{border-bottom:1px solid #f0f0f0}
.main-nav .container-x{display:flex;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:70px;width:auto}
.brand-text{line-height:1.1}
.brand-text .name{font-family:'Playfair Display',serif;font-size:19px;font-weight:700;color:var(--brand-navy)}
.brand-text .sub{font-size:12px;font-weight:500;letter-spacing:1px;color:var(--brand-gold)}
.nav-list{display:flex;gap:30px;align-items:center}
.nav-list li{position:relative}
.nav-list a.link{color:#1a1a1a;font-weight:600;font-size:15px;padding:14px 0;display:inline-flex;align-items:center;gap:4px;transition:color .2s}
.nav-list a.link:hover,.nav-list a.link.active{color:var(--brand-gold)}
.dropdown{position:absolute;top:100%;left:0;min-width:240px;background:#fff;border-top:3px solid var(--brand-gold);box-shadow:0 18px 40px rgba(14,26,58,.12);padding:10px 0;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s,transform .25s,visibility .25s;z-index:60}
.nav-list li:hover .dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{display:block;padding:10px 22px;color:#333;font-size:14px;transition:background .2s,color .2s,padding-left .2s}
.dropdown a:hover{background:var(--brand-cream);color:var(--brand-navy);padding-left:30px}
.nav-cta{display:flex;align-items:center;gap:12px}
.menu-toggle{display:none;background:none;border:none;font-size:26px;cursor:pointer;color:var(--brand-navy)}

/* Hero */
.hero{position:relative;overflow:hidden}
.hero-slide{position:relative;min-height:640px;display:flex;align-items:flex-end;background-size:cover;background-position:center;opacity:0;visibility:hidden;position:absolute;inset:0;transition:opacity .8s}
.hero-slide.active{opacity:1;visibility:visible;position:relative}
.hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,26,58,.85) 0%,rgba(14,26,58,.55) 50%,rgba(14,26,58,.15) 100%)}
.hero-content{position:relative;z-index:2;padding:90px 0 100px;max-width:720px;color:#fff}
.hero-badge{display:inline-flex;align-items:center;gap:8px;font-size:14px;margin-bottom:14px;color:#fff}
.stars{color:var(--brand-gold-light);letter-spacing:2px}
.hero-title{font-family:'Playfair Display',serif;font-size:clamp(40px,6.5vw,84px);line-height:1.02;font-weight:700;margin:16px 0 20px}
.hero-title .gold{color:var(--brand-gold-light)}
.hero-sub{font-size:18px;color:rgba(255,255,255,.9);margin-bottom:28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px}
.hero-dots{position:absolute;bottom:24px;right:40px;display:flex;gap:10px;z-index:3}
.hero-dot{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:background .2s,width .3s;border:none}
.hero-dot.active{background:var(--brand-gold);width:32px;border-radius:5px}

/* Section common */
section{padding:90px 0}
.section-subtitle{color:var(--brand-red);font-weight:600;font-size:13px;letter-spacing:2px;text-transform:uppercase;display:inline-block;margin-bottom:12px}
.section-title{font-family:'Playfair Display',serif;font-size:clamp(28px,4vw,46px);font-weight:700;color:var(--brand-navy);line-height:1.15}
.text-center{text-align:center}
.mb-12{margin-bottom:48px}

/* Marquee */
.marquee-wrap{overflow:hidden;padding:40px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
.marquee-track{display:flex;gap:60px;animation:marquee 40s linear infinite;width:max-content}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.specialty{display:flex;flex-direction:column;align-items:center;gap:14px;min-width:200px}
.specialty-icon{width:90px;height:90px;border-radius:50%;background:var(--brand-cream);display:flex;align-items:center;justify-content:center;color:var(--brand-navy);border:2px dashed var(--brand-gold);transition:transform .3s,background .3s}
.specialty:hover .specialty-icon{transform:rotate(15deg) scale(1.05);background:var(--brand-gold)}
.specialty h6{font-size:15px;font-weight:600;color:var(--brand-navy)}

/* Grid */
.grid{display:grid;gap:28px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-2-align{align-items:center}

/* About */
.about-img-wrap{position:relative}
.about-img-wrap>img{width:100%;border-radius:8px;box-shadow:0 20px 40px rgba(14,26,58,.15);height:460px;object-fit:cover}
.about-badge{position:absolute;bottom:-28px;right:-10px;background:#fff;padding:20px;border-radius:8px;box-shadow:0 20px 40px rgba(14,26,58,.15);display:flex;align-items:center;gap:14px}
.about-badge .ico{width:54px;height:54px;border-radius:50%;background:var(--brand-gold);color:var(--brand-navy);display:flex;align-items:center;justify-content:center;font-size:22px}
.about-badge .num{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--brand-navy)}
.about-badge .sm{font-size:12px;color:#777}
.about-text p{color:#5c5c5c;line-height:1.7;margin:12px 0 18px;font-size:15.5px}
.check-list li{display:flex;align-items:center;gap:14px;margin-bottom:14px;font-weight:500;color:#333}
.check-list li .ico{width:40px;height:40px;border-radius:50%;background:var(--brand-cream);color:var(--brand-navy);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* Feature Cards */
.feature-cards{background:var(--brand-cream)}
.feature-card{background:#fff;padding:36px 28px;border-radius:8px;text-align:center;border:1px solid transparent;transition:border-color .3s,box-shadow .3s;box-shadow:0 4px 12px rgba(14,26,58,.04)}
.feature-card:hover{border-color:var(--brand-gold);box-shadow:0 10px 30px rgba(14,26,58,.12)}
.feature-card .ico{width:76px;height:76px;border-radius:50%;background:var(--brand-navy);color:#fff;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;font-size:30px}
.feature-card h3{font-family:'Playfair Display',serif;font-size:22px;color:var(--brand-navy);margin-bottom:12px}
.feature-card p{color:#666;font-size:14.5px;line-height:1.6}

/* Course cards */
.course-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 20px rgba(14,26,58,.06);transition:transform .35s,box-shadow .35s;border:1px solid #ececec}
.course-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px rgba(14,26,58,.15)}
.card-img{height:220px;overflow:hidden;position:relative}
.card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.course-card:hover .card-img img{transform:scale(1.08)}
.card-tag{position:absolute;top:16px;left:16px;padding:5px 12px;background:var(--brand-gold);color:var(--brand-navy);font-weight:700;font-size:12px;border-radius:3px}
.card-body{padding:22px}
.card-meta{font-size:13px;color:#888;margin-bottom:8px;display:flex;align-items:center;gap:6px}
.card-body h3{font-family:'Playfair Display',serif;font-size:20px;color:var(--brand-navy);margin-bottom:8px;line-height:1.25}
.card-body h3 a:hover{color:var(--brand-gold)}
.card-body p{color:#666;font-size:13.5px;margin-bottom:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-link{display:inline-flex;align-items:center;gap:6px;color:var(--brand-navy);font-weight:600;font-size:14px}
.card-link:hover{color:var(--brand-gold)}

/* Why choose */
.why-choose{background:var(--brand-cream)}
.why-imgs{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.why-imgs img{border-radius:8px;width:100%;object-fit:cover}
.why-imgs>img{height:100%}
.why-imgs .col img{height:190px;margin-bottom:18px}
.why-imgs .col img:last-child{margin-bottom:0}

/* Stats */
.stats-section{background:var(--brand-navy);padding:64px 0}
.stat{text-align:center;color:#fff}
.stat .num{font-family:'Playfair Display',serif;font-size:44px;color:var(--brand-gold-light);font-weight:700;margin-bottom:6px}
.stat .lbl{font-size:14px;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.8)}

/* Faculty */
.faculty{background:var(--brand-cream)}
.faculty-card{position:relative;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 4px 16px rgba(14,26,58,.08);transition:transform .35s}
.faculty-card:hover{transform:translateY(-6px)}
.faculty-card img{width:100%;height:340px;object-fit:cover;object-position:top;transition:transform .6s}
.faculty-card:hover img{transform:scale(1.05)}
.faculty-info{position:absolute;left:18px;right:18px;bottom:18px;background:#fff;padding:14px 18px;border-radius:6px;border-left:4px solid var(--brand-gold)}
.faculty-info h3{font-family:'Playfair Display',serif;font-size:17px;color:var(--brand-navy)}
.faculty-info p{font-size:12.5px;color:#888;margin-top:2px}

/* Testimonials */
.testimonial-card{background:#fff;padding:36px;border-radius:8px;box-shadow:0 6px 24px rgba(14,26,58,.08);display:flex;gap:24px;align-items:center}
.testimonial-card img{width:110px;height:110px;border-radius:8px;object-fit:cover;flex-shrink:0}
.testimonial-card .quote-ico{color:var(--brand-gold);font-size:28px;margin-bottom:10px;font-family:serif;line-height:1}
.testimonial-card p{font-family:'Playfair Display',serif;font-size:17px;color:var(--brand-navy);margin-bottom:16px;line-height:1.5}
.testimonial-card .name{font-weight:600;font-size:15px}
.testimonial-card .role{color:#888;font-size:13px}

/* Events */
.events{background:var(--brand-cream)}
.event-card{background:#fff;border-radius:8px;padding:14px;box-shadow:0 4px 18px rgba(14,26,58,.06);transition:transform .3s,box-shadow .3s}
.event-card:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(14,26,58,.12)}
.event-img{height:210px;overflow:hidden;border-radius:6px;margin-bottom:18px}
.event-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.event-card:hover .event-img img{transform:scale(1.06)}
.event-card h3{font-family:'Playfair Display',serif;font-size:17px;color:var(--brand-navy);padding:0 6px;margin-bottom:14px;line-height:1.35}
.event-meta{display:flex;gap:16px;padding:0 6px 6px;color:#888;font-size:13px}
.event-meta span{display:inline-flex;align-items:center;gap:5px}

/* CTA */
.cta{background:linear-gradient(135deg,var(--brand-navy) 0%,#1e3363 100%);padding:70px 0;color:#fff}
.cta .container-x{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}
.cta .up{color:var(--brand-gold-light);font-weight:600;text-transform:uppercase;letter-spacing:1.5px;font-size:13px}
.cta h2{font-family:'Playfair Display',serif;font-size:34px;margin:10px 0 8px}
.cta p{color:rgba(255,255,255,.8);max-width:520px}

/* Section titles helper */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:44px}

/* Page Header */
.page-header{background:linear-gradient(135deg,var(--brand-navy) 0%,#1e3363 100%);color:#fff;padding:90px 0 70px;position:relative;overflow:hidden}
.page-header::after{content:"";position:absolute;right:-120px;top:-60px;width:380px;height:380px;border-radius:50%;background:rgba(244,185,2,.08)}
.page-header h1{font-family:'Playfair Display',serif;font-size:44px;font-weight:700;margin-bottom:12px}
.page-header p{color:rgba(255,255,255,.8);max-width:640px;font-size:16px}
.breadcrumb{display:flex;align-items:center;gap:8px;margin-top:16px;font-size:14px;color:rgba(255,255,255,.7)}
.breadcrumb a:hover{color:var(--brand-gold-light)}
.breadcrumb .sep{color:rgba(255,255,255,.4)}
.breadcrumb .current{color:var(--brand-gold-light)}

/* Vision Cards */
.vision-card{background:#fff;padding:32px;border-radius:8px;border-top:4px solid var(--brand-gold);box-shadow:0 4px 14px rgba(14,26,58,.05);transition:box-shadow .3s}
.vision-card:hover{box-shadow:0 14px 30px rgba(14,26,58,.12)}
.vision-card .ico{color:var(--brand-navy);font-size:34px;margin-bottom:14px}
.vision-card h3{font-family:'Playfair Display',serif;font-size:22px;color:var(--brand-navy);margin-bottom:10px}
.vision-card p{color:#666;font-size:14.5px;line-height:1.65}

/* Contact */
.contact-info-card{padding:26px;border-radius:8px;border:1px solid #eee;text-align:center;transition:border-color .3s;background:#fff;box-shadow:0 3px 10px rgba(14,26,58,.04)}
.contact-info-card:hover{border-color:var(--brand-gold)}
.contact-info-card .ico{width:54px;height:54px;border-radius:50%;background:var(--brand-cream);color:var(--brand-navy);display:flex;align-items:center;justify-content:center;margin:0 auto 14px;font-size:22px}
.contact-info-card h4{font-family:'Playfair Display',serif;font-size:17px;color:var(--brand-navy);margin-bottom:6px}
.contact-info-card p{font-size:13.5px;color:#666;line-height:1.5}
.form-input,.form-select,.form-textarea{width:100%;padding:14px 18px;border:1.5px solid #e5e5e5;border-radius:6px;font-size:15px;font-family:inherit;outline:none;transition:border-color .2s;background:#fff}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--brand-gold)}
.form-textarea{resize:vertical;min-height:140px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
#toast{position:fixed;bottom:30px;right:30px;background:var(--brand-navy);color:#fff;padding:16px 22px;border-radius:6px;box-shadow:0 14px 30px rgba(0,0,0,.2);opacity:0;visibility:hidden;transform:translateY(20px);transition:all .3s;z-index:100}
#toast.show{opacity:1;visibility:visible;transform:translateY(0)}

/* Gallery */
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.gallery-item{overflow:hidden;border-radius:8px;aspect-ratio:4/3;cursor:pointer}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.gallery-item:hover img{transform:scale(1.08)}

/* Footer */
footer{background:var(--brand-navy-dark);color:#c9d3ea}
.footer-grid{padding:64px 0;display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:36px}
.footer-grid h4{color:#fff;font-family:'Playfair Display',serif;font-size:19px;margin-bottom:18px}
.footer-grid p{font-size:14px;line-height:1.7;margin-bottom:18px}
.footer-logo{background:#fff;padding:4px;border-radius:4px;width:80px;margin-bottom:14px}
.social-row{display:flex;gap:10px}
.social-row a{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;transition:background .25s,color .25s,border-color .25s}
.social-row a:hover{background:var(--brand-gold);color:var(--brand-navy);border-color:var(--brand-gold)}
.footer-grid ul li{margin-bottom:10px}
.footer-grid ul a{display:flex;align-items:center;gap:8px;font-size:14px;transition:color .2s,padding-left .2s}
.footer-grid ul a:hover{color:var(--brand-gold-light);padding-left:4px}
.footer-contact li{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin-bottom:12px}
.footer-contact li i{color:var(--brand-gold-light);margin-top:2px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:13px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.footer-bottom a:hover{color:var(--brand-gold-light)}
.footer-bottom .links{display:flex;gap:20px}

@media(max-width:991px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .nav-list,.nav-cta{display:none}
  .menu-toggle{display:block}
  .nav-list.mobile-open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px 24px;gap:6px;box-shadow:0 12px 30px rgba(0,0,0,.1);align-items:flex-start;z-index:60}
  .nav-list.mobile-open li{width:100%;border-bottom:1px solid #f0f0f0;padding:6px 0}
  .nav-list.mobile-open .dropdown{position:static;box-shadow:none;border-top:none;padding:6px 0 6px 12px;opacity:1;visibility:visible;transform:none;display:none}
  .nav-list.mobile-open li.open .dropdown{display:block}
  .hero-slide{min-height:520px}
  .testimonial-card{flex-direction:column;text-align:center;padding:26px}
  .form-row{grid-template-columns:1fr}
  .about-badge{position:static;margin-top:20px}
  .why-imgs .col img{height:auto}
}
@media(max-width:576px){
  .footer-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr 1fr}
  section{padding:60px 0}
  .brand-text{display:none}
  .top-links{font-size:12px;gap:12px}
}
