
:root {
  --mda-navy: #0A2540;
  --mda-navy-dark: #061727;
  --mda-gold: #D4A373;
  --mda-gold-bright: #F59E0B;
  --mda-accent: #0072CE;
  --mda-accent-hover: #00569E;
  --mda-light-bg: #F8FAFC;
  --mda-card-border: #E2E8F0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--mda-light-bg);
  color: #334155;
}

h1, h2, h3, h4, h5, .brand-font {
  font-family: 'Poppins', sans-serif;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--mda-navy-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
}

/* ==========================================================================
   Advanced Hero Section & Auto-Scrolling Ticker Styles
   ========================================================================== */

:root {
  --primary-color: #0b1e36;
  --accent-color: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --bg-glass: rgba(255, 255, 255, 0.95);
  --border-radius-lg: 18px;
  --border-radius-sm: 10px;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-section {
  width: 100%;
  padding: clamp(1rem, 2vw, 2rem) clamp(0.75rem, 2vw, 1.5rem);
  background: #f1f5f9;
  box-sizing: border-box;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.5rem;
  align-items: stretch;
}

/* --------------------------------------------------------------------------
   Hero Slider
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: var(--primary-color);
}

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

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 54, 0.3) 0%, rgba(11, 30, 54, 0.9) 100%);
}

.slide-content {
  position: relative;
  z-index: 3;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  box-sizing: border-box;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.slide-title {
  font-size: clamp(1.75rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0.5rem 0 1rem;
  color: #ffffff;
}

.slide-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin-bottom: 2rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-accent {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Sidebar & Auto-Scrolling Ticker
   -------------------------------------------------------------------------- */
.hero-sidebar {
  width: 100%;
}

.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
}

.bulletin-column {
  background: var(--bg-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  height: 380px; /* Fixed Height Frame for Ticker */
  overflow: hidden;
  position: relative;
}

.bulletin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 0.75rem;
  background: #ffffff;
  z-index: 5;
}

.sidebar-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.text-accent {
  color: var(--accent-color);
}

/* Live Badge with Pulse Effect */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ef4444;
  background: #fee2e2;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

.pulse {
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Vertical Auto-Scroll Ticker Window */
.ticker-container {
  height: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: scrollUp 14s linear infinite;
}

/* Hover karne par Animation Pause ho jayegi */
.ticker-container:hover .ticker-wrapper {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* Exactly half height jump for seamless loop */
}

/* Cards Design */
.bulletin-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  background: #f8fafc;
  transition: var(--transition);
  border: 1px solid #e2e8f0;
}

.bulletin-card:hover {
  background: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
  transform: translateX(4px);
}

.date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #ffffff;
  min-width: 48px;
  padding: 0.35rem 0.2rem;
  border-radius: 6px;
  text-align: center;
}

