/* ============================================================
   SHINE VILLAGE INTERNATIONAL ACADEMY — style.css
   Blue: #1565C0 | Green: #2E7D32 | Orange: #F57C00
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ══════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════ */
:root {
  --blue:        #1565C0;
  --blue-dark:   #0D47A1;
  --blue-light:  #1976D2;
  --green:       #2E7D32;
  --green-light: #388E3C;
  --orange:      #F57C00;
  --orange-light:#FF9800;
  --red:         #C62828;
  --white:       #FFFFFF;
  --off-white:   #F5F7FF;
  --light-gray:  #EEF1F8;
  --mid-gray:    #8A93A8;
  --dark-gray:   #3D4460;
  --text:        #1A1F36;
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-sm:   0 2px 8px rgba(21,101,192,0.08);
  --shadow-md:   0 6px 24px rgba(21,101,192,0.13);
  --shadow-lg:   0 16px 48px rgba(21,101,192,0.18);
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; padding-top: 100px; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; transition: var(--transition); }
ul    { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--blue-dark); line-height: 1.2; font-weight: 700; }

/* ══════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════ */
.section-eyebrow  { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 0.5rem; }
.section-title    { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--blue-dark); font-weight: 700; margin-bottom: 0.8rem; }
.section-subtitle { font-size: 0.95rem; color: var(--mid-gray); max-width: 560px; margin: 0 auto 3rem; }
.lead             { font-size: 1.05rem; line-height: 1.75; color: var(--dark-gray); }
.section-pad      { padding: 80px 0; }
.section-pad-sm   { padding: 48px 0; }
.section-bg-light { background: var(--off-white); }
.divider-orange        { display: block; width: 48px; height: 3px; background: linear-gradient(90deg,var(--orange),var(--orange-light)); border-radius: 2px; margin: 1rem 0; }
.divider-orange.center { margin: 1rem auto; }
.text-orange { color: var(--orange) !important; }
.text-blue   { color: var(--blue)   !important; }
.text-green  { color: var(--green)  !important; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn-orange        { background: var(--orange); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.8rem; border-radius: var(--radius); border: 2px solid var(--orange); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-orange:hover  { background: #E65100; border-color: #E65100; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(245,124,0,0.35); }
.btn-blue          { background: var(--blue); color: #fff; font-weight: 700; font-size: 0.9rem; padding: 0.75rem 1.8rem; border-radius: var(--radius); border: 2px solid var(--blue); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-blue:hover    { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-white       { background: transparent; color: #fff; font-weight: 600; font-size: 0.9rem; padding: 0.75rem 1.8rem; border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.65); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.btn-outline-blue        { background: transparent; color: var(--blue); font-weight: 600; font-size: 0.9rem; padding: 0.65rem 1.4rem; border-radius: var(--radius); border: 2px solid var(--blue); transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-blue:hover  { background: var(--blue); color: #fff; }

/* ══════════════════════════════════════
   TOP BAR
══════════════════════════════════════ */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1031;
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--orange);
}
.top-bar a              { color: rgba(255,255,255,0.75); }
.top-bar a:hover        { color: var(--orange-light); }
.top-bar i              { color: var(--orange-light); margin-right: 4px; }
.top-bar-contact span   { margin-right: 1.2rem; }
.top-bar-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 4px;
  margin-left: 5px; font-size: 0.72rem; color: rgba(255,255,255,0.7);
}
.top-bar-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.topbar-iso             { border-left: 1px solid rgba(255,255,255,0.2); padding-left: 0.75rem; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.main-navbar {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: var(--transition);
  border-bottom: 3px solid var(--orange);
}
.main-navbar.scrolled { box-shadow: var(--shadow-lg); }

/* Brand */
.navbar-brand-wrap { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.brand-logo-img    { height: 52px; width: auto; }
.brand-text-name {
  font-family: var(--font-display);
  font-size: 0.88rem; font-weight: 800; line-height: 1.1;
  background: linear-gradient(90deg,var(--blue) 40%,var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  white-space: nowrap;
}
.brand-text-sub { font-size: 0.6rem; color: var(--orange); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }

/* Nav links — desktop */
.main-navbar .nav-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text) !important;
  padding: 1.1rem 0.45rem;
  position: relative;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-navbar .nav-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 0.45rem; right: 0.45rem;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after { transform: scaleX(1); }
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active        { color: var(--blue) !important; }

/* Apply Now */
.btn-nav-admit {
  background: var(--orange) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 0.44rem 0.9rem !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  margin-left: 0.4rem !important;
  white-space: nowrap !important;
}
.btn-nav-admit:hover  { background: #E65100 !important; }
.btn-nav-admit::after { display: none !important; }

/* Hamburger */
.navbar-toggler       { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.hamburger-icon       { display: flex; flex-direction: column; gap: 5px; width: 24px; }
.hamburger-icon span  { display: block; height: 2px; background: var(--blue); border-radius: 2px; transition: var(--transition); }

/* Dropdown */
.main-navbar .dropdown-menu   { border: none; box-shadow: var(--shadow-md); border-radius: var(--radius); border-top: 3px solid var(--orange); margin-top: 0; min-width: 200px; }
.main-navbar .dropdown-item   { font-size: 0.84rem; font-weight: 500; padding: 0.5rem 1.2rem; color: var(--text); }
.main-navbar .dropdown-item:hover { background: var(--off-white); color: var(--blue); padding-left: 1.5rem; }

/* ISO badge — mobile menu */
.iso-mobile-badge  { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg,#EEF2FF,#E8F5E9); border: 1.5px solid rgba(21,101,192,0.18); border-radius: 10px; padding: 10px 14px; margin: 0.75rem 0 0.5rem; }
.iso-mobile-logo   { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.iso-mobile-info   { display: flex; flex-direction: column; line-height: 1.3; }
.iso-mobile-title  { font-size: 0.82rem; font-weight: 800; color: var(--blue-dark); }
.iso-mobile-sub    { font-size: 0.62rem; color: var(--green); font-weight: 600; margin-top: 2px; }

/* ══════════════════════════════════════
   HERO SLIDER
══════════════════════════════════════ */
.hero-section    { position: relative; overflow: hidden; height: 88vh; min-height: 540px; max-height: 780px; }
.hero-slide      { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: all; }
.hero-slide img  { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay    { position: absolute; inset: 0; background: linear-gradient(110deg,rgba(13,71,161,0.85) 0%,rgba(21,101,192,0.55) 50%,rgba(13,71,161,0.25) 100%); }
.hero-content    { position: absolute; inset: 0; display: flex; align-items: center; }
.hero-badge      { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,124,0,0.18); border: 1px solid rgba(245,124,0,0.5); color: #FFD54F; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 16px; border-radius: 30px; margin-bottom: 1.1rem; }
.hero-title      { font-family: var(--font-display); font-size: clamp(2rem,5vw,3.8rem); font-weight: 800; color: #fff; line-height: 1.08; margin-bottom: 0.9rem; }
.hero-title span { color: var(--orange-light); }
.hero-desc       { font-size: 1rem; color: rgba(255,255,255,0.83); max-width: 520px; margin-bottom: 1.8rem; }
.hero-btn-group  { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero controls */
.hero-controls   { position: absolute; bottom: 24px; left: 0; right: 0; z-index: 10; }
.hero-dots       { display: flex; gap: 8px; }
.hero-dot        { width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: var(--transition); border: none; }
.hero-dot.active { background: var(--orange); width: 24px; border-radius: 4px; }
.hero-arrows     { display: flex; gap: 8px; }
.hero-arrow      { width: 42px; height: 42px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; color: #fff; font-size: 0.9rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.hero-arrow:hover { background: var(--orange); border-color: var(--orange); }

/* ══════════════════════════════════════
   NOTICE TICKER
══════════════════════════════════════ */
.notice-ticker  { background: var(--blue-dark); padding: 9px 0; overflow: hidden; }
.ticker-label   { background: var(--orange); color: #fff; font-weight: 700; font-size: 0.74rem; text-transform: uppercase; padding: 3px 12px; border-radius: 4px; white-space: nowrap; margin-right: 1.2rem; letter-spacing: 0.08em; }
.ticker-track   { overflow: hidden; flex: 1; }
.ticker-inner   { display: flex; gap: 3rem; animation: ticker 40s linear infinite; white-space: nowrap; }
.ticker-item    { color: rgba(255,255,255,0.8); font-size: 0.82rem; display: flex; align-items: center; gap: 7px; }
.ticker-item i  { color: var(--orange-light); font-size: 0.65rem; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ══════════════════════════════════════
   WELCOME SECTION
══════════════════════════════════════ */
.welcome-img-wrap          { position: relative; padding: 0 0 2rem 2rem; }
.welcome-img-main          { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.welcome-img-badge         { position: absolute; bottom: 0; left: 0; background: var(--orange); color: #fff; padding: 1.1rem 1.5rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-md); }
.welcome-img-badge .badge-num  { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; }
.welcome-img-badge .badge-text { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; }
.welcome-check    { display: flex; gap: 10px; margin-bottom: 0.7rem; font-size: 0.92rem; }
.welcome-check i  { color: var(--green); margin-top: 3px; flex-shrink: 0; }
.iso-strip        { display: inline-flex; align-items: center; gap: 10px; background: var(--off-white); border: 1px solid var(--light-gray); border-radius: var(--radius); padding: 0.65rem 1.1rem; margin-top: 1rem; }
.iso-strip img    { height: 36px; }
.iso-strip span   { font-size: 0.78rem; font-weight: 700; color: var(--blue-dark); line-height: 1.3; }
.iso-strip small  { color: var(--mid-gray); font-size: 0.68rem; display: block; }

/* ══════════════════════════════════════
   STATISTICS
══════════════════════════════════════ */
.stats-section          { background: linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 60%,var(--blue-light) 100%); padding: 60px 0; position: relative; overflow: hidden; }
.stats-section::before  { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'><circle cx='40' cy='40' r='35' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='2'/></svg>") repeat; background-size: 80px; }
.stat-card         { text-align: center; padding: 1.8rem 1rem; position: relative; }
.stat-card::after  { content: ''; position: absolute; right: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,0.12); }
.stat-card:last-child::after { display: none; }
.stat-icon   { width: 54px; height: 54px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.9rem; font-size: 1.4rem; color: var(--orange-light); }
.stat-num    { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 0.3rem; }
.stat-num span { color: var(--orange-light); }
.stat-label  { font-size: 0.8rem; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

/* ══════════════════════════════════════
   PRINCIPAL MESSAGE
══════════════════════════════════════ */
.principal-card           { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.principal-img            { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.principal-info           { background: var(--blue-dark); color: #fff; padding: 1.1rem 1.3rem; text-align: center; }
.principal-info .name     { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
.principal-info .title    { font-size: 0.74rem; color: var(--orange-light); letter-spacing: 0.1em; text-transform: uppercase; }
.principal-quote          { background: var(--blue-dark); border-radius: var(--radius-lg); padding: 2.4rem; position: relative; overflow: hidden; height: 100%; }
.principal-quote::before  { content: '\201C'; font-family: Georgia,serif; font-size: 11rem; color: rgba(245,124,0,0.1); position: absolute; top: -2rem; left: 1rem; line-height: 1; }
.principal-quote p        { color: rgba(255,255,255,0.85); font-size: 0.97rem; line-height: 1.82; font-style: italic; }
.principal-signature      { color: var(--orange-light); font-family: var(--font-display); font-size: 1.1rem; font-style: italic; margin-top: 1.2rem; }

/* ══════════════════════════════════════
   PROGRAM CARDS
══════════════════════════════════════ */
.program-card           { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: var(--transition); height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.program-card::before   { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--blue),var(--green)); transform: scaleX(0); transition: transform 0.35s ease; transform-origin: left; }
.program-card:hover     { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.program-card:hover::before { transform: scaleX(1); }
.program-icon           { width: 58px; height: 58px; background: var(--off-white); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--blue); margin-bottom: 1.1rem; transition: var(--transition); }
.program-card:hover .program-icon { background: var(--blue); color: var(--orange-light); }
.program-card h5        { font-size: 1rem; font-weight: 700; margin-bottom: 0.45rem; }
.program-card p         { font-size: 0.85rem; color: var(--mid-gray); flex: 1; }
.program-grades         { display: inline-flex; align-items: center; gap: 6px; background: var(--off-white); color: var(--blue-dark); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-top: 0.9rem; }

/* ══════════════════════════════════════
   NOTICE BOARD
══════════════════════════════════════ */
.notice-board          { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; height: 100%; }
.notice-header         { background: var(--blue-dark); padding: 0.9rem 1.3rem; display: flex; justify-content: space-between; align-items: center; }
.notice-header h5      { color: #fff; font-size: 0.92rem; margin: 0; }
.notice-header a       { color: var(--orange-light); font-size: 0.76rem; font-weight: 600; }
.notice-list           { padding: 0.4rem; }
.notice-item           { display: flex; gap: 11px; align-items: flex-start; padding: 0.8rem 0.85rem; border-bottom: 1px solid var(--light-gray); transition: var(--transition); cursor: pointer; border-radius: var(--radius); }
.notice-item:last-child { border-bottom: none; }
.notice-item:hover     { background: var(--off-white); }
.notice-date-box       { min-width: 46px; background: var(--light-gray); border-radius: 7px; text-align: center; padding: 5px 7px; }
.notice-date-box .nday { font-weight: 800; font-size: 1.05rem; color: var(--blue-dark); line-height: 1; }
.notice-date-box .nmon { font-size: 0.62rem; text-transform: uppercase; color: var(--mid-gray); font-weight: 600; letter-spacing: 0.07em; }
.notice-item-new .notice-date-box       { background: var(--orange); }
.notice-item-new .notice-date-box .nday,
.notice-item-new .notice-date-box .nmon { color: #fff; }
.notice-title      { font-size: 0.83rem; font-weight: 600; color: var(--blue-dark); line-height: 1.3; margin-bottom: 2px; }
.notice-cat        { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid-gray); }
.notice-new-badge  { font-size: 0.58rem; font-weight: 700; background: #E8F5E9; color: #2E7D32; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.06em; align-self: flex-start; margin-top: 2px; }

/* ══════════════════════════════════════
   EVENT CARDS
══════════════════════════════════════ */
.event-card            { display: flex; gap: 0.9rem; padding: 0.95rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: var(--transition); margin-bottom: 0.9rem; }
.event-card:last-child { margin-bottom: 0; }
.event-card:hover      { box-shadow: var(--shadow-md); transform: translateX(4px); }
.event-date-col        { min-width: 54px; background: var(--blue-dark); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7px 4px; }
.event-date-col .eday  { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; color: var(--orange-light); line-height: 1; }
.event-date-col .emon  { font-size: 0.62rem; text-transform: uppercase; color: rgba(255,255,255,0.7); letter-spacing: 0.1em; font-weight: 600; }
.event-info h6         { font-size: 0.88rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 2px; }
.event-info small      { color: var(--mid-gray); font-size: 0.76rem; }
.event-info small i    { color: var(--orange); margin-right: 3px; }

/* ══════════════════════════════════════
   GALLERY PREVIEW
══════════════════════════════════════ */
.gallery-grid                  { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: repeat(2,200px); gap: 8px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-grid-item             { position: relative; overflow: hidden; cursor: pointer; }
.gallery-grid-item:first-child { grid-row: span 2; }
.gallery-grid-item img         { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid-item:hover img   { transform: scale(1.08); }
.gallery-overlay               { position: absolute; inset: 0; background: linear-gradient(to top,rgba(13,71,161,0.7) 0%,transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-grid-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i             { font-size: 2rem; color: #fff; }

/* Gallery masonry (gallery page) */
.gallery-masonry       { columns: 3; column-gap: 12px; }
.gallery-masonry-item  { break-inside: avoid; margin-bottom: 12px; position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-masonry-item img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.gallery-masonry-item:hover img { transform: scale(1.05); }
.gallery-item-overlay  { position: absolute; inset: 0; background: rgba(13,71,161,0.5); opacity: 0; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.gallery-masonry-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { font-size: 1.8rem; color: #fff; }

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonial-card         { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); height: 100%; transition: var(--transition); position: relative; }
.testimonial-card:hover   { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial-card::before { content: '\201C'; font-family: Georgia,serif; font-size: 5rem; color: var(--orange); opacity: 0.2; position: absolute; top: 0.5rem; left: 1.1rem; line-height: 1; }
.stars                    { color: var(--orange); font-size: 0.82rem; margin-bottom: 0.75rem; }
.testimonial-text         { font-size: 0.9rem; line-height: 1.75; color: var(--dark-gray); font-style: italic; margin-bottom: 1.1rem; }
.testimonial-author       { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar       { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.author-name              { font-weight: 700; font-size: 0.88rem; color: var(--blue-dark); }
.author-role              { font-size: 0.73rem; color: var(--mid-gray); }

/* ══════════════════════════════════════
   CTA
══════════════════════════════════════ */
.cta-section         { background: linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 50%,var(--green) 100%); padding: 76px 0; position: relative; overflow: hidden; }
.cta-section::after  { content: ''; position: absolute; bottom: -80px; right: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(245,124,0,0.06); pointer-events: none; }
.cta-section::before { content: ''; position: absolute; top: -60px; left: -60px; width: 260px; height: 260px; border-radius: 50%; border: 50px solid rgba(255,255,255,0.04); pointer-events: none; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.main-footer           { background: var(--blue-dark); padding-top: 60px; }
.footer-brand-text     { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.75; margin: 1rem 0 1.3rem; }
.footer-social a       { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 7px; color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-right: 5px; transition: var(--transition); }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-heading        { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--orange-light); margin-bottom: 1.1rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(245,124,0,0.25); }
.footer-links li       { margin-bottom: 0.45rem; }
.footer-links a        { color: rgba(255,255,255,0.6); font-size: 0.83rem; display: flex; align-items: center; gap: 6px; }
.footer-links a i      { color: var(--orange-light); font-size: 0.68rem; }
.footer-links a:hover  { color: var(--orange-light); padding-left: 4px; }
.footer-contact-item   { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 0.75rem; }
.footer-contact-icon   { width: 32px; height: 32px; background: rgba(245,124,0,0.12); border: 1px solid rgba(245,124,0,0.25); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--orange-light); font-size: 0.78rem; flex-shrink: 0; }
.footer-contact-text   { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-bottom         { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.1rem 0; margin-top: 2.5rem; }
.footer-bottom p       { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.footer-bottom a       { color: var(--orange-light); }
.footer-iso-badge      { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(255,255,255,0.16); border-radius: 12px; padding: 12px 14px; margin-top: 0.75rem; }
.footer-iso-logo       { height: 48px; width: auto; object-fit: contain; flex-shrink: 0; }
.footer-iso-text       { display: flex; flex-direction: column; line-height: 1.35; }
.footer-iso-title      { font-size: 0.85rem; font-weight: 800; color: #000; letter-spacing: 0.03em; }
.footer-iso-sub        { font-size: 0.63rem; color: rgba(0,0,0,0.55); font-weight: 500; margin-top: 2px; }

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top           { position: fixed; bottom: 26px; right: 22px; width: 44px; height: 44px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-md); cursor: pointer; opacity: 0; visibility: hidden; transition: var(--transition); z-index: 999; border: 2px solid var(--orange); }
.back-to-top.visible   { opacity: 1; visibility: visible; }
.back-to-top:hover     { background: var(--orange); transform: translateY(-3px); }

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease,transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left   { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s ease,transform 0.7s ease; }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right  { opacity: 0; transform: translateX(28px); transition: opacity 0.7s ease,transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════ */
.lightbox        { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.active { display: flex; }
.lightbox-inner  { position: relative; max-width: 900px; width: 100%; }
.lightbox-img    { border-radius: var(--radius); max-height: 80vh; margin: 0 auto; display: block; }
.lightbox-close  { position: absolute; top: -2.5rem; right: 0; color: #fff; font-size: 1.5rem; cursor: pointer; background: none; border: none; }
.lightbox-nav    { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 1rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--orange); }
.lightbox-prev   { left: -3.5rem; }
.lightbox-next   { right: -3.5rem; }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero            { background: linear-gradient(135deg,var(--blue-dark) 0%,var(--blue) 70%); padding: 70px 0 50px; position: relative; overflow: hidden; }
.page-hero-title      { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 800; color: #fff; }
.page-hero-title span { color: var(--orange-light); }
.breadcrumb-nav       { opacity: 0.75; }
.breadcrumb           { background: none; padding: 0; margin: 0; }
.breadcrumb-item      { font-size: 0.82rem; color: rgba(255,255,255,0.7); }
.breadcrumb-item a    { color: rgba(255,255,255,0.7); }
.breadcrumb-item a:hover { color: var(--orange-light); }
.breadcrumb-item.active  { color: var(--orange-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ══════════════════════════════════════
   LOADER
══════════════════════════════════════ */
.svia-logo         { width: 90px; height: 90px; }
.svia-progress-wrap { width: 170px; }

/* ══════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   Single source of truth — no duplicates
══════════════════════════════════════ */

/* ── Large Desktop 1400px+ ── */
@media (min-width: 1400px) {
  .main-navbar .nav-link { font-size: 0.78rem; padding: 1.1rem 0.6rem; }
  .btn-nav-admit         { font-size: 0.78rem !important; padding: 0.48rem 1.1rem !important; }
  .brand-logo-img        { height: 56px; }
  .brand-text-name       { font-size: 0.95rem; }
}

/* ── Desktop 992px–1399px ── */
@media (min-width: 992px) and (max-width: 1399px) {
  .main-navbar .nav-link { font-size: 0.7rem; padding: 1.1rem 0.4rem; }
  .btn-nav-admit         { font-size: 0.7rem !important; padding: 0.42rem 0.8rem !important; }
}

/* ── Tablet 768px–991px ── */
@media (min-width: 768px) and (max-width: 991px) {
  body { padding-top: 86px; }
  .main-navbar { top: 30px; }

  /* Top bar compact */
  .top-bar { font-size: 0.72rem; padding: 5px 0; }
  .top-bar-contact span { margin-right: 0.6rem; }
  .top-bar-contact span:nth-child(3) { display: none; } /* hide address */
  .top-bar-social { display: flex; flex-direction: row; }

  /* Brand */
  .brand-logo-img  { height: 42px; }
  .brand-text-name { font-size: 0.76rem; }
  .brand-text-sub  { display: none; }

  /* Mobile dropdown menu on tablet */
  .main-navbar .container { position: relative; }
  .navbar-collapse {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21,101,192,0.18);
    border-top: 3px solid var(--orange);
    padding: 0.5rem 1rem 1.2rem;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2000;
  }
  .main-navbar .nav-link { padding: 0.7rem 0.5rem; font-size: 0.9rem; border-bottom: 1px solid var(--light-gray); }
  .main-navbar .nav-link::after { display: none; }
  .btn-nav-admit { display: block !important; text-align: center !important; width: 100% !important; margin: 0.75rem 0 0 0 !important; font-size: 0.88rem !important; padding: 0.6rem !important; }

  /* Hero */
  .hero-section { height: 72vh; }
  .hero-title   { font-size: 2.2rem; }
  .hero-badge   { font-size: 0.68rem; padding: 4px 12px; }

  /* Stats */
  .stat-card::after { display: none; }

  /* Gallery grid */
  .gallery-grid { grid-template-rows: repeat(2,155px); }
  .gallery-masonry { columns: 2; }

  /* Page hero */
  .page-hero { padding: 60px 0 44px; }
}

/* ── Mobile ≤767px ── */
@media (max-width: 767px) {
  body         { padding-top: 65px; }
  .top-bar     { display: none; }
  .main-navbar { top: 0; }

  /* Brand */
  .brand-logo-img  { height: 42px; }
  .brand-text-name { font-size: 0.8rem; white-space: nowrap; }
  .brand-text-sub  { display: none; }

  /* Mobile dropdown */
  .main-navbar .container { position: relative; }
  .navbar-collapse {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21,101,192,0.18);
    border-top: 3px solid var(--orange);
    padding: 0.5rem 1rem 1.2rem;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2000;
    width: 100%;
  }
  .main-navbar .nav-link { padding: 0.7rem 0.5rem; font-size: 0.88rem; border-bottom: 1px solid var(--light-gray); }
  .main-navbar .nav-link::after { display: none; }
  .btn-nav-admit { display: block !important; text-align: center !important; width: 100% !important; margin: 0.75rem 0 0 0 !important; font-size: 0.88rem !important; padding: 0.6rem !important; }

  /* Hero */
  .hero-section   { height: 62vh; min-height: 380px; }
  .hero-title     { font-size: 1.5rem; }
  .hero-desc      { font-size: 0.9rem; }
  .hero-badge     { font-size: 0.62rem; padding: 4px 10px; letter-spacing: 0.06em; }
  .hero-btn-group { flex-direction: column; gap: 8px; }
  .btn-orange,.btn-blue,.btn-outline-white,.btn-outline-blue { width: 100%; justify-content: center; }
  .hero-arrows    { display: none; }

  /* Sections */
  .section-pad    { padding: 44px 0; }
  .section-pad-sm { padding: 28px 0; }
  .section-title  { font-size: 1.4rem; }
  .section-eyebrow { font-size: 0.7rem; }

  /* Welcome */
  .welcome-img-wrap { padding: 0 0 1.5rem 0.75rem; margin-bottom: 1rem; }
  .welcome-img-badge { padding: 0.8rem 1rem; }
  .welcome-img-badge .badge-num { font-size: 1.5rem; }
  .iso-strip img  { height: 26px; }

  /* Stats */
  .stats-section  { padding: 36px 0; }
  .stat-card      { padding: 1rem 0.5rem; }
  .stat-card::after { display: none; }
  .stat-num       { font-size: 1.7rem; }
  .stat-icon      { width: 42px; height: 42px; font-size: 1rem; }

  /* Principal */
  .principal-quote { padding: 1.2rem; }
  .principal-card  { max-width: 200px; margin: 0 auto; }

  /* Notice board */
  .notice-title { font-size: 0.8rem; }
  .notice-date-box { min-width: 40px; }

  /* Event cards */
  .event-date-col { min-width: 48px; }
  .event-info h6  { font-size: 0.82rem; }

  /* Testimonials */
  .testimonial-card { padding: 1.3rem; }

  /* Gallery grid */
  .gallery-grid { grid-template-columns: repeat(2,1fr); grid-template-rows: repeat(3,130px); }
  .gallery-grid-item:first-child { grid-row: span 1; }
  .gallery-masonry { columns: 2; column-gap: 8px; }

  /* CTA */
  .cta-section    { padding: 48px 0; }

  /* Footer */
  .main-footer    { padding-top: 36px; }
  .footer-iso-logo { height: 36px; }
  .footer-iso-title { font-size: 0.78rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 4px; }

  /* Page hero */
  .page-hero       { padding: 50px 0 36px; }
  .page-hero-title { font-size: 1.6rem; }

  /* Program cards */
  .program-card   { padding: 1.3rem 1.1rem; }
  .program-icon   { width: 50px; height: 50px; font-size: 1.2rem; }

  /* Back to top */
  .back-to-top    { bottom: 14px; right: 12px; width: 38px; height: 38px; font-size: 0.85rem; }

  /* Loader */
  .svia-logo         { width: 80px; height: 80px; }
  .svia-progress-wrap { width: 150px; }
}

/* ── Small Mobile ≤480px ── */
@media (max-width: 480px) {
  body            { padding-top: 60px; }
  .brand-logo-img { height: 38px; }
  .brand-text-name { font-size: 0.74rem; }
  .hero-section   { height: 58vh; min-height: 340px; }
  .hero-title     { font-size: 1.3rem; }
  .hero-badge     { font-size: 0.58rem; padding: 3px 8px; }
  .stat-num       { font-size: 1.5rem; }
  .notice-new-badge { display: none; }
  .gallery-masonry  { columns: 1; }
  .gallery-grid   { grid-template-rows: repeat(3,110px); }
  .cta-section .lead { font-size: 0.88rem; }
  .btn-orange,.btn-blue,.btn-outline-white,.btn-outline-blue { font-size: 0.84rem; }
  .svia-logo         { width: 70px; height: 70px; }
  .svia-progress-wrap { width: 130px; }
}

/* ── Extra Small ≤380px ── */
@media (max-width: 380px) {
  body            { padding-top: 56px; }
  .brand-logo-img { height: 34px; }
  .brand-text-name { font-size: 0.68rem; }
  .hero-section   { height: 55vh; min-height: 300px; }
  .hero-title     { font-size: 1.15rem; }
  .stat-card      { padding: 0.8rem 0.3rem; }
  .gallery-grid   { grid-template-rows: repeat(3,95px); }
  .footer-bottom p { font-size: 0.68rem; }
}

/* ══════════════════════════════════════
   DEPARTMENT MESSAGE CARDS
══════════════════════════════════════ */
.dept-msg-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.dept-msg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.dept-msg-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.4rem;
  background: linear-gradient(135deg, var(--off-white), #fff);
  border-bottom: 1px solid var(--light-gray);
}
.dept-photo-wrap {
  flex-shrink: 0;
}
.dept-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--orange);
  box-shadow: 0 4px 12px rgba(245,124,0,0.2);
}
.dept-info { flex: 1; }
.dept-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 2px;
}
.dept-role {
  font-size: 0.78rem;
  color: var(--dark-gray);
  font-weight: 500;
  margin-bottom: 5px;
}
.dept-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-dark);
  color: var(--orange-light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dept-badge i { font-size: 0.6rem; }
.dept-msg-body {
  padding: 1.3rem 1.4rem;
  position: relative;
}
.dept-quote-icon {
  color: var(--orange);
  opacity: 0.2;
  font-size: 2.5rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  line-height: 1;
}
.dept-msg-body p {
  font-size: 0.88rem;
  color: var(--dark-gray);
  line-height: 1.78;
  font-style: italic;
  padding-left: 0.5rem;
  border-left: 3px solid var(--orange);
  margin: 0;
}

/* Smaller card variant */
.dept-msg-card-sm .dept-photo { width: 68px; height: 68px; }
.dept-msg-card-sm .dept-name  { font-size: 0.92rem; }
.dept-msg-card-sm .dept-msg-body p { font-size: 0.84rem; }

/* Mobile */
@media (max-width: 767px) {
  .dept-msg-header { padding: 1rem; gap: 0.75rem; }
  .dept-photo      { width: 66px; height: 66px; }
  .dept-name       { font-size: 0.92rem; }
  .dept-msg-body   { padding: 1rem; }
  .dept-msg-body p { font-size: 0.84rem; }
  .dept-quote-icon { font-size: 2rem; }
}

/* ══════════════════════════════════════
   ABOUT PAGE — TIMELINE
══════════════════════════════════════ */
.about-timeline       { position: relative; padding-left: 2rem; }
.about-timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--orange), var(--green));
  border-radius: 2px;
}
.timeline-item        { position: relative; margin-bottom: 1.8rem; }
.timeline-item-last   { margin-bottom: 0; }
.timeline-dot         { position: absolute; left: -2rem; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue); flex-shrink: 0; }
.timeline-dot-orange  { background: var(--orange); box-shadow: 0 0 0 2px var(--orange); }
.timeline-dot-green   { background: var(--green);  box-shadow: 0 0 0 2px var(--green); }
.timeline-content     { background: #fff; border-radius: var(--radius-lg); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: var(--transition); }
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.timeline-year        { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 2px; }
.timeline-title       { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 4px; }
.timeline-content p   { font-size: 0.83rem; color: var(--mid-gray); line-height: 1.65; margin: 0; }

/* ══════════════════════════════════════
   ABOUT PAGE — VISION MISSION VALUES
══════════════════════════════════════ */
.vmv-card         { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.6rem; height: 100%; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: var(--transition); position: relative; overflow: hidden; }
.vmv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.vmv-vision::before { background: var(--blue); }
.vmv-mission::before { background: var(--orange); }
.vmv-pledge::before  { background: var(--green); }
.vmv-card:hover   { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.vmv-icon         { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 1.1rem; }
.vmv-vision  .vmv-icon { background: #EEF2FF; color: var(--blue); }
.vmv-mission .vmv-icon { background: #FFF3E0; color: var(--orange); }
.vmv-pledge  .vmv-icon { background: #E8F5E9; color: var(--green); }
.vmv-title    { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 0.6rem; }
.vmv-text     { font-size: 0.88rem; color: var(--dark-gray); line-height: 1.75; margin: 0; }

/* ══════════════════════════════════════
   ABOUT PAGE — CORE VALUES LIST
══════════════════════════════════════ */
.values-list      { display: flex; flex-direction: column; gap: 0.9rem; }
.value-item       { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--light-gray); box-shadow: var(--shadow-sm); transition: var(--transition); }
.value-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); border-color: var(--blue); }
.value-num        { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--orange); opacity: 0.4; line-height: 1; flex-shrink: 0; min-width: 32px; }
.value-item:hover .value-num { opacity: 1; }
.value-title      { font-weight: 700; font-size: 0.9rem; color: var(--blue-dark); margin-bottom: 2px; }
.value-desc       { font-size: 0.82rem; color: var(--mid-gray); line-height: 1.6; }

/* Mobile */
@media (max-width: 767px) {
  .about-timeline { padding-left: 1.5rem; }
  .timeline-dot   { left: -1.5rem; width: 12px; height: 12px; }
  .timeline-content { padding: 0.9rem 1rem; }
  .vmv-card       { padding: 1.5rem 1.2rem; }
  .vmv-icon       { width: 52px; height: 52px; font-size: 1.3rem; }
  .value-item     { padding: 0.8rem 1rem; }
  .value-num      { font-size: 1.1rem; }
}