/* Theme colors */
:root {
  --maroon: #7c1b17;
  --maroon-dark: #5b0f0d;
  --gold: #c08e3d;
  --paper: #fff7f2;
  --muted: #666;
  --container-width: 1100px;
}

/* Base */
* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Noto Sans Devanagari", "Merriweather", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background-color: #fff7f2;
  /* your soft beige tone */
  background-image: url('images/pattern.png');
  background-repeat: unset;
  background-size: 800px auto;
  /* adjust based on your design */
  background-position: center top;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 18px
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--maroon) 0%, #7a1a17 60%);
  color: #fff;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08)
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.logo {
  height: 64px;
  width: auto;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px
}

.brand-title {
  font-weight: 700;
  font-family: "Merriweather", serif;
  font-size: 18px;
  letter-spacing: 0.2px
}

.brand-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9)
}

/* 🌸 Floral Header + Logo Update */
.floral-header {
  background-color: #751d1d;
  /* Maroon base */
  background-image: url('images/floral-header.png');
  /* your pattern file */
  background-repeat: repeat-x;
  background-position: top center;
  background-size: contain;
  position: relative;
}

/* 🌸 Logo Enhancement */
.site-header .logo {
  height: 80px;
  /* Larger logo */
  width: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
}

/* Nav */
.main-nav {
  display: flex;
  gap: 14px;
  align-items: center
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06)
}

.btn-login {
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 8px 12px;
  border-radius: 20px
}

/* Hero */
.hero {
  background: #f6f0ed;
  padding: 12px 0
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 7px
}

.slide {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center
}

.hero-overlay {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1));
  color: #fff;
  padding: 28px;
  border-radius: 1px;
  margin: 0 1px;
  display: block
}

.hero-title {
  font-size: 12px;
  margin: 0 0 8px;
  font-weight: 700
}

.hero-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0)
}

/* 🌼 Decorative background around Hero section */
/* Hero Section */
.hero {
  background: transparent;
  /* pattern already on body */
  padding: 10px 0;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.slide {
  min-height: 480px;
  /* increased height for better image visibility */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* center text horizontally */
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 28px;
  border-radius: 10px;
  text-align: center;
  /* center text */
  max-width: 80%;
}

.hero-title {
  font-size: 26px;
  margin: 0 0 8px;
  font-weight: 700;
}

.hero-sub {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
}

/* Ensure hero content stays above background */
.hero-slider {
  position: relative;
  z-index: 1;
}

/* 🕊️ Adjust hero text placement and size */
.hero-overlay {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 28px 32px;
  border-radius: 10px;
  text-align: center;
  /* center text */
  max-width: 80%;
  margin: 0 auto;
  /* center block horizontally */
}

.hero-title {
  font-size: 22px;
  line-height: 1.3;
}

.hero-sub {
  font-size: 14px;
}

/* Paper sections (invitation style) */
/* Search section centering */
.section-paper {
  background: var(--paper);
  border-top: 6px solid rgba(0, 0, 0, 0.02);
  margin-top: 18px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  text-align: center;
  /* NEW: center content like heading + search row */
}

.section-title {
  font-family: "Merriweather", serif;
  font-weight: 700;
  color: var(--maroon);
  font-size: 28px;
  margin: 8px 0 18px;
  padding-bottom: 4px;
  text-align: left
}

.center {
  text-align: center
}

/* Search row */
.search-container {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filters select, .search-btn {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    min-width: 150px;
}

.search-btn {
    background: #ff0066;
    color: #7a1c1c;
    cursor: pointer;
    border: none;
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 15px;
}

.load-more {
    padding: 12px 20px;
    background: #333;
    color: ddd;
    border-radius: 10px;
    border: 2px solid #ddd;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

/* How grid */
.how-we-work {
  text-align: center;
  padding: 80px 20px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.how-we-work::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/mandala-bg.png');
  /* optional mandala behind */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 800px auto;
  opacity: 0.08;
  z-index: 0;
}

.how-we-work h2 {
  color: var(--maroon);
  font-family: "Merriweather", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.work-step {
  background: #fff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 320px;
}

.work-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.work-step .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.work-step h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.work-step p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .work-steps {
    grid-template-columns: repeat(2, 1fr);
/* Theme colors */
:root {
  --maroon: #7c1b17;
  --maroon-dark: #5b0f0d;
  --gold: #c08e3d;
  --paper: #fff7f2;
  --muted: #666;
  --container-width: 1100px;
}  }
}

@media (max-width: 640px) {
  .work-steps {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------
   Search Section
--------------------------------------------------- */
.search-section {
  text-align: center;
  color: #7a1c1c;
}

.search-section h2 {
  color: #7a1c1c;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}

.search-section button,
.search-section .search-btn {
  background-color: #7a1c1c;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.search-section button:hover,
.search-section .search-btn:hover {
  background-color: #a52a2a;
  transform: scale(1.05);
}

/* ---------------------------------------------------
   Filter Bar Layout
--------------------------------------------------- */
.search-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px auto;
}

.search-row select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.9rem;
}

/* ---------------------------------------------------
   Profile Grid
--------------------------------------------------- */
.profiles-grid,
#profiles-grid,
#all-profiles-grid,
#search-results-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 30px auto !important;
  float: none !important;
}

/* ---------------------------------------------------
   Profile Card
--------------------------------------------------- */
.profile-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  object-fit: cover;
  object-position: top;   /* THIS makes the face stay visible */
  width: 100%;
  max-width: 260px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s;
}

.profile-card:hover {
  transform: scale(1.02);
}

.profile-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;   /* THIS makes the face stay visible */
}

/* ---------------------------------------------------
   Profile Content
--------------------------------------------------- */
.profile-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-name {
  font-weight: bold;
  color: #6b0000;
  margin-bottom: 0.3rem;
}

.profile-meta {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.profile-details {
  text-align: left;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.35rem;
  margin: 10px 0 15px 0;
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 420px) {
  .send-interest-btn {
    max-width: 100%;
    width: calc(100% - 20px);
  }
}

.profile-details strong {
  color: #6b0000;
}

/* Profiles list (table) styling for admin or public lists */
#profilesTable {
  border-collapse: collapse;
  width: 100%;
}

#profilesTable th,
#profilesTable td {
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  vertical-align: middle;
}

#profilesTable tbody tr td {
  background: rgba(255, 255, 255, 0.85);
}