.date-badge .month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-badge .day {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.bulletin-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.notice-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.file-link {
  font-size: 0.75rem;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.file-link:hover {
  text-decoration: underline;
}

.view-all-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.5rem;
  background: #ffffff;
  z-index: 5;
}

.view-all-link:hover {
  color: var(--accent-hover);
}

/* Leaders Column */
.leaders-column {
  background: var(--bg-glass);
  border-radius: var(--border-radius-lg);
  padding: 1.1rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 0.5rem;
}

.leader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.photo-frame {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-color);
  margin-bottom: 0.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.leader-title {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.leader-divider {
  width: 1px;
  height: 48px;
  background-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 320px;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 420px;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .bulletin-column {
    height: 320px;
  }
}



/* Font & Reset */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --header-bg: #f1f5f9;        /* Main Header Dark Color */
    --submenu-bg: #0d1b2a;       /* Custom Sub-Menu Background Color */
    --submenu-hover: #1e293b;    /* Hover State Color */
    --accent-color: #38bdf8;     /* Glowing Accent Blue */
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
}

/* HEADER BASE */
.mda-header {
    background-color: var(--header-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

/* LOGO STYLING */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-circle {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.logo-title h1 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 700;
}

.logo-title span {
    color: var(--text-dim);
    font-size: 11px;
    display: block;
}

/* MAIN NAVIGATION */
.main-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.menu-item {
    position: relative;
}

.menu-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 24px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.menu-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.arrow-icon {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.menu-item:hover .arrow-icon {
    transform: rotate(180deg);
}

/* =========================================
   CUSTOM ADVANCED SUB-MENU (BACKGROUND CHANGED)
   ========================================= */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 290px;
    background: var(--submenu-bg); /* Naya dark blue gradient background */
    border-top: 3px solid var(--accent-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

/* Display Menu on Hover */
.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu a {
    color: #e2e8f0;
    text-decoration: none;
    padding: 12px 18px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s ease;
}

.sub-menu a i {
    font-size: 13px;
    color: var(--accent-color);
    width: 18px;
    text-align: center;
}

/* Hover Effects on Sub-menu Items */
.sub-menu a:hover {
    background: var(--submenu-hover);
    color: var(--accent-color);
    padding-left: 24px; /* Slight slide right animation */
}

/* NESTED SUB-MENU (Level 3) */
.nested-menu {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 3px solid var(--accent-color);
}

.has-nested:hover > .nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested-arrow {
    margin-left: auto;
    font-size: 10px;
}

/* MOBILE RESPONSIVE DESIGN */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #000;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-wrapper {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--header-bg);
        overflow-y: auto;
        transition: left 0.4s ease;
    }

    .nav-wrapper.active {
        left: 0;
    }

    .main-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }

    .menu-link {
        padding: 15px 10px;
        justify-content: space-between;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sub-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none; /* Controlled via JS for Accordion effect */
        background: rgba(0, 0, 0, 0.3);
        border-top: none;
        padding-left: 15px;
    }

    .menu-item.open > .sub-menu {
        display: block;
    }
}


.btn-accent {
  background-color: var(--mda-accent);
  color: #FFFFFF;
  border: none;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--mda-accent-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-banner {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.92) 0%, rgba(0, 114, 206, 0.85) 100%), url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b3?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 80px 0;
  border-radius: 0 0 30px 30px;
}

/* Cards & Components */
.service-card {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--mda-card-border);
  padding: 28px 24px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  border-color: var(--mda-accent);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #E0F2FE;
  color: var(--mda-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.news-ticker {
  background-color: #FEF3C7;
  border-left: 5px solid #F59E0B;
  padding: 12px 20px;
  border-radius: 10px;
}


/* LIGHT EXECUTIVE FOOTER FOR BLACK LOGO */
.footer-section {
  background: #f1f5f9; /* Soft Professional Slate Light Background */
  color: #334155;
  border-top: 3px solid #0f172a;
}

/* Footer Top Bar */
.footer-top-bar {
  background: #e2e8f0;
}

.hotline-icon-box {
  width: 50px;
  height: 50px;
  background: #0f172a;
  color: #f8fafc;
}

/* Headings */
.footer-heading {
  color: #0f172a !important;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: #0284c7; /* MDA Accent Blue */
  border-radius: 2px;
}

/* Text & Links */
.footer-text {
  color: #475569 !important;
}

.footer-link {
  color: #000000;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  display: inline-block;
}

.footer-link:hover {
  color: #0284c7;
  transform: translateX(5px);
}

/* Social Buttons */
.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-icon-btn:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Logo Fix */
.footer-logo {
  height: 75px;
  width: auto;
  object-fit: contain;
}

/* Bottom Copyright Bar */
.copyright-bar {
  background: #0f172a;
  color: #cbd5e1 !important;
}

:root {
      --primary-color: #0d6efd;
      --secondary-color: #0b5ed7;
      --accent-badge: #ff3e6c;
      --bg-light: #f8f9fa;
      --card-bg: #ffffff;
      --text-main: #2b2d42;
      --text-muted: #6c757d;
      --border-radius: 12px;
      --transition-speed: 0.3s;
    }

.portal-section {
      background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
      position: relative;
    }

    .section-title h6 {
      letter-spacing: 2px;
    }

    /* Modern Card UI */
    .portal-card {
      background: var(--card-bg);
      border-radius: var(--border-radius);
      padding: 1.5rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border: 1px solid rgba(0, 0, 0, 0.08);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
      transition: all var(--transition-speed) ease;
      position: relative;
      overflow: hidden;
      text-decoration: none;
      color: inherit;
    }

    /* Hover Effects */
    .portal-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 20px rgba(13, 110, 253, 0.12);
      border-color: var(--primary-color);
      color: inherit;
    }

    .portal-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 0;
      background: var(--primary-color);
      transition: height var(--transition-speed) ease;
    }

    .portal-card:hover::before {
      height: 100%;
    }

    /* Icon Box */
    .icon-wrapper {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: rgba(13, 110, 253, 0.1);
      color: var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      margin-bottom: 1rem;
      transition: all var(--transition-speed) ease;
    }

    .portal-card:hover .icon-wrapper {
      background: var(--primary-color);
      color: #fff;
    }

    /* Content Styling */
    .portal-card h5 {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 0.5rem;
    }

    .portal-card p {
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Arrow Icon Link */
    .card-footer-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 1rem;
      padding-top: 0.75rem;
      border-top: 1px solid #f1f1f1;
      font-weight: 600;
      font-size: 0.85rem;
      color: var(--primary-color);
    }

    .card-footer-link i {
      transition: transform var(--transition-speed) ease;
    }

    .portal-card:hover .card-footer-link i {
      transform: translateX(5px);
    }

    /* Pulsing Badge for NEW items */
    .badge-new {
      background-color: var(--accent-badge);
      color: white;
      font-size: 0.65rem;
      padding: 0.25rem 0.5rem;
      border-radius: 20px;
      text-transform: uppercase;
      font-weight: 700;
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(255, 62, 108, 0.4); }
      70% { box-shadow: 0 0 0 8px rgba(255, 62, 108, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 62, 108, 0); }
    }