/* ==========================================================================
   SDMF THEME - Main Stylesheet
   Student Development Mission Foundation
   ========================================================================== */

:root {
  --primary-navy: #081c33;
  --primary-dark: #051426;
  --secondary-navy: #0f2d4e;
  --navy-panel: #1b3858;
  --accent-gold: #ffb703;
  --accent-gold-hover: #e09f00;
  --accent-cyan: #0090c5;
  --accent-cyan-hover: #0076a3;
  --accent-red: #c9182b;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --card-hover-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.15);
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1240px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 10px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy);
  color: #e2e8f0;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  max-width: 1400px;
  width: 96%;
}

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

.top-info-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e2e8f0;
  white-space: nowrap;
}

.top-info-item.item-address {
  max-width: 520px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-info-item i, .top-info-item .icon {
  color: var(--accent-gold);
  font-size: 13px;
  flex-shrink: 0;
}

.top-info-item a {
  color: #e2e8f0;
}

.top-info-item a:hover {
  color: var(--accent-gold);
}

.top-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-login-student {
  background-color: var(--accent-cyan);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 144, 197, 0.3);
  white-space: nowrap;
}

.btn-login-student:hover {
  background-color: var(--accent-cyan-hover);
  transform: translateY(-1px);
}

.btn-login-centre {
  background-color: var(--accent-gold);
  color: var(--primary-navy) !important;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 15px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(255, 183, 3, 0.3);
  white-space: nowrap;
}

.btn-login-centre:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   Main Navbar & Dropdowns
   ========================================================================== */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header .container {
  max-width: 1400px;
  width: 96%;
}

.main-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav Menu */
.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.navbar-nav > li,
.navbar-nav > .menu-item,
.navbar-nav > .nav-item {
  position: relative;
  list-style: none;
  display: inline-block;
}

.navbar-nav > li > a,
.navbar-nav > .menu-item > a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar-nav > li:hover > a,
.navbar-nav > .menu-item:hover > a,
.navbar-nav > li.current-menu-item > a,
.navbar-nav > li.current-menu-ancestor > a,
.nav-link:hover,
.nav-link.active {
  color: var(--accent-gold);
}

/* Dropdown arrow for items with submenus */
.navbar-nav > .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  margin-left: 5px;
  margin-bottom: 3px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.navbar-nav > .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg);
  border-color: var(--accent-gold);
}

/* Dropdown Container */
.navbar-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 99999;
  border-top: 3px solid var(--accent-gold);
  margin: 0;
  pointer-events: none;
}

/* Display Dropdown on Hover */
.navbar-nav > li:hover > .sub-menu,
.navbar-nav > .menu-item:hover > .sub-menu,
.navbar-nav > .menu-item-has-children:hover > .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  display: block !important;
}

