/* Psychologist Website Styles (style.css) */

:root{
  --bg: #f7f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: rgba(15, 23, 42, .08);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, .08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, .12);
  --radius: 16px;
}

html, body { height: 100%; }

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

main{ padding-top: 12px; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }
p { color: var(--muted); }

a { text-decoration: none; }
a:hover { text-decoration: none; }

.navbar{
  backdrop-filter: saturate(180%) blur(10px);
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.navbar-brand{
  letter-spacing: -0.02em;
}
.navbar .nav-link{
  font-weight: 500;
  color: #334155 !important;
  padding: .5rem .75rem;
  border-radius: 10px;
}
.navbar .nav-link:hover{
  background: rgba(13,110,253,.08);
  color: #0d6efd !important;
}
.navbar .nav-link.active{
  background: rgba(13,110,253,.10);
  color: #0d6efd !important;
}

.hero{
  background:
    linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.62)),
    url("/static/therapy.jpg") center/cover no-repeat;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5rem 20px;
  color: #fff;
  overflow: hidden;
  text-align: left;
}

.hero h1{
  text-shadow: 0 14px 40px rgba(0,0,0,.45);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero .lead{
  color: rgba(255,255,255,.84) !important;
  max-width: 48ch;
}

.hero .btn{
  border-radius: 14px;
  padding: .85rem 1.25rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.hero .btn:hover{
  transform: translateY(-1px);
}
.hero .btn-primary{
  box-shadow: 0 18px 45px rgba(13,110,253,.28);
}
.hero .btn-outline-light{
  border-color: rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.08);
}
.hero .btn-outline-light:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.75);
}


.hero .badge{
  padding: .45rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(255,255,255,.92) !important;
  color: #0f172a !important;
}

.profile-img{
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 4px solid rgba(255,255,255,.7);
}

.section-title{
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text);
}

.service-card{
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.table{
  background: #fff;
}
.table thead th{
  font-weight: 700;
  color: #334155;
}
.table tbody td{
  color: #334155;
}


footer{
  background: #0f172a;
  color: rgba(255,255,255,.85);
  padding: 40px 16px;
  text-align: center;
}
footer p{ color: rgba(255,255,255,.7); }


#testimonials{
  background-color: #f1f3f8;
  padding: 70px 0;
}
#testimonials .carousel-item p{
  font-size: 1.1rem;
  font-style: italic;
  max-width: 720px;
  margin: 0 auto;
  color: #475569;
}
#testimonials .carousel-item h5{
  color: #334155;
  font-weight: 700;
  margin-top: 16px;
}
.carousel-control-prev-icon,
.carousel-control-next-icon{
  filter: invert(1);
}


input.form-control,
textarea.form-control,
select.form-select,
select.form-control{
  border-radius: 12px;
  border: 1px solid var(--border);
}

input.form-control:focus,
textarea.form-control:focus,
select.form-select:focus,
select.form-control:focus{
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.18);
  border-color: rgba(13,110,253,.55);
}


.modal-backdrop.show{
  backdrop-filter: blur(6px);
}


.modal-content{
  border-radius: 18px;
}

@media (max-width: 575px){
  .profile-img{ width: 160px; height: 160px; }
  .section-title{ font-size: 24px; }
  .hero{
    min-height: 75vh;
    text-align: center;
    justify-content: center;
    padding: 3.5rem 16px;
  }
  .hero .lead{ max-width: 60ch; }
}


.services-hero p{
  max-width: 60ch;
  margin: 0 auto;
}

/* .service-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(13,110,253,.10);
  font-size: 22px;
} */

.services-cta .card{
  border-radius: 18px;
}

/* --- Contact page --- */
.contact-item{
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child{ border-bottom: 0; }

.contact-icon{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(13,110,253,.10);
  font-size: 18px;
}