/* ==========================================
   THEME VARIABLES & BASE STYLES
   ========================================== */
/* ==========================================
   THEME VARIABLES & BASE STYLES
   ========================================== */
:root {
  --bg: #FBE4EC;
  --bg-alt: #FDF3F6;
  --bg-deep: #F5CFE1;
  --navy: #1F2A52;
  --lavender: #c6acef;
  --plum: #30253b;
  --gold: #C9A227;
  --magenta: #C2255C;
  --white: #FFFFFF;
}

body {
  background-color: var(--bg-alt);
  color: var(--plum);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Base Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================
   CONTACT SECTION & INTRO
   ========================================== */
/* Fix section spacing and push cards below header/banner */
.contact-section {
  padding-top: 60px !important; /* Pushes content down below the search bar */
  padding-bottom: 60px;
  width: 100%;
  box-sizing: border-box;
  clear: both; /* Prevents floating headers from collapsing into section */
}

/* Ensure the intro heading and text stay above the cards */
.contact-intro {
  text-align: center;
  margin-bottom: 45px;
  width: 100%;
  display: block;
}

.contact-intro h1 {
  color: var(--navy);
  font-weight: 700;
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.contact-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--plum);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================
   PURE CSS GRID FOR CARDS (REPLACES BOOTSTRAP)
   ========================================== */
.contact-section .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns on desktop */
  gap: 24px;                             /* Space between cards */
  margin: 0;
  padding: 0;
}

/* Reset Bootstrap column overrides */
.contact-section .row > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* Card Styling */
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 32px 24px;
  border: 1px solid var(--bg-deep);
  border-radius: 18px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(31, 42, 82, 0.05);
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(31, 42, 82, 0.12);
}

/* Card Inner Content */
.contact-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: var(--bg);
  color: var(--magenta);
  flex-shrink: 0;
}

.contact-card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--plum);
  margin-bottom: 16px;
  line-height: 1.55;
  font-size: 0.95rem;
  flex-grow: 1; /* Aligns buttons across all cards evenly */
}

.contact-action {
  display: inline-block;
  margin-top: auto;
  text-decoration: none;
  font-weight: 600;
  color: var(--magenta);
  word-break: break-word;
  transition: color 0.2s ease;
}

.contact-action:hover {
  color: var(--navy);
}

/* ==========================================
   WHATSAPP CTA CARD
   ========================================== */
.whatsapp-card {
  margin-top: 50px;
  padding: 40px 24px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--bg-deep);
  background: var(--bg);
  box-shadow: 0 6px 18px rgba(31, 42, 82, 0.04);
}

.whatsapp-card h2 {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.whatsapp-card p {
  max-width: 580px;
  margin: 0 auto 24px;
  color: var(--plum);
  font-size: 1rem;
  line-height: 1.6;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
  color: var(--white);
  background: #20bd5a;
  transform: translateY(-2px);
}

.contact-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.contact-socials a {
  font-size: 24px;
  color: var(--navy);
  transition: color 0.2s ease, transform 0.2s ease;
}

.contact-socials a:hover {
  color: var(--magenta);
  transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */
/* Tablets (2 columns) */
@media (max-width: 991px) {
  .contact-section .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile Phones (1 column) */
@media (max-width: 576px) {
  .contact-section {
    padding: 35px 0;
  }

  .contact-section .row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-intro h1 {
    font-size: 1.85rem;
  }

  .contact-card {
    padding: 24px 16px;
  }

  .whatsapp-card {
    padding: 28px 16px;
    margin-top: 35px;
  }

  .whatsapp-card h2 {
    font-size: 1.4rem;
  }

  .whatsapp-button {
    width: 100%;
    box-sizing: border-box;
  }
}