.navbar-nav .sub-menu li {
  display: block;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  text-transform: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.navbar-nav .sub-menu li a:hover {
  background-color: #fffbeb;
  color: #d97706;
  padding-left: 24px;
}

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

.sub-menu li a:hover {
  background-color: #fffbeb;
  color: #d97706;
  padding-left: 24px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   Hero Banner Section (Screenshot 1)
   ========================================================================== */
.hero-banner-section {
  position: relative;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 40%, #1e293b 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  overflow: hidden;
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px 1fr 340px;
  gap: 30px;
  align-items: center;
}

.hero-left-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-pill {
  background: #1e3a8a;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.feature-pill:hover {
  transform: translateX(6px);
  background: #1d4ed8;
  border-color: var(--accent-gold);
}

.feature-pill-dot {
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.hero-center-content {
  text-align: center;
  padding: 0 10px;
}

.hero-center-domain {
  display: inline-block;
  font-size: 16px;
  font-weight: 800;
  color: #fef08a;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-hindi-heading {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  color: #facc15;
  text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 12px;
}

.hero-hindi-subheading {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 25px;
}

.hero-badge-trusted {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: radial-gradient(circle, #fde047 0%, #ca8a04 100%);
  color: #051426;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  border: 2px solid #ffffff;
}

.hero-right-visual {
  position: relative;
  text-align: center;
}

.hero-student-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-student-card h3 {
  color: #fde047;
  font-size: 20px;
  margin-bottom: 10px;
}

.hero-student-card p {
  font-size: 13px;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.hero-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-btn {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.hero-btn-primary {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.hero-btn-primary:hover {
  background: var(--accent-gold-hover);
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Announcement Ticker Bar (Screenshot 4)
   ========================================================================== */
.ticker-bar-section {
  background-color: var(--primary-navy);
  border-top: 2px solid var(--accent-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  color: #ffffff;
}

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

.ticker-badge {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ticker-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
  animation: tickerMarquee 25s linear infinite;
}

@keyframes tickerMarquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   Best Institute Banner & Counter Stats (Screenshot 4)
   ========================================================================== */
.quick-overview-section {
  padding: 50px 0 30px;
  background-color: #f8fafc;
}

.best-institute-banner {
  background-color: #0c2340;
  border-radius: var(--radius-lg);
  padding: 40px 50px;
  color: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 12px 30px rgba(12, 35, 64, 0.2);
}

.best-institute-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  align-items: center;
}

.best-institute-title {
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.best-institute-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.banner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: transform 0.25s ease;
}

.banner-item:hover {
  transform: translateY(-5px);
}

.banner-item i, .banner-item .item-icon {
  font-size: 42px;
  color: var(--accent-gold);
}

.banner-item span {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

/* Counter Cards */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-gold);
}

.stat-icon-wrap {
  font-size: 36px;
  color: #0c2340;
  margin-bottom: 12px;
}

.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: #0c2340;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: capitalize;
}

/* ==========================================================================
   Facilities & Request Live Demo Form (Screenshot 5)
   ========================================================================== */
.facilities-demo-section {
  background-color: #27435f;
  color: #ffffff;
  padding: 65px 0;
  position: relative;
}

.facilities-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Demo Form Box */
.demo-form-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.demo-form-title {
  color: #ef4444;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 22px;
}

.demo-form-group {
  margin-bottom: 14px;
}

.demo-form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background-color: #ffffff;
  color: #1e293b;
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}

.demo-form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.25);
}

.demo-form-textarea {
  min-height: 80px;
  resize: vertical;
}

.btn-submit-query {
  width: 100%;
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 16px;
  font-weight: 800;
  padding: 12px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-submit-query:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 183, 3, 0.4);
}

/* Facilities List */
.facilities-content {
  padding-left: 20px;
}

.facilities-heading {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 35px;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

.facility-icon-wrap {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.facility-icon-wrap img, .facility-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.facility-text h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.facility-text p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   About Us & Key Benefits Section (Screenshot 6)
   ========================================================================== */
.about-benefits-section {
  padding: 75px 0;
  background-color: #ffffff;
}

.about-benefits-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 50px;
  align-items: start;
}

.about-left-col {
  padding-right: 15px;
}

.about-tagline {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: #d97706;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 4px;
}

.about-main-heading {
  font-size: 34px;
  font-weight: 900;
  color: #0c2340;
  line-height: 1.25;
  margin-bottom: 22px;
}

.about-desc-paragraph {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: justify;
}

/* Benefits Right Col */
.benefits-right-col {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--card-shadow);
}

.benefits-title {
  font-size: 26px;
  font-weight: 900;
  color: #0c2340;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}

.benefit-item i, .benefit-item .icon-check {
  color: #16a34a;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==========================================================================
   WhatsApp Automation Features Section
   ========================================================================== */
.whatsapp-features-section {
  padding: 60px 0;
  background-color: #f1f5f9;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
  border-color: #25d366;
}

.feature-icon-badge {
  width: 60px;
  height: 60px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.feature-box h4 {
  font-size: 16px;
  font-weight: 800;
  color: #0c2340;
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Authorizations & Certifications Badges (Screenshot 3)
   ========================================================================== */
.certifications-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.certifications-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 20px;
}

.cert-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.cert-badge-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-gold);
}

.cert-badge-item img {
  height: 65px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   Featured Courses Grid
   ========================================================================== */
.courses-section {
  padding: 70px 0;
  background-color: #f8fafc;
}

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

.course-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}

.course-header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 22px 20px;
  position: relative;
}

.course-header h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.course-badge {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.course-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 10px;
}

.course-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}

.course-footer {
  display: flex;
  gap: 10px;
}

.btn-course-enroll {
  flex: 1;
  background: var(--accent-gold);
  color: var(--primary-navy);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.btn-course-enroll:hover {
  background: var(--accent-gold-hover);
}

.btn-course-details {
  flex: 1;
  background: #f1f5f9;
  color: var(--primary-navy);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--radius-sm);
}

.btn-course-details:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   Verification Modules (Certificate & Center)
   ========================================================================== */
.verification-section {
  padding: 70px 0;
  background: #0f2d4e;
  color: #ffffff;
}

.verification-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.verify-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.verify-box h3 {
  color: var(--accent-gold);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
}

.verify-box p {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 20px;
}

.verify-form-row {
  display: flex;
  gap: 10px;
}

.verify-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  font-size: 14px;
  outline: none;
}

