/*
 * COMBINED CSS FOR ALL PAGES
 * Cleaned up and consolidated
 */

/* ==== COLOR SYSTEM ==== */
:root {
  /* Easy Color Switching - Just change these 5 values! */

  /* CURRENT PALETTE: BLUE */
  --theme-primary: #3b82f6;    /* Main brand color */
  --theme-secondary: #76d4b0;  /* Secondary brand color */
  --theme-accent: #1d4ed8;     /* Accent/dark color */
  --theme-pale: #dbeafe;       /* Very light background */
  --theme-soft: #93c5fd;       /* Soft/medium background */

  /* UNCOMMENT ONE OF THESE PALETTES TO SWITCH COLORS INSTANTLY: */

  /* AQUA PALETTE */
  /* --theme-primary: #20b2aa; --theme-secondary: #48cae4; --theme-accent: #00bcd4; --theme-pale: #e0f7fa; --theme-soft: #b2ebf2; */

  /* GREEN PALETTE */
  /* --theme-primary: #059669; --theme-secondary: #10b981; --theme-accent: #047857; --theme-pale: #d1fae5; --theme-soft: #6ee7b7; */

  /* PURPLE PALETTE */
  /* --theme-primary: #7c3aed; --theme-secondary: #8b5cf6; --theme-accent: #6d28d9; --theme-pale: #ede9fe; --theme-soft: #c4b5fd; */

  /* ROSE PALETTE */
  /* --theme-primary: #e11d48; --theme-secondary: #f43f5e; --theme-accent: #be185d; --theme-pale: #fce7f3; --theme-soft: #fbb6ce; */

  /* ORANGE PALETTE */
  /* --theme-primary: #ea580c; --theme-secondary: #fb923c; --theme-accent: #c2410c; --theme-pale: #fed7aa; --theme-soft: #fdba74; */

  /* Auto-assigned colors (don't change) */
  --primary-color: var(--theme-primary);
  --secondary-color: var(--theme-secondary);
  --accent-color: var(--theme-accent);
  --pale-color: var(--theme-pale);
  --soft-color: var(--theme-soft);

  /* Static colors */
  --text-muted: #6b7280;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

/* ==== UNIVERSAL COLOR CLASSES ==== */
.bg-theme-primary { background-color: var(--theme-primary) !important; }
.bg-theme-secondary { background-color: var(--theme-secondary) !important; }
.bg-theme-accent { background-color: var(--theme-accent) !important; }
.bg-theme-pale { background-color: var(--theme-pale) !important; }
.bg-theme-soft { background-color: var(--theme-soft) !important; }

.text-theme-primary { color: var(--theme-primary) !important; }
.text-theme-secondary { color: var(--theme-secondary) !important; }
.border-theme-primary { border-color: var(--theme-primary) !important; }

/* Legacy support - these still work but map to the new system */
.bg-blue { background-color: var(--theme-accent) !important; }
.bg-pale-blue { background-color: var(--theme-pale) !important; }
.bg-soft-blue { background-color: var(--theme-soft) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-primary-black { color: black; }

/* Bootstrap overrides */
.bg-light {
  background-color: #f8f9fa;
}

/* Gradients */
.gradient-6 {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%, var(--theme-accent) 100%) !important;
}

.gradient-light {
  background: linear-gradient(135deg, #ffffff 0%, #fdf7f7 50%, #ffffff 100%) !important;
}

/* ==== LAYOUT & NAVIGATION ==== */
body {
  padding-top: 80px; /* Account for fixed navbar */
}

.wrapper {
  position: relative;
  overflow: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.navbar-brand img {
  height: 40px;
}

li.nav-item {
  margin: auto;
  font-size: 1.0em;
}

@media (max-width: 991px) {
  li.nav-item {
    font-size: 1.5em;
  }
}

/* ==== TYPOGRAPHY ==== */
.display-1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.display-4 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
}

.underline {
  position: relative;
  text-decoration: none;
}

.underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--theme-secondary);
}

/* ==== HERO SECTIONS ==== */
.hero-section {
  background: linear-gradient(135deg, var(--theme-pale) 0%, rgba(var(--theme-secondary-rgb, 59, 130, 246), 0.1) 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -70%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(var(--theme-primary-rgb, 37, 99, 235), 0.1) 0%, transparent 80%);
  animation: pulse 8s ease-in-out infinite;
  animation-duration: 5s !important;
}

/* Contact page hero variant */
.hero-section.contact-hero {
  padding: 4rem 0;
}

.hero-section.contact-hero::before {
  background: linear-gradient(135deg, var(--pale-aqua) 0%, rgba(72, 202, 228, 0.1) 100%);
}

