/* Kranthi Psychological Counselling Centre - Frontend Theme */
:root {
  --forest-dark: #154721;
  --forest-hover: #0f3618;
  --lime-accent: #89C441;
  --lime-soft: #EBF4E2;
  --cream-bg: #FCFBF7;
  --card-bg: #FFFFFF;
  --text-dark: #1B2A1E;
  --text-muted: #526055;
  --border-light: #DCE5DC;
  --purple-brand: #6A1B9A;
  --shadow-soft: 0 12px 32px rgba(21, 71, 33, 0.07);
  --shadow-card: 0 6px 20px rgba(21, 71, 33, 0.05);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .serif-heading {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--forest-dark);
  line-height: 1.18;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.22s ease;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  background: rgba(252, 251, 247, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(21, 71, 33, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo img {
  height: 56px;
  width: auto;
}

.brand-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 2px;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--forest-dark);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--forest-dark);
  border-radius: 3px;
}

/* Dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 265px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  display: flex !important;
  flex-direction: column;
  gap: 4px !important;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  display: block;
}

.dropdown-menu a:hover {
  background: var(--lime-soft);
  color: var(--forest-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
}

.btn-primary {
  background: var(--forest-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(21, 71, 33, 0.2);
}

.btn-primary:hover {
  background: var(--forest-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--text-dark);
  border-color: #B7C7B9;
}

.btn-outline:hover {
  border-color: var(--forest-dark);
  background: var(--lime-soft);
  color: var(--forest-dark);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

/* Badges */
.pill-badge {
  display: inline-block;
  background: var(--lime-soft);
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* Hero Section */
.hero-section {
  padding: 44px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-underline {
  display: inline-block;
  position: relative;
}

.hero-underline::after {
  content: '';
  display: block;
  width: 115%;
  height: 7px;
  background: linear-gradient(90deg, var(--lime-accent), #B2DF76);
  border-radius: 99px;
  margin-top: 2px;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #EFECE3;
}

.hero-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 8-Column Service Pillar Strip */
.service-strip-section {
  padding: 14px 0 42px;
}

.service-strip-bar {
  background: #F1F6EB;
  border: 1px solid #DFECD2;
  border-radius: var(--radius-xl);
  padding: 20px 12px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 8px;
  border-right: 1px solid #D5E3C8;
  transition: transform 0.2s ease;
}

.strip-item:last-child {
  border-right: none;
}

.strip-item:hover {
  transform: translateY(-3px);
}

.strip-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.strip-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* About Split + Mission/Vision/Values */
.about-section {
  padding: 40px 0 64px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.about-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-copy h2 {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.mvv-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mvv-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.mvv-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--lime-soft);
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mvv-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.mvv-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Generic Sections & Cards */
.section-block {
  padding: 64px 0;
}

.section-alt {
  background: #F4F7F0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Packages */
.package-card {
  background: #fff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.package-card.featured {
  border-color: var(--forest-dark);
  background: linear-gradient(180deg, #F6FAF2 0%, #FFFFFF 45%);
}

.package-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--forest-dark);
  margin: 10px 0 4px;
}

.package-duration {
  font-size: 13.5px;
  font-weight: 600;
  color: #5C7A62;
  margin-bottom: 18px;
}

.package-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.package-features li {
  font-size: 14.5px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-features li::before {
  content: '✓';
  color: var(--forest-dark);
  font-weight: 800;
  background: var(--lime-soft);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Appointment Booking Section */
.booking-wrapper {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-control {
  padding: 12px 15px;
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14.5px;
  background: #FCFDFB;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--forest-dark);
  background: #fff;
}

.alert-success {
  background: #ECFDF3;
  border: 1px solid #ABEFC6;
  color: #067647;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 500;
}

.alert-error {
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 18px 22px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 16px;
  color: var(--forest-dark);
  cursor: pointer;
}

.faq-item p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: #123B1C;
  color: #E7F0E9;
  padding: 60px 0 26px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #CFE0D3;
  font-size: 14.5px;
}

.footer-links a:hover {
  color: #A3E059;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #B4C9B9;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1100px) {
  .service-strip-bar {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .strip-item:nth-child(4) {
    border-right: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .booking-wrapper,
  .footer-grid,
  .cards-grid-3,
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }
  .mobile-menu-btn {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .header-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 560px) {
  .service-strip-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid,
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
}
