/* ============================================================
   Digital Maha E Seva Kendra - Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0D47A1;
  --primary-dark: #0a3a85;
  --secondary: #1976D2;
  --accent: #FF9800;
  --accent-dark: #e68900;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --gray: #6c757d;
  --dark: #1a1a2e;
  --text: #333333;
  --border: #e0e6ed;
  --shadow: 0 4px 20px rgba(13, 71, 161, 0.1);
  --shadow-hover: 0 8px 30px rgba(13, 71, 161, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --topbar-height: 42px;
  --navbar-height: 80px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-height) + var(--navbar-height));
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.container,
.container-fluid {
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

p {
  margin-bottom: 1rem;
}

/* ---------- Loading Screen ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--light-gray);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 1px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Top Bar ---------- */
.top-bar {
  background: var(--primary);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1031;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 1.2rem;
  flex-wrap: wrap;
}

.top-bar-item i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* ---------- Sticky Header / Navbar ---------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: 0 4px 25px rgba(13, 71, 161, 0.15);
}

.navbar {
  padding: 0.6rem 0;
}

.navbar-brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark) !important;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230D47A1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.5rem 1.4rem !important;
  font-weight: 600;
  margin-left: 0.5rem;
}

.btn-nav-cta:hover {
  background: var(--accent-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.btn-nav-cta::after {
  display: none !important;
}

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-accent-custom {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-accent-custom:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.35);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-primary-custom {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

section {
  overflow: hidden;
  position: relative;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.row > [class*="col-"] {
  min-width: 0;
}

/* ---------- Section Utilities ---------- */
.section-padding {
  padding: 80px 0;
}

.section-bg-light {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .subtitle {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 0 auto;
  border-radius: 2px;
}

.section-title p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--gray);
}

/* ---------- Page Banner ---------- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  opacity: 0.12;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-custom a:hover {
  color: var(--accent);
}

.breadcrumb-custom .active {
  color: var(--accent);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.92) 0%, rgba(25, 118, 210, 0.85) 100%),
              url('../images/hero.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 152, 0, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content .hero-tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-item h3 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.hero-stat-item p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* ---------- Quick Features ---------- */
.features-bar {
  background: var(--white);
  margin-top: -60px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1rem;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--primary);
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

/* ---------- About Preview ---------- */
.about-preview-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.about-preview-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}

.about-preview-img:hover img {
  transform: scale(1.05);
}

.about-preview-img .experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-hover);
  z-index: 2;
}

.about-preview-img .experience-badge h3 {
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
}

.about-preview-img .experience-badge span {
  font-size: 0.8rem;
  font-weight: 500;
}

.about-content .subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin: 0.5rem 0 1.5rem;
}

.about-list {
  margin: 1.5rem 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.about-list li i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 71, 161, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(25, 118, 210, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card-icon i {
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-card-icon i {
  color: var(--white);
}

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 0;
}

.service-card-detailed {
  text-align: left;
  padding: 2rem;
}

.service-card-detailed .service-card-icon {
  margin: 0 0 1.2rem;
}

.service-card-detailed .btn-link-custom {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1rem;
}

.service-card-detailed .btn-link-custom:hover {
  color: var(--primary);
  gap: 10px;
}

.more-services-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.more-services-card h4,
.more-services-card p {
  color: var(--white);
}

.more-services-card .service-card-icon {
  background: rgba(255, 255, 255, 0.15);
}

.more-services-card .service-card-icon i {
  color: var(--accent);
}

.more-services-card .btn-link-custom {
  color: var(--white);
}

.more-services-card .btn-link-custom:hover {
  color: var(--accent);
}

/* ---------- Why Choose Us ---------- */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.why-card .icon-wrap {
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.why-card .icon-wrap i {
  font-size: 1.6rem;
  color: var(--white);
}

.why-card h5 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* ---------- Process Steps ---------- */
.process-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.process-section .section-title h2,
.process-section .section-title p {
  color: var(--white);
}

.process-section .section-title .subtitle {
  color: var(--accent);
}

.process-section .divider {
  background: linear-gradient(90deg, var(--accent), var(--white));
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: 1rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

.process-step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-number {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  border: 4px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: var(--white);
  color: var(--primary);
}

.process-step h5 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  padding-top: 25px;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  color: var(--gray);
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-author .avatar {
  width: 50px;
  height: 50px;
  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;
}

.testimonial-author h6 {
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 152, 0, 0.1);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

/* ---------- Statistics ---------- */
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-card .stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(13, 71, 161, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-card .stat-icon i {
  font-size: 1.8rem;
  color: var(--primary);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-card p {
  color: var(--gray);
  font-weight: 500;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.85), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h5 {
  color: var(--white);
  margin-bottom: 0.3rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-overlay span {
  color: var(--accent);
  font-size: 0.85rem;
  transform: translateY(20px);
  transition: var(--transition);
  transition-delay: 0.05s;
}

.gallery-item:hover .gallery-overlay h5,
.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-overlay .zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  transition: var(--transition);
}

.gallery-item:hover .zoom-icon {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.gallery-filter button {
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter button:hover,
.gallery-filter button.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ---------- Contact Page ---------- */
.contact-form-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.contact-map-section {
  position: relative;
  z-index: 2;
  clear: both;
}

.contact-sidebar .contact-info-card {
  height: auto;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
}

.contact-info-grid .contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contact-info-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.contact-info-card .icon-box i {
  font-size: 1.4rem;
  color: var(--white);
}

.contact-info-card h5 {
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact-info-card a:hover {
  color: var(--accent);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form-wrapper h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-control-custom {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 16px;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
}

.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
  outline: none;
}

.form-control-custom.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  color: #dc3545;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.form-control-custom.is-invalid + .invalid-feedback {
  display: block;
}

.map-placeholder {
  background: var(--light-gray);
  border-radius: var(--radius);
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  border: 2px dashed var(--border);
  overflow: hidden;
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--primary);
}

.map-placeholder p {
  color: var(--gray);
  margin: 0;
}

/* ---------- Mission / Vision Cards ---------- */
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  height: 100%;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mv-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(13, 71, 161, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.mv-card .icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.mv-card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.main-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 70px;
}

.footer-about img {
  height: 70px;
  margin-bottom: 1.2rem;
  filter: brightness(1.1);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.footer-social 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);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: var(--accent);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Floating Buttons ---------- */
.floating-buttons {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-btn.whatsapp {
  background: #25D366;
}

.floating-btn.call {
  background: var(--primary);
}

.floating-btn.scroll-top {
  background: var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.floating-btn.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 2rem;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-height: 85vh;
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ---------- Office Images ---------- */
.office-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.office-img-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.office-img-card:hover img {
  transform: scale(1.05);
}

/* ---------- Business Hours Table ---------- */
.hours-table {
  width: 100%;
}

.hours-table tr td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.hours-table tr td:first-child {
  font-weight: 600;
  color: var(--primary);
}

.hours-table tr:last-child td {
  border-bottom: none;
}

/* ---------- Policy Pages ---------- */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}

.policy-content .policy-updated {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.policy-content h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.policy-content p,
.policy-content li {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.8;
}

.policy-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.policy-content ul li {
  margin-bottom: 0.5rem;
}

.policy-content a {
  color: var(--primary);
  font-weight: 500;
}

.policy-content a:hover {
  color: var(--accent);
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0 10px;
}

.footer-policies a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.footer-policies a:hover {
  color: var(--accent);
}

.footer-policies .sep {
  color: rgba(255, 255, 255, 0.3);
}
