/*
Theme Name: DSMES - Medical Education Services
Theme URI: https://dsmes.in
Author: DSMES Development Team
Author URI: https://dsmes.in
Description: Modern, high-performance medical education consultancy WordPress theme inspired by premier educational portals. Features hero slider, destination stage, animated statistics, comprehensive program showcase, and multi-generational heritage.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: dsmes
*/

/* ==========================================================================
   DSMES — MODERN MEDICAL EDUCATION PORTAL (ISM EDUTECH STYLED)
   Deep Navy + Emerald Green + Crisp High Contrast System
   ========================================================================== */

/* ---------- 1. ROOT VARIABLES & THEME TOKENS ---------- */
:root {
  /* Brand Accents */
  --primary: #047857;          /* Emerald Green */
  --primary-light: #10b981;    /* Vibrant Mint */
  --primary-glow: rgba(16, 185, 129, 0.35);
  --primary-dark: #064e3b;
  
  --secondary: #3680ea;        /* Medical Cyan/Blue */
  --secondary-dark: #012169;   /* Deep Royal Blue */
  --accent: #f59e0b;           /* Amber/Gold */

  /* Dark Navy Canvas (ISM style) */
  --navy-dark: #000716;        /* Ultra dark background */
  --navy-night: #03102a;       /* Rich dark blue */
  --navy-card: #051638;        /* Card surface on dark */
  --navy-border: rgba(255, 255, 255, 0.12);

  /* Light Theme Canvas */
  --bg-body: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --text-dark: #000716;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Universal High Contrast Colors */
  --white: #ffffff;
  --black: #000000;
  
  /* Fonts */
  --font-main: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 7, 22, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 7, 22, 0.14);
  --shadow-glow: 0 0 35px rgba(16, 185, 129, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Optional Dark Mode Override (Preserving High Contrast) */
[data-theme="dark"] {
  --bg-body: #030a1c;
  --bg-alt: #05132f;
  --bg-card: #07193d;
  --border-light: #162c56;
  --text-dark: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
}

/* ---------- 2. BASE & RESET ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ---------- 3. UTILITY & CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  width: 100%;
  padding-left: 30px;
  padding-right: 30px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--navy-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header h2 span {
  color: var(--primary-light);
  background: linear-gradient(135deg, #10b981 0%, #3680ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
  color: var(--white);
  border-color: var(--primary-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  color: var(--white);
}

.btn-blue {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-blue:hover {
  background: #2563eb;
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: #000716;
  border-color: var(--white);
}

.btn-light:hover {
  background: #f1f5f9;
  color: #000716;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: var(--white);
  color: #000716;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

/* ---------- 5. TOP BAR ---------- */
.top-bar {
  background-color: #011438;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  position: relative;
  z-index: 1002;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.top-bar-left a, .top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.top-bar-left a:hover {
  color: var(--primary-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 13px;
  transition: var(--transition);
}

.top-social a:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- 6. HEADER / MAIN NAVBAR ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

[data-theme="dark"] .site-header {
  background-color: rgba(2, 9, 26, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(16, 185, 129, 0.08);
}

[data-theme="dark"] .nav-link:hover, 
[data-theme="dark"] .nav-link.active {
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.theme-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100vh;
  background: var(--bg-body);
  z-index: 1060;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
}

.close-drawer-btn {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-nav-links a {
  display: block;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.mobile-nav-links a:hover, .mobile-nav-links a.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
}

/* ---------- 7. HERO BANNER SLIDER (ISM EDUTECH EXACT STYLE) ---------- */
.hero-slider {
  position: relative;
  min-height: 88vh;
  max-height: 950px;
  background-color: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero-slide.active .slide-bg-img {
  transform: scale(1);
}

/* Dark Navy / Deep Green Gradient Overlay */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(1, 15, 41, 0.95) 0%, 
    rgba(2, 22, 59, 0.88) 40%, 
    rgba(1, 27, 51, 0.65) 70%, 
    rgba(0, 7, 22, 0.35) 100%);
  z-index: 2;
}

.slide-content-wrap {
  position: relative;
  z-index: 5;
  max-width: 960px;
  padding: 80px 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.hero-badge-pill span {
  color: var(--primary-light);
  font-weight: 700;
}

.slide-content-wrap h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.slide-content-wrap h1 em {
  font-style: normal;
  color: var(--primary-light);
  background: linear-gradient(135deg, #10b981 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-content-wrap p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 38px;
}

.hero-btn-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slide-dot.active {
  width: 34px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
}

/* ---------- 8. STATS STRIP (ISM HOVER GRADIENT EFFECT) ---------- */
.stats-strip {
  background: var(--bg-body);
  padding: 40px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 20;
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 15px;
}

.stat-left {
  flex: 1;
  min-width: 240px;
  padding: 15px 25px 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-left h3 {
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.stat-left p {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.stat-grid {
  flex: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stat-item {
  text-align: center;
  padding: 26px 16px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: rgba(0, 7, 22, 0.04);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  cursor: default;
}

[data-theme="dark"] .stat-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

/* Gradient on hover like ISM */
.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #07244D 0%, #047857 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-num {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  position: relative;
  z-index: 2;
  transition: color 0.35s ease;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  transition: color 0.35s ease;
}

.stat-item:hover .stat-num,
.stat-item:hover .stat-label {
  color: var(--white) !important;
}

/* ---------- 9. TRUSTED BANNER (DARK ASSURANCE BAR) ---------- */
.trusted-banner {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trusted-banner h2 {
  color: var(--white);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 600;
}

.trusted-banner h2 span {
  color: var(--primary-light);
}

.trusted-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.tf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 0 10px;
}

.tf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-light);
  margin-bottom: 6px;
  transition: var(--transition);
}

.tf-item:hover .tf-icon {
  background: var(--primary-light);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

/* ---------- 10. OUR STORY (ABOUT PREVIEW) ---------- */
.our-story {
  padding: 95px 0;
  background-color: var(--bg-alt);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.story-media {
  position: relative;
}

.story-img-main {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--navy-night), var(--navy-dark));
  color: var(--white);
  border: 3px solid var(--primary-light);
  padding: 22px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.story-badge-floating .big-yr {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.story-badge-floating .yr-text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.story-content h4 {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.story-content .lead-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

[data-theme="dark"] .story-content .lead-text {
  color: var(--primary-light);
}

.story-content p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.story-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.story-val-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-body);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-dark);
}

/* ---------- 11. NO.1 PROGRAM HIGHLIGHT CARDS (ISM STYLE) ---------- */
.programs-section {
  padding: 95px 0;
  background-color: var(--bg-body);
}

.prog-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.prog-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.prog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.prog-card.big-card {
  min-height: 540px;
}

.prog-stacked {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.prog-card.small-card {
  min-height: 258px;
}

.prog-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.prog-card:hover .prog-bg {
  transform: scale(1.08);
}

.prog-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(2, 12, 33, 0.94) 0%,
    rgba(2, 12, 33, 0.65) 50%,
    rgba(2, 12, 33, 0.2) 100%);
}

.prog-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
  z-index: 3;
  color: var(--white);
}

.prog-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.prog-content h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.prog-content p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.prog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 15px;
}

.prog-link:hover {
  gap: 14px;
  color: var(--white);
}

/* ---------- 12. DESTINATIONS SECTION (3D STAGE & CARDS) ---------- */
.destinations-section {
  padding: 95px 0 80px 0;
  background: linear-gradient(135deg, #000716 0%, #031844 50%, #000716 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.dest-stage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.dest-card {
  position: relative;
  height: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #06183d;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.dest-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-light);
}

.dest-img-wrap {
  position: absolute;
  inset: 0;
}

.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dest-card:hover .dest-img-wrap img {
  transform: scale(1.08);
}

.dest-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0, 7, 22, 0.96) 0%,
    rgba(0, 7, 22, 0.6) 45%,
    rgba(0, 0, 0, 0.1) 100%);
}

.dest-flag-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  z-index: 5;
}

.dest-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 4;
}

