/* ─── GLOBAL RESET ─── */

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
} 

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --navy: #0a1f5c; --blue: #1a6fc4; --gold: #e8a020;
    --red: #c0392b; --light: #f4f6fb; --text: #333; --gray: #888;
    --border: #dde4f0;
}
body { font-family: 'Nunito Sans', sans-serif; color: var(--text); background: #fff; }
html {scroll-behavior: smooth;}

/* ─── TOP BAR ─── */
.topbar { background: var(--navy); color: #cdd7f0; font-size: 12px; padding: 6px 0; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #cdd7f0; text-decoration: none; margin-left: 16px; }
.topbar .contact-info { display: flex; align-items: center; gap: 20px; }
.topbar .contact-info span { display: flex; align-items: center; gap: 6px; }
.topbar .social { display: flex; align-items: center; gap: 12px; }
.topbar .social a { font-size: 14px; }

/* ─── NAV ─── */
nav { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.10); position: sticky; top: 0; z-index: 200; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; transition: all 0.1s; }
.nav-links li a { position:relative; display: block; padding: 8px 12px; font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); text-decoration: none; border-radius: 8px;  }
.nav-links li:not(.contact-btn) a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width .3s ease;
}

.nav-links li:not(.contact-btn) a:hover::after,
.nav-links li:not(.contact-btn) a.active::after {
    width: 100%;
}
.nav-links li:not(.contact-btn) a:hover,
.nav-links li:not(.contact-btn) a.active {
    color: var(--blue);
}



.nav-links li.contact-btn a { background: var(--gold); color: #fff; border-radius: 20px; padding: 8px 16px; }
.nav-links li.contact-btn a:active { background: #c68a21 }
section {scroll-margin-top: 74px;}

/* ─── HERO ─── */
.hero { position: relative; height: 540px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; opacity: 1; transition: opacity 0.7s ease-in-out; z-index: 0; }
#hero-bg-a { background-image: url('/assets/images/homepage-images/hero_image_1.webp'); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,31,92,0.65) 0%, rgba(10,31,92,0.25) 100%); z-index: 1;}
.hero-content { position: relative; z-index: 2; padding: 0 80px 70px; }
.hero-content .tag { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.hero-content h1 { font-family: 'Rajdhani', sans-serif; font-size: clamp(42px, 7vw, 72px); font-weight: 700; color: #fff; line-height: 1; text-transform: uppercase; letter-spacing: 2px; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 8px; font-style: italic; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; }
.hero-dots span { width: 13px; height: 13px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.2s; }
.hero-dots span.active { background: var(--gold); }

/* ─── WELCOME ─── */
.welcome { max-width: 1200px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.welcome-left h2 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.welcome-left h3 { font-family: 'Rajdhani', sans-serif; font-size: 28px; font-weight: 700; color: var(--gold); margin-bottom: 24px; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn { width: 100%; background: none; border: none; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Nunito Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--navy); text-align: left; }
.accordion-btn .icon { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; transition: background 0.2s; }
.accordion-btn:hover .icon { background: var(--gold); }
.accordion-body { font-size: 14px; color: black; line-height: 1.7; max-height: 0; overflow: hidden; text-align: justify; transition: max-height 0.35s ease, padding 0.35s; }
.accordion-body.open { max-height: 200px; padding-bottom: 14px; }
.welcome-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.welcome-photos img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; }

/* ─── DESTINATIONS ─── */
.destinations { background: var(--light); padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: 'Rajdhani', sans-serif; font-size: 32px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 2px; }
.section-header p { font-size: 14px; color: var(--gray); margin-top: 6px; }
.dest-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.dest-card { position: relative; border-radius: 10px; overflow: hidden; height: 240px; cursor: pointer; width: 380px;}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.dest-card .overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,31,92,0.85)); padding: 20px; display: flex; align-items: flex-end; }
.dest-card .overlay span { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 3px; text-transform: uppercase; }

/* ─── SERVICES ─── */
.services { padding: 64px 0; background: #fff; }
.services-grid { max-width: 1300px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; border-radius: 10px; overflow: visible; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; background: #fff; }
.service-card .photo { height: 160px; overflow: visible; position: relative; border-radius: 10px 10px 0 0; }
.service-card .photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 10px 10px 0 0; }
.service-card .photo .svc-icon { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.18); z-index: 2; }
.service-card .body {  display: flex; flex-direction: column; flex: 1; padding: 36px 16px 24px; text-align: center; gap:12px; }
.service-card .body h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.service-card .body p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 12px; }
.btn-outline { align-self: center;  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--blue); color: var(--blue); padding: 6px 20px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: all 0.2s; cursor: pointer; background: none; }
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ══════════════════════════════════════════
    INSTITUTION SEARCH
══════════════════════════════════════════ */
.inst-search-bar {
    max-width: 900px; margin: 0 auto 0; padding: 28px 24px 0 100px;
    display: flex; flex-direction: column; gap: 0; align-items: flex-start; width:100%;

}
.inst-search-wrap {
    position: relative; display: flex; align-items: center; width:100%;}

