/* ===== Base styles & variables ===== */

:root {
  --blue-deep: #384e78;
  --blue-soft: #4a6aa8;
  --blue-pale: #f5f7fa;
  --text-main: #1b2434;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border-light: #e5e7eb;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.12);
  --radius-xl: 1.5rem;
  --radius-lg: 1rem;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background-color: #f3f4f6;
}

/* ===== Layout helpers ===== */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--blue-pale);
}

.section h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
}

/* ===== Header / Navigation ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: rgba(243, 244, 246, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(56, 78, 120, 0.15);
}

.logo-text {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  padding-bottom: 0.1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-soft));
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-soft));
  color: var(--white);
  box-shadow: 0 18px 35px rgba(37, 67, 112, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--blue-deep);
  border-color: rgba(56, 78, 120, 0.4);
}

.btn-outline:hover {
  background-color: rgba(56, 78, 120, 0.06);
}

.btn-full {
  width: 100%;
}

/* ===== Hero ===== */

.hero {
  background: radial-gradient(circle at top left, #e5edff 0%, #f3f4f6 55%, #ffffff 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 0.8rem;
  color: #111827;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Hero image */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.hero-image-frame {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: linear-gradient(135deg, #dbeafe, #e5e7eb);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subtle wave decoration at bottom of hero */

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: repeating-linear-gradient(
      -55deg,
      rgba(56, 78, 120, 0.06),
      rgba(56, 78, 120, 0.06) 14px,
      transparent 14px,
      transparent 28px
    );
  opacity: 0.7;
}

/* ===== About & Services ===== */

.about-highlight {
  background-color: var(--white);
  padding: 1.75rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.12);
}

.about-highlight h3 {
  margin-top: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
}

.about-highlight p {
  color: var(--text-muted);
}

.star-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
}

.star-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
}

.star-list li::before {
  content: "✶";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue-soft);
}

/* Services cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Fees ===== */

.fees-panel {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  padding: 1.6rem 1.8rem;
  display: grid;
  gap: 1.4rem;
}

.fee-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.1rem;
}

.fee-amount {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--blue-deep);
}

.fee-notes {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Rotating quote panel */
.quote-panel {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  padding: 1.6rem 1.8rem;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 380px;
}

.quote-text {
  margin: 0 0 0.7rem;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

.quote-attrib {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: opacity 0.3s ease;
}

/* Proper vertical centering of the quote box */
#fees .two-column {
  align-items: flex-start;
}

#fees .testimony-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}



/* ===== Calendar ===== */

.calendar-embed {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  min-height: 220px;
}

/* ===== Contact ===== */

.contact-details {
  list-style: none;
  padding-left: 0;
  margin-top: 1.2rem;
}

.contact-details li + li {
  margin-top: 0.3rem;
}

.contact-details a {
  color: var(--blue-deep);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background-color: var(--white);
  padding: 1.7rem 1.7rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.form-row input,
.form-row textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.6rem 0.7rem;
  font: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(74, 106, 168, 0.35);
  border-color: var(--blue-soft);
}

/* ===== Footer ===== */

.site-footer {
  background-color: #0f172a;
  color: rgba(226, 232, 240, 0.8);
  padding: 1.4rem 0 1.2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .hero-inner,
  .two-column,
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-image-frame {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .about-highlight,
  .contact-form,
  .card {
    padding: 1.3rem 1.25rem 1.2rem;
  }
}

/* ===== Small contact photo ===== */

.contact-info-with-photo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-photo {
  width: 270px !important;
  height: 270px !important;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 0 0 2px rgba(56, 78, 120, 0.15);
  display: block;
}

}

.contact-text {
  flex: 1;
}










