/*
Theme Name: Hindustan College of Nursing
Theme URI: https://hindustancollegeofnursing.com
Author: Bten.in
Author URI: https://bten.in
Description: A premium, fully adaptable WordPress theme for Hindustan College of Nursing.
Version: 1.0
Text Domain: hindustan
*/

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-head: 'Marcellus', serif;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --text-dark: #1A1F36;
  --text-gray: #5A6378;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
  --primary-blue: #0077B6;
  --primary-green: #68B936;
  --whatsapp-green: #25D366;
  --blue-dark: #0D1B3E;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; zoom: 90%; scrollbar-width: none; -ms-overflow-style: none; }
html, body { overflow-x: hidden; width: 100%; position: relative; background: var(--blue-dark); }
body { font-family: var(--font-main); color: var(--text-dark); background: var(--blue-dark); line-height: 1.6; }
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; outline: none; border: none; background: transparent; cursor: pointer; touch-action: manipulation; }
input, select, textarea { font-family: inherit; touch-action: manipulation; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 400; }

/* SCROLL PROGRESS BAR */
.progress-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 4px;
  background: transparent; z-index: 2001;
}
.progress-bar {
  height: 100%; background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
  width: 0%; transition: width 0.1s ease-out;
}

/* HEADER */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 15px 40px; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled { padding: 10px 40px; }
.header-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 60px;
  background: rgba(13, 27, 62, 0); z-index: -1;
  transition: 0.4s;
}
.header.scrolled .header-bg { background: rgba(13, 27, 62, 0.9); height: 70px; box-shadow: 0 5px 25px rgba(0,0,0,0.24); }