.dest-info h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.dest-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.dest-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dest-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-light);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 13. UNIVERSITY GRID WITH FILTERS ---------- */
.uni-section {
  padding: 95px 0;
  background-color: var(--bg-alt);
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 45px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-body);
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.uni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.uni-card {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.uni-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.uni-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.uni-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.uni-card:hover .uni-card-img img {
  transform: scale(1.06);
}

.uni-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 7, 22, 0.85);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.uni-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.uni-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.uni-location {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.uni-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.uni-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 6px;
}

.uni-detail-row .label {
  color: var(--text-muted);
}

.uni-detail-row .val {
  font-weight: 600;
  color: var(--text-dark);
}

.uni-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.uni-badge-item {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ---------- 14. TESTIMONIALS (ISM EDUTECH GLOWING CARDS) ---------- */
.testimonials-section {
  padding: 95px 0 80px 0;
  background: linear-gradient(135deg, #000716 0%, #021235 50%, #000716 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testi-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testi-card {
  background: #020617;
  border: 2px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(16, 185, 129, 0.05);
  transition: var(--transition);
}

.testi-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 25px rgba(16, 185, 129, 0.1);
}

.quote-symbol {
  font-size: 34px;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 18px;
}

.testi-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 30px;
  font-style: italic;
}

.testi-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary-light);
}

