/* =========================================================
   SOLACE CARE SERVICES — Premium Care Website
   Table of Contents:
   1. Root Variables & Reset
   2. Typography
   3. Utility / Reusable Classes
   4. Preloader
   5. Back To Top
   6. Navbar
   7. Hero Section
   8. About Section
   9. Services Section
   10. Blog Section
   11. Gallery + Lightbox
   12. Contact Section
   13. Footer
   14. Animations
   15. Responsive Media Queries
   ========================================================= */

/* ---------------------------------------------------------
   1. ROOT VARIABLES & RESET
   Two background tones were supplied (#F0FDF4 mint tint and
   #F8FAFC cool slate tint). --bg-light is the main page/body
   background (#F8FAFC); --bg-alt (#F0FDF4) is used to add subtle
   rhythm to alternating sections (About, Blog) so the page isn't
   one flat tone edge-to-edge.
--------------------------------------------------------- */
:root {
  --primary: #1E3A8A;
  --primary-dark: #16295E;
  --secondary: #60A5FA;
  --accent: #10B981;
  --bg-light: #F8FAFC;
  --bg-alt: #F0FDF4;
  --card-bg: #ffffff;
  --text-color: #0F172A;
  --text-muted: #64748B;
  --text-on-dark: #FFFFFF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 40px rgba(30, 58, 138, 0.08);
  --shadow-hover: 0 20px 50px rgba(30, 58, 138, 0.16);
  --transition-base: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition-base); }

ul { list-style: none; margin: 0; padding: 0; }

.section-padding { padding: 110px 0; }

@media (max-width: 767.98px) {
  .section-padding { padding: 70px 0; }
}

/* ---------------------------------------------------------
   2. TYPOGRAPHY
--------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 18px;
  width: fit-content;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.section-text {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ---------------------------------------------------------
   3. UTILITY / REUSABLE CLASSES
--------------------------------------------------------- */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #2563EB);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 12px 30px rgba(30, 58, 138, 0.3);
  transition: var(--transition-base);
}
.btn-primary-custom:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(30, 58, 138, 0.4);
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid rgba(30, 58, 138, 0.18);
  transition: var(--transition-base);
}
.btn-outline-custom:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: rgba(30, 58, 138, 0.08);
  transform: translateY(-4px);
}

.hero-section .btn-outline-custom {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero-section .btn-outline-custom:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ---------------------------------------------------------
   4. PRELOADER
--------------------------------------------------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader-heart i {
  font-size: 2.8rem;
  color: var(--accent);
  animation: pulse-scale 1.1s ease-in-out infinite;
}
@keyframes pulse-scale {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.6; }
}

/* ---------------------------------------------------------
   5. BACK TO TOP
--------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-base);
  z-index: 1000;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* ---------------------------------------------------------
   6. NAVBAR
--------------------------------------------------------- */
#mainNavbar {
  padding: 22px 0;
  background: transparent;
  transition: var(--transition-base);
  z-index: 1050;
}
#mainNavbar.scrolled {
  padding: 12px 0;
  background: rgba(251, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(30, 58, 138, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  transition: var(--transition-base);
}
#mainNavbar.scrolled .navbar-brand { color: var(--primary-dark); }
.brand-icon { color: var(--accent); font-size: 1.4rem; }
.brand-accent { color: var(--accent); margin-left: 2px; }

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 18px !important;
  position: relative;
  transition: var(--transition-base);
}
#mainNavbar.scrolled .navbar-nav .nav-link { color: var(--text-color); }

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.btn-nav-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 10px 24px;
  border-radius: 50px;
  margin-left: 10px;
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}
.btn-nav-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(30, 58, 138, 0.4); }

/* Mobile Toggler (custom hamburger) */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 6px;
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 1200;
  box-shadow: none !important;
}
.toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition-base);
  border-radius: 2px;
}
#mainNavbar.scrolled .toggler-line { background: var(--primary-dark); }
.navbar-toggler.active .toggler-line:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--primary-dark); }
.navbar-toggler.active .toggler-line:nth-child(2) { opacity: 0; }
.navbar-toggler.active .toggler-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--primary-dark); }