.btn-verify-submit {
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-weight: 800;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
}

.btn-verify-submit:hover {
  background: var(--accent-gold-hover);
}

.verify-result-box {
  margin-top: 18px;
  padding: 15px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  display: none;
  font-size: 13px;
}

/* ==========================================================================
   Gallery Section (Screenshot 3)
   ========================================================================== */
.gallery-section {
  padding: 70px 0;
  background-color: #ffffff;
}

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

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-gold);
}

.gallery-img-wrap {
  height: 220px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.gallery-mock-cert {
  width: 90%;
  height: 85%;
  background: #ffffff;
  border: 3px double #d97706;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gallery-card-info {
  padding: 15px 20px;
  text-align: center;
}

.gallery-card-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
}

/* ==========================================================================
   Helpline CTA Banner
   ========================================================================== */
.helpline-cta-section {
  background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 45px 0;
  border-top: 4px solid var(--accent-gold);
}

.helpline-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.helpline-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.helpline-text p {
  color: #cbd5e1;
  font-size: 15px;
}

.helpline-btn-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-helpline-call {
  background: var(--accent-gold);
  color: var(--primary-navy);
  font-size: 18px;
  font-weight: 900;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(255, 183, 3, 0.4);
}

.btn-helpline-call:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer (Screenshot 2)
   ========================================================================== */
.site-footer {
  background-color: var(--primary-navy);
  color: #cbd5e1;
  padding: 65px 0 25px;
  position: relative;
  font-size: 14px;
}

.footer-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.4fr;
  gap: 35px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

/* Col 1: About & Info */
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
}

/* Col 2: Sitemap Links */
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.footer-link-item a i, .footer-link-item a .chevron {
  color: var(--accent-gold);
  font-size: 11px;
}

.footer-link-item a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

/* Col 3: QR Code Card */
.footer-qr-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 240px;
  margin: 0 auto;
}