.testi-author-info h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.testi-author-info span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 15. CTA CARD SECTION ---------- */
.cta-banner-section {
  padding: 85px 0;
  background-color: var(--bg-alt);
}

.cta-box-card {
  background: linear-gradient(135deg, #07244d 0%, #03142e 60%, #010a1a 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.cta-box-card h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-box-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.cta-box-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-box-card .consult-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
}

.cta-box-card .consult-details h4 {
  font-size: 20px;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.cta-box-card .consult-details .phone-lg {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}

/* ---------- 16. FAQ SECTION (HIGH CONTRAST) ---------- */
.faq-section {
  padding: 95px 0;
  background-color: var(--bg-body);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 22px 28px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-answer-inner {
  padding-bottom: 22px;
}

/* ---------- 17. CONTACT & INQUIRY FORM (CRISP HIGH CONTRAST) ---------- */
.form-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .form-card-container {
  background: var(--navy-card);
  border-color: var(--navy-border);
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

[data-theme="dark"] .form-label {
  color: #f1f5f9;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  background-color: var(--bg-body);
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

[data-theme="dark"] .form-control {
  background-color: #030c1e;
  color: #ffffff;
  border-color: #1e3a6c;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-control::placeholder {
  color: #94a3b8;
}

[data-theme="dark"] .form-control::placeholder {
  color: #64748b;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- 18. FOOTER (DARK NAVY BRANDED) ---------- */
.site-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 85px 0 0 0;
  border-top: 2px solid rgba(16, 185, 129, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 35px;
  height: 2px;
  background: var(--primary-light);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 54px;
  width: auto;
  background: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.footer-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14.5px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-item a:hover {
  color: var(--primary-light);
}

.footer-newsletter-box {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 15px;
}

.footer-newsletter-box input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
}

.footer-newsletter-box button {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.footer-newsletter-box button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating Actions */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-night);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- 19. PAGE HERO (INNER PAGES) ---------- */
.page-hero-banner {
  background: linear-gradient(135deg, #000716 0%, #031c52 50%, #000716 100%);
  color: var(--white);
  padding: 85px 0 70px 0;
  text-align: center;
  position: relative;
  border-bottom: 2px solid rgba(16, 185, 129, 0.3);
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-trail a:hover {
  color: var(--primary-light);
}

.page-hero-banner h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto;
}

/* Timeline & Comparison Table (Admissions & Countries) */
.timeline-stepper {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline-step {
  display: flex;
  gap: 24px;
  margin-bottom: 35px;
  position: relative;
}

.step-num-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0d9488);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.step-card-body {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  flex: 1;
}

.step-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.step-card-body p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.data-table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.custom-data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.custom-data-table th {
  background: #011942;
  color: var(--white);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 14.5px;
}

.custom-data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 14.5px;
  color: var(--text-dark);
}

.custom-data-table tr:hover {
  background: rgba(16, 185, 129, 0.05);
}

/* ---------- 20. RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1199px) {
  .dest-stage {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trusted-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .nav-menu, .header-cta {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .story-inner {
    grid-template-columns: 1fr;
  }
  .prog-grid {
    grid-template-columns: 1fr;
  }
  .uni-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .cta-box-card {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .stats-inner {
    flex-direction: column;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .top-bar {
    display: none;
  }
  .section {
    padding: 65px 0;
  }
  .dest-stage {
    grid-template-columns: 1fr;
  }
  .uni-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .trusted-features {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .trusted-features {
    grid-template-columns: 1fr;
  }
  .cta-box-card {
    padding: 26px 20px;
  }
}
