/* ============================================
   Nissi Physiotherapy Clinic
   Premium Natural Design
   ============================================ */

:root {
  --teal:       #0f766a;
  --teal-dark:  #0b5d54;
  --teal-deep:  #083a33;
  --teal-light: #ccf0ea;
  --gold:       #c4956a;
  --gold-light: #f0dfcd;
  --gold-dark:  #a8784d;
  --white:      #ffffff;
  --cream:      #faf8f5;
  --stone:      #f2eee9;
  --charcoal:   #1a1a1a;
  --text:       #2d2d2d;
  --text-light: #6b6b6b;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 8px 30px rgba(15, 118, 106, 0.10);
  --shadow-lg:  0 20px 60px rgba(15, 118, 106, 0.15);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

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

/* ========== SECTION HEADERS ========== */

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-light);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  margin: 14px auto 0;
}

/* ========== NAV ========== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  transition: var(--transition);
}

.nav.scrolled .nav-brand {
  color: var(--charcoal);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gold);
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  border-radius: 10px;
  font-weight: 400;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 8px;
  transition: var(--transition);
}

.nav.scrolled .nav-link {
  color: var(--text);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav.scrolled .nav-link:hover,
.nav.scrolled .nav-link.active {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: var(--gold);
  border-radius: 100px;
  margin-left: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.nav.scrolled .nav-toggle span {
  background: var(--charcoal);
}

/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  transform: scale(1.05);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 58, 51, 0.92) 0%,
    rgba(15, 118, 106, 0.78) 50%,
    rgba(11, 93, 84, 0.70) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}

.hero-text {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 36px;
}

.hero-text strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(196, 149, 106, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 44px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ========== WHY ========== */

.why {
  padding: 110px 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(15, 118, 106, 0.06);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-fig {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.why-card:hover .why-fig {
  transform: scale(1.03);
}

.why-body {
  padding: 28px 28px 32px;
}

.why-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--charcoal);
  line-height: 1.3;
}

.why-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ========== ABOUT ========== */

.about {
  padding: 110px 0;
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  height: 540px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-experience {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--teal-deep);
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(8, 58, 51, 0.3);
}

.exp-number {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
}

.exp-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.8;
  margin-top: 2px;
}

.about-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.about-content > p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
}

.founder {
  display: flex;
  gap: 24px;
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  align-items: flex-start;
  border: 1px solid rgba(196, 149, 106, 0.1);
}

.founder-img {
  width: 80px;
  height: 80px;
  min-width: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 3px solid var(--gold-light);
}

.founder-info h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 2px;
}

.founder-role {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.founder-info p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== SERVICES ========== */

.services {
  padding: 110px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(15, 118, 106, 0.06);
  box-shadow: 0 2px 12px rgba(15, 118, 106, 0.04);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  height: 210px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.service-card:hover .service-img {
  transform: scale(1.04);
}

.service-body {
  padding: 24px 28px 28px;
}

.service-body h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ========== LOCATION ========== */

.location {
  padding: 110px 0;
  background: var(--cream);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.location-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.location-content > p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.location-search {
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border-left: 4px solid var(--gold);
}

.search-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--charcoal);
}

.location-search ul {
  list-style: none;
  margin-bottom: 16px;
}

.location-search ul li {
  padding: 5px 0 5px 22px;
  font-size: 0.92rem;
  color: var(--text-light);
  position: relative;
}

.location-search ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.5;
}

.search-answer {
  font-size: 1rem;
  color: var(--teal-dark);
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.location-meta span {
  font-size: 0.92rem;
  color: var(--text);
}

.location-meta strong {
  color: var(--charcoal);
}

.location-map {
  margin: 0;
}

.map-img {
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pin-dot {
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(196, 149, 106, 0.25), 0 4px 16px rgba(0,0,0,0.2);
  animation: pulse-pin 2s ease-in-out infinite;
}

@keyframes pulse-pin {
  0%, 100% { box-shadow: 0 0 0 8px rgba(196,149,106,0.25), 0 4px 16px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 0 0 16px rgba(196,149,106,0.10), 0 4px 16px rgba(0,0,0,0.2); }
}

/* ========== TESTIMONIALS ========== */

.testimonials {
  padding: 110px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 32px 36px;
  margin: 0;
  transition: var(--transition);
  border: 1px solid rgba(15, 118, 106, 0.04);
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.test-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
}

.testimonial-author cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  color: var(--charcoal);
}

.testimonial-author span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light);
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
}

/* ========== CTA BANNER ========== */

.cta-banner {
  padding: 80px 0;
  background: var(--teal-deep);
  text-align: center;
}

.cta-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

/* ========== CONTACT ========== */

.contact {
  padding: 110px 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--gold-dark);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--gold-light);
}

.contact-row h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-row p,
.contact-row a {
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-row a:hover {
  color: var(--teal);
}

/* ========== FORM ========== */

.contact-form {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 118, 106, 0.04);
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 149, 106, 0.10);
}

.form-group textarea {
  resize: vertical;
}

/* ========== FOOTER ========== */

.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 32px;
  text-align: center;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.footer-brand .brand-mark {
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.footer-desc {
  font-size: 0.88rem;
  opacity: 0.55;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.92rem;
}

.footer-links a {
  color: var(--white);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.35;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-img {
    height: 380px;
  }

  .about-visual { order: -1; }
  .about-experience {
    right: 0;
    bottom: -16px;
  }

  .map-img { height: 320px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 24px 28px;
    gap: 4px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    width: 100%;
    color: var(--text) !important;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--teal-light) !important;
    color: var(--teal-dark) !important;
  }

  .nav-cta {
    text-align: center;
    margin-left: 0;
    width: 100%;
  }

  .nav-toggle { display: flex; }

  .hero {
    padding: 100px 0 60px;
    min-height: 85vh;
  }

  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }

  .why,
  .about,
  .services,
  .location,
  .testimonials,
  .contact {
    padding: 72px 0;
  }

  .founder {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .founder-img {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }

  .location-search { padding: 20px; }

  .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .why-grid,
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-form { padding: 28px 20px; }

  .footer-links { flex-direction: column; gap: 6px; }
  .footer-divider { display: none; }

  .about-img { height: 260px; }
  .about-experience {
    position: static;
    margin-top: 16px;
    border-radius: var(--radius-sm);
  }

  .map-img { height: 240px; }

  .location-meta { flex-direction: column; gap: 8px; }
}
