/* A'mom Healthcare — Seniar-inspired design system */
:root {
  --amom-plum: #3d1f47;
  --amom-plum-dark: #2a1432;
  --amom-plum-light: #5a3566;
  --amom-rose: #c75b7a;
  --amom-rose-dark: #a84562;
  --amom-rose-soft: #f5d0da;
  --amom-cream: #faf7f4;
  --amom-cream-dark: #f0ebe4;
  --amom-text: #2c2430;
  --amom-muted: #6b6270;
  --amom-white: #ffffff;
  --amom-shadow: 0 12px 40px rgba(61, 31, 71, 0.12);
  --amom-radius: 0.75rem;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--amom-text);
  background: var(--amom-cream);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--amom-plum);
}

a {
  color: var(--amom-rose);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--amom-rose-dark);
}

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

/* Buttons */
.btn-amom {
  background: var(--amom-rose);
  border-color: var(--amom-rose);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.btn-amom:hover,
.btn-amom:focus {
  background: var(--amom-rose-dark);
  border-color: var(--amom-rose-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(199, 91, 122, 0.35);
}

.btn-amom-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50px;
  padding: 0.7rem 1.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.btn-amom-outline:hover {
  background: #fff;
  color: var(--amom-plum);
}

.btn-amom-plum {
  background: var(--amom-plum);
  border-color: var(--amom-plum);
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.btn-amom-plum:hover {
  background: var(--amom-plum-light);
  color: #fff;
}

/* Header */
.amom-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 31, 71, 0.08);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: box-shadow 0.3s ease;
}

.amom-header.scrolled {
  box-shadow: 0 4px 24px rgba(61, 31, 71, 0.1);
}

.amom-logo {
  display: inline-flex;
  align-items: center;
  max-height: 52px;
}

.amom-logo img {
  height: 48px;
  width: auto;
}

.amom-nav .nav-link {
  color: var(--amom-plum) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.amom-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 2px;
  background: var(--amom-rose);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.amom-nav .nav-link:hover::after,
.amom-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Hero */
.amom-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.amom-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42, 20, 50, 0.92) 0%,
    rgba(61, 31, 71, 0.55) 45%,
    rgba(61, 31, 71, 0.25) 100%
  );
}

.amom-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 6rem;
  max-width: 720px;
  animation: fadeUp 0.9s ease both;
}

.amom-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

.amom-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--amom-cream);
}

.section-white {
  background: #fff;
}

.section-plum {
  background: var(--amom-plum);
  color: #fff;
}

.section-plum h2,
.section-plum h3,
.section-plum .section-eyebrow {
  color: #fff;
}

.section-eyebrow {
  display: inline-block;
  color: var(--amom-rose);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--amom-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* About */
.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--amom-radius);
  box-shadow: var(--amom-shadow);
  width: 100%;
  object-fit: cover;
  min-height: 420px;
}

.experience-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: var(--amom-rose);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--amom-radius);
  box-shadow: var(--amom-shadow);
  max-width: 160px;
  animation: fadeIn 1.2s ease 0.3s both;
}

.experience-badge strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-display);
  line-height: 1;
}

.feature-check {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  align-items: flex-start;
}

.feature-check i {
  color: var(--amom-rose);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

/* Service cards */
.service-card {
  background: #fff;
  border-radius: var(--amom-radius);
  overflow: hidden;
  box-shadow: var(--amom-shadow);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(61, 31, 71, 0.18);
}

.service-card .icon-box {
  width: 56px;
  height: 56px;
  background: var(--amom-rose-soft);
  color: var(--amom-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card .card-body {
  padding: 1.75rem;
}

.read-more {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--amom-plum);
}

.read-more:hover {
  color: var(--amom-rose);
}

/* Feature hex grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.feature-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--amom-radius);
  box-shadow: var(--amom-shadow);
  margin-bottom: 1rem;
  transition: transform 0.25s ease;
}

.feature-box:hover {
  transform: translateX(4px);
}

.feature-box.right:hover {
  transform: translateX(-4px);
}

.feature-box .fi {
  width: 48px;
  height: 48px;
  background: var(--amom-plum);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature-center-img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  box-shadow: var(--amom-shadow);
}

@media (max-width: 991px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-center-img {
    margin: 1rem auto;
    display: block;
  }
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(61, 31, 71, 0.72);
}

.cta-band .inner {
  position: relative;
  z-index: 2;
  padding: 3rem 1rem;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--amom-rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.08);
  color: var(--amom-plum);
}

/* Values */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--amom-radius);
  height: 100%;
  box-shadow: var(--amom-shadow);
}

