/* ============================================
   Jadhav Digital Hub - Main Stylesheet
   ============================================ */

:root {
  --primary: #0B4DA2;
  --primary-dark: #083a7a;
  --secondary: #FF8A00;
  --secondary-dark: #e67a00;
  --accent: #1F9D55;
  --accent-dark: #178a47;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --text-dark: #222222;
  --text-muted: #5a6578;
  --border: rgba(11, 77, 162, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow-sm: 0 4px 20px rgba(11, 77, 162, 0.08);
  --shadow-md: 0 10px 40px rgba(11, 77, 162, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 77, 162, 0.16);
  --radius: 15px;
  --radius-pill: 50px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Poppins', sans-serif;
  --font-mr: 'Noto Sans Devanagari', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-en);
  color: var(--text-dark);
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.35; color: var(--text-dark); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.font-devanagari { font-family: var(--font-mr); }

/* ---- Preloader ---- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.25rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-text {
  color: var(--white);
  font-family: var(--font-mr);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Header / Navbar ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.site-header .navbar {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
}

.site-header .navbar-menu-wrap {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 992px) {
  .site-header .navbar-nav {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }

  .site-header .navbar-nav .nav-item {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .navbar-nav .nav-link {
    padding: 8px 10px !important;
    font-size: 0.84rem;
  }
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

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

.brand-name {
  font-family: var(--font-mr);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  transition: var(--transition);
}

.brand-tagline {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 1px;
  transition: var(--transition);
}

.site-header.scrolled .brand-name { color: var(--primary); }
.site-header.scrolled .brand-tagline { color: var(--text-muted); }

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.site-header.scrolled .navbar-nav .nav-link { color: var(--text-dark) !important; }

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
  background: rgba(255, 138, 0, 0.1);
}

.site-header.scrolled .navbar-nav .nav-link:hover,
.site-header.scrolled .navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: rgba(11, 77, 162, 0.08);
}

.dropdown-menu {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  margin-top: 8px !important;
}

.dropdown-item {
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item:hover { background: rgba(11, 77, 162, 0.08); color: var(--primary); }

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.navbar-toggler {
  border: none;
  padding: 6px 10px;
  color: var(--white);
  font-size: 1.5rem;
}

.site-header.scrolled .navbar-toggler { color: var(--primary); }

.navbar-toggler:focus { box-shadow: none; }

/* ---- Buttons ---- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.btn-primary-custom:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.3);
  transition: var(--transition);
}

.btn-secondary-custom:hover {
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 138, 0, 0.4);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-whatsapp:hover { color: var(--white); background: #1fb855; transform: translateY(-2px); }

.btn-call {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-call:hover { color: var(--white); background: var(--primary-dark); transform: translateY(-2px); }

.btn-sm-custom { padding: 8px 16px; font-size: 0.82rem; }

/* ---- Sections ---- */
.section-padding { padding: 90px 0; }
.bg-light-custom { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(11, 77, 162, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  margin-bottom: 0.75rem;
  font-family: var(--font-mr);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #062952 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 138, 0, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(31, 157, 85, 0.12) 0%, transparent 50%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 2; color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-mr);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: var(--font-mr);
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  max-width: 540px;
  margin-bottom: 1.75rem;
  font-family: var(--font-mr);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
}

.hero-image-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img { transform: scale(1.05); }

.hero-float-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  animation: float 3s ease-in-out infinite;
}

.float-icon:nth-child(1) { top: 5%; left: -5%; animation-delay: 0s; }
.float-icon:nth-child(2) { top: 15%; right: -8%; animation-delay: 0.5s; }
.float-icon:nth-child(3) { bottom: 35%; left: -10%; animation-delay: 1s; }
.float-icon:nth-child(4) { bottom: 15%; right: -5%; animation-delay: 1.5s; }
.float-icon:nth-child(5) { top: 45%; right: -12%; animation-delay: 2s; }
.float-icon:nth-child(6) { bottom: 5%; left: 10%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg { width: 100%; height: auto; display: block; }

/* ---- Glass Cards ---- */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 77, 162, 0.2);
}

/* ---- Feature / Why Cards ---- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(11, 77, 162, 0.1), rgba(255, 138, 0, 0.1));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.feature-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-mr);
}

.feature-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---- Special Services ---- */
.special-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.special-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.2) 0%, transparent 70%);
  transition: var(--transition);
}

.special-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.special-card:hover::before { top: -30%; right: -30%; }

.special-card .icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.special-card h5 {
  font-family: var(--font-mr);
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.special-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  position: relative;
}

/* ---- Service Cards ---- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.service-card-img .service-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  z-index: 2;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.3));
}

.service-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h5 {
  font-family: var(--font-mr);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 1rem;
}

.service-category-title {
  font-family: var(--font-mr);
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
}

/* ---- About Preview ---- */
.about-preview-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-preview-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--secondary);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}

.mvv-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.mvv-card.accent { border-left-color: var(--secondary); }
.mvv-card.green { border-left-color: var(--accent); }

.mvv-card h5 {
  font-family: var(--font-mr);
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvv-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---- Timeline ---- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-dot {
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -24px; top: 0; }
.timeline-item:nth-child(even) .timeline-dot { left: -24px; top: 0; }

.timeline-content {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.timeline-content h5 {
  font-family: var(--font-mr);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---- Stats ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mr);
  font-size: 0.95rem;
  margin: 0;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  margin: 0 12px;
  height: 100%;
}

.testimonial-stars { color: var(--secondary); font-size: 1.1rem; margin-bottom: 1rem; }

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mr);
}

.testimonial-author h6 { font-family: var(--font-mr); margin-bottom: 2px; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-muted); }

