:root {
    --fkip-navy: #0b2447;
    --fkip-blue: #145da0;
    --fkip-gold: #d4a017;
    --fkip-light: #f7f9fc;
    --fkip-ink: #1c2b3a;
    --radius-lg: 18px;
    --radius-md: 12px;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--fkip-ink);
    background: #fff;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--fkip-navy);
}

a { text-decoration: none; }

/* ---------- Topbar & Navbar ---------- */
.topbar { background: var(--fkip-navy); color: #fff; }
.main-navbar { box-shadow: 0 2px 18px rgba(11,36,71,.06); z-index: 1030; padding-top:10px; padding-bottom:10px; transition: box-shadow .3s ease, padding .3s ease, background .3s ease; }
.main-navbar.is-scrolled { box-shadow: 0 8px 28px rgba(11,36,71,.12); padding-top:4px; padding-bottom:4px; background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(8px); }
.brand-logo { width:44px; height:44px; background: linear-gradient(135deg, var(--fkip-navy), var(--fkip-blue)); color:#fff; border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:800; font-family:'Poppins',sans-serif; }
.brand-logo-img { width:36px; height:36px; object-fit:contain; flex-shrink:0; transition: transform .3s ease, width .3s ease, height .3s ease; }
.main-navbar.is-scrolled .brand-logo-img { width:30px; height:30px; }
.navbar-brand:hover .brand-logo-img { transform: scale(1.08) rotate(-3deg); }
.brand-name { font-weight:700; font-size:.92rem; color:var(--fkip-navy); line-height:1.1; transition: font-size .3s ease; }
.brand-tagline { font-size:.68rem; color:var(--fkip-gold); font-weight:600; letter-spacing:.08em; }
.main-navbar .nav-link { font-weight:500; color: var(--fkip-ink); padding: .6rem 1rem !important; font-size:.92rem; position:relative; transition: color .2s ease; }
.main-navbar .nav-link.active, .main-navbar .nav-link:hover { color: var(--fkip-blue); }
.main-navbar .nav-link::after { content:''; position:absolute; left:1rem; right:1rem; bottom:.25rem; height:2px; background: var(--fkip-gold); border-radius:2px; transform: scaleX(0); transform-origin:center; transition: transform .25s ease; }
.main-navbar .nav-link.active::after, .main-navbar .nav-link:hover::after { transform: scaleX(1); }
.nav-actions { margin-left: 10px; }
.lang-switch { font-size:.85rem; font-weight:600; }
.lang-switch a { color:#8a94a3; padding: 0 4px; transition: color .2s ease; }
.lang-switch a.active, .lang-switch a:hover { color: var(--fkip-blue); }
.btn-primary { background: linear-gradient(135deg, var(--fkip-blue), var(--fkip-navy)); border-color: var(--fkip-blue); font-weight:600; border-radius: 8px; transition: transform .2s ease, box-shadow .2s ease, background .3s ease; }
.btn-primary:hover { background: linear-gradient(135deg, var(--fkip-navy), var(--fkip-blue)); border-color: var(--fkip-navy); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(11,36,71,.25); }
.btn-outline-secondary { border-radius:8px; font-weight:600; transition: transform .2s ease; }
.btn-outline-primary { border-radius:8px; font-weight:600; transition: all .2s ease; }
.btn-outline-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20,93,160,.18); }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Hero ---------- */
.hero-section {
    background: linear-gradient(135deg, rgba(11,36,71,.92), rgba(20,93,160,.88)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=1600&q=80') center/cover;
    color: #fff;
    padding: 130px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-section h1 { color:#fff; font-size: 3rem; font-weight:800; }
.hero-section .hero-sub { font-size:1.2rem; color: rgba(255,255,255,.88); max-width: 640px; }
.hero-badge { display:inline-block; background: rgba(212,160,23,.18); border:1px solid var(--fkip-gold); color: var(--fkip-gold); padding: 6px 16px; border-radius: 30px; font-size:.8rem; font-weight:600; letter-spacing:.05em; margin-bottom:18px; }
.hero-actions .btn { border-radius: 10px; padding: 12px 26px; font-weight:600; }
.hero-actions .btn-light { background:#fff; color: var(--fkip-navy); }
.hero-actions .btn-outline-light { border-color: rgba(255,255,255,.5); }

/* ---------- Hero Slider ---------- */
.hero-slider-section { background: #fff; }
#heroCarousel .carousel-item img { width: 100%; height: auto; display: block; aspect-ratio: 1920 / 700; object-fit: cover; }
@media (max-width: 767.98px) {
    #heroCarousel .carousel-item img { object-fit: contain; background: #eef3f9; }
}
#heroCarousel .carousel-control-prev, #heroCarousel .carousel-control-next { width: 6%; opacity: 0; transition: opacity .2s ease; }
.hero-slider-section:hover .carousel-control-prev, .hero-slider-section:hover .carousel-control-next { opacity: .8; }
#heroCarousel .carousel-indicators { margin-bottom: 0.75rem; z-index: 4; }
#heroCarousel .carousel-indicators [data-bs-target] { background-color: var(--fkip-gold); width: 9px; height: 9px; border-radius: 50%; }
.hero-cta-bar { background: var(--fkip-light); border-bottom: 1px solid #eef1f6; }

/* ---------- Hero Caption Overlay (text over slider background) ---------- */
.carousel-item { position: relative; }
.hero-caption {
    position: absolute; left: 0; bottom: 0; width: 100%;
    padding: 40px 6% 56px; z-index: 3;
    background: linear-gradient(to top, rgba(9,24,50,.82) 0%, rgba(9,24,50,.35) 55%, rgba(9,24,50,0) 100%);
    color: #fff;
}
.hero-caption-eyebrow {
    display:inline-block; color: var(--fkip-gold); font-weight:700; font-size:.85rem;
    letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px;
}
.hero-caption h2 {
    font-size: clamp(1.4rem, 3.2vw, 2.6rem); font-weight:800; color:#fff;
    max-width: 720px; line-height:1.25; margin-bottom:12px; text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-caption p {
    max-width: 620px; color: rgba(255,255,255,.9); font-size: 1rem; margin-bottom:0;
}
@media (max-width: 767.98px) {
    .hero-caption { padding: 24px 5% 28px; }
    .hero-caption p { display:none; }
}

/* ---------- Quick Access ---------- */
.quick-access-wrap-flat { padding-top: 46px; }
.quick-access-wrap { margin-top: -55px; position: relative; z-index: 5; }
.qa-card { background:#fff; border-radius: var(--radius-md); padding: 22px 12px; text-align:center; box-shadow: 0 10px 30px rgba(11,36,71,.1); transition: transform .25s ease, box-shadow .25s ease; height:100%; }
.qa-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(11,36,71,.16); }
.qa-icon { width:52px; height:52px; margin:0 auto 12px; background: rgba(20,93,160,.1); color: var(--fkip-blue); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:1.4rem; transition: background .25s ease, color .25s ease, transform .25s ease; }
.qa-card:hover .qa-icon { background: var(--fkip-blue); color:#fff; transform: scale(1.08) rotate(-4deg); }
.qa-label { font-size:.82rem; font-weight:600; color: var(--fkip-ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity:0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity:1; transform:none; transition:none; }
}

/* ---------- Section spacing ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--fkip-light); }
.section-title { font-size: 2rem; margin-bottom: 12px; }
.section-subtitle { color: #6b7688; max-width: 640px; margin: 0 auto; }
.section-header { margin-bottom: 46px; }

/* ---------- About ---------- */
.about-img-wrap { position:relative; border-radius: var(--radius-lg); overflow:hidden; transition: box-shadow .3s ease; }
.about-img-wrap img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.about-img-wrap:hover img { transform: scale(1.06); }
.rector-card { background:#fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: 0 10px 40px rgba(11,36,71,.08); transition: box-shadow .3s ease, transform .3s ease; }
.rector-card:hover { box-shadow: 0 16px 50px rgba(11,36,71,.14); transform: translateY(-3px); }
.rector-photo { width:90px; height:90px; border-radius:50%; object-fit:cover; flex-shrink:0; border:3px solid var(--fkip-light); box-shadow: 0 6px 18px rgba(11,36,71,.15); }
.rector-quote { font-style: italic; color:#4a5568; font-size:1.02rem; line-height:1.8; }

/* ---------- Stats ---------- */
.stats-section { background: linear-gradient(120deg, var(--fkip-navy), #0e3a6b); color:#fff; }
.stat-item { text-align:center; }
.stat-number { font-family:'Poppins',sans-serif; font-weight:800; font-size:2.4rem; color: var(--fkip-gold); }
.stat-caption { font-size:.85rem; color: rgba(255,255,255,.75); }

/* ---------- Program cards ---------- */
.faculty-card { background:#fff; border-radius: var(--radius-lg); overflow:hidden; box-shadow: 0 8px 26px rgba(11,36,71,.08); transition: transform .3s ease, box-shadow .3s ease; height:100%; border:1px solid #eef1f6; }
.faculty-card:hover { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(11,36,71,.16); }
.faculty-card-img { height:170px; background-size:cover; background-position:center; position:relative; overflow:hidden; transition: background-size .5s ease; }
.faculty-card:hover .faculty-card-img { background-size:112%; }
.faculty-card-img::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, rgba(11,36,71,0) 40%, rgba(11,36,71,.45) 100%); }
.faculty-card-body { padding: 22px; }
.faculty-card-body h5 { transition: color .2s ease; }
.faculty-card:hover .faculty-card-body h5 { color: var(--fkip-blue); }
.faculty-badge { position:absolute; top:14px; right:14px; background: var(--fkip-gold); color:#fff; font-size:.72rem; font-weight:700; padding:4px 10px; border-radius:20px; z-index:2; box-shadow: 0 4px 12px rgba(212,160,23,.35); }
.program-pill { display:inline-block; background: var(--fkip-light); color: var(--fkip-blue); font-size:.75rem; font-weight:600; padding:4px 10px; border-radius: 20px; margin: 2px 4px 2px 0; transition: background .2s ease, color .2s ease; }
.program-pill:hover { background: var(--fkip-blue); color:#fff; }

/* ---------- Why FKIP ---------- */
.why-card { padding: 28px 22px; border-radius: var(--radius-md); background:#fff; border:1px solid #eef1f6; height:100%; transition: all .25s ease; }
.why-card:hover { border-color: var(--fkip-blue); box-shadow: 0 12px 30px rgba(11,36,71,.08); transform: translateY(-5px); }
.why-icon { width:54px; height:54px; border-radius:14px; background: linear-gradient(135deg, var(--fkip-blue), var(--fkip-navy)); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:16px; transition: transform .3s ease; }
.why-card:hover .why-icon { transform: scale(1.1) rotate(-5deg); }

/* ---------- News ---------- */
.news-card { background:#fff; border-radius: var(--radius-lg); overflow:hidden; box-shadow: 0 8px 24px rgba(11,36,71,.06); height:100%; border:1px solid #eef1f6; transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(11,36,71,.14); }
.news-card-img { height: 190px; background-size:cover; background-position:center; overflow:hidden; transition: background-size .5s ease; }
.news-card:hover .news-card-img { background-size:112%; }
.news-card-body { padding: 20px; }
.news-card-body h6 { transition: color .2s ease; }
.news-card:hover .news-card-body h6 { color: var(--fkip-blue); }
.news-meta { font-size:.78rem; color:#8a94a3; margin-bottom:8px; }
.news-cat-badge { background: rgba(20,93,160,.1); color: var(--fkip-blue); font-size:.72rem; font-weight:600; padding:3px 10px; border-radius:20px; }

.event-item { display:flex; gap:16px; padding:18px 0; border-bottom:1px solid #eef1f6; }
.event-date-box { flex-shrink:0; width:64px; height:64px; background: var(--fkip-navy); color:#fff; border-radius:12px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.event-date-box .day { font-size:1.3rem; font-weight:800; line-height:1; }
.event-date-box .month { font-size:.68rem; text-transform:uppercase; letter-spacing:.05em; }

/* ---------- Accreditation ---------- */
.accred-badge-card { background:#fff; border-radius: var(--radius-lg); padding: 30px; text-align:center; box-shadow: 0 8px 26px rgba(11,36,71,.08); border-top:4px solid var(--fkip-gold); height:100%; transition: transform .25s ease, box-shadow .25s ease; }
.accred-badge-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,36,71,.14); }
.accred-rank { width:80px; height:80px; border-radius:50%; background: linear-gradient(135deg, var(--fkip-gold), #b8860b); color:#fff; font-size:2rem; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-family:'Poppins',sans-serif; }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(120deg, var(--fkip-blue), var(--fkip-navy)); color:#fff; border-radius: var(--radius-lg); padding: 60px 40px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--fkip-navy); color: rgba(255,255,255,.7); }
.footer-heading { color:#fff; font-size:.95rem; font-weight:700; margin-bottom:16px; }
.footer-links { list-style:none; padding:0; margin:0; font-size:.87rem; }
.footer-links li { margin-bottom:10px; color: rgba(255,255,255,.6); }
.footer-links a { color: rgba(255,255,255,.65); }
.footer-links a:hover { color: var(--fkip-gold); }
.footer-social { width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.1); color:#fff; display:flex; align-items:center; justify-content:center; }
.footer-social:hover { background: var(--fkip-gold); }
.footer-bottom { background: rgba(0,0,0,.2); }
.footer-bottom a { color: rgba(255,255,255,.6); }

/* ---------- Floating buttons ---------- */
.wa-float { position:fixed; bottom:24px; right:24px; width:56px; height:56px; background:#25D366; color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.6rem; box-shadow: 0 6px 20px rgba(37,211,102,.4); z-index:1000; }
.back-to-top { position:fixed; bottom:24px; right:90px; width:44px; height:44px; border-radius:50%; background: var(--fkip-navy); color:#fff; border:none; display:none; align-items:center; justify-content:center; z-index:1000; }
.back-to-top.show { display:flex; }
.cookie-notice { position:fixed; bottom:0; left:0; right:0; background: var(--fkip-navy); color:#fff; z-index:1050; display:none; }
.cookie-notice.show { display:block; }

/* ---------- Breadcrumb / page header ---------- */
.page-header { background: linear-gradient(120deg, var(--fkip-navy), var(--fkip-blue)); color:#fff; padding: 70px 0 40px; }
.page-header h1 { color:#fff; font-size:2.1rem; }
.page-header .breadcrumb { background:none; padding:0; margin:0; }
.page-header .breadcrumb a { color: rgba(255,255,255,.7); }
.page-header .breadcrumb-item.active { color: var(--fkip-gold); }

/* ---------- Generic components ---------- */
.badge-accred { background: var(--fkip-gold); color:#fff; font-weight:700; }
.info-card { background:#fff; border-radius: var(--radius-md); padding: 24px; border:1px solid #eef1f6; height:100%; }
.timeline-item { border-left:3px solid var(--fkip-blue); padding-left:20px; padding-bottom:26px; position:relative; }
.timeline-item::before { content:''; position:absolute; left:-8px; top:2px; width:13px; height:13px; border-radius:50%; background: var(--fkip-gold); }

.form-control, .form-select { border-radius:8px; padding:10px 14px; border-color:#dde3ec; }
.form-control:focus, .form-select:focus { border-color: var(--fkip-blue); box-shadow: 0 0 0 3px rgba(20,93,160,.12); }
.form-label { font-weight:600; font-size:.88rem; color: var(--fkip-navy); }

@media (max-width: 991.98px) {
    .hero-section { padding: 100px 0 80px; }
    .hero-section h1 { font-size:2.1rem; }
    .quick-access-wrap { margin-top:24px; }
}