.hero-image-placeholder {
  background-color: var(--theme-soft);
  border-radius: 1rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-image-placeholder:hover {
  transform: scale(1.02);
}

/* ==== CARDS & COMPONENTS ==== */
.card {
  border: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.profile-card {
  background: white;
  border-radius: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

@media (max-width: 776px) {
  .profile-card {
    margin-top: 1.5rem !important;
  }
}

.profile-image {
  width: 170px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 100;
}

@media (max-width: 768px) {
  .profile-image {
    width: 150px;
    height: 150px;
  }
}

/* ==== INTEREST CARDS ==== */
.interest-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--theme-primary-rgb, 59, 130, 246), 0.1);
  height: 100%;
  text-align: center;
}

.interest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: var(--theme-primary);
}

.interest-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.interest-card:hover .interest-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ==== STATS SECTION ==== */
.stats-section {
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
  color: white;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ==== BADGES ==== */
.badge-custom {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0.25rem;
  transition: all 0.3s ease;
  z-index: 100;
}

.badge-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.badge-secondary {
  background-color: var(--theme-soft);
  color: var(--theme-primary);
}

.badge-faith {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
}

.badge-custom:hover {
  transform: scale(1.05);
}

/* ==== FEATURE CARDS & ICONS ==== */
.feature-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(32, 178, 170, 0.1);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Contact page feature icon variant */
.feature-icon.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-icon.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.3);
}

/* ==== PROCESS SECTION ==== */
.process-wrapper .icon {
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: relative;
}

.number {
  font-size: 1.5rem;
  font-weight: 700;
}

/* ==== FORMS ==== */
.form-floating > label {
  padding: 1rem 0.75rem;
}

.form-control, .form-select {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--theme-primary-rgb, 59, 130, 246), 0.25);
  transform: translateY(-1px);
}

/* ==== BUTTONS ==== */
.btn-primary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 50%, var(--theme-accent) 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.4);
}

.btn-soft-primary {
  background-color: var(--theme-pale);
  color: var(--theme-primary);
  border: none;
}

.btn-outline-primary {
  border: 2px solid var(--theme-primary);
  color: var(--theme-primary);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--theme-primary);
  color: white;
  transform: translateY(-1px);
}

.btn-custom {
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-circle {
  border-radius: 50% !important;
}

.btn-lg {
  padding: 1rem;
  font-size: 1.25rem;
}

/* ==== ACCORDIONS ==== */
.accordion-custom {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-custom .accordion-item {
  border: none;
  margin-bottom: 0.5rem;
}

.accordion-custom .accordion-header {
  border-radius: 0.5rem;
}

.accordion-custom .accordion-button {
  background: var(--theme-pale);
  border: none;
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--theme-primary);
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--theme-primary);
  color: white;
}

.accordion-custom .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb, 37, 99, 235), 0.25);
}

.accordion-custom .accordion-body {
  padding: 1.5rem;
  background: white;
}

/* ==== TIMELINE ==== */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.75rem;
  top: 1.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary-color);
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 2rem;
  }

  .timeline::before {
    left: 0.5rem;
  }

  .timeline-item::before {
    left: -1.25rem;
  }
}

/* ==== SPECIALIZATIONS ==== */
.specialization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.specialization-item {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.specialization-item:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ==== CONTACT SPECIFIC COMPONENTS ==== */
.contact-info {
  background: linear-gradient(135deg, var(--theme-pale) 0%, var(--theme-soft) 100%);
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, rgba(var(--theme-primary-rgb, 59, 130, 246), 0.1) 0%, transparent 50%);
  animation: pulse 4s ease-in-out infinite;
  z-index: 0;
}

.contact-info > * {
  position: relative;
  z-index: 1;
}

.contact-section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0;
  }
}

.emergency-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  border-left: 4px solid var(--warning-color);
  animation: pulse 3s ease-in-out infinite;
}

/* ==== MAP COMPONENT ==== */
.map-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem 0 0 1rem;
  min-height: 400px;
}

.map-iframe {
  transition: all 0.3s ease;
  filter: grayscale(20%) contrast(1.1);
}

.map-iframe:hover {
  filter: grayscale(0%) contrast(1.2);
}

.map-overlay {
  background: linear-gradient(135deg, rgba(var(--theme-primary-rgb, 59, 130, 246), 0.8) 0%, rgba(var(--theme-accent-rgb, 29, 78, 216), 0.9) 100%);
  transition: all 0.3s ease;
  pointer-events: none;
}

.map-container:hover .map-overlay {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .map-container {
    border-radius: 1rem 1rem 0 0;
    min-height: 300px;
  }

  .map-iframe {
    height: 300px !important;
  }
}

/* ==== QUOTE SECTION ==== */
.quote-section {
  background: linear-gradient(135deg, var(--theme-soft), var(--theme-pale));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15rem;
  color: rgba(var(--theme-primary-rgb, 37, 99, 235), 0.1);
  font-family: serif;
  line-height: 1;
}