.nav-close-btn { display: none; }

/* Nav overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(63, 58, 52, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 1090;
}
.nav-overlay.active { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------
   7. HERO SECTION
--------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1E3A8A 55%, #0F1E4D 100%);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.25), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(96, 165, 250, 0.2), transparent 50%);
  z-index: 1;
}

.hero-shapes { position: absolute; inset: 0; z-index: 1; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: float-shape 8s ease-in-out infinite;
}
.shape-1 { width: 140px; height: 140px; background: radial-gradient(circle, var(--accent), transparent 70%); top: 12%; left: 6%; animation-delay: 0s; }
.shape-2 { width: 90px; height: 90px; border: 2px solid rgba(16, 185, 129, 0.4); background: transparent; top: 65%; left: 10%; animation-delay: 1.5s; border-radius: 30%; }
.shape-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(96, 165, 250, 0.35), transparent 70%); bottom: 5%; right: 8%; animation-delay: 1s; }
.shape-4 { width: 60px; height: 60px; border: 2px solid rgba(255, 255, 255, 0.25); top: 25%; right: 20%; animation-delay: 2.2s; background: transparent; }

@keyframes float-shape {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
  50% { transform: translateY(-25px) translateX(15px) rotate(15deg); }
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  margin-bottom: 24px;
}
.hero-eyebrow i { color: var(--accent); }

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 50px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}
.hero-stat h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.hero-stat p { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; margin: 0; }

.hero-mockup { position: relative; max-width: 460px; margin: 0 auto; }
.hero-mockup-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero-mockup-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-hover);
  animation: card-float 4s ease-in-out infinite;
}
.hero-floating-card i { font-size: 1.4rem; color: var(--accent); }
.hero-floating-card strong { display: block; font-size: 0.85rem; color: var(--primary-dark); font-family: var(--font-heading); }
.hero-floating-card span { font-size: 0.75rem; color: var(--text-muted); }

.card-badge { top: 10%; left: -8%; animation-delay: 0s; }
.card-rating { bottom: 8%; right: -6%; flex-direction: column; align-items: flex-start; gap: 4px; animation-delay: 1s; }
.card-rating .stars i { font-size: 0.75rem; color: #f5b942; margin-right: 1px; }

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-heading);
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-wheel 1.6s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ---------------------------------------------------------
   8. ABOUT SECTION
--------------------------------------------------------- */
.about-section { background: var(--bg-alt); }

.about-img-wrap { position: relative; padding: 20px 30px 40px 0; }
.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  width: 100%;
}
.about-img-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  border-radius: var(--radius-md);
  border: 6px solid var(--bg-alt);
  box-shadow: var(--shadow-hover);
}
.about-experience-card {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 15px 30px rgba(30, 58, 138, 0.35);
}
.about-experience-card h3 { color: #fff; font-size: 2rem; margin: 0; }
.about-experience-card p { color: rgba(255, 255, 255, 0.9); font-size: 0.8rem; margin: 0; line-height: 1.3; }

.mini-info-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  border: 1px solid rgba(30, 58, 138, 0.05);
}
.mini-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.mini-info-card i { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.mini-info-card h5 { font-size: 1.05rem; margin-bottom: 8px; }
.mini-info-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

.why-choose-list { margin: 22px 0; }
.why-choose-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.96rem;
  color: var(--text-color);
}
.why-choose-list i { color: var(--primary); font-size: 1.05rem; }

.value-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  height: 100%;
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(160deg, #ffffff, #ECFDF5);
}
.value-card i {
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-card h5 { font-size: 1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------
   9. SERVICES SECTION
--------------------------------------------------------- */
.services-section { background: #fff; }

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  height: 100%;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30, 58, 138, 0.06);
  transition: var(--transition-base);
  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);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(16, 185, 129, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition-base);
}
.service-icon i { font-size: 1.7rem; color: var(--primary); transition: var(--transition-base); }
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: rotate(-8deg) scale(1.05);
}
.service-card:hover .service-icon i { color: #fff; }

.service-card h4 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
}
.service-link i { transition: var(--transition-base); font-size: 0.78rem; }
.service-link:hover { color: var(--accent); }
.service-link:hover i { transform: translateX(5px); }