.header-left { display: flex; gap: 20px; color: #fff; font-size: 13px; margin-top: 5px; align-items: center; }
.header-left a { display: flex; align-items: center; gap: 6px; transition: opacity 0.2s; }
.header-left a:hover { opacity: 0.8; }
.header-left svg { width: 16px; height: 16px; fill: #00A3FF; }

.header-center { position: absolute; left: 50%; transform: translateX(-50%); top: 0; z-index: 1001; }
.header-center img { 
  height: 120px; background: #fff; padding: 12px 25px; 
  border-radius: 0 0 24px 24px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); 
  object-fit: contain; transition: 0.4s;
}
.header.scrolled .header-center img { height: 60px; border-radius: 0 0 15px 15px; padding: 5px 15px; }

.header-right { display: flex; gap: 15px; align-items: center; margin-top: 2px; }
.header-btn {
  padding: 8px 18px; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px;
  color: #fff; font-size: 13px; cursor: pointer; background: rgba(0,0,0,0.2); transition: 0.3s;
}
.header-btn:hover { background: rgba(255,255,255,0.2); }
.hamburger { color: #fff; font-size: 24px; cursor: pointer; background: none; border: none; margin-left: 10px; display: flex; align-items: center; justify-content: center; }

/* NAV OVERLAY */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: 0.3s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
.nav-overlay ul { text-align: center; }
.nav-overlay li { margin: 20px 0; }
.nav-overlay a { color: #fff; font-size: 24px; font-family: var(--font-head); transition: 0.2s; }
.nav-overlay a:hover { color: var(--primary-green); }
.nav-close { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; background: none; border: none; }

/* HERO */
.hero {
  position: relative; min-height: calc(100svh - 40px); overflow: hidden;
}
.hero-slide {
  position: relative; width: 100%; height: 100%; min-height: calc(100svh - 40px);
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,27,62,0.92) 0%, rgba(13,27,62,0.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px;
  align-items: center; width: 100%; max-width: 1300px; margin: 0 auto; padding: 118px 80px 46px;
}
.hero-content { color: #fff; }
.hero-btns { display: flex; gap: 16px; margin-top: 30px; }

.icon-box { 
  width: 60px; height: 60px; background: rgba(0, 119, 182, 0.1); 
  border-radius: 12px; display: flex; align-items: center; justify-content: center; 
  margin-bottom: 25px; transition: 0.3s;
}
.icon-box svg { width: 32px; height: 32px; fill: var(--primary-blue); }
.card:hover .icon-box { background: var(--primary-blue); transform: rotate(10deg); }
.card:hover .icon-box svg { fill: #fff; }

.glass-form-wrapper {
  position: relative; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  overflow: visible;
  max-width: 330px; margin-left: auto; margin-top: 76px;
}
.glass-form-wrapper::before {
  content: ''; position: absolute; inset: -2px; border-radius: 22px;
  background: linear-gradient(45deg, var(--primary-blue), var(--primary-green), #00A3FF, #68B936);
  background-size: 300% 300%;
  z-index: 0; filter: blur(15px); opacity: 0.6; 
  animation: glowAnimation 8s ease infinite;
}
@keyframes glowAnimation { 
  0% { background-position: 0% 50%; } 
  50% { background-position: 100% 50%; } 
  100% { background-position: 0% 50%; } 
}
.glass-form {
  position: relative; z-index: 1;
  background: rgba(13, 27, 62, 0.74);
  border-radius: 18px; padding: 26px 28px; color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.glass-form h3 { font-size: 24px; margin-bottom: 6px; font-family: var(--font-main); font-weight: 400; letter-spacing: -0.5px; }
.glass-form p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 16px; font-weight: 300; }
.glass-form .form-group { margin-bottom: 12px; }

.hero-form .glass-form { padding: 20px 22px; }
.hero-form .glass-form h3 { font-size: 20px; margin-bottom: 4px; }
.hero-form .glass-form p { font-size: 12px; margin-bottom: 12px; }
.hero-form .glass-form .form-group { margin-bottom: 9px; }
.hero-form .glass-form label { font-size: 12px; margin-bottom: 6px; }
.hero-form .glass-form input,
.hero-form .glass-form select,
.hero-form .glass-form textarea {
  padding: 9px 13px;
  font-size: 13px;
}
.hero-form .btn-submit {
  padding: 12px;
  margin-top: 8px;
  font-size: 14px;
}

.hero h1 { 
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.15; 
  margin-bottom: 18px; color: #fff; text-shadow: 0 3px 15px rgba(0,0,0,0.3); 
  font-weight: 500; letter-spacing: -0.5px;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero h1.hero-title-waiting { opacity: 0; transform: translate3d(0, 18px, 0); }
.hero h1.hero-title-ready { opacity: 1; transform: translate3d(0, 0, 0); }
.hero p { 
  font-size: 15px; color: rgba(255,255,255,0.8); max-width: 480px; 
  font-weight: 300; line-height: 1.7; margin-bottom: 30px;
}

.hero-tags { display: flex; gap: 12px; margin-bottom: 30px; }
.hero-tag { 
  border: 1px solid rgba(255,255,255,0.3); padding: 5px 15px; 
  border-radius: 50px; font-size: 11px; color: #fff; 
  backdrop-filter: blur(5px); text-transform: uppercase; letter-spacing: 0.5px;
}

.btn-primary { 
  background: linear-gradient(90deg, #1f8bba, #68B936);
  color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; 
  text-transform: uppercase; letter-spacing: 0.5px; font-size: 14px; 
  transition: 0.3s; display: inline-block; border: none;
  box-shadow: 0 4px 15px rgba(104,185,54,0.3);
}
.btn-secondary { 
  background: var(--blue-dark); color: #fff; padding: 14px 32px; border-radius: 8px; 
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 14px; 
  transition: 0.3s; display: inline-block; border: none;
}
.btn-primary, .btn-secondary, .btn-submit {
  position: relative; overflow: hidden;
  cursor: pointer;
}
.btn-loading {
    color: transparent !important;
    pointer-events: none;
    position: relative;
}
.btn-loading::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    z-index: 10;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-primary:hover::after, .btn-secondary:hover::after, .btn-submit::after {
  left: 120%;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(104,185,54,0.4); opacity: 0.9; }
.btn-secondary:hover { background: #1a2a4e; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(13,27,62,0.4); }

.glass-form input::placeholder { color: rgba(255,255,255,0.4) !important; }
.glass-form label { color: rgba(255,255,255,0.9); font-weight: 500; font-size: 13px; margin-bottom: 8px; display: block; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 8px; color: var(--text-dark); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 18px; border: 1px solid #ddd;
  border-radius: 8px; font-family: var(--font-main); font-size: 14px;
  outline: none; transition: 0.3s; background: #fff; color: var(--text-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
}

/* ---- FORM VALIDATION STYLES ---- */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error,
.glass-form input.field-error,
.glass-form select.field-error,
.glass-form textarea.field-error {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15) !important;
  animation: shake 0.35s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.validation-error {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #e63946;
  padding-left: 2px;
  animation: fadeInDown 0.2s ease;
}
.glass-form .validation-error { color: #ff8fa3; }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-success {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(104, 185, 54, 0.12);
  border: 1px solid rgba(104, 185, 54, 0.4);
  border-radius: 8px;
  color: #3a7d14;
  font-weight: 600;
  font-size: 14px;
}
.glass-form .form-success { background: rgba(104,185,54,0.2); color: #b8f5a0; border-color: rgba(104,185,54,0.5); }
.form-error {
  display: inline-block;
  padding: 10px 18px;
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: 8px;
  color: #c1121f;
  font-weight: 600;
  font-size: 14px;
}
.glass-form .form-error { background: rgba(230,57,70,0.15); color: #ff8fa3; border-color: rgba(230,57,70,0.4); }

.glass-form label { color: rgba(255,255,255,0.9); }
.glass-form input, .glass-form select, .glass-form textarea {
  width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2);
  padding: 12px 15px; border-radius: 8px; color: #fff; outline: none; font-family: var(--font-main);
  font-size: 14px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-form input:focus, .glass-form select:focus, .glass-form textarea:focus { 
  background: rgba(255,255,255,0.1); border-color: var(--primary-green);
  box-shadow: 0 0 15px rgba(104,185,54,0.3);
}
.glass-form select option { color: #000; }
.btn-submit {
  width: 100%; background: linear-gradient(90deg, #1f8bba, #68B936);
  color: #fff; border: none; padding: 15px; border-radius: 8px; cursor: pointer;
  font-weight: 600; margin-top: 10px; font-size: 15px; transition: 0.3s;
  box-shadow: 0 4px 15px rgba(104,185,54,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(104,185,54,0.4); opacity: 0.9; }

.floating-badge {
  position: absolute; bottom: -30px; right: -30px;
  background: #fff; padding: 15px 25px; border-radius: 12px;
  display: flex; align-items: center; gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid #eee;
  z-index: 10;
}
.floating-badge svg { width: 32px; height: 32px; fill: var(--primary-green); flex-shrink: 0; }
.floating-badge strong { display: block; font-size: 14px; color: var(--text-dark); }
.floating-badge span { font-size: 12px; color: var(--text-gray); }


/* STICKY WIDGETS */
.sticky-widgets {
  position: fixed; right: 0; top: 50%; transform: translate3d(0, -50%, 0); z-index: 999;
  display: flex; flex-direction: column; gap: 1px;
  max-width: 100vw;
}
.sticky-btn {
  writing-mode: vertical-rl; text-orientation: mixed;
  padding: 25px 12px; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 1px;
  cursor: pointer; text-transform: uppercase; border: none; border-radius: 6px 0 0 6px;
  transform: translateX(4px); transition: transform 0.3s; box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.sticky-btn:hover { transform: translateX(0); }
.sticky-apply { background: #00A3FF; }
.sticky-calendar { background: #8DC63F; }
.sticky-brochure { background: #0056D2; }

@media (max-width: 768px) {
  .sticky-widgets {
    top: auto; bottom: 0; right: 0; left: 0;
    transform: none; flex-direction: row; gap: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  .sticky-btn {
    writing-mode: horizontal-tb; text-orientation: unset;
    border-radius: 0; transform: none !important;
    flex: 1; padding: 15px 10px; font-size: 12px;
    text-align: center; box-shadow: none;
  }
  body { padding-bottom: 50px; }
  .whatsapp-float { bottom: 70px; left: 20px; right: auto; }
}


/* SECTION WATERMARK & STYLES (Used across all sections) */
.section-watermark { position: relative; overflow: hidden; padding: 58px 0; background: #fff; }
.section-watermark.gray-bg { background: #F8F9FA; }
#contact-section { padding-bottom: 26px; }
.watermark-bg {
  position: absolute; top: 50%; left: 50%; transform: translate3d(-50%, -50%, 0);
  font-size: 18vw; font-family: var(--font-head); color: rgba(0,0,0,0.035);
  white-space: nowrap; pointer-events: none; z-index: 0; line-height: 1; user-select: none;
  text-transform: uppercase; letter-spacing: 0.1em;
}

.section-inner { position: relative; z-index: 2; }
.section-inner > .grid-2-col + .stats-grid-4 {
  margin-top: 42px !important;
  padding-top: 32px !important;
  gap: 28px !important;
}
.card-link { 
  color: var(--primary-blue); font-weight: 600; text-decoration: none; 
  font-size: 14px; margin-top: 15px; display: inline-block; transition: 0.3s; 
}
.card-link:hover { color: var(--primary-green); transform: translateX(5px); }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }

.sec-tag {
  color: #00A3FF; font-size: 12px; font-weight: 600; position: relative;
  display: inline-block; padding-left: 40px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.sec-tag::before { content: ''; position: absolute; left: 0; top: 50%; width: 30px; height: 1px; background: #00A3FF; }

.sec-title { font-size: 42px; line-height: 1.15; margin-bottom: 14px; color: var(--text-dark); }
.sec-desc { font-size: 15px; color: var(--text-gray); margin-bottom: 24px; font-weight: 300; line-height: 1.75; }

/* STATS GRID (Used in Section 2) */
.stats-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 35px 20px; }
.stat-box { display: flex; gap: 15px; align-items: flex-start; }
.stat-icon { width: 60px; height: 60px; flex-shrink: 0; border: 1px solid rgba(0,119,182,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.04); transition: 0.3s; }
.stat-icon svg { width: 28px; height: 28px; fill: var(--primary-green); }
.stat-box:hover .stat-icon { transform: rotateY(180deg); background: var(--primary-green); border-color: var(--primary-green); }
.stat-box:hover .stat-icon svg { fill: #fff; }
.stat-info h4 { font-family: var(--font-main); font-size: 42px; font-weight: 700; background: linear-gradient(90deg, var(--primary-blue), var(--primary-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 5px; letter-spacing: -1px; }
.stat-info p { font-size: 13px; color: var(--text-gray); font-weight: 500; }

/* IMAGE GRID (Used in Section 2) */
.image-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 15px; height: 100%; }
.img-tall { grid-row: span 2; border-radius: 12px; width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.img-short { border-radius: 12px; width: 100%; height: 200px; object-fit: cover; }
.color-box { background: #0077B6; color: #fff; padding: 30px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.color-box h3 { font-family: var(--font-main); font-size: 52px; font-weight: 300; line-height: 1; margin-bottom: 5px; }
.color-box p { font-size: 14px; opacity: 0.9; }

/* REUSABLE CARDS (For Benefits, Courses, News) */
.centered-header { text-align: center; margin-bottom: 34px; }
.centered-header .sec-tag { padding-left: 0; }
.centered-header .sec-tag::before { display: none; }
.centered-header .sec-title { margin-left: auto; margin-right: auto; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.news-card-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.04); transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); }
.card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 25px; }
.card-body h3 { font-family: var(--font-main); font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card-body p { font-size: 14px; color: var(--text-gray); margin-bottom: 15px; font-weight: 300; }
.card-link { color: #00A3FF; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* COURSE TABS */
.spec-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 28px; }
.spec-tab { padding: 10px 25px; border-radius: 30px; border: 1px solid #ddd; background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--text-gray); transition: 0.3s; }
.spec-tab.active, .spec-tab:hover { background: #0077B6; color: #fff; border-color: #0077B6; }
.course-detail { background: #F8F9FA; padding: 32px; border-radius: 12px; }
.course-detail h3 { font-size: 24px; margin-bottom: 15px; font-weight: 600; }
.course-detail p { font-size: 15px; color: var(--text-gray); margin-bottom: 20px; }
.course-points {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
}
.course-points li {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.course-points li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(104, 185, 54, 0.15);
  color: var(--primary-green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: -2px;
}
.course-points li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,119,182,0.08);
  border-color: rgba(0,119,182,0.15);
}
.course-points li svg {
  display: none !important; /* Hide inline SVGs to avoid duplicate icons */
}

/* MISSION POINTS */
.mission-points {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
}
.mission-points li {
  background: linear-gradient(145deg, #ffffff, #f9fbfd);
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-left: 4px solid var(--primary-blue);
  border-radius: 12px;
  padding: 20px 25px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.mission-points li::before {
  content: '✦';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary-blue);
  border-radius: 8px;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: 0.3s;
}
.mission-points li:hover {
  transform: translateX(10px);
  border-left-color: var(--primary-green);
  box-shadow: 0 10px 25px rgba(0,119,182,0.1);
  background: #fff;
}
.mission-points li:hover::before {
  background: var(--primary-green);
  color: #fff;
  transform: rotate(45deg) scale(1.1);
}


/* FOOTER */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.8); padding: 46px 0 0; position: relative; z-index: 2; margin: 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.3fr; gap: 32px; margin-bottom: 34px; }
.footer-logo img { height: 60px; margin-bottom: 20px; background: #fff; padding: 10px; border-radius: 8px; }
.footer h4 { font-family: var(--font-main); font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary-green); }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 15px; font-size: 14px; }
.footer-contact-item svg { width: 18px; height: 18px; fill: var(--primary-green); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; text-align: center; font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-inner, .grid-2-col { grid-template-columns: 1fr; }
  .header-right .header-btn { display: none; }
  .header-center img { height: 80px; }
  .header { padding: 15px 20px; }
  .image-grid { grid-template-columns: 1fr; }
  .img-tall, .img-short { height: 250px; min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .stats-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .watermark-bg { font-size: 40vw; }
}
/* REVEAL ANIMATIONS */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: none;
  transition: opacity 0.35s ease;
}
.revealed { opacity: 1 !important; transform: none !important; }
.apple-reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
.apple-reveal.in-view {
  opacity: 1;
  transform: none;
}
.apple-reveal .reveal-child {
  opacity: 1;
  transform: none;
  transition: none;
}
.apple-reveal.in-view .reveal-child {
  opacity: 1;
  transform: none;
}

/* PRELOADER */
#preloader {
  position: fixed; inset: 0;
  background: rgba(7, 18, 42, 0.96); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.55s ease 1.08s, visibility 0.55s ease 1.08s;
}
.preloader-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.preloader-orb {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 28px 90px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.8);
  position: relative;
  transform: scale(1);
  will-change: transform;
}
.preloader-orb::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.28);
  opacity: 0.9;
}
.preloader-orb img {
  width: 86px;
  max-height: 86px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transition: opacity 0.24s ease, transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
#preloader.is-hiding {
  opacity: 0;
  visibility: hidden;
}
#preloader.is-hiding .preloader-orb {
  transform: scale(38);
  transition: transform 1.18s cubic-bezier(0.76, 0, 0.24, 1);
}
#preloader.is-hiding .preloader-orb img {
  opacity: 0;
  transform: scale(0.35);
}

@media (prefers-reduced-motion: reduce) {
  #preloader,
  .preloader-orb,
  .preloader-orb img,
  .apple-reveal,
  .apple-reveal .reveal-child,
  .reveal-left,
  .reveal-right,
  .hero h1 {
    animation: none !important;
    transition: none !important;
  }
  .apple-reveal,
  .apple-reveal .reveal-child,
  .reveal-left,
  .reveal-right,
  .hero h1 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* WHATSAPP FLOAT */
@keyframes pulseWhatsApp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-float {
  position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px;
  background: var(--whatsapp-green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; transition: 0.3s; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  animation: pulseWhatsApp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);}

.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }

/* INTERACTIVE SELECTOR (GALLERY) */
.selector-container {
  display: flex; width: 100%; max-width: 1000px; height: 500px; margin: 40px auto;
  gap: 10px; overflow: hidden;
}
.selector-option {
  position: relative; flex: 1; height: 100%; border-radius: 16px;
  overflow: hidden; cursor: pointer; transition: flex 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}
.selector-option.active { flex: 6; border-color: #fff; }
.selector-option img {
  width: 100%; height: 100%; object-fit: cover; transition: 0.7s;
}
.selector-label {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; align-items: center; gap: 15px; z-index: 2;
  opacity: 0; transform: translateX(20px); transition: 0.5s;
}
.selector-option.active .selector-label { opacity: 1; transform: translateX(0); }
.selector-icon {
  width: 44px; height: 44px; background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.selector-info h4 { font-size: 18px; margin: 0; color: #fff; }
.selector-info p { font-size: 14px; margin: 5px 0 0; color: rgba(255,255,255,0.8); }

/* BENTO GALLERY */
.bento-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 24px;
}
.bento-item { border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.08); }
.bento-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.bento-item:hover img { transform: scale(1.08); }
.bento-item.tall { grid-row: span 2; }
.bento-item.wide { grid-column: span 2; }
.bento-item.big { grid-column: span 2; grid-row: span 2; }

/* TESTIMONIALS */
.testimonial-slider { position: relative; max-width: 800px; margin: 0 auto; min-height: 300px; }
.testimonial-card {
  background: #fff; padding: 50px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.05);
  display: none; animation: fadeIn 0.5s ease forwards;
}
.testimonial-card.active { display: block; }
.testimonial-content p { font-size: 20px; font-weight: 500; line-height: 1.6; margin-bottom: 30px; font-style: italic; color: var(--text-dark); }
.testimonial-author { display: flex; align-items: center; gap: 20px; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 16px; color: var(--text-dark); }
.testimonial-author span { font-size: 14px; color: var(--text-gray); }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary-blue); width: 30px; border-radius: 10px; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
  .testimonial-container { grid-template-columns: 1fr; }
  .selector-container { height: 400px; flex-direction: column; }
  .selector-option.active { flex: 10; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
/* BACK TO TOP */
#backToTop {
  position: fixed; bottom: 100px; right: 30px; width: 45px; height: 45px;
  background: var(--white); color: var(--text-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 100; opacity: 0; visibility: hidden; transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 1px solid #eee;
}
#backToTop:hover { transform: translateY(-5px); background: var(--primary-blue); }

/* ADDITIONAL UI POLISH */
.card-link { transition: 0.3s; }
.card-link:hover { gap: 10px; color: var(--primary-green); }

.stat-box { transition: 0.3s; }
.stat-box:hover { transform: translateX(10px); }

.preloader-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

/* BREADCRUMB & BANNER */
.inner-banner {
  height: 290px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}
.inner-banner::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(13,27,62,0.85), rgba(13,27,62,0.85));
}
.banner-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.banner-content h1 { font-family: var(--font-head); font-size: 48px; margin-bottom: 10px; }
.breadcrumbs { display: flex; gap: 10px; font-size: 14px; opacity: 0.8; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs span { opacity: 0.5; }


/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 10px; margin: 28px 0; }
.page-link { 
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid #ddd; text-decoration: none; color: var(--text-dark);
  transition: 0.3s;
}
.page-link.active { background: var(--primary-blue); color: #fff; border-color: var(--primary-blue); }
.page-link:hover:not(.active) { background: #f0f0f0; }

/* CUSTOM DROPDOWN */
select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  padding-right: 40px !important;
}

/* BUTTON ALIGNMENT */
.flex-buttons { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }

@media (max-width: 992px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento-item.big, .bento-item.tall, .bento-item.wide { grid-column: span 1; grid-row: span 1; }
  .banner-content h1 { font-size: 32px; }
}

/* MODAL (Instant Open) */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 9999; display: none; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 40px 10px;
}
.modal-overlay.active { display: flex; }
.modal-content {
  width: 100%; max-width: 500px; position: relative; padding: 20px;
  margin: auto;
}
.modal-content.large {
  max-width: 900px;
}
.brochure-img {
  width: 100%; height: auto; display: block; border-radius: 12px;
}

.parallax-container {
  position: relative;
  height: auto;
  margin-top: 50px;
}
.parallax-sticky {
  position: relative;
  top: auto;
  height: auto;
  overflow: hidden;
  background: var(--bg-light);
}
.parallax-frame {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: auto;
}
.parallax-img-wrapper {
  position: relative;
  width: 25vw;
  height: 25vh;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-radius: 8px;
}
.parallax-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Specific frame offsets from the provided logic */
.frame-1 .parallax-img-wrapper { top: -30vh; left: 5vw; width: 35vw; height: 30vh; }
.frame-2 .parallax-img-wrapper { top: -10vh; left: -25vw; width: 20vw; height: 45vh; }
.frame-3 .parallax-img-wrapper { left: 27.5vw; width: 25vw; height: 25vh; }
.frame-4 .parallax-img-wrapper { top: 27.5vh; left: 5vw; width: 20vw; height: 25vh; }
.frame-5 .parallax-img-wrapper { top: 27.5vh; left: -22.5vw; width: 30vw; height: 25vh; }
.frame-6 .parallax-img-wrapper { top: 22.5vh; left: 25vw; width: 15vw; height: 15vh; }

.modal-close {
  position: absolute; top: -35px; right: 0; color: #fff; font-size: 35px;
  background: none; border: none; cursor: pointer; z-index: 10;
}

/* Core Values Hover */
.value-item { 
  transition: transform 0.25s, box-shadow 0.25s, color 0.3s; 
  cursor: default; 
  position: relative; 
  overflow: hidden; 
  z-index: 1;
  border-radius: 12px;
}
.value-item strong { font-family: var(--font-head) !important; font-weight: 500 !important; }
.value-item::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: var(--primary-blue); transition: width 0.4s ease; z-index: -1;
}
.value-item:hover { transform: translateX(6px); box-shadow: 0 6px 20px rgba(0,119,182,0.2); }
.value-item:hover::before { width: 100%; }
.value-item:hover span, .value-item:hover strong { color: #fff !important; }

/* TESTIMONIAL CARDS (New Style) */
.testimonial-card-new {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,0.07); border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card-new:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.12); }
.tcard-img { height: 240px; overflow: hidden; }
.tcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tcard-body { padding: 25px; }
.tcard-stars { color: #F5A623; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.tcard-quote { font-size: 14px; color: #555; line-height: 1.8; margin-bottom: 20px; }
.quote-mark { font-size: 28px; font-weight: 900; color: var(--primary-blue); line-height: 0; vertical-align: -10px; margin-right: 3px; font-family: Georgia, serif; }
.tcard-author strong { display: block; font-size: 15px; color: var(--text-dark); font-weight: 700; }
.tcard-author span { font-size: 12px; color: var(--text-gray); }

/* ABOUT IMAGE GRID */
.about-img-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 15px; align-items: stretch; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.about-img-stack { display: flex; flex-direction: column; gap: 15px; }
.about-img-stack img { width: 100%; height: 200px; object-fit: cover; border-radius: 16px; }
.about-badge { background: var(--primary-blue); color: #fff; border-radius: 16px; padding: 25px; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.about-badge h3 { font-size: 42px; font-weight: 700; margin: 0; line-height: 1; }
.about-badge p { font-size: 13px; margin: 5px 0 0; opacity: 0.85; }

/* FAQ */
.faq-grid { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid #E5E7EB; border-radius: 14px; margin-bottom: 15px; overflow: hidden; background: #fff; transition: all 0.3s ease; border-left: 4px solid transparent; }
.faq-item:hover { box-shadow: 0 5px 20px rgba(0,0,0,0.04); transform: translateX(3px); }
.faq-item.active { border-color: var(--primary-blue); border-left-color: var(--primary-green); box-shadow: 0 10px 30px rgba(0,119,182,0.08); transform: translateX(5px); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 22px 25px; font-size: 16.5px; font-weight: 600; color: var(--text-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-main); transition: background 0.2s, color 0.3s;
}
.faq-item.active .faq-question { color: var(--primary-blue); }
.faq-icon { font-size: 24px; color: var(--primary-blue); font-weight: 300; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); line-height: 1; flex-shrink: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s; padding: 0 25px; }
.faq-answer.open { max-height: 300px; padding: 0 25px 22px; }
.faq-answer p { font-size: 14px; color: var(--text-gray); line-height: 1.8; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* CONTACT SECTION */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: start; }
.contact-info-col { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { display: flex; gap: 20px; align-items: flex-start; background: #f8f9fa; padding: 25px; border-radius: 16px; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 0; }
.contact-info-card h4 { font-size: 15px; margin: 0 0 5px; color: var(--text-dark); }
.contact-info-card p, .contact-info-card a { font-size: 14px; color: var(--text-gray); text-decoration: none; }
.contact-form { background: #f8f9fa; padding: 40px; border-radius: 20px; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid #E5E7EB; border-radius: 10px;
  font-size: 14px; font-family: var(--font-main); color: var(--text-dark);
  background: #fff; transition: border-color 0.3s; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-blue); }
.contact-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hero-form .form-row { gap: 12px; }

/* GLANCING BUTTON SHINE */
.btn-primary::after, .btn-secondary::after, .btn-submit::after {
  content: ''; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%;
  background: rgba(255,255,255,0.25); transform: rotate(30deg); transition: left 0.55s ease;
}
.btn-primary:hover::after, .btn-secondary:hover::after, .btn-submit:hover::after { left: 130%; }

/* MINI SLIDER ANIMATION */
.mini-slider {
  margin-top: 15px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}
.mini-slider-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 10px;
  padding-right: 10px;
  animation: miniSlide 18s linear infinite;
  will-change: transform;
}
.mini-slider-track img {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
  cursor: pointer;
}
.mini-slider:hover .mini-slider-track { animation-play-state: paused; }
@keyframes miniSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-750px); }
}

@media (max-width: 991px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; padding: 110px 20px 48px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-tags { justify-content: center; }
  .glass-form-wrapper { margin: 0 auto; }
  .grid-2-col { grid-template-columns: 1fr; gap: 30px; }
  .header-left, .header-right .btn-primary, .header-right .btn-secondary { display: none; }
  .stats-grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .card-grid[style] { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 14px; }
  .hero-btns { flex-direction: column; width: 100%; gap: 12px; }
  .hero-btns .btn-primary, .hero-btns .btn-secondary { width: 100%; padding: 18px 25px; font-size: 16px; text-align: center; justify-content: center; }
  .section-watermark { padding: 42px 0; }
  .watermark-bg { font-size: 25vw; }
  .modal-content { max-width: 90%; padding: 10px; }
  .glass-form { padding: 25px; }
  .about-img-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inner-banner { height: 240px; }
  .centered-header { margin-bottom: 26px; }
  .sec-title { font-size: 34px; }
  .sec-desc { margin-bottom: 20px; }
}
/* TYPEWRITER CURSOR */
.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--primary-green);
  animation: blink 0.75s step-end infinite;
  margin-left: 2px;
  height: 1em;
  vertical-align: middle;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
/* GLOBAL IMAGE GLANCE ANIMATION */
img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.6s ease;
}

.bento-item, .card, .about-img-main, .about-img-stack, .parallax-img-wrapper, .tcard-img, .course-detail div {
  position: relative;
  overflow: hidden;
}

.bento-item::after, .card::after, .about-img-main::after, .about-img-stack::after, .parallax-img-wrapper::after, .tcard-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

.bento-item:hover img, .card:hover img, .about-img-main:hover img, .about-img-stack:hover img, .parallax-img-wrapper:hover img, .tcard-img:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.bento-item:hover::after, .card:hover::after, .about-img-main:hover::after, .about-img-stack:hover::after, .parallax-img-wrapper:hover::after, .tcard-img:hover::after {
  left: 150%;
}

/* ============================
   NEWS TICKER STYLES
   ============================ */
.news-ticker {
  background: var(--primary-blue);
  color: white;
  display: flex;
  height: 40px;
  min-height: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 99;
  font-family: var(--font-main);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ticker-label {
  background: var(--primary-green);
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.ticker-label::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 0;
  border-left: 15px solid var(--primary-green);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.ticker-content {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}

.ticker-content marquee {
  display: block;
  line-height: 40px;
  margin-top: 0;
}

/* ============================
   ANNOUNCEMENT BOX (FLOATING)
   ============================ */
.announcement-widget {
  position: fixed;
  bottom: 0;
  right: 30px;
  width: 320px;
  background: white;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
  z-index: 1000;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s;
  border: 1px solid rgba(0,0,0,0.05);
}
.announcement-widget.hide-on-hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(115%);
}

.announcement-widget.minimized .announcement-body {
  display: none;
}

.announcement-header {
  background: linear-gradient(135deg, var(--primary-blue), #0077B6);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.announcement-header h4 {
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-body {
  padding: 20px;
  max-height: clamp(250px, 60vh, 400px);
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom Scrollbar for Announcements */
.announcement-body::-webkit-scrollbar {
  width: 6px;
}
.announcement-body::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 4px;
}
.announcement-body::-webkit-scrollbar-thumb {
  background: rgba(0, 119, 182, 0.4);
  border-radius: 4px;
}
.announcement-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 119, 182, 0.8);
}

.announcement-item {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.announcement-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.announcement-item span {
  display: block;
  font-size: 11px;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 5px;
}

.announcement-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-gray);
}

.announcement-item a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
}

@media (max-width: 768px) {
  .news-ticker { top: auto; }
  
  .announcement-widget {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 0;
    transform: translateY(0);
  }
  
  /* Make it a side sticky widget when minimized */
  .announcement-widget.minimized {
    width: auto;
    right: 0;
    bottom: 50%;
    transform: translateY(50%) rotate(-90deg);
    transform-origin: right bottom;
    border-radius: 12px 12px 0 0;
    box-shadow: -5px -5px 15px rgba(0,0,0,0.1);
  }
  
  .announcement-widget.minimized .announcement-header {
    padding: 10px 15px;
  }
  
  .announcement-widget.minimized .announcement-header h4 {
    font-size: 14px;
  }
  
  .announcement-widget.minimized .announcement-body {
    display: none;
  }
}

/* ---- GALLERY PAGE ---- */
.fluid-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}
.gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.gallery-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
  .fluid-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .fluid-gallery { grid-template-columns: 1fr; }
}

/* ---- NEWS DETAILS PAGE ---- */
.blog-container {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
}
@media (max-width: 991px) {
  .blog-container { grid-template-columns: 1fr; }
}

.blog-content {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.blog-featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-gray);
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-size: 32px;
  color: var(--blue-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.blog-body p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-gray);
}
.blog-body h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.sidebar-widget {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}
.widget-title {
  font-size: 18px;
  color: var(--blue-dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-green);
  display: inline-block;
}

.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget-list li {
  margin-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}
.widget-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.widget-list a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 15px;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
}
.widget-list a:hover {
  color: var(--primary-blue);
}

.recent-post-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.recent-post-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
}
.recent-post-info h4 {
  font-size: 14px;
  margin: 0 0 5px 0;
  line-height: 1.4;
}
.recent-post-info p {
  font-size: 12px;
  color: var(--primary-blue);
  margin: 0;
}

.search-box {
  display: flex;
}
.search-box input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 6px 0 0 6px;
  outline: none;
}
.search-box button {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  font-weight: 600;
}

/* ---- INNER PAGE CONTENT ---- */
.page-content {
  padding: 42px 0;
  min-height: 60vh;
}
.page-content h2 {
  font-size: 28px;
  color: var(--blue-dark);
  margin: 30px 0 15px;
}
.page-content h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin: 25px 0 12px;
}
.page-content p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 18px;
}
.page-content ul, .page-content ol {
  padding-left: 25px;
  margin-bottom: 18px;
}
.page-content ul li, .page-content ol li {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 8px;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content strong { color: var(--text-dark); }
.policy-box {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 25px;
  margin: 25px 0;
}
.policy-box p { margin-bottom: 0; }