.inst-search-wrap i.search-icon {
    position: absolute; left: 16px; color: var(--gray); font-size: 16px; pointer-events: none; z-index: 2;
}
.inst-search-input {
    width: 100%; padding: 13px 44px 13px 44px;
    border: 2px solid var(--border); border-radius: 10px;
    font-family: 'Nunito Sans', sans-serif; font-size: 14px;
    color: var(--text); background: #fff; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.inst-search-input:focus { border-color: var(--blue); }
.inst-search-input::placeholder { color: var(--gray); }
.inst-search-clear {
    position: absolute; right: 14px; background: none; border: none;
    color: var(--gray); cursor: pointer; font-size: 14px; padding: 4px;
    display: none; align-items: center; justify-content: center;
    border-radius: 50%; width: 24px; height: 24px; transition: background 0.15s;
}
.inst-search-clear:hover { background: var(--border); color: var(--navy); }
.inst-search-clear.visible { display: flex; }

/* Results dropdown */
.inst-search-results {
    background: #fff; border: 1.5px solid var(--border); border-top: none;
    border-radius: 0 0 10px 10px; max-height: 420px; overflow-y: auto;
    box-shadow: 0 8px 32px rgba(10,31,92,0.12); display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 500;
}
.inst-search-results.open { display: block; }
.inst-search-results::-webkit-scrollbar { width: 5px; }
.inst-search-results::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

.search-result-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; border-bottom: 1px solid var(--border);
    cursor: pointer; text-decoration: none; transition: background 0.15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:active { background: var(--light); }

.search-result-thumb {
    width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.search-result-info { flex: 1; min-width: 0; }
.search-result-name {
    font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    color: var(--navy); margin-bottom: 2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-name mark {
    background: rgba(232,160,32,0.25); color: var(--navy);
    border-radius: 2px; padding: 0 2px;
}
.search-result-meta { font-size: 11px; color: var(--gray); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.search-result-region {
    font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    padding: 2px 8px; border-radius: 10px; color: #fff;
}
.search-result-region.Malaysia    { background: var(--blue); }
.search-result-region.China       { background: #d4380d; }
.search-result-region.Middle-East { background: var(--gold); color: #fff; }
.search-result-region.Europe      { background: #027a48; }

.search-result-match { font-size: 11px; color: var(--blue); flex-shrink: 0; font-weight: 600; white-space: nowrap; }
.search-no-results { padding: 32px 16px; text-align: center; color: var(--gray); font-size: 13px; }
.search-no-results i { font-size: 28px; display: block; margin-bottom: 8px; color: var(--border); }

.search-result-count {
    padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
    text-transform: uppercase; color: var(--gray); border-bottom: 1px solid var(--border);
    background: var(--light); position: sticky; top: 0; z-index: 2;
}

/* ── Filter icon + dropdown ── */
.inst-search-filters {
    display: flex; gap: 8px; margin-top: 10px; align-items: center; flex-wrap: wrap;
}
.filter-icon-wrap { position: relative; }
.filter-icon-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 6px 14px 6px 10px; border-radius: 20px;
    border: 1.5px solid var(--border); background: #fff;
    color: var(--navy); cursor: pointer; font-family: 'Nunito Sans', sans-serif;
    font-size: 12px; font-weight: 700; transition: all 0.18s; white-space: nowrap;
}
.filter-icon-btn i.fi-icon { font-size: 14px; color: var(--blue); }
.filter-icon-btn i.fi-caret { font-size: 10px; color: var(--gray); transition: transform 0.2s; }
.filter-icon-btn:hover, .filter-icon-btn.active { border-color: var(--blue);}
.filter-icon-btn.has-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.filter-icon-btn.has-active i { color: #fff !important; }
.filter-icon-btn.open i.fi-caret { transform: rotate(180deg); }

.filter-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 600;
    background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
    box-shadow: 0 8px 32px rgba(10,31,92,0.14); padding: 8px;
    min-width: 180px; animation: fdropIn 0.18s ease;
}
.filter-dropdown.open { display: block; }
@keyframes fdropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }

.filter-dropdown-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 8px 8px; border-bottom: 1px solid var(--border); margin-bottom: 6px;
}
.filter-dropdown-header span { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); }
.filter-clear-all { font-size: 10px; font-weight: 700; color: var(--blue); cursor: pointer; border: none; background: none; padding: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-clear-all:active { text-decoration: underline; }

.filter-option {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px;
    border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600;
    color: var(--navy); transition: background 0.15s; user-select: none;
}
.filter-option:active { background: var(--light); }
.filter-option .fo-check {
    width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: all 0.15s; background: #fff;
}
.filter-option.selected .fo-check { background: var(--navy); border-color: var(--navy); }
.filter-option.selected .fo-check::after { content: ''; display: block; width: 5px; height: 9px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translate(-1px,-1px); }
.filter-option .fo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.fo-dot-malaysia { background: var(--blue); }
.fo-dot-china { background: #d4380d; }
.fo-dot-me { background: var(--gold); }
.fo-dot-europe { background: #027a48; }

.filter-active-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filter-tag {
    display: flex; align-items: center; gap: 5px;
    padding: 3px 10px 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700;
    background: var(--navy); color: #fff; cursor: pointer; transition: background 0.15s;
}
.filter-tag:hover { background: var(--red); }
.filter-tag i { font-size: 8px; }

/* ══════════════════════════════════════════
    INSTITUTIONS SECTION
══════════════════════════════════════════ */
.institutions { background: var(--light); padding: 0; }
.institutions-hero {
    position: relative; height: 270px;
    background: url('/assets/images/homepage-images/institution-head.webp') center 40%/cover no-repeat;
    display: flex; align-items: flex-end;
}
.institutions-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient( to top, rgba(0,0,0,0.55), rgba(0,0,0,0.18),rgba(0,0,0,0.08));}
.institutions-hero h2 {
    position: relative; z-index: 2; padding: 0 48px 10px;
    font-family: 'Rajdhani', sans-serif; font-size: 45px; font-weight: 900;
    color: #fff; text-transform: uppercase; letter-spacing: 3px;
    text-rendering: geometricPrecision;
    text-shadow: 0 1px 0 rgba(255,255,255,0.15), 0 2px 4px rgba(0,0,0,0.12);
    border-radius: 4px;
}

.inst-content { max-width: 1200px; margin: 0 auto; padding: 56px 24px; display: flex; flex-direction: column; gap: 50px; }

/* ── Region row ── */
.inst-region { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }

.inst-region .region-photo { border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.inst-region .region-photo img { width: 100%; height: 160px; object-fit: cover; display: block; }
.inst-region .region-photo .region-label {
    background: var(--navy); color: #fff; font-family: 'Rajdhani', sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-align: center; padding: 8px;
}

.inst-region-right { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* ── Strip with edge arrows ── */
.inst-strip-outer {
    position: relative; min-width: 0;
    display: flex; align-items: center; gap: 0;
}

/* edge arrow buttons on the strip */
.strip-edge-btn {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--border);
    color: var(--navy); font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    flex: 0 0 36px;
}

.strip-edge-btn:active { background: var(--navy); color: white;}

/* fade edges on scroll area */
.inst-strip-fade {
    flex: 1; min-width: 0; position: relative; overflow: hidden;
}
.inst-strip-fade::before,
.inst-strip-fade::after {
    content: ''; position: absolute; top: 0; bottom: 16px; width: 28px;
    z-index: 2; pointer-events: none;
}
.inst-strip-fade::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
.inst-strip-fade::after  { right: 0; background: linear-gradient(to left, var(--light), transparent); }

/* The scrollable row */
.inst-strip {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch;
    gap: 14px; overflow-x: auto; overflow-y: visible;
    padding: 8px 4px 16px; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    
}
.inst-strip::-webkit-scrollbar { display: none; }

/* Portrait card */
.uni-scroll-card {
    flex: 0 0 190px; border-radius: 12px; overflow: hidden;
    position: relative; height: 280px;
    text-decoration: none; display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--navy);
}
.uni-scroll-card:active { transform: translateY(-6px); box-shadow: 0 9px 8px rgba(10,31,92,0.22); }
.uni-scroll-card.hidden { display: none; }

.uni-scroll-card .usc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.45s ease; }
.uni-scroll-card:active .usc-img { transform: scale(1.07); }
.uni-scroll-card .usc-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,31,92,0.93) 0%, rgba(10,31,92,0.45) 55%, rgba(10,31,92,0.06) 100%);
}
.uni-scroll-card .usc-logo {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    width: 38px; height: 38px; border-radius: 8px;
    background: rgba(255,255,255,0.93);
    display: flex; align-items: center; justify-content: center;
    padding: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.22); overflow: hidden;
}
.uni-scroll-card .usc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.uni-scroll-card .usc-logo .usc-flag { font-size: 22px; line-height: 1; }
.uni-scroll-card .usc-rank {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    background: var(--gold); color: #fff;
    font-family: 'Rajdhani', sans-serif; font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.3px; padding: 2px 7px; border-radius: 20px;
    white-space: nowrap; max-width: 100px; overflow: hidden; text-overflow: ellipsis;
}
.uni-scroll-card .usc-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 10px 10px 32px; }
.uni-scroll-card .usc-city { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.uni-scroll-card .usc-name { font-family: 'Rajdhani', sans-serif; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.2; }
.uni-scroll-card .usc-arrow {
    position: absolute; bottom: 10px; right: 10px; z-index: 3;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.28);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 9px; transition: background 0.2s, transform 0.2s;
}
.uni-scroll-card:active .usc-arrow { background: var(--gold); transform: translateX(3px); }

