/* ==========================================================================
   National Council for Vocational Education & Research (NCVER)
   Official Portal: ncver.co.in
   Core Stylesheet: css/style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design System Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Institutional Palette (Indian Government Portal Theme) */
  --primary: #006837;          /* Rich Indian Government Green (Dominant Institutional) */
  --primary-dark: #044D22;     /* Deep Forest Green (Top bar, hero base, footer) */
  --primary-deep: #023616;     /* Deepest Emerald/Forest Green */
  --secondary: #0B7B3C;        /* Lush Emerald Green Accent */
  --secondary-light: #16984D;  /* Vibrant Emerald Light */
  --green: #006837;            /* Action / Positive / Success */
  --green-hover: #044D22;
  --light-green: #E8F5E9;      /* Soft Mint/Sage Tint */
  --light-blue: #E0F2F1;       /* Soft Seafoam/Mint Tint */
  --saffron: #FF9933;          /* Indian Saffron Accent */
  --saffron-dark: #E65100;     /* Deep Saffron / Red-Orange */
  --saffron-light: #FFF3E0;    /* Soft Saffron Tint */
  --gold: #FFD700;             /* Bright Golden Yellow (Institutional Trim / Active Nav) */
  --gold-light: #FFE500;       /* Bright Lime-Gold Highlight */
  --footer-ochre: #A66000;     /* Warm Ochre / Mustard Gold for Copyright Bar */
  --silver: #CBD5E1;
  
  /* Neutral Palette */
  --white: #FFFFFF;
  --background: #F4F7F4;       /* Fresh Institutional Light Background */
  --surface: #FFFFFF;
  --surface-alt: #EBF2EB;
  --border: #D1E5D5;
  --border-dark: #B2D4B9;
  --text: #16261A;             /* High contrast deep green-slate body text */
  --text-muted: #4B6352;
  --text-light: #7A9682;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;

  /* Sizing & Spacing Scale (Default 100%) */
  --font-scale: 1rem;
  --h1: 2.25rem;
  --h2: 1.75rem;
  --h3: 1.35rem;
  --h4: 1.15rem;
  --body: 1rem;
  --small: 0.875rem;
  --xs: 0.75rem;

  /* Radii & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 56, 26, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 56, 26, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 56, 26, 0.14);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);

  /* Layout Containers */
  --container-max: 1240px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Accessibility Font Scale Adjustments */
body.font-sm {
  --font-scale: 0.9rem;
  --h1: 2rem;
  --h2: 1.55rem;
  --h3: 1.2rem;
  --body: 0.9rem;
}

body.font-lg {
  --font-scale: 1.125rem;
  --h1: 2.5rem;
  --h2: 2rem;
  --h3: 1.5rem;
  --body: 1.125rem;
}

/* High Contrast Accessibility Mode */
body.high-contrast {
  --background: #FFFFFF;
  --surface: #FFFFFF;
  --text: #000000;
  --text-muted: #111827;
  --border: #000000;
  --primary: #004D22;
  --secondary: #006837;
  --green: #006837;
}

/* --------------------------------------------------------------------------
   2. CSS Reset & Base Elements
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--primary);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }

/* Accessibility Focus Outlines */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Skip-to-content Link */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

.skip-to-content:focus {
  top: 10px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 60px 0;
}

.section-sm {
  padding: 35px 0;
}

.section-bg {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  background: var(--light-green);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: var(--h2);
  color: var(--primary);
  margin-bottom: 12px;
  position: relative;
}

.section-desc {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   3. Top White Utility Bar (Above Main Header)
   -------------------------------------------------------------------------- */
.header-top-utility-bar {
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E2E8F0;
  padding: 6px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 1000;
}

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

.top-utility-left {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
}

.top-utility-left a {
  color: #0B1F3A;
  text-decoration: none;
  font-weight: 700;
}

.top-utility-left a:hover {
  text-decoration: underline;
}

.top-utility-divider {
  color: #CBD5E1;
}

.top-utility-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.top-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  line-height: 1.25;
  transition: all 0.2s ease;
  cursor: pointer;
}

.top-action-btn.btn-top-student {
  background: #059669;
  color: #FFFFFF !important;
  border: 1px solid #047857;
  box-shadow: 0 2px 5px rgba(5, 150, 105, 0.25);
}

.top-action-btn.btn-top-student:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(5, 150, 105, 0.35);
}

.top-action-btn.btn-top-admin {
  background: #D97706;
  color: #FFFFFF !important;
  border: 1px solid #B45309;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.25);
}

.top-action-btn.btn-top-admin:hover {
  background: #B45309;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(217, 119, 6, 0.35);
}

.top-gov-bar {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  font-size: var(--small);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 0;
}

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

