/* ==========================================================================
   CSC SEVA KENDRA - OFFICIAL DIGITAL INDIA PORTAL THEME
   Colors: Primary Blue (#0B5ED7 / #052652), Saffron (#FF7A00), Green (#00A651)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --csc-blue: #0B5ED7;
  --csc-dark-blue: #052652;
  --csc-navy: #06152d;
  --csc-orange: #FF7A00;
  --csc-green: #00A651;
  --csc-bg-light: #f6f9fc;
  --csc-card-bg: #ffffff;
  --csc-text: #212529;
  --csc-muted: #6c757d;
  --csc-border: #e2e8f0;

  --csc-radius-sm: 8px;
  --csc-radius-md: 14px;
  --csc-radius-lg: 20px;
  --csc-radius-pill: 50px;

  --csc-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --csc-shadow-md: 0 6px 20px rgba(11, 94, 215, 0.08);
  --csc-shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
}

[data-bs-theme="dark"] {
  --csc-bg-light: #0a1120;
  --csc-card-bg: #121c30;
  --csc-text: #f8fafc;
  --csc-muted: #94a3b8;
  --csc-border: rgba(255,255,255,0.1);
  --csc-shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --csc-shadow-md: 0 6px 20px rgba(0,0,0,0.4);
}

/* Reset & Global */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
  background-color: var(--csc-bg-light);
  color: var(--csc-text);
  line-height: 1.5;
}

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

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: var(--csc-card-bg);
  z-index: 99999;
  display: flex; justify-content: center; align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-spinner {
  width: 52px; height: 52px;
  border: 4px solid rgba(11, 94, 215, 0.15);
  border-top: 4px solid var(--csc-blue);
  border-right: 4px solid var(--csc-orange);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin: 0 auto 1rem;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* TOP BAR (1 LINE FIXED ALWAYS) */
.top-bar {
  background-color: #052652;
  color: #e2e8f0;
  font-size: 0.82rem;
  padding: 0.38rem 0;
  position: relative;
  z-index: 1042;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar a { color: #cbd5e1; }
.top-bar a:hover { color: var(--csc-orange); }

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  gap: 1rem;
  width: 100%;
}

.top-info {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  white-space: nowrap;
  gap: 1.25rem;
  overflow: hidden;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}
.social-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: #fff;
  transition: all 0.25s ease;
}
.social-icon:hover {
  background: var(--csc-orange);
  transform: translateY(-2px) scale(1.1);
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 122, 0, 0.4);
}