.value-card .vi {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--amom-rose-soft);
  color: var(--amom-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid a {
  display: block;
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--amom-radius);
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.03);
}

#galleryModal .modal-content {
  background: transparent;
}

#galleryModal #galleryModalImg {
  max-height: 85vh;
  object-fit: contain;
}

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ */
.amom-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amom-plum);
  background: #fff;
  box-shadow: none !important;
}

.amom-accordion .accordion-button:not(.collapsed) {
  color: var(--amom-rose);
  background: var(--amom-cream);
}

.amom-accordion .accordion-item {
  border: none;
  margin-bottom: 0.75rem;
  border-radius: var(--amom-radius) !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(61, 31, 71, 0.06);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--amom-radius);
  box-shadow: var(--amom-shadow);
  position: relative;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--amom-rose-soft);
  line-height: 1;
}

/* Contact split */
.contact-split {
  border-radius: var(--amom-radius);
  overflow: hidden;
  box-shadow: var(--amom-shadow);
}

.contact-info-panel {
  background: var(--amom-plum);
  color: #fff;
  padding: 3rem 2.5rem;
  height: 100%;
}

.contact-info-panel h3 {
  color: #fff;
}

.contact-info-panel .ci-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-panel .ci-item i {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amom-rose-soft);
  flex-shrink: 0;
}

.contact-form-panel {
  background: #fff;
  padding: 3rem 2.5rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--amom-rose);
  box-shadow: 0 0 0 0.2rem rgba(199, 91, 122, 0.2);
}

/* Blog cards */
.blog-card {
  background: #fff;
  border-radius: var(--amom-radius);
  overflow: hidden;
  box-shadow: var(--amom-shadow);
  height: 100%;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 1.5rem;
}

.blog-date {
  color: var(--amom-rose);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Page hero */
.page-hero {
  background: linear-gradient(135deg, var(--amom-plum) 0%, var(--amom-plum-light) 100%);
  padding: 4rem 0 3rem;
  color: #fff;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .breadcrumb {
  background: transparent;
  margin-bottom: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero .breadcrumb-item.active {
  color: #fff;
}

/* Footer */
.amom-footer {
  background: var(--amom-plum-dark);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.amom-footer h5 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.amom-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.amom-footer a:hover {
  color: var(--amom-rose-soft);
}

.amom-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amom-footer .footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.newsletter-form .form-control {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 0.75rem 1.25rem;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
  padding-inline: 1.25rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Auth / Admin shared */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--amom-cream) 0%, var(--amom-rose-soft) 100%);
}

.auth-card {
  background: #fff;
  border-radius: var(--amom-radius);
  box-shadow: var(--amom-shadow);
  padding: 2.5rem;
}

.admin-sidebar {
  width: 260px;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  background: var(--amom-plum-dark);
  color: #fff;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1.5rem 0;
  z-index: 100;
}

.admin-sidebar .brand {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.65rem 1.25rem;
  border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--amom-rose);
}

.admin-main {
  margin-left: 260px;
  padding: 1.5rem 2rem;
  background: var(--amom-cream);
  min-height: 100vh;
}

.stat-card {
  background: #fff;
  border-radius: var(--amom-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(61, 31, 71, 0.06);
}

.stat-card .stat-num {
  font-size: 2rem;
  font-family: var(--font-display);
  color: var(--amom-plum);
  font-weight: 700;
}

@media (max-width: 991px) {
  .admin-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    overflow-y: visible;
  }
  .admin-main {
    margin-left: 0;
  }
}

/* Partners */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  opacity: 0.55;
}

.partner-row span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--amom-plum);
  letter-spacing: 0.05em;
}