/* ─── NEWS & EVENTS ─── */
.news-events { padding: 0; }
.news-hero { position: relative; height: 170px; background: url('/assets/images/homepage-images/news-head.webp') center/cover; display: flex; align-items: flex-end; }
.news-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,92,0.75), transparent); }
.news-hero h2 { position: relative; z-index: 2; padding: 0 48px 24px; font-family: 'Rajdhani', sans-serif; font-size: 40px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 3px; }
.news-body { max-width: 1200px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.corporate-video { background: var(--light); border-radius: 10px; padding: 28px; text-align: center; }
.corp-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.corp-logo-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.corp-video-label { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.corp-divider { display: flex; gap: 4px; justify-content: center; margin-bottom: 20px; }
.corp-divider span { display: block; height: 3px; background: var(--navy); border-radius: 2px; }
.corp-divider span:first-child { width: 40px; } .corp-divider span:last-child { width: 12px; }
.video-placeholder { border-radius: 8px; overflow: hidden; position: relative; background: #dde4f0; height: 140px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.play-btn { position: absolute; width: 48px; height: 48px; background: rgba(255,255,255,0.9); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); font-size: 20px; }
.corp-meta { font-size: 12px; color: var(--gray); margin-top: 10px; }
.news-col h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--blue); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.news-featured { border-radius: 8px; overflow: hidden; position: relative; height: 180px; margin-bottom: 12px; cursor: pointer; }
.news-featured img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-featured .news-overlay { backdrop-filter: blur(1.5px); position: absolute; inset: 0; background:linear-gradient(to top,rgba(10,31,92,0.88) 0%,rgba(10,31,92,0.45) 45%,rgba(10,31,92,0.15) 100%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 24px; text-align: left;}
.news-featured .news-overlay .news-cat { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.news-featured .news-overlay p { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: #fff; text-align: left; line-height: 1; margin-bottom: 10px; max-width: 75%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;     text-overflow: ellipsis;}
.news-featured .news-overlay .news-date { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 10px; }
.btn-red {margin-top: auto; display: inline-block; background: transparent; color: #fff; border: 1px solid #fff; padding: 5px 16px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; text-decoration: none; transition: all .5s ease;}
.btn-red:active {color: #001F3F; background-color: #fff;}
.news-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.news-thumb-card { border-radius: 6px; overflow: hidden; position: relative; height: 110px; cursor: pointer; }
.news-thumb-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; display: block; }
.news-thumb-card .t-overlay { backdrop-filter: blur(1.5px); position: absolute; inset: 0; background:linear-gradient(to top,rgba(7,18,45,0.9),rgba(7,18,45,0.35));display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 14px; gap: 10px;}
.news-thumb-card .t-overlay p { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 700; color: #fff; text-align: left; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.btn-red-sm { transition: all .5s ease; font-size: 12px; font-weight: 700; color: #fff; border: 1px solid #fff; padding: 5px 10px; text-transform: uppercase; background: transparent; cursor: pointer; border-radius: 3px; text-decoration: none; display: inline-block;    margin-top: auto;}
.btn-red-sm:active{color: #001F3F; background-color: #fff;}
.news-show-more { display: none; margin-top: 10px; }
.news-show-more.has-extra { display: block; }
.news-extra-grid { display: none; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.news-extra-grid.open { display: grid; }
.btn-news-toggle { width: 100%; background: none; border: 1.5px solid var(--border); color: var(--gray); padding: 8px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.btn-news-toggle:active {color: var(--blue); }
.no-news { text-align: center; padding: 32px 16px; color: var(--gray); }
.no-news i { font-size: 32px; color: var(--border); margin-bottom: 10px; display: block; }
.events-col h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.event-card { display: flex; flex-direction: column; height: 100%;border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.event-card .event-img { height: 80px; overflow: hidden; }
.event-card .event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-card .event-body { padding: 30px; display: flex; flex-direction: column; flex: 1;}
.event-card .event-body h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.event-card .event-body p { font-size: 12px; color: var(--gray); line-height: 1.5; margin-bottom: 10px; }
.event-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.event-meta span { font-size: 10px; color: var(--gray); display: flex; align-items: flex-start; gap: 6px; }
.event-meta span i { color: var(--blue); margin-top: 2px; }
.event-card .btn-primary {margin-top: auto;}
.btn-primary { display: block; text-align: center; background: var(--blue); color: #fff; padding: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background 0.2s; }
.btn-primary:active { background: var(--navy); }
.no-events { grid-column: 1/-1; text-align: center; padding: 40px 20px; color: var(--gray); }
.no-events i { font-size: 40px; color: var(--border); margin-bottom: 12px; display: block; }
.no-events p { font-size: 15px; line-height: 1.6; }
.no-events p a{text-decoration: none;}
.no-events p a:active{text-decoration: underline;}
/* ─── MAILING ─── */
.mailing { background: var(--light); padding: 48px 24px; }
.mailing-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mailing-left h3 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.mailing-left p { font-size: 13px; color: var(--gray); line-height: 1.6; }
.mailing-left .freq { display: flex; align-items: center; gap: 16px; margin-top: 12px; font-size: 13px; }
.mailing-left .freq label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.mailing-right { display: flex; flex-direction: column; gap: 10px; }
.mailing-right input { border: 1px solid #ccd4e8; padding: 10px 14px; border-radius: 4px; font-size: 13px; font-family: 'Nunito Sans', sans-serif; width: 100%; outline: none; }
.mailing-right input:focus { border-color: var(--blue); }
.btn-join { background: var(--navy); color: #fff; border: none; padding: 11px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; border-radius: 4px; cursor: pointer; transition: background 0.2s; }
.btn-join:active { background: var(--blue); }
.mailing-field { display: flex; flex-direction: column; gap: 4px; }
.field-error { font-size: 11px; color: var(--red); min-height: 14px; padding-left: 2px; }
.mailing-right input.input-error { border-color: var(--red); }
.mailing-right input.input-valid { border-color: #27ae60; }


/* ─── PARTNERS ─── */
.partners { padding: 56px 0; background: transparent; }
.partners-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.partners h2 { font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; color: var(--blue); text-align: center; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 36px; }
.partners-logos { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-logo { width: clamp(90px, 12vw, 160px);
    height: auto; background: transparent; border: none; 
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    text-align: center; padding: 10px; gap:10px; transition: transform 0.2s ease, opacity 0.2s ease; }
.partner-logo img {width: 100%; height: clamp(50px, 6vw, 70px); object-fit: contain; } 
.partner-subtitle { font-size: clamp(9px, 1.2vw, 13px); color: #666; margin: 0; text-align: center; 
    line-height: 1.3; height: 18px; display: flex; align-items: center; justify-content: center; transition: color 0.2s ease;}

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--light); padding: 56px 0; }
.testimonials h2 { font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; color: var(--blue); text-align: center; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }
.testimonials-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: relative; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; border: 1px solid transparent; }
.testi-card::before { content: '\201C'; font-size: 60px; color: var(--blue); opacity: 0.12; position: absolute; top: 10px; left: 18px; line-height: 1; font-family: Georgia, serif; }
.testi-card p { font-size: 13px; color: var(--text); line-height: 1.7; margin-bottom: 20px; position: relative; flex-grow: 1; text-align: justify; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testi-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; transition: transform 0.3s ease; }
.testi-author .info strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.testi-author .info span { font-size: 11px; color: var(--blue); }

/* ─── GALLERY ─── */
.gallery { padding: 56px 0; background: #fff; }
.gallery h2 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--blue); text-align: center; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 24px; }
.gallery-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 180px); gap: 20px; }
.gallery-grid .g-item { border-radius: 4px; overflow: hidden; background: #dde4f0; }
.gallery-grid .g-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }

/* ── LEGAL MODAL ── */
.footer-legal-links { display: flex; align-items: center; gap: 10px; }
.footer-legal-links a { color: rgba(255,255,255,0.5); font-size: 12px; text-decoration: none; transition: color 0.2s; }
.footer-legal-links a:hover { color: #fff; }
.footer-legal-divider { color: rgba(255,255,255,0.3); font-size: 12px; }

.legal-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1100;
    background: rgba(10,31,92,0.6); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 24px;
}
.legal-modal-overlay.open { display: flex; }
.legal-modal-box {
    background: #fff; border-radius: 16px; width: 100%; max-width: 620px;
    max-height: 85vh; display: flex; flex-direction: column;
    box-shadow: 0 24px 64px rgba(10,31,92,0.25);
    animation: modalIn 0.25s ease; overflow: hidden;
}
.legal-modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 20px; background: var(--navy); flex-shrink: 0;
}
.legal-tab-bar { display: flex; gap: 0; }
.legal-tab {
    background: none; border: none; color: rgba(255,255,255,0.55);
    font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; padding: 18px 20px;
    cursor: pointer; border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.legal-tab:hover { color: rgba(255,255,255,0.85); }
.legal-tab.active { color: #fff; border-bottom-color: var(--gold); }
.legal-modal-close {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: none; color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: background 0.2s; flex-shrink: 0;
}
.legal-modal-close:hover { background: rgba(255,255,255,0.25); }

.legal-content {
    padding: 28px 32px 32px; overflow-y: auto; flex: 1;
    scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.legal-content::-webkit-scrollbar { width: 4px; }
.legal-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.legal-effective {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; color: var(--blue);
    background: #e8f0fb; padding: 4px 12px; border-radius: 20px;
    margin-bottom: 14px;
}
.legal-intro {
    font-size: 13.5px; color: var(--gray); line-height: 1.7;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.legal-section { margin-bottom: 20px; }
.legal-section h3 {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
    color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.legal-num {
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.legal-section p { font-size: 13px; color: #444; line-height: 1.75; }
.legal-contact-box {
    display: flex; align-items: center; gap: 12px;
    background: #f4f6fb; border-radius: 8px; padding: 14px 18px;
    margin-top: 24px; font-size: 13px; color: var(--gray);
    border: 1px solid var(--border);
}
.legal-contact-box i { color: var(--blue); font-size: 16px; flex-shrink: 0; }
.legal-contact-box a { color: var(--blue); text-decoration: none; font-weight: 600; }
.legal-contact-box a:active { text-decoration: underline; }


/* ─── FOOTER ─── */
footer { background: #f0f3fa; border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.footer-col h4 { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.footer-col p, .footer-col address { font-size: 13px; color: black; line-height: 1.7; font-style: normal; }
.footer-col a { color: var(--blue); text-decoration: none; }
.footer-col h4:not(:first-child) {margin-top: 28px;}
.footer-bottom { background: var(--navy); color: rgba(255,255,255,0.5); font-size: 12px; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 32px; height: 32px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; text-decoration: none; transition: background 0.2s; }
.social-links a:active { background: rgba(0,0,128,0.9); }

/* ─── HAMBURGER ─── */
.hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--navy); padding: 4px; line-height: 1; }

/* Mobile nav drawer */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(10,31,92,0.45); backdrop-filter: blur(2px); }
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer { position: fixed; top: 0; right: -100%; width: min(300px,85vw); height: 100%; background: #fff; z-index: 400; display: flex; flex-direction: column; box-shadow: -8px 0 40px rgba(10,31,92,0.18); transition: right 0.32s cubic-bezier(0.4,0,0.2,1); }
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mobile-nav-close { width: 36px; height: 36px; border-radius: 50%; background: transparent; border-color: black; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 17px; color: black;}
.mobile-nav-links { list-style: none; padding: 12px 0; flex: 1; overflow-y: auto; }
.mobile-nav-links li a { display: flex; align-items: center; gap: 12px; padding: 14px 24px; font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--navy); text-decoration: none; border-left: 3px solid transparent; transition: all 0.18s; }
.mobile-nav-links li a:hover { background: var(--light); border-left-color: var(--blue); color: var(--blue); }
.mobile-nav-links li a i { font-size: 20px; color: var(--blue); width: 18px; text-align: center; }
.mobile-nav-links li.contact-btn a { margin: 12px 20px 4px; padding: 12px 20px; background: var(--gold); color: #fff; border-radius: 8px; border-left: none; justify-content: center; }
.mobile-nav-links li.contact-btn a i { color: #fff; }
.mobile-nav-footer { padding: 16px 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--gray); }
.mobile-nav-footer a { color: var(--blue); text-decoration: none; margin-left: 4px; }

/* ── SERVICE MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(10,31,92,0.55); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 16px; max-width: 500px; height: 550px; width: 100%; position: relative; overflow: hidden; box-shadow: 0 24px 64px rgba(10,31,92,0.25); animation: modalIn 0.2s ease; }
@keyframes modalIn {  
    0% { transform: translateY(16px) scale(0.96); opacity: 0; filter: blur(6px);}
    70% {filter: blur(0px);}
    100% {transform: translateY(0) scale(1);opacity: 1;filter: blur(0px); } 
}
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--light); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--navy); transition: background 0.2s; z-index: 2; }
.modal-close:hover { background: var(--border); }
.modal-img { height: 180px; overflow: hidden; border-radius: 16px 16px 0 0; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px 28px 32px; overflow-y: auto;height: calc(550px - 180px);}
.modal-icon-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.modal-icon-circle { width: 48px; height: 48px; background: var(--blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; flex-shrink: 0; }
.modal-icon-row h2 { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); text-transform: uppercase; }
.modal-body p { font-size: 13.5px; color: var(--gray); line-height: 1.75; margin-bottom: 18px; text-align: justify; }
.modal-steps { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.modal-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--text); text-align: justify;}
.step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.modal-cta { display: inline-block; text-align: center; background: var(--gold); color: #fff; padding: 12px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }
.modal-cta:hover { background: #c07d10; }

/* ── COOKIE BAR ── */
.cookie-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1050;
    background: var(--navy); padding: 14px 24px;
    box-shadow: 0 -4px 24px rgba(10,31,92,0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px;
    flex-wrap: wrap; justify-content: space-between;
}
.cookie-text {
    display: flex; align-items: center; gap: 12px;
    font-size: 13px; color: rgba(255,255,255,0.85); flex: 1; min-width: 260px;
}
.cookie-text i { color: var(--gold); font-size: 18px; flex-shrink: 0; }
.cookie-text a { color: var(--gold); text-decoration: none; font-weight: 600; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-accept {
    background: var(--gold); color: #fff; border: none;
    padding: 9px 22px; border-radius: 6px; font-size: 12px;
    font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    cursor: pointer; transition: background 0.2s; font-family: 'Nunito Sans', sans-serif;
}
.cookie-btn-accept:hover { background: #c07d10; }
.cookie-btn-decline {
    background: transparent; color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 9px 16px; border-radius: 6px; font-size: 12px;
    font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    cursor: pointer; transition: all 0.2s; font-family: 'Nunito Sans', sans-serif;
}
.cookie-btn-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ── WHATSAPP ── */
.whatsapp-fab { position: fixed; bottom: 28px; right: 28px; z-index: 900; width: 70px; height: 70px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 40px; text-decoration: none; box-shadow: 0 6px 20px rgba(37,211,102,0.45); transition: transform 0.2s, box-shadow 0.2s; animation: whatsappPulse 2.2s infinite;}
.whatsapp-fab:hover { transform: scale(2); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
.whatsapp-fab .fab-tooltip { position: absolute; right: 73px; top: 50%; transform: translateY(-50%); background: #25D366; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 6px 12px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.whatsapp-fab:hover .fab-tooltip { opacity: 1; }
@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 16px rgba(37,211,102,0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }
}




/* ─── RESPONSIVE ─── */

/* =========================
   1200px
========================= */
@media (max-width: 1200px) {

    .topbar .contact-info span:first-child { display: none; }

    .hero { height: 520px; }
    .hero-content { padding: 0 24px 56px; }
    .hero-content h1 { font-size: 56px; }
    .hero-content p { font-size: 18px; }

    .section-header h2,
    .institutions-hero h2,
    .news-hero h2,
    .partners h2,
    .testimonials h2 { font-size: 38px; }

    .section-header p { font-size: 20px; }

    .welcome {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 24px;
    }

    .welcome-photos { grid-template-columns: 1fr 1fr; }

    .dest-grid { grid-template-columns: 1fr; gap: 12px; }
    .dest-card { height: 220px; }
    .dest-card .overlay span { font-size: 28px; }

    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .service-card .photo { height: 190px; }
    .service-card .body h3 { font-size: 20px; }
    .service-card .body p { font-size: 15px; }

    .uni-scroll-card { flex: 0 0 240px; height: 340px; }
    .uni-scroll-card .usc-name { font-size: 18px; }

    .inst-region { grid-template-columns: 1fr; gap: 16px; }
    .inst-region .region-photo { width: 100%; max-width: 700px; margin: 0 auto; }
    .inst-region .region-photo img { height: 240px; }
    .inst-content { gap: 36px; padding: 36px 24px; }

    .news-body { grid-template-columns: 1fr; gap: 32px; }
    .news-featured { height: 260px; }
    .news-featured .news-overlay p { font-size: 30px; }

    .news-thumb-card { height: 160px; }
    .news-thumb-card .t-overlay p { font-size: 28px; }
    .news-featured .news-overlay p {
        -webkit-line-clamp: 3;
    }
    .events-grid { grid-template-columns: 1fr 1fr; }

    .institutions-hero h2,
    .news-hero h2 {
        padding: 0 24px 20px;
        font-size: 30px;
    }

    .mailing-inner { grid-template-columns: 1fr; gap: 24px; }

    .partners-logos { gap: 20px; }
    .partner-logo {
        width: 130px;
        height: 95px;
        padding: 8px;
    }
    .partner-subtitle { font-size: 10px; }

    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testi-card { padding: 27px; }
    .testi-card p { font-size: 15px; }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(5, 180px);
    }

    .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 14px 20px;
    }

    .footer-col p,
    .footer-col address { font-size: 15px; max-width: 300px;}

}


/* =========================
   968px
========================= */
@media (max-width: 968px) {

    .hamburger { display: block; }
    .nav-links { display: none; }

    .news-thumb-card .t-overlay p { font-size: 23px; }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(7, 180px);
    }
}


/* =========================
   768px
========================= */
@media (max-width: 768px) {

    .news-body { grid-template-columns: 1fr; gap: 24px; }
    .inst-search-bar { padding: 20px 24px 0; }

    .partners-logos { gap: 20px; }
    .partner-logo { width: 110px; height: auto; }
}


/* =========================
   600px
========================= */
@media (max-width: 600px) {

    .topbar { display: none; }

    .hero { height: 360px; }
    .hero-content { padding: 0 20px 48px; }
    .hero-content h1 { font-size: 36px; letter-spacing: 1px; }
    .hero-content p { font-size: 13px; }

    .hero-dots span{width: 10px; height: 10px;}

    .welcome { padding: 32px 16px; }
    .welcome-left h3 { font-size: 26px; }
    .welcome-photos { grid-template-columns: 1fr 1fr; }
    .welcome-photos img { height: 140px; }

    .destinations { padding: 40px 0; }
    .dest-grid { padding: 0 16px; grid-template-columns: 1fr; }

    .dest-card { height: 220px; }
    .services { margin-bottom: 40px; }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 40px;
    }

    .inst-content { padding: 24px 14px; gap: 28px; }
    .inst-search-bar { width: 100%; padding: 16px 0 0; }
    .inst-search-filters { gap: 6px; }

    .partner-subtitle { display: none; }

    .strip-edge-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
        flex: 0 0 28px;
    }

    .uni-scroll-card { flex: 0 0 150px; height: 220px; }
    .uni-scroll-card .usc-logo { top: 38px; }

    .news-body { padding: 40px 26px; }

    .news-thumbs {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 2px 2px 6px 0;
    }
     .news-featured .news-overlay p {
        -webkit-line-clamp: 3;
    }
    .news-thumbs::-webkit-scrollbar { display: none; }

    .news-thumb-card {
        flex: 0 0 78%;
        min-width: 78%;
        height: 190px;
        scroll-snap-align: start;
    }

    .news-thumb-card .t-overlay {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 6px;
        padding: 14px;
    }

    .news-thumb-card .t-overlay p { font-size: 22px; }

    /* BUTTONS (mobile scaling) */
    .btn-red,
    .btn-red-sm,
    .btn-primary {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 8px;
    }

    .btn-red-sm {
        margin-top: auto;
        margin-bottom: 15px;
    }

    .events-grid { grid-template-columns: 1fr; }

    .mailing { padding: 36px 16px; }
    .mailing-left .freq {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .partners { padding: 36px 0; }
    .partners-logos { gap: 14px; }
    .partner-logo { width: 90px; height: 75px; }

    .testimonials { padding: 36px 0; }
    .testimonials-grid { padding: 0 16px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(10, 160px);
        padding: 0 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        padding: 0 30px 24px;
    }

    .footer-bottom {
        font-size: 11px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 14px 16px;
    }

    .whatsapp-fab {
        bottom: 20px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .cookie-bar { padding: 14px 16px; }
    .cookie-bar-inner { gap: 14px; }
    .cookie-text { font-size: 12px; }
    .cookie-actions { width: 100%; justify-content: flex-end; }

    .filter-dropdown { left: 0; min-width: 160px; }

    .institutions-hero { height: 250px; }
    .institutions-hero h2 {
        font-size: 26px;
        padding: 0 16px 14px;
    }
}


/* =========================
   380px
========================= */
@media (max-width: 380px) {

    .hero-content h1 { font-size: 30px; }

    .uni-scroll-card { flex: 0 0 135px; height: 200px; }

    .strip-edge-btn { display: none; }

    .partners h2 {
        font-size: 22px;
        letter-spacing: 1px;
        margin-bottom: 24px;
    }

    .partners-logos { gap: 16px 12px; }

    .partner-logo {
        width: 78px;
        height: 68px;
        padding: 6px;
    }

    .partner-logo img { max-height: 50px; }

    .news-featured .news-overlay p { font-size: 28px; }
}

@media (hover: hover) and (pointer: fine) {
    .nav-links li a.hover::after {
        width: 100%;
    }

    .nav-links li a.hover {
        color: var(--blue);
    }
    .partner-logo:hover { transform: translateY(-3px) scale(1.05); }
    .service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.14);}
    .nav-links li.contact-btn a:hover { background: #c68a21; }
    .dest-card:hover img { transform: scale(1.06); }
    .uni-scroll-card:hover { transform: translateY(-6px); box-shadow: 0 9px 8px rgba(10,31,92,0.22); }
    .uni-scroll-card:hover .usc-img { transform: scale(1.07); }
    .uni-scroll-card:hover .usc-arrow { background: var(--gold); transform: translateX(3px); }
    .news-featured:hover img { transform: scale(1.04); }
    .news-thumb-card:hover img { transform: scale(1.06); }
    .testi-card:hover { transform: translateY(-6px); box-shadow: rgba(0,0,0,0.35) 0px 5px 15px; border-color: rgba(0,70,160,0.08); }
    .testi-card:hover .testi-author img { transform: scale(1.08); }
    .btn-outline:hover { background: var(--blue); color: #fff; }
    .btn-join:hover { background: var(--blue); }
    .btn-primary:hover { background: var(--navy); }
    .btn-red:hover { color: #001F3F; background-color: #fff; }
    .btn-red-sm:hover { color: #001F3F; background-color: #fff; }
    .btn-news-toggle:hover { color: var(--blue); }
    .no-events p a:hover{text-decoration: underline;}
    .filter-tag:hover { background: var(--red); }
    .strip-edge-btn:hover{background-color: rgba(172, 172, 172, 0.212);}
    .strip-edge-btn:active { background: var(--navy); color: white;}
    .search-result-item:hover { background: var(--light); }
    .inst-search-clear:hover { background: var(--border); color: var(--navy); }
    .filter-clear-all:hover { text-decoration: underline; }
    .social-links a:hover { background: rgba(0,0,128,0.9); }
    .accordion-btn:hover .icon { background: var(--gold); }
    .modal-close:hover { background: var(--border); }
    .modal-cta:hover { background: #c07d10; }
    .social-links a:hover { background: rgba(0,0,128,0.9); }
    .whatsapp-fab:hover { transform: scale(2); box-shadow: 0 8px 28px rgba(37,211,102,0.6); }
    .legal-contact-box a:hover { text-decoration: underline; }
    .cookie-btn-accept:hover { background: #c07d10; }
    .cookie-btn-decline:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
    .cookie-text a:hover { text-decoration: underline; }
    .footer-legal-links a:hover { color: #fff; }
    .partner-logo:hover .partner-subtitle { color: #444; }
}