/* SUCHANA PATTI (ANNOUNCEMENT NEWS TICKER BAR) */
.notice-ticker-bar {
  background: linear-gradient(90deg, #1e3a8a 0%, #0b5ed7 50%, #1e3a8a 100%);
  color: #ffffff;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 1041;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  font-family: 'Noto Sans Devanagari', sans-serif;
  border-bottom: 2px solid var(--csc-orange);
}

.notice-badge {
  background: #ff7a00;
  color: #ffffff;
  font-weight: 800;
  padding: 0.22rem 0.75rem;
  border-radius: var(--csc-radius-pill);
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.notice-ticker-content {
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.notice-marquee-text {
  display: inline-block;
  white-space: nowrap;
  animation: noticeMarquee 30s linear infinite;
  will-change: transform;
}

.notice-marquee-text:hover {
  animation-play-state: paused;
}

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

/* MAIN FIXED HEADER NAVBAR */
.main-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
[data-bs-theme="dark"] .main-header {
  background: rgba(18, 28, 48, 0.95);
  border-bottom: 1px solid var(--csc-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.main-header.scrolled-header {
  box-shadow: 0 8px 25px rgba(11, 94, 215, 0.16);
  background: rgba(255, 255, 255, 0.98);
}
[data-bs-theme="dark"] .main-header.scrolled-header {
  background: rgba(10, 17, 32, 0.98);
}

.brand-logo-container {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.brand-logo-container:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.1;
  color: #052652;
  letter-spacing: -0.3px;
}
[data-bs-theme="dark"] .brand-title { color: #ffffff; }

.brand-title span.blue { color: var(--csc-blue); }
.brand-title span.green { color: var(--csc-green); }

.nav-link {
  font-weight: 600;
  color: var(--csc-text) !important;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: var(--csc-radius-sm);
  transition: all 0.25s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--csc-blue) !important;
  background: rgba(11, 94, 215, 0.08);
}

/* LATEST UPDATES CARDS STYLING */
.latest-update-card {
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
  border: 1px solid var(--csc-border);
}
.latest-update-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 30px rgba(11, 94, 215, 0.16) !important;
}

/* Ripple Target & Animation */
.ripple-target {
  position: relative;
  overflow: hidden;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}
@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Buttons */
.btn-csc-blue {
  background: linear-gradient(135deg, #0B5ED7 0%, #084298 100%);
  color: #ffffff !important;
  font-weight: 700;
  border: none;
  padding: 0.58rem 1.45rem;
  border-radius: var(--csc-radius-pill);
  box-shadow: 0 4px 14px rgba(11, 94, 215, 0.32);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-csc-blue:hover {
  background: linear-gradient(135deg, #084298 0%, #052652 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(11, 94, 215, 0.45);
}

.btn-csc-yellow {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #000000 !important;
  font-weight: 700;
  border: none;
  padding: 0.58rem 1.45rem;
  border-radius: var(--csc-radius-pill);
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-csc-yellow:hover {
  background: linear-gradient(135deg, #e0a800 0%, #e65100 100%);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.45);
}

.btn-csc-outline-blue {
  background: transparent;
  color: var(--csc-blue) !important;
  border: 2px solid var(--csc-blue);
  font-weight: 700;
  padding: 0.52rem 1.35rem;
  border-radius: var(--csc-radius-pill);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}
.btn-csc-outline-blue:hover {
  background: var(--csc-blue);
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(11, 94, 215, 0.3);
}

/* Hero Banner Section with Floating Animated Blobs */
.hero-banner-section {
  position: relative;
  padding: 3.75rem 0;
  background: linear-gradient(135deg, #f0f4f9 0%, #e8f0fe 100%);
  overflow: hidden;
}
[data-bs-theme="dark"] .hero-banner-section {
  background: linear-gradient(135deg, #091322 0%, #0d1b32 100%);
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(11, 94, 215, 0.12) 0%, rgba(0, 166, 81, 0.06) 50%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-banner-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBlob 15s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.1); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

.hero-tag {
  color: var(--csc-orange);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: #052652;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
[data-bs-theme="dark"] .hero-heading { color: #ffffff; }

.hero-heading span.blue { color: var(--csc-blue); }
.hero-heading span.green { color: var(--csc-green); }

.hero-subheading {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: #052652;
  margin-bottom: 1.25rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
  display: inline-block;
  background: linear-gradient(90deg, rgba(11,94,215,0.12), transparent);
  padding: 0.4rem 0.9rem;
  border-left: 4px solid var(--csc-blue);
  border-radius: 4px;
}
[data-bs-theme="dark"] .hero-subheading { color: #60a5fa; background: rgba(96,165,250,0.12); }

.hero-checks-wrapper {
  margin-bottom: 1.75rem;
}
.hero-checks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}
.hero-checks-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.55rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.hero-checks-list li i {
  color: var(--csc-green);
  font-size: 1.15rem;
}

.hero-operator-card {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-operator-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--csc-radius-lg);
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.14));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-operator-card img:hover {
  transform: scale(1.03) translateY(-4px);
}

/* Feature Bar Row (4 Cards) */
.feature-bar-section {
  margin-top: -1.75rem;
  position: relative;
  z-index: 10;
}

.feature-pill-card {
  background: #ffffff;
  border-radius: var(--csc-radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid var(--csc-border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  height: 100%;
}
[data-bs-theme="dark"] .feature-pill-card {
  background: #121c30;
}
.feature-pill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(11, 94, 215, 0.14);
  border-color: rgba(11, 94, 215, 0.3);
}

.feature-pill-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #fff;
  transition: transform 0.3s ease;
}
.feature-pill-card:hover .feature-pill-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-pill-icon.blue { background: linear-gradient(135deg, #0B5ED7, #084298); }
.feature-pill-icon.green { background: linear-gradient(135deg, #00A651, #006633); }
.feature-pill-icon.orange { background: linear-gradient(135deg, #FF7A00, #e65100); }
.feature-pill-icon.purple { background: linear-gradient(135deg, #8f12fd, #5b06ad); }

.feature-pill-title {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--csc-text);
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.feature-pill-desc {
  font-size: 0.8rem;
  color: var(--csc-muted);
  margin-bottom: 0;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* Section Title */
.main-section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.main-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: #052652;
  margin-bottom: 0.35rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
  position: relative;
  display: inline-block;
}
.main-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--csc-blue), var(--csc-orange));
  margin: 0.5rem auto 0;
  border-radius: 3px;
}
[data-bs-theme="dark"] .main-section-title { color: #ffffff; }

.main-section-subtitle {
  color: var(--csc-muted);
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Noto Sans Devanagari', sans-serif;
  margin-top: 0.5rem;
}

/* CATEGORY TAB FILTERS FOR SERVICES */
.service-category-wrapper {
  margin-bottom: 2.5rem;
}
.btn-category-tab {
  background: var(--csc-card-bg);
  color: var(--csc-text);
  border: 1.5px solid var(--csc-border);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--csc-radius-pill);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  font-family: 'Noto Sans Devanagari', sans-serif;
  cursor: pointer;
}
.btn-category-tab:hover {
  border-color: var(--csc-blue);
  color: var(--csc-blue);
  transform: translateY(-2px);
}
.btn-category-tab.active {
  background: linear-gradient(135deg, #0B5ED7 0%, #052652 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(11, 94, 215, 0.38);
  transform: translateY(-2px);
}
[data-bs-theme="dark"] .btn-category-tab {
  background: #121c30;
  border-color: rgba(255,255,255,0.12);
  color: #e2e8f0;
}
[data-bs-theme="dark"] .btn-category-tab.active {
  background: linear-gradient(135deg, #0B5ED7 0%, #2563eb 100%);
  color: #ffffff !important;
}

/* Services Grid Cards */
.services-grid-section {
  padding: 4rem 0;
}

.service-item-col {
  transition: all 0.35s ease;
}
.service-item-col.hidden-service {
  display: none !important;
}

.service-box-card {
  background: #ffffff;
  border-radius: var(--csc-radius-md);
  padding: 1.25rem 0.85rem 1.05rem;
  text-align: center;
  border: 1px solid var(--csc-border);
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
[data-bs-theme="dark"] .service-box-card {
  background: #121c30;
}

.service-box-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--csc-blue), var(--csc-orange));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-box-card:hover {
  transform: translateY(-7px);
  border-color: var(--csc-blue);
  box-shadow: 0 12px 28px rgba(11, 94, 215, 0.16);
}
.service-box-card:hover::before {
  opacity: 1;
}

.service-box-icon {
  width: 60px; height: 60px;
  margin-bottom: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-box-card:hover .service-box-icon {
  transform: scale(1.15);
}

.service-box-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.service-box-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--csc-text);
  margin-bottom: 0.45rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
  line-height: 1.25;
}

.service-click-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--csc-blue);
  background: rgba(11, 94, 215, 0.08);
  padding: 0.22rem 0.65rem;
  border-radius: var(--csc-radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.service-box-card:hover .service-click-badge {
  background: var(--csc-blue);
  color: #ffffff;
}

/* 4 Colored Info Banner Cards */
.info-banner-card {
  border-radius: var(--csc-radius-md);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.info-banner-card.green { background: #e6f7ef; border: 1px solid #b3e6cd; color: #004d26; }
.info-banner-card.blue { background: #e8f1fd; border: 1px solid #b3d1fb; color: #052652; }
.info-banner-card.orange { background: #fff4e6; border: 1px solid #ffe0b3; color: #663100; }
.info-banner-card.pink { background: #ffebee; border: 1px solid #ffcdd2; color: #7f0000; }

[data-bs-theme="dark"] .info-banner-card.green { background: #072e1c; border-color: #0d5434; color: #a3e9c7; }
[data-bs-theme="dark"] .info-banner-card.blue { background: #0c2345; border-color: #17427f; color: #a8cdfc; }
[data-bs-theme="dark"] .info-banner-card.orange { background: #331a00; border-color: #663300; color: #ffd699; }
[data-bs-theme="dark"] .info-banner-card.pink { background: #330009; border-color: #660012; color: #ff99aa; }

.info-banner-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
}
.info-banner-desc {
  font-size: 0.88rem;
  opacity: 0.9;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* Statistics Bar */
.statistics-blue-bar {
  background: linear-gradient(135deg, #052652 0%, #0B5ED7 100%);
  color: #ffffff;
  padding: 3.25rem 0;
  position: relative;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: 0.15rem;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.9;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

/* 3-Column Highlights Section */
.highlight-column-card {
  background: #ffffff;
  border-radius: var(--csc-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--csc-border);
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.highlight-column-card:hover {
  transform: translateY(-3px);
}
[data-bs-theme="dark"] .highlight-column-card { background: #121c30; }

.center-spotlight-card {
  background: linear-gradient(135deg, #052652 0%, #0B5ED7 100%);
  color: #ffffff;
  border-radius: var(--csc-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(11, 94, 215, 0.25);
}

/* Reviews Cards */
.review-card {
  background: #ffffff;
  border-radius: var(--csc-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--csc-border);
  height: 100%;
  box-shadow: var(--csc-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
[data-bs-theme="dark"] .review-card { background: #121c30; }

/* CONTINUOUS LOGO MARQUEE SLIDER */
.partners-bar-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--csc-border);
  border-bottom: 1px solid var(--csc-border);
  overflow: hidden;
}
[data-bs-theme="dark"] .partners-bar-section { background: #0a1120; }

.partner-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
}
.partner-marquee-container::before,
.partner-marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.partner-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.partner-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
[data-bs-theme="dark"] .partner-marquee-container::before {
  background: linear-gradient(to right, #0a1120, transparent);
}
[data-bs-theme="dark"] .partner-marquee-container::after {
  background: linear-gradient(to left, #0a1120, transparent);
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: continuousLogoScroll 32s linear infinite;
  will-change: transform;
}
.partner-marquee-track:hover {
  animation-play-state: paused;
}

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

.partner-logo-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.25rem;
  background: var(--csc-card-bg);
  border-radius: var(--csc-radius-pill);
  border: 1.5px solid var(--csc-border);
  box-shadow: 0 3px 12px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 58px;
}
.partner-logo-pill:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--csc-blue);
  box-shadow: 0 8px 20px rgba(11, 94, 215, 0.18);
}
.partner-logo-pill img {
  height: 34px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  transition: all 0.3s ease;
}
.partner-pill-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--csc-text);
  white-space: nowrap;
}

/* MODERN POLISHED FOOTER */
footer {
  background: linear-gradient(180deg, #051833 0%, #030d1d 100%);
  color: #94a3b8;
  padding: 4rem 0 1.5rem;
  font-size: 0.9rem;
  border-top: 3px solid var(--csc-blue);
  position: relative;
}

footer h6 {
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
  position: relative;
  display: inline-block;
}
footer h6::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--csc-orange);
  margin-top: 0.35rem;
  border-radius: 2px;
}

footer a {
  color: #cbd5e1;
  transition: all 0.25s ease;
}
footer a:hover {
  color: #60a5fa;
  padding-left: 4px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-family: 'Noto Sans Devanagari', sans-serif;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links-list li i {
  font-size: 0.75rem;
  color: var(--csc-blue);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
}
.footer-contact-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(11, 94, 215, 0.15);
  color: #60a5fa;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.footer-copyright-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* Scroll To Top */
.scroll-to-top {
  position: fixed;
  bottom: 25px; right: 25px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--csc-blue);
  color: #fff; border: none;
  box-shadow: 0 4px 18px rgba(11,94,215,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: all 0.25s ease; z-index: 1000;
}
.scroll-to-top.active { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--csc-orange); transform: translateY(-4px); }

/* SCROLL REVEAL ANIMATION CLASSES */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom-init {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal-zoom-init.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* CUSTOM TOAST NOTIFICATION CONTAINER & STYLING */
.csc-toast-container {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.csc-toast {
  pointer-events: auto;
  background: #ffffff;
  color: #052652;
  border-left: 5px solid var(--csc-blue);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 290px;
  max-width: 420px;
  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
}
[data-bs-theme="dark"] .csc-toast {
  background: #121c30;
  color: #ffffff;
  border-left-color: #60a5fa;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
}

.csc-toast-success { border-left-color: var(--csc-green); }
.csc-toast-icon {
  font-size: 1.4rem;
  color: var(--csc-green);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(60px) scale(0.8);
  }
}

/* MOBILE & TABLET RESPONSIVE OVERRIDES */
@media (max-width: 991.98px) {
  .top-info {
    gap: 0.85rem;
  }

  .hero-operator-col,
  .hero-operator-card {
    display: none !important;
  }

  .hero-banner-section {
    text-align: center !important;
    padding: 2.25rem 0 1.75rem;
  }

  .hero-tag {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-heading {
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 2.75rem);
  }

  .hero-subheading {
    text-align: center;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
  }

  .hero-checks-wrapper {
    text-align: center;
  }

  .hero-checks-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto 1.5rem;
  }

  .hero-action-btns {
    justify-content: center !important;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 1.25rem 1rem;
    border-radius: var(--csc-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    margin-top: 0.75rem;
    border: 1px solid var(--csc-border);
    text-align: center;
  }

  [data-bs-theme="dark"] .navbar-collapse {
    background: #121c30;
  }

  .navbar-nav {
    align-items: center;
    gap: 0.35rem;
  }

  .nav-link {
    justify-content: center;
    width: 100%;
    padding: 0.65rem 1rem !important;
    font-size: 0.98rem;
  }

  .mobile-nav-btn-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.75rem;
  }

  .mobile-nav-btn-container .btn-csc-blue {
    width: 100%;
    max-width: 280px;
    padding: 0.65rem 1.25rem;
  }

  .feature-bar-section {
    margin-top: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .top-bar {
    font-size: 0.75rem;
  }
  .top-info-item {
    font-size: 0.75rem;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-logo-img {
    height: 32px;
  }
  .btn-csc-blue, .btn-csc-outline-blue {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  .btn-category-tab {
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
  }
  .csc-toast-container {
    right: 12px;
    left: 12px;
  }
  .csc-toast {
    min-width: unset;
    width: 100%;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE ENHANCEMENTS: 3 SERVICE CARDS PER ROW & FIXED STICKY HEADER
   ========================================================================== */

/* Fixed Header Sticky Rule across all devices & viewports */
.main-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1045 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

[data-bs-theme="dark"] .main-header {
  background: rgba(18, 28, 48, 0.98) !important;
  box-shadow: 0 4px 25px rgba(0,0,0,0.5) !important;
}

/* Mobile View: 3 Service Cards per Row (1 line me 3 service) */
@media (max-width: 767.98px) {
  /* 3 Service Cards in 1 row grid */
  .service-item-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
    margin-bottom: 8px !important;
  }

  /* Compact Service Box Card for 3 per row on Mobile */
  .service-box-card {
    padding: 0.55rem 0.3rem !important;
    border-radius: 10px !important;
    min-height: 145px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: center !important;
  }

  .service-box-card .service-icon-box {
    width: 34px !important;
    height: 34px !important;
    font-size: 1rem !important;
    margin: 0 auto 0.35rem auto !important;
    border-radius: 8px !important;
  }

  .service-box-card .service-title {
    font-size: 0.7rem !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    margin-bottom: 0.2rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .service-box-card .service-desc {
    font-size: 0.58rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.3rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #64748b !important;
  }

  .service-box-card .service-card-btn,
  .service-box-card .btn {
    font-size: 0.58rem !important;
    padding: 0.22rem 0.3rem !important;
    border-radius: 20px !important;
    margin-top: 0.2rem !important;
  }

  /* Category tabs horizontal scrolling on mobile */
  .service-category-wrapper .d-flex {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 0.5rem !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
  }

  .service-category-wrapper .btn-category-tab {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
  }
}