/* ---------------------------------------------------------
   10. BLOG SECTION
--------------------------------------------------------- */
.blog-section { background: var(--bg-alt); }

.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  height: 100%;
}
.blog-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.blog-img { position: relative; overflow: hidden; height: 210px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-img img { transform: scale(1.1); }

.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 6px 14px;
  border-radius: 50px;
}

.blog-body { padding: 26px; }
.blog-date { font-size: 0.78rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.blog-body h5 { font-size: 1.08rem; margin-bottom: 16px; line-height: 1.4; }

/* ---------------------------------------------------------
   11. GALLERY + LIGHTBOX
--------------------------------------------------------- */
.gallery-section { background: #fff; }

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.15); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,107,83,0.1), rgba(58,90,68,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
  color: #fff;
  font-size: 1.6rem;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.7);
  transition: var(--transition-base);
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 85%;
  max-height: 82vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.lightbox.active img { transform: scale(1); }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------------------------------------------------------
   12. CONTACT SECTION
--------------------------------------------------------- */
.contact-section { background: var(--bg-light); }

.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.form-control {
  border: 1.5px solid rgba(30, 58, 138, 0.15);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.92rem;
  color: var(--text-color);
  transition: var(--transition-base);
  background: #F8FAFC;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.12);
  background: #fff;
}
.form-control.is-invalid { border-color: #ef4444; }

.form-success-msg {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(30, 58, 138, 0.1);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-top: 18px;
  font-size: 0.9rem;
  font-weight: 500;
}
.form-success-msg.show { display: flex; animation: fadeUp 0.4s ease; }

.contact-info-card {
  background: linear-gradient(150deg, var(--primary-dark), #1E3A8A);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-item i {
  color: var(--accent);
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h6 { color: #fff; font-size: 0.92rem; margin-bottom: 4px; }
.contact-info-item p { color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; margin: 0; }

.contact-socials { display: flex; gap: 12px; margin-top: 22px; }
.contact-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-socials a:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-4px);
  border-color: transparent;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 260px;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; filter: sepia(8%) saturate(85%); }

/* ---------------------------------------------------------
   13. FOOTER
--------------------------------------------------------- */
.footer {
  background: var(--primary-dark);
  padding: 90px 0 30px;
  color: rgba(255, 255, 255, 0.62);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand i { color: var(--accent); font-size: 1.5rem; }
.footer-about { font-size: 0.9rem; line-height: 1.8; margin-bottom: 22px; max-width: 340px; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-base);
}
.footer-socials a:hover { background: linear-gradient(135deg, var(--primary), var(--accent)); transform: translateY(-4px); }

.footer-heading {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-contact i { color: var(--accent); margin-top: 3px; }

.footer-divider { border-color: rgba(255, 255, 255, 0.08); margin: 50px 0 24px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}
.footer-bottom i { color: var(--accent); }

/* ---------------------------------------------------------
   14. ANIMATIONS
--------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-right.in-view { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------
   15. RESPONSIVE MEDIA QUERIES
--------------------------------------------------------- */
@media (max-width: 991.98px) {
  .navbar-collapse-custom {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 82vw);
    height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    z-index: 1100;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .navbar-collapse-custom.active { right: 0; }

  .nav-close-btn {
    display: flex;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(74,107,83,0.08);
    border: none;
    color: var(--primary-dark);
    font-size: 1.1rem;
  }

  .navbar-nav { flex-direction: column; align-items: flex-start !important; gap: 4px; }
  .navbar-nav .nav-link { color: var(--text-color) !important; width: 100%; padding: 12px 10px !important; }
  .navbar-nav .nav-link::after { left: 10px; right: 10px; }
  .nav-cta-item { width: 100%; margin-top: 16px; }
  .btn-nav-cta { display: block; text-align: center; margin-left: 0; }

  .hero-mockup { margin-top: 20px; max-width: 340px; }
  .hero-floating-card { padding: 10px 14px; }
  .card-badge { left: 0; }
  .card-rating { right: 0; }
}

@media (max-width: 767.98px) {
  .hero-section { padding-top: 130px; }
  .hero-stats { gap: 24px; }
  .hero-stat h3 { font-size: 1.6rem; }
  .about-img-wrap { padding: 0 0 60px 0; }
  .about-experience-card { padding: 14px 18px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-form { padding: 26px; }
}

@media (max-width: 575.98px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-primary-custom, .hero-cta .btn-outline-custom { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------
   16. INNER PAGE HERO (breadcrumb banner)
--------------------------------------------------------- */
.inner-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #0F1E4D 100%);
  overflow: hidden;
  padding: 170px 0 90px;
}
.inner-hero .hero-gradient-overlay,
.inner-hero .hero-shapes { z-index: 1; }
.inner-hero-content { position: relative; z-index: 2; text-align: center; }

.breadcrumb-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 18px;
}
.breadcrumb-nav a { color: rgba(255, 255, 255, 0.9); }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav i { font-size: 0.65rem; opacity: 0.6; }
.breadcrumb-nav .current { color: var(--accent); }

.inner-hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem);
  margin-bottom: 16px;
}
.inner-hero-subtitle {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------------------------------------------------------
   17. CTA BANNER (used to route homepage visitors to Contact page)
--------------------------------------------------------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(16, 185, 129, 0.3), transparent 55%);
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 30px; }
.cta-banner .btn-primary-custom { background: linear-gradient(135deg, var(--accent), #14c98f); box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35); }
.cta-banner .btn-outline-custom { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.cta-banner .btn-outline-custom:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.cta-banner-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---------------------------------------------------------
   18. TEAM CARDS (About page)
--------------------------------------------------------- */
.team-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-base);
  text-align: center;
  height: 100%;
}
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.team-img { position: relative; overflow: hidden; height: 260px; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.team-card:hover .team-img img { transform: scale(1.08); }
.team-body { padding: 24px; }
.team-body h5 { font-size: 1.08rem; margin-bottom: 4px; }
.team-role { color: var(--accent); font-size: 0.85rem; font-weight: 600; font-family: var(--font-heading); display: block; margin-bottom: 12px; }
.team-socials { display: flex; gap: 10px; justify-content: center; }
.team-socials a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-base);
}
.team-socials a:hover { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }

/* ---------------------------------------------------------
   19. PROCESS STEPS (Services page)
--------------------------------------------------------- */
.process-step { text-align: center; height: 100%; padding: 10px; position: relative; }
.process-step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.25);
}
.process-step h5 { font-size: 1.05rem; margin-bottom: 10px; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ---------------------------------------------------------
   20. FAQ ACCORDION (Contact page) — native <details>/<summary>
--------------------------------------------------------- */
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--primary-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item-body { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.92rem; }

/* ---------------------------------------------------------
   21. NEWSLETTER BOX (Blog page)
--------------------------------------------------------- */
.newsletter-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-hover);
}
.newsletter-box h3 { color: #fff; margin-bottom: 10px; }
.newsletter-box p { color: rgba(255, 255, 255, 0.7); max-width: 480px; margin: 0 auto 26px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  border: none;
  border-radius: 50px;
  padding: 14px 22px;
  font-size: 0.92rem;
  font-family: var(--font-body);
}
.newsletter-form input:focus { outline: 3px solid rgba(16, 185, 129, 0.4); }
.newsletter-form button {
  border: none;
  border-radius: 50px;
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--accent), #14c98f);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-base);
}
.newsletter-form button:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 185, 129, 0.4); }

/* ---------------------------------------------------------
   22. GALLERY FILTER (Gallery page)
--------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}
.gallery-filter-btn {
  border: 1.5px solid rgba(30, 58, 138, 0.15);
  background: #fff;
  color: var(--text-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: var(--transition-base);
  cursor: pointer;
}
.gallery-filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}
.hidden { display: none !important; }

/* ---------------------------------------------------------
   23. PAGE INTRO (simple centered text block used on several inner pages)
--------------------------------------------------------- */
.page-intro { max-width: 720px; margin: 0 auto 50px; text-align: center; }