.gov-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gov-badge {
  background: var(--saffron-dark);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.gov-title-text {
  font-weight: 600;
  color: #FFFFFF;
  font-size: 0.82rem;
}

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

.font-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.font-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.font-btn:hover, .font-btn.active {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

.contrast-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.contrast-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.lang-item {
  color: #FFFFFF;
  font-weight: 600;
}

.lang-item.active {
  color: var(--gold);
}

.lang-item.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   4. Main Brand Header (eAnnadata Official Layout)
   -------------------------------------------------------------------------- */
.main-brand-header {
  background: linear-gradient(90deg, #FFF7EE 0%, #FFFFFF 40%, #EFF8F0 100%);
  padding: 10px 0;
  border-top: 5px solid #0A8522;
  border-bottom: 2px solid #E2E8F0;
  position: relative;
  width: 100%;
}

.brand-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left: Logo & Text Identification */
.header-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo-img {
  height: 88px;
  width: 88px;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 40, 20, 0.18));
  border-radius: 50%;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-company-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0A8522;
  letter-spacing: -0.01em;
  margin: 0 0 3px 0;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.brand-hindi-tagline {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0A8522;
  margin: 0;
  line-height: 1.25;
  font-family: "Noto Sans Devanagari", -apple-system, "Segoe UI", Tahoma, sans-serif;
}

.brand-company-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0A8522;
  margin: 1px 0;
  line-height: 1.2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.brand-cin-info {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A8522;
  margin-top: 2px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Middle & Right Divider Columns */
.header-divider-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-left: 1px solid #D5E2D7;
  flex-shrink: 0;
  height: 82px;
}

.header-swachh-col {
  padding: 0 18px;
}

.header-swachh-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease-in-out;
}

.header-national-col {
  padding-left: 18px;
}

.header-national-img, .header-mca-img {
  height: 68px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

/* Responsive Header */
/* --------------------------------------------------------------------------
   Responsive Header Layouts
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .brand-company-title {
    font-size: 1.35rem;
  }
  .brand-hindi-tagline {
    font-size: 1.05rem;
  }
  .brand-logo-img {
    height: 72px;
    width: 72px;
  }
  .header-swachh-img {
    height: 54px;
  }
  .header-national-img, .header-mca-img {
    height: 54px;
    max-width: 230px;
  }
  .header-divider-col {
    height: 72px;
    padding: 0 12px;
  }
}

/* Tablets and Mobile Screens (<= 992px) */
@media (max-width: 992px) {
  .main-brand-header {
    padding: 8px 0;
  }

  .brand-header-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "swachh mca";
    align-items: center;
    gap: 8px 12px;
    text-align: left;
    box-sizing: border-box;
  }

  .header-brand-group {
    grid-area: brand;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .brand-logo-img {
    height: 54px !important;
    width: 54px !important;
    flex-shrink: 0 !important;
  }

  .brand-text-block {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-company-title {
    font-size: 1.1rem !important;
    line-height: 1.22 !important;
    margin: 0 !important;
    color: #0A8522 !important;
  }

  .brand-hindi-tagline {
    font-size: 0.85rem !important;
    line-height: 1.25 !important;
    margin-top: 2px !important;
    color: #0A8522 !important;
  }

  .header-divider-col {
    border-left: none !important;
    height: 38px !important;
    padding: 2px 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    min-width: 0;
  }

  .header-swachh-col {
    grid-area: swachh;
  }

  .header-national-col {
    grid-area: mca;
    padding-left: 6px !important;
  }

  .header-swachh-img {
    height: 32px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .header-national-img, .header-mca-img {
    height: 32px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* Mobile Phones (<= 600px) */
@media (max-width: 600px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Top Utility Bar on Phones */
  .header-top-utility-bar {
    padding: 5px 0;
  }

  .header-top-utility-inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  .top-utility-left {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.74rem !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .top-utility-left .top-utility-email,
  .top-utility-left .top-utility-divider {
    display: none !important;
  }

  .top-utility-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
  }

  .top-action-btn {
    flex: 1 1 0 !important;
    max-width: 155px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 5px 6px !important;
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  /* Main Brand Header on Phones */
  .main-brand-header {
    padding: 6px 0;
  }

  .brand-header-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    gap: 6px 8px !important;
    width: 100% !important;
  }

  .header-brand-group {
    gap: 8px !important;
  }

  .brand-logo-img {
    height: 44px !important;
    width: 44px !important;
  }

  .brand-company-title {
    font-size: 0.86rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
  }

  .brand-hindi-tagline {
    font-size: 0.7rem !important;
    line-height: 1.22 !important;
  }

  .header-divider-col {
    height: 32px !important;
    padding: 2px 4px !important;
  }

  .header-swachh-img, .header-national-img, .header-mca-img {
    height: 26px !important;
  }
}

/* Ultra-Compact Phones (<= 380px) */
@media (max-width: 380px) {
  .brand-logo-img {
    height: 38px !important;
    width: 38px !important;
  }

  .brand-company-title {
    font-size: 0.8rem !important;
  }

  .brand-hindi-tagline {
    font-size: 0.66rem !important;
  }

  .header-swachh-img, .header-mca-img {
    height: 22px !important;
  }
  
  .top-action-btn {
    font-size: 0.75rem !important;
    padding: 5px 6px !important;
  }
}

/* Service Card Background Gradient */
.service-card {
  background: linear-gradient(135deg, #CBF3DB 0%, #FEF3C7 100%) !important;
  border: 1px solid rgba(0, 104, 55, 0.15) !important;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 70, 30, 0.06);
}

.service-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 24px rgba(0, 70, 30, 0.14) !important;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   5. Main Navigation Bar & Dropdowns
   -------------------------------------------------------------------------- */
.main-nav-bar {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 56, 26, 0.2);
  border-top: 3px solid var(--gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 13px;
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link:focus, .nav-item.active > .nav-link {
  background-color: var(--primary-dark);
  color: var(--gold);
  text-decoration: none;
}

/* Distinct Navbar Action Buttons: Admin & Student */
.nav-link.nav-btn-admin {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF !important;
  border-radius: 4px;
  padding: 7px 13px;
  margin: 7px 3px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-link.nav-btn-admin:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.nav-link.nav-btn-student {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF !important;
  border-radius: 4px;
  padding: 7px 13px;
  margin: 7px 3px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.nav-link.nav-btn-student:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF !important;
  transform: translateY(-1px);
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover .dropdown-arrow,
.nav-item:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  display: none;
  z-index: 1050;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--light-green);
  color: var(--primary);
  text-decoration: none;
  padding-left: 22px;
}

/* Mobile Hamburger Trigger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 10px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. Urgent Notices Ticker Bar
   -------------------------------------------------------------------------- */
.notice-ticker-bar {
  background-color: #EBF7EE;
  border-bottom: 1px solid #C8E6C9;
  padding: 8px 0;
}

.notice-ticker-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #D32F2F;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 24px;
}

.ticker-list {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease-in-out;
}

.ticker-item {
  height: 24px;
  display: flex;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item a {
  color: var(--primary);
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 700;
}

.ticker-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all var(--transition-fast);
}

.ticker-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   7. Homepage Hero Section (4-Slide Slider)
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  background-color: var(--primary-dark);
  overflow: hidden;
  height: 560px;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
}

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

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2, 54, 22, 0.95) 0%, rgba(0, 104, 55, 0.85) 45%, rgba(11, 123, 60, 0.45) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  color: #FFFFFF;
  padding: 40px 0;
}

.hero-category-label {
  display: inline-block;
  background: rgba(255, 215, 0, 0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-slide-heading {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-slide-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 28px;
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Controls: Arrows and Indicators */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(4, 77, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
}

.hero-nav-arrow:hover, .hero-nav-arrow:focus {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

.hero-nav-prev { left: 24px; }
.hero-nav-next { right: 24px; }

.hero-indicators {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background: var(--gold);
  width: 32px;
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   8. Institutional Page Header Banner (Internal Pages)
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  color: #FFFFFF;
  padding: 45px 0 35px;
  border-bottom: 4px solid var(--saffron);
  position: relative;
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.page-banner-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 700px;
  margin-bottom: 16px;
}

/* Breadcrumbs */
.breadcrumbs-nav {
  font-size: 0.85rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs-nav a {
  color: #E2E8F0;
  text-decoration: none;
}

.breadcrumbs-nav a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: #64748B;
}

.breadcrumbs-current {
  color: var(--gold);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #005A28;
  color: #D4EADB;
  border-top: 4px solid var(--gold);
  margin-top: auto;
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.footer-brand-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-initiative-box {
  background: rgba(163, 207, 165, 0.22);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #E8F5E9;
  margin-top: 14px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  color: #FFFFFF;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links-list a::before {
  content: '★';
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-links-list a:hover {
  color: var(--gold);
  padding-left: 5px;
  text-decoration: none;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  color: var(--gold);
  margin-top: 3px;
  font-size: 1rem;
}

.footer-bottom {
  background-color: var(--footer-ochre);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #FFFFFF;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #FFFFFF;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--primary);
  color: #FFFFFF;
  border: 2px solid var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 900;
}

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

.back-to-top-btn:hover {
  background-color: var(--gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}
