/* ================= HEALTHCARE SEO PAGE STYLES ================= */

/* ============================================
   SEO HERO SECTION
   ============================================ */
.seo-hero {
  padding: 50px 0;
  color: #ffffff;
}

.seo-hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: center;
}

.seo-hero-content h1 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
}

.seo-hero-content p {
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   SEO HERO FORM
   ============================================ */
.seo-hero-form-box {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  color: #1c1c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.seo-hero-form-box h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: #101f4b;
}

.seo-hero-form-box form {
  display: flex;
  flex-direction: column;
}

.seo-form-row {
  margin-bottom: 10px;
  width: 100%;
}

.seo-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.seo-hero-form-box input,
.seo-hero-form-box select,
.seo-hero-form-box textarea {
  width: 100%;
  padding: 9px 13px;
  margin-bottom: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13.5px;
  background-color: #ffffff;
  color: #1c1c2b;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.seo-hero-form-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.seo-hero-form-box select:invalid {
  color: #000000;
}

.seo-hero-form-box textarea {
  resize: vertical;
  min-height: 60px;
}

.seo-hero-form-box input:focus,
.seo-hero-form-box select:focus,
.seo-hero-form-box textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.08);
}

.seo-hero-form-box .seo-btn-full-width {
  width: 100%;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 4px;
  cursor: pointer;
}

/* Form Alerts */
.seo-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.seo-form-alert.seo-success {
  background: #d1fae5;
  color: #065f46;
}

.seo-form-alert.seo-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   SEO SERVICES CARDS GRID (4 Cards - 3 Top, 1 Bottom Center)
   ============================================ */
.seo-services-section {
  padding: 100px 0;
  background: #fafafa;
}

.seo-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.seo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 40px 30px;
  width: calc(33.333% - 20px);
  min-width: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-align: left;
}

.seo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #4fa3e3;
}

.seo-card h4 {
  font-size: 20px;
  color: #1c1c2b;
  margin-bottom: 8px;
  font-weight: 700;
}

.seo-card h5 {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.seo-card p {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   SEO CTA BANNER
   ============================================ */
.seo-cta-banner {
  background: linear-gradient(rgba(16, 31, 75, 0.95), rgba(16, 31, 75, 0.95)), 
              url('../assets/images/hero.png') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
}

.seo-cta-banner h2 {
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.seo-cta-banner p {
  color: #cfd8f5;
  max-width: 800px;
  margin: 0 auto 35px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.seo-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.seo-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.seo-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

/* ============================================
   CONTAINER
   ============================================ */
.seo-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.seo-text-center {
  text-align: center;
}

/* ============================================
   SPINNER ANIMATION
   ============================================ */
.seo-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: seo-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes seo-spin {
  to { transform: rotate(360deg); }
}

.seo-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .seo-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .seo-card {
    width: calc(50% - 15px);
  }

  .seo-hero {
    padding: 40px 0;
  }

  .seo-hero-content h1 {
    font-size: 32px;
  }

  .seo-services-section {
    padding: 70px 0;
  }

  .seo-cta-banner {
    padding: 70px 0;
  }

  .seo-cta-banner h2 {
    font-size: 30px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .seo-hero {
    padding: 35px 0;
  }

  .seo-hero-form-box {
    padding: 18px 15px;
  }

  .seo-hero-form-box .seo-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .seo-hero-content h1 {
    font-size: 28px;
  }

  .seo-hero-content p {
    font-size: 14px;
  }

  .seo-card {
    width: 100%;
  }

  .seo-card h4 {
    font-size: 18px;
  }

  .seo-card p {
    font-size: 14px;
  }

  .seo-services-section {
    padding: 50px 0;
  }

  .seo-cta-banner {
    padding: 50px 0;
  }

  .seo-cta-banner h2 {
    font-size: 26px;
  }

  .seo-cta-banner p {
    font-size: 14px;
    padding: 0 15px;
  }

  .seo-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .seo-container {
    padding: 0 15px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .seo-hero {
    padding: 30px 0;
  }

  .seo-hero-content h1 {
    font-size: 24px;
  }

  .seo-hero-form-box h3 {
    font-size: 17px;
  }

  .seo-hero-form-box input,
  .seo-hero-form-box select,
  .seo-hero-form-box textarea {
    font-size: 13px;
    padding: 8px 11px;
  }

  .seo-card {
    padding: 30px 20px;
    min-width: unset;
  }

  .seo-card h4 {
    font-size: 17px;
  }

  .seo-card h5 {
    font-size: 13px;
  }

  .seo-card p {
    font-size: 13.5px;
  }

  .seo-services-section {
    padding: 40px 0;
  }

  .seo-cta-banner h2 {
    font-size: 22px;
  }

  .seo-cta-banner p {
    font-size: 14px;
  }

  .seo-cta-banner {
    padding: 40px 0;
  }

  .seo-container {
    padding: 0 12px;
  }

  .seo-btn {
    padding: 10px 24px;
    font-size: 13px;
    width: 100%;
  }

  .seo-cards-grid {
    gap: 20px;
  }
}