/* slightly opaque background so text readable on pattern */
#profilesTable thead th {
  background: var(--maroon);
  color: #fff;
}

.profile-body {
  padding: 12px
}

.profile-name {
  font-weight: 700;
  color: var(--maroon)
}

.profile-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0
}

/* --- Profile Details Layout --- */
.profile-details-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 20px;
  padding: 20px;
}

.profile-details-card {
  display: flex;
  flex-direction: row;
  background: #fffefd;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 900px;
  padding: 20px;
  gap: 30px;
}

/* Left side: Info */
.profile-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.profile-info h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #333;
}

/* Info text styling */
.profile-info {
  flex: 2;
  color: #4a2d2a;
  font-size: 15px;
  line-height: 1.8;
}

.profile-info h3 {
  color: #5b0f0d;
  font-size: 22px;
  margin-bottom: 15px;
}

/* Right side images */
.profile-media {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Profile photo */
.profile-photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 🔮 Larger, centered Kundali image */
.kundali-image {
  width: 450px !important;
  height: 450px !important;
  object-fit: contain;
  background-color: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 18px;
  padding: 12px;
  margin-top: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kundali-image:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Responsive Kundali image */
@media (max-width: 768px) {
  .kundali-image {
    width: 320px !important;
    height: 320px !important;
  }
}

@media (max-width: 480px) {
  .kundali-image {
    width: 260px !important;
    height: 260px !important;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-info {
  text-align: center;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  line-height: 1.7;
}

.contact-info a {
  color: var(--maroon);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form {
  background: #fff7f2;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-family: inherit;
}

.contact-form button {
  margin-top: 10px;
  align-self: start;
}

/* FAQ */
.faq-section {
  background-color: #fff8f5;
  padding: 60px 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

details {
  background: #fff;
  border: 1px solid #f1d7c7;
  border-radius: 8px;
  padding: 12px 18px;
  transition: all 0.3s ease;
}

summary {
  cursor: pointer;
  color: #7a1c1c;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] {
  background: #fceee8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

details p {
  margin-top: 10px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

main.container h2 {
  color: #5b0f0d;
  text-align: center;
  font-weight: 700;
}

.footer-bar {
  width: 100%;
  background-color: #7a1c1c;
  background-image: url("/images/floral-header-2.png");
  background-repeat: no-repeat;
  background-size: 400px;
  background-position: center;
  border-top: 1px solid #e5d7cc;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  padding: 12px 40px;
  color: #f5e6e0;
  font-size: 15px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  margin: 0;
}

.footer-right {
  margin: 0;
}

.footer-right a {
  color: #ffd8c9;
  text-decoration: none;
  font-weight: 600;
}

.footer-right a:hover {
  text-decoration: underline;
}


/* Utilities */
.small {
  font-size: 13px
}

.muted {
  color: var(--muted)
}

.center {
  text-align: center
}

/* Responsive tweaks */
@media (max-width:900px) {
  .header-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start
  }

  .hero-title {
    font-size: 20px
  }

  .brand-title {
    font-size: 16px
  }
}

/* Center align Profiles List heading and search bar */
#profilesSection {
  text-align: center;
  margin-top: 30px;
}

#profilesSection h2 {
  color: #5b0f0d;
  /* same maroon tone */
  text-align: center;
}

#profilesSection #adminSearch {
  display: inline-block;
  margin: 10px auto 20px auto;
}

/* -------------------------------------- */
/* 💠 Admin Profiles Table Styling Update */
/* -------------------------------------- */

#profilesSection {
  width: 95%;
  max-width: 1200px;
  margin: 50px auto;
  background: linear-gradient(180deg, #fffaf7 0%, #fff5ed 100%);
  border: 3px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(124, 27, 23, 0.15);
  padding: 30px 20px 40px 20px;
  position: relative;
  overflow-x: auto;
}

/* Optional subtle corner floral fade */
#profilesSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/mandala-bg.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 900px;
  opacity: 0.05;
  pointer-events: none;
}

/* Centered section title */
#profilesSection h2,
#profilesSection .section-title {
  text-align: center;
  font-family: "Merriweather", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 25px;
  letter-spacing: 0.3px;
}

/* --- Profiles Table --- */
#profilesTable {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: rgba(255, 247, 242, 0.97);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  text-align: center;
}

#profilesTable th {
  background-color: var(--maroon);
  color: #fff;
  padding: 14px 18px;
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 3px solid var(--gold);
  text-align: center;
}