/* ==== CTA SECTION ==== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

/* ==== SUCCESS MESSAGES ==== */
.success-message {
  background: linear-gradient(135deg, #d1fae5 0%, #10b981 100%);
  color: #065f46;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  display: none;
  animation: bounceIn 0.5s ease;
}

.success-message i {
  color: #10b981;
}

/* ==== FLOATING ELEMENTS ==== */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  background: var(--theme-primary);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 80px;
  height: 80px;
  background: var(--theme-secondary);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  background: var(--theme-accent);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

/* Contact page floating circles - smaller */
.contact-section .floating-circle:nth-child(1) {
  width: 80px;
  height: 80px;
}

.contact-section .floating-circle:nth-child(2) {
  width: 60px;
  height: 60px;
}

.contact-section .floating-circle:nth-child(3) {
  width: 40px;
  height: 40px;
}

/* ==== FOOTER ==== */
.footer {
  background: linear-gradient(135deg, #0f4c75 0%, #1e3a5f 100%);
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
}

/* ==== SPACING UTILITIES ==== */
.py-14 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-md-16 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.mb-8 {
  margin-bottom: 3rem;
}

.pt-10, .pt-md-14 {
  padding-top: 4rem;
}

.pb-8 {
  padding-bottom: 3rem;
}

/* ==== UTILITY CLASSES ==== */
.text-muted-grey {
  --bs-text-opacity: 1;
  color: rgb(203 209 215 / 75%) !important;
}

.icon-svg {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-hover {
  transition: all 0.3s ease;
}

.icon-hover:hover {
  transform: scale(1.1);
  color: var(--primary-color) !important;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/* ==== RESPONSIVE CLASSES ==== */
@media (max-width: 993px) {
  .mt-mobile-5 {
    margin-top: 3rem !important; /* Same as Bootstrap's mt-5 */
  }
}
@media (min-width: 767px) {
  .mt-mobile-5 {
    margin-top: 0rem !important; /* Same as Bootstrap's mt-5 */
  }
}

@media (max-width: 768px) {
  .display-1 {
    font-size: 2.5rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .pt-10, .pt-md-14 {
    padding-top: 3rem !important;
  }

  .pb-8 {
    padding-bottom: 2rem !important;
  }

  .py-14, .py-md-16 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .interest-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .process-wrapper.line .col-lg-4::after {
    display: none;
  }
}

@media (max-width: 576px) {
  .display-1 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.1rem;
  }
}

/* ==== ANIMATIONS ==== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translateZ(0);
  }
}

@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* ==== ANIMATE.CSS COMPATIBILITY ==== */
.animate__animated {
  animation-duration: 5s;
  animation-fill-mode: both;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__bounceIn {
  animation-name: bounceIn;
  animation-duration: 0.75s;
}

.animate__pulse {
  animation-name: pulse;
  animation-timing-function: ease-in-out;
  animation-duration: 5s !important;
}

.animate__delay-1s {
  animation-delay: 1s;
}

.animate__delay-2s {
  animation-delay: 2s;
}

.animate__slower {
  animation-duration: 2s;
}

/* ==== FADE IN CLASSES ==== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Clickable Service Cards with Accordion */
/* .service-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(var(--theme-primary-rgb, 59, 130, 246), 0.1);
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: var(--theme-primary, #3b82f6);
}

.service-card.active {
  border-color: var(--theme-primary, #3b82f6);
  box-shadow: 0 10px 25px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.2);
}

      /* Accordion Styling */
      /* .accordion-wrapper {
        margin-top: 3rem;
      }

      .accordion-item {
        border: 1px solid rgba(var(--theme-primary-rgb, 59, 130, 246), 0.1);
        border-radius: 0.5rem !important;
        margin-bottom: 1rem;
        overflow: hidden;
      }

      .accordion-button {
        background: var(--theme-pale, #dbeafe);
        border: none;
        color: var(--theme-primary, #3b82f6);
        font-weight: 600;
        padding: 1.25rem 1.5rem;
      }

      .accordion-button:not(.collapsed) {
        background: var(--theme-primary, #3b82f6);
        color: white;
        box-shadow: none;
      }

      .accordion-button:focus {
        box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb, 59, 130, 246), 0.25);
      }

      .accordion-body {
        padding: 1.5rem;
        background: white;
      }

      .service-icon {
        width: 4rem;
        height: 4rem;
        background: linear-gradient(135deg, var(--theme-primary, #3b82f6), var(--theme-secondary, #76d4b0));
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
      }

      .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
      }

      .service-category {
        display: inline-block;
        background: var(--theme-pale, #dbeafe);
        color: var(--theme-primary, #3b82f6);
        padding: 0.25rem 0.75rem;
        border-radius: 1rem;
        font-size: 0.75rem;
        font-weight: 500;
        margin-bottom: 1rem;
      }

      .service-features {
        list-style: none;
        padding: 0;
        margin: 1.5rem 0;
      }

      .service-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
      }

      .service-features li:last-child {
        border-bottom: none;
      }

      .service-features i {
        color: var(--theme-primary, #3b82f6);
        margin-right: 0.75rem;
        width: 1rem;
      } */


      /* Clickable Service Cards with Single Detail Div */
      .service-card {
        background: white;
        border-radius: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid rgba(var(--theme-primary-rgb, 59, 130, 246), 0.1);
        height: 100%;
        overflow: hidden;
        cursor: pointer;
      }

      .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        border-color: var(--theme-primary, #3b82f6);
      }

      .service-card.active {
        border-color: var(--theme-primary, #3b82f6);
        box-shadow: 0 10px 25px rgba(var(--theme-primary-rgb, 59, 130, 246), 0.3);
        transform: translateY(-3px);
      }

      /* Service Details Container */
      .service-details {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        margin-top: 3rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--theme-primary, #3b82f6);
        display: none;
        animation: fadeInUp 0.5s ease;
      }

      .service-details.show {
        display: block;
      }

      .service-details h4 {
        color: var(--theme-primary, #3b82f6);
        margin-bottom: 1.5rem;
        border-bottom: 2px solid var(--theme-pale, #dbeafe);
        padding-bottom: 0.5rem;
      }

      .service-details ul {
        list-style: none;
        padding: 0;
      }

      .service-details ul li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
      }

      .service-details ul li:last-child {
        border-bottom: none;
      }

      .service-details ul li i {
        color: var(--theme-primary, #3b82f6);
        margin-right: 0.75rem;
        width: 1rem;
      }

      @keyframes fadeInUp {
        from {
          opacity: 0;
          transform: translateY(30px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* Other existing styles remain the same */
      .service-icon {
        width: 4rem;
        height: 4rem;
        background: linear-gradient(135deg, var(--theme-primary, #3b82f6), var(--theme-secondary, #76d4b0));
        border-radius: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        transition: all 0.3s ease;
      }

      .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
      }

      .service-category {
        display: inline-block;
        background: var(--theme-pale, #dbeafe);
        color: var(--theme-primary, #3b82f6);
        padding: 0.25rem 0.75rem;
        border-radius: 1rem;
        font-size: 0.75rem;
        font-weight: 500;
        margin-bottom: 1rem;
      }

      .service-features {
        list-style: none;
        padding: 0;
        margin: 1.5rem 0;
      }

      .service-features li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
      }

      .service-features li:last-child {
        border-bottom: none;
      }

      .service-features i {
        color: var(--theme-primary, #3b82f6);
        margin-right: 0.75rem;
        width: 1rem;
      }

      /* paralax */
      .image-wrapper {
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        position: relative;
        z-index: 0;
      }
      .image-wrapper:not(.mobile) {
        background-attachment: fixed !important;
      }
      .image-wrapper.bg-auto {
        background-size: auto;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll !important;
      }
      .image-wrapper.bg-full {
        background-size: 100%;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll !important;
      }
      .image-wrapper.bg-cover {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll !important;
      }
      .image-wrapper.bg-overlay:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        background: rgba(30, 34, 40, 0.5);
      }
      .image-wrapper.bg-overlay-300:before {
        background: rgba(30, 34, 40, 0.3);
      }
      .image-wrapper.bg-overlay-400:before {
        background: rgba(30, 34, 40, 0.4);
      }
      .image-wrapper.bg-overlay-light-300:before {
        background: rgba(var(--bs-white-rgb), 0.3);
      }
      .image-wrapper.bg-overlay-light-400:before {
        background: rgba(var(--bs-white-rgb), 0.4);
      }
      .image-wrapper.bg-overlay-light-500:before {
        background: rgba(var(--bs-white-rgb), 0.5);
      }
      .image-wrapper.bg-overlay-light-600:before {
        background: rgba(var(--bs-white-rgb), 0.6);
      }
      .image-wrapper.bg-overlay:not(.bg-content) *,
      .image-wrapper.bg-overlay.bg-content .content {
        position: relative;
        z-index: 2;
      }
      .image-wrapper.bg-overlay .form-floating>label {
        position: absolute;
      }
      .image-wrapper.card:before {
        border-radius: 0.4rem !important;
      }

      /* wave effect for top of divs */
      .wave-top {
          margin-top: -92px;
          position: relative;
          z-index: 2;
      }
      .svg-flip-vertical {
          transform: scaleY(-1);
      }