.carousel-control-prev,
.carousel-control-next {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev { left: -22px; }
.carousel-control-next { right: -22px; }

/* ---- FAQ ---- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--font-mr);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 18px 22px;
  background: var(--white);
}

.accordion-button:not(.collapsed) {
  background: rgba(11, 77, 162, 0.06);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus { box-shadow: none; border-color: var(--border); }

.accordion-body {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: var(--font-mr);
  padding: 0 22px 18px;
}

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(15deg);
}

.cta-section h2 {
  font-family: var(--font-mr);
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
}

.cta-section .btn-primary-custom { background: var(--white); color: var(--secondary); }
.cta-section .btn-primary-custom:hover { background: var(--primary); color: var(--white); }

/* ---- Gallery ---- */
.gallery-grid { columns: 3; column-gap: 20px; }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 77, 162, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-mr);
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ---- Team ---- */
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.team-img {
  height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

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

.team-info { padding: 24px; }

.team-info h4 { font-family: var(--font-mr); color: var(--primary); margin-bottom: 4px; }
.team-info .designation { color: var(--secondary); font-weight: 600; font-size: 0.88rem; margin-bottom: 0.75rem; }
.team-info p { color: var(--text-muted); font-size: 0.9rem; }

.founder-section {
  background: linear-gradient(135deg, rgba(11, 77, 162, 0.05), rgba(255, 138, 0, 0.05));
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}

/* ---- Contact ---- */
.contact-quick-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}

.contact-quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 77, 162, 0.25);
}

.contact-quick-card .contact-quick-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(11, 77, 162, 0.12), rgba(255, 138, 0, 0.12));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.contact-quick-card:hover .contact-quick-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
}

.contact-quick-card h5 {
  font-family: var(--font-mr);
  font-size: 1rem;
  margin-bottom: 0.65rem;
  color: var(--text-dark);
}

.contact-quick-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.65;
}

.contact-quick-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-quick-card a:hover { color: var(--secondary); }

.contact-page-section {
  background: var(--bg-light);
}

.contact-layout-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
}

.contact-layout-card .card-head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-layout-card .card-head h3 {
  font-family: var(--font-mr);
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.contact-layout-card .card-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.contact-page-map {
  margin-top: 0;
}

.contact-page-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.contact-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-action-btns .btn-whatsapp,
.contact-action-btns .btn-call,
.contact-action-btns .btn-primary-custom {
  flex: 1 1 auto;
  justify-content: center;
  min-width: 120px;
}

body.page-inner .site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

body.page-inner .site-header .brand-name { color: var(--primary); }
body.page-inner .site-header .brand-tagline { color: var(--text-muted); }
body.page-inner .site-header .navbar-nav .nav-link { color: var(--text-dark) !important; }
body.page-inner .site-header .navbar-toggler { color: var(--primary); }

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(11, 77, 162, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.contact-info-item h6 { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { font-size: 0.95rem; font-weight: 500; margin: 0; }
.contact-info-item a:hover { color: var(--primary); }

.contact-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 77, 162, 0.12);
}

.form-label { font-weight: 500; font-size: 0.9rem; margin-bottom: 6px; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.map-wrap iframe { width: 100%; height: 300px; border: 0; display: block; }

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 140px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 138, 0, 0.15), transparent 60%);
}

.page-banner h1 {
  font-family: var(--font-mr);
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  position: relative;
}

.page-banner .banner-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 1rem;
  position: relative;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.breadcrumb-custom a, .breadcrumb-custom span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.breadcrumb-custom a:hover { color: var(--secondary); }
.breadcrumb-custom span.active { color: var(--secondary); font-weight: 600; }

/* ---- Policy Pages ---- */
.policy-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.policy-content h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
  font-family: var(--font-mr);
}

.policy-content h2:first-child { margin-top: 0; }

.policy-content p, .policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.policy-content ul { padding-left: 1.25rem; list-style: disc; }

/* ---- 404 ---- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ---- Footer ---- */
.site-footer {
  background: linear-gradient(180deg, #0a3d82 0%, #062952 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 70px;
}

.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.footer-brand h5 {
  font-family: var(--font-mr);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-title {
  color: var(--white);
  font-family: var(--font-mr);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--secondary); padding-left: 4px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact i { color: var(--secondary); margin-top: 4px; }

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.88rem;
}

.newsletter-form button {
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--secondary-dark); }

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 1.25rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  margin-top: 50px;
  text-align: center;
  font-size: 0.88rem;
}

.footer-bottom a { color: var(--secondary); }
.footer-bottom a:hover { color: var(--white); }

.footer-map iframe { width: 100%; height: 160px; border: 0; border-radius: 12px; margin-top: 12px; }

/* ---- Floating Buttons ---- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.floating-btn:hover { transform: scale(1.1); color: var(--white); }
.floating-whatsapp { background: #25D366; }
.floating-phone { background: var(--primary); }

.floating-inquiry {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1040;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(255, 138, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.floating-inquiry:hover { transform: translateY(-3px); color: var(--white); }

#backToTop {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1039;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  cursor: pointer;
}

#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--secondary); transform: translateY(-3px); }

/* ---- Offcanvas ---- */
.offcanvas-header { border-bottom: 1px solid var(--border); }
.offcanvas-title { font-family: var(--font-mr); font-weight: 700; color: var(--primary); }

.offcanvas-body .nav-link {
  font-family: var(--font-mr);
  font-weight: 500;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark) !important;
}

.offcanvas-body .nav-link.active { color: var(--primary) !important; }

/* ---- Form Validation ---- */
.form-control.is-invalid { border-color: #dc3545; }
.invalid-feedback { font-size: 0.82rem; }

.form-success {
  background: rgba(31, 157, 85, 0.1);
  color: var(--accent);
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-success.show { display: block; }