.footer-qr-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Col 4: Contact Us */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-icon {
  color: var(--accent-gold);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-label {
  font-weight: 800;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.footer-payments-bar {
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payments-img {
  height: 32px;
  width: auto;
}

/* Bottom Bar */
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-visitor-counter {
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: #f1f5f9;
  font-weight: 600;
}

.footer-visitor-counter strong {
  color: var(--accent-gold);
}

/* ==========================================================================
   Floating Widgets
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 54px;
  height: 54px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.quick-contact-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.quick-contact-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.2s ease;
}

.quick-contact-btn.btn-call {
  background-color: #0284c7;
}

.quick-contact-btn.btn-wa {
  background-color: #25d366;
}

.quick-contact-btn.btn-mail {
  background-color: #0369a1;
}

.quick-contact-btn:hover {
  width: 52px;
  padding-right: 8px;
}

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  border: none;
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 998;
  transition: all 0.25s ease;
}

.scroll-top-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-3px);
}

/* ==========================================================================
   Inner Page Styling
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}

.breadcrumbs {
  font-size: 14px;
  color: #94a3b8;
}

.breadcrumbs a {
  color: var(--accent-gold);
}

.page-content-wrapper {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-content-box {
  max-width: 960px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: #334155;
}

.page-content-box h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: var(--primary-navy);
}

.page-content-box h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: var(--secondary-navy);
}

.page-content-box p {
  margin-bottom: 18px;
}

.page-content-box ul, .page-content-box ol {
  margin: 0 0 20px 25px;
}

.page-content-box li {
  margin-bottom: 8px;
}

/* Contact Page Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 35px 30px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-right-visual {
    grid-column: span 2;
    margin-top: 20px;
  }
  .stats-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .top-info-list {
    justify-content: center;
    gap: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-right-visual {
    grid-column: span 1;
  }
  .hero-hindi-heading {
    font-size: 28px;
  }
  .best-institute-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .facilities-demo-grid {
    grid-template-columns: 1fr;
  }
  .about-benefits-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .verification-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .navbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  .navbar-nav.active {
    display: flex;
  }
  .navbar-nav .sub-menu {
    position: static !important;
    box-shadow: none !important;
    border-top: none !important;
    padding-left: 15px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    display: block !important;
    background: #f8fafc !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .top-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .top-info-list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Enroll Now Interactive Modal Popup
   ========================================================================== */
.sdmf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.sdmf-modal.open {
  display: flex !important;
  animation: modalFadeIn 0.25s ease forwards;
}

.sdmf-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.sdmf-modal-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sdmf-modal-content {
  position: relative;
}

.sdmf-modal-header {
  background: linear-gradient(135deg, #0c2340 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 24px 28px 20px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
}

.modal-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.sdmf-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px;
}

.sdmf-modal-title span {
  color: #fbbf24;
}

.modal-sub {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.sdmf-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sdmf-modal-close:hover {
  background: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

.sdmf-modal-body {
  padding: 24px 28px;
}

.modal-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.5;
}

.modal-alert.success {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.modal-alert.error {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.modal-form-group label i {
  color: #0284c7;
  margin-right: 4px;
}

.modal-form-group label .req {
  color: #ef4444;
}

.modal-form-control {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form-control:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 520px) {
  .modal-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.modal-form-footer {
  margin-top: 20px;
}

.modal-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.modal-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.modal-guarantee {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin-top: 14px;
}

.modal-guarantee i {
  color: #16a34a;
}

/* ==========================================================================
   Courses Page Filter Pills & Card Enhancements
   ========================================================================== */
.courses-filter-nav .filter-pill {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.courses-filter-nav .filter-pill:hover,
.courses-filter-nav .filter-pill.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 10px rgba(12, 35, 64, 0.2);
}

.btn-course-enroll {
  cursor: pointer;
}

/* ==========================================================================
   Blog Posts Pagination
   ========================================================================== */
.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* ==========================================================================
   Important Links Cards & Directory Styles
   ========================================================================== */
.important-links-page-wrap {
  padding: 10px 0 40px;
}

.links-search-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.links-search-box {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.links-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 14px;
  font-family: inherit;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  background: #ffffff;
  transition: all 0.2s ease;
}

.links-search-input:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.links-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 15px;
}

.links-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.link-filter-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.link-filter-btn:hover,
.link-filter-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 10px rgba(12, 35, 64, 0.2);
}

.important-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.important-link-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.important-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #0284c7;
}

.link-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.link-card-top p,
.important-link-card > p {
  margin: 0;
}

.link-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 20px !important;
  flex-grow: 1;
}

.link-card-logo {
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  flex-shrink: 0;
}

.link-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-category-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-bihar {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.badge-education {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-central {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-utility {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}

.link-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.35;
}

.link-card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 20px;
  flex-grow: 1;
}

.link-card-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-link-visit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: #f8fafc;
  color: #0284c7;
  border: 1.5px solid #e0f2fe;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.btn-link-visit:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}


