@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap");

:root {
  --navy: #10263d;
  --sky: #2f89fc;
  --teal: #1bb0a7;
  --slate: #4f5d75;
  --light: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(16, 38, 61, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 38, 61, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  display: none;
}

.brand.has-logo .brand-logo {
  display: block;
}

.brand.has-logo .brand-mark {
  display: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  border-radius: 14px;
  letter-spacing: 0.04em;
}

.brand-text small {
  display: block;
  color: var(--slate);
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-link {
  font-weight: 600;
  color: var(--slate);
}

.nav-link.active {
  color: var(--navy);
}

.nav-link.cta {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--navy);
}

.hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(120deg, #eef6ff 0%, #f7fbff 50%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  margin: 0.6rem 0 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--slate);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.button {
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button.ghost {
  border: 1px solid rgba(16, 38, 61, 0.2);
  color: var(--navy);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(16, 38, 61, 0.2);
}

.button.ghost:hover {
  background: rgba(16, 38, 61, 0.06);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.trust-strip div {
  background: var(--white);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(16, 38, 61, 0.08);
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.hero-card-inner {
  background: linear-gradient(150deg, #ffffff, #f2f6ff);
  padding: 2rem;
  border-radius: 20px;
}

.hero-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.2rem;
}

.contact-pill {
  background: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 14px;
  margin: 0.7rem 0;
  font-weight: 600;
  color: var(--slate);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.info-strip .card {
  padding: 1.4rem;
  border: 1px solid rgba(16, 38, 61, 0.08);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat {
  background: linear-gradient(135deg, rgba(47, 137, 252, 0.1), rgba(27, 176, 167, 0.12));
  padding: 1.4rem;
  border-radius: 18px;
  font-weight: 700;
}

.stat span {
  display: block;
  color: var(--slate);
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  background: rgba(47, 137, 252, 0.12);
  color: var(--navy);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.section {
  padding: 4.5rem 0;
}

.section.alt {
  background: var(--light);
}

.section-title {
  max-width: 640px;
}

.section-title h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(16, 38, 61, 0.08);
}

.icon-card {
  position: relative;
  border: 1px solid rgba(16, 38, 61, 0.06);
}

.icon-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(47, 137, 252, 0.12);
  color: var(--sky);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(27, 176, 167, 0.12);
  color: #0a6b65;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.step {
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px dashed rgba(16, 38, 61, 0.2);
}

.step strong {
  font-size: 1.4rem;
  color: var(--sky);
}

.card h3 {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  padding-left: 2rem;
  position: relative;
  color: var(--slate);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.highlight-panel {
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.highlight-panel .trust-strip div {
  color: var(--navy);
}

.highlight-panel .trust-strip span {
  color: var(--slate);
  font-weight: 600;
}

.cta-band {
  background: linear-gradient(135deg, #0b1f33, #14324f);
  color: var(--white);
  padding: 3rem 0;
}

.cta-band .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  gap: 2rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
}

.profile-hero {
  padding: 4rem 0 3.5rem;
  background: radial-gradient(circle at top left, #eaf2ff 0%, #ffffff 55%);
  position: relative;
  overflow: hidden;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.profile-card {
  background: var(--white);
  padding: 2.2rem;
  border-radius: 26px;
  border: 1px solid rgba(16, 38, 61, 0.08);
  box-shadow: 0 24px 60px rgba(16, 38, 61, 0.12);
}

.profile-card img {
  border-radius: 22px;
  background: linear-gradient(135deg, #dce9ff, #f5f8ff);
  height: 360px;
  object-fit: cover;
  width: 100%;
  display: block;
}

.profile-meta {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  color: var(--slate);
  font-weight: 600;
}

.profile-hero::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(47, 137, 252, 0.12);
  top: -120px;
  right: -120px;
  filter: blur(2px);
}

.profile-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-radius: 20px;
  padding: 1.6rem;
  border: 1px solid rgba(16, 38, 61, 0.08);
  box-shadow: 0 18px 36px rgba(16, 38, 61, 0.08);
}

.availability {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.availability span {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--slate);
}

.profile-detail-grid .info-card h3 {
  margin-top: 0;
}

.profile-hero h1 {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.tag {
  background: rgba(47, 137, 252, 0.15);
  color: #153356;
  box-shadow: 0 10px 20px rgba(47, 137, 252, 0.1);
}

.highlight-panel {
  background: linear-gradient(160deg, #0b1f33, #18395a);
}

.timeline div {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.timeline strong {
  color: var(--white);
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline div {
  padding: 1rem 1.2rem;
  background: var(--light);
  border-radius: 14px;
}

.testimonials blockquote {
  font-style: italic;
  color: var(--slate);
  position: relative;
  padding-top: 2.5rem;
}

.testimonials blockquote::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  top: 0;
  left: 1.5rem;
  color: var(--teal);
}

.testimonials span {
  display: block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.page-hero {
  padding: 3.5rem 0;
  background: linear-gradient(120deg, #eff6ff 0%, #ffffff 70%);
}

.page-hero h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.doctor-card img {
  border-radius: 18px;
  height: 240px;
  object-fit: cover;
  background: #e6eefb;
}

.doctor-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.doctor-card .schedule {
  margin-top: auto;
}

.doctor-card .button {
  align-self: flex-start;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  background: linear-gradient(135deg, #e6f0ff, #ffffff);
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 120px;
  border: 1px solid rgba(16, 38, 61, 0.08);
}

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq details {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(16, 38, 61, 0.1);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq p {
  color: var(--slate);
}

.badge {
  display: inline-block;
  background: rgba(47, 137, 252, 0.12);
  color: var(--sky);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.schedule {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.schedule span {
  display: flex;
  justify-content: space-between;
  color: var(--slate);
  font-weight: 600;
}

.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-weight: 700;
  color: var(--navy);
}

input,
select,
textarea {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(16, 38, 61, 0.15);
  font-family: inherit;
  font-size: 0.95rem;
  background: #f9fbff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(47, 137, 252, 0.6);
  box-shadow: 0 0 0 3px rgba(47, 137, 252, 0.15);
  background: var(--white);
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field {
  display: grid;
  gap: 0.5rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.preview-card {
  border-radius: 18px;
  padding: 1rem;
  border: 1px dashed rgba(16, 38, 61, 0.2);
  background: #f9fbff;
  text-align: center;
}

.preview-card img {
  max-width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  background: #e6eefb;
}

.auth-hero {
  padding: 4rem 0;
  background: radial-gradient(circle at top right, #eaf2ff 0%, #ffffff 55%);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.auth-side h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0.6rem 0 1rem;
}

.auth-panel {
  display: grid;
  gap: 1.2rem;
}

.auth-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 28px 70px rgba(16, 38, 61, 0.18);
  border: 1px solid rgba(16, 38, 61, 0.08);
}

.auth-card .button {
  width: 100%;
  justify-content: center;
}

.table-card {
  border-radius: 18px;
  border: 1px solid rgba(16, 38, 61, 0.08);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 32px rgba(16, 38, 61, 0.08);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(16, 38, 61, 0.08);
  vertical-align: top;
}

.data-table th {
  background: #f4f7fb;
  font-weight: 700;
}

.data-table td small {
  color: var(--slate);
  display: block;
  margin-top: 0.2rem;
}

.empty-state {
  padding: 1.2rem;
  color: var(--slate);
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.status-message {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(27, 176, 167, 0.15);
  color: #0a6b65;
  display: none;
}

.status-message.show {
  display: block;
}

.site-footer {
  background: #0b1f33;
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.footer-brand .brand-logo,
.footer-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.footer-brand .brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 700px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