#profilesTable td {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333;
  padding: 16px 18px;
  font-size: 0.95rem;
  border-bottom: 1px solid #f3dfd7;
  text-align: center;
  vertical-align: middle;
}

button.see-info-btn {
  background: #eee;
  border: 1px solid #999;
  border-radius: 4px;
  padding: 3px 6px;
  cursor: pointer;
}

button.delete-btn {
  background: #b22222;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 3px 6px;
  cursor: pointer;
  margin-left: 5px;
}

/* Highlight row on hover */
#profilesTable tr:hover td {
  background-color: rgba(255, 230, 220, 0.95);
  transition: background-color 0.25s ease;
}

/* Photo styling */
#profilesTable img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--gold);
  background: rgba(255, 230, 220, 0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease;
}

#profilesTable img:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #profilesSection {
    width: 98%;
    padding: 20px;
  }

  #profilesTable {
    width: 100%;
  }

  #profilesTable img {
    width: 90px;
    height: 90px;
  }

  #profilesTable th,
  #profilesTable td {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* --- Add Profile Form Grid Layout --- */
form {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 900px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: #7a1c1c;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #c08e3d;
  box-shadow: 0 0 4px rgba(192, 142, 61, 0.4);
}

textarea {
  min-height: 90px;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 15px;
}

.btn-primary:hover {
  background: var(--maroon-dark);
}

/* Thumbnail styles */
.profile-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.photo-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.btn-info {
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-delete {
  background-color: #cc0000;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-info:hover { background-color: #004c99; }
.btn-delete:hover { background-color: #a30000; }
/* ---------- ABOUT PAGE ENHANCEMENTS ---------- */

.about-section {
  font-family: 'Noto Sans Devanagari', 'Merriweather', serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #5b0f0d; 
  list-style: none;         /* removes bullet points */
  max-width: 850px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.about-section h2.section-title {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  list-style: none;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.about-section h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #5b0f0d;
  border-left: 4px solid #d4a373;
  border-right: 4px solid #d4a373;  
  padding: 0.4rem 10px;
  text-align: center;
  display: inline-block;
  background-color: rgba(212, 163, 115, 0.05); 
  border-radius: 4px;
}

.about-section p {
  margin-bottom: 1.2rem;
  list-style: none;
  text-align: center;
}

.about-section ul, .about-section ol {
  margin: 1rem 0 1.5rem 2rem;
  list-style: none;
  padding: 0;
}

.about-section li {
  margin-bottom: 0.6rem;
  list-style: none;
}

.about-section .highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: #5b0f0d;
  margin-bottom: 1rem;
}

.about-section .center {
  text-align: center;
}

.about-section .center img.profile-photo {
  display: block;
  margin: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  max-width: 200px;
}

.about-section .center img.profile-photo:hover {
  transform: scale(1.05);
}

.about-section blockquote {
  font-style: italic;
  background: rgba(212,163,115,0.1);
  border-left: 5px solid #d4a373;
  border-right: 5px solid #d4a373;
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  border-radius: 8px;
  max-width: 700px;
  font-size: 1.15rem;
}

/* Improve readability on large screens */
@media (min-width: 1024px) {
  .about-section {
    font-size: 1.15rem;
    line-height: 2;
  }
}

/* Yashogatha Section */
#yashogatha {
  margin-top: 3rem;
  text-align: center;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.success-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.success-photo {
  width: 100%;
  height: auto; /* let height adjust naturally */
  object-fit: contain; /* optional: keep proportion */
  border-radius: 15px;
  margin-bottom: 1rem;
}

.success-names {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b33b72; 
  margin-bottom: 0.8rem;
}

.success-story {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* ---------------------------------------------------
   FINAL — SEND INTEREST BUTTON (YELLOW → BROWN)
--------------------------------------------------- */
.send-interest-btn {
  width: 90%;
  margin: 10px auto;
  padding: 12px 0;
  border-radius: 12px;
  border: 2px solid #7a1c1c;
  background: #f1c232;
  color: white;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s ease-in-out;
}

.send-interest-btn:hover {
  background-color: #7a1c1c !important;
  color: #f1c232 !important;
  transform: scale(1.06);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
