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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: #2b3948;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.img {
  width: 120px;
  height: 60px;
}

.text-accent {
  color: #3fa79a;
}

.spannn{
  background-color: transparent;
  color: #0f2a4a;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3fa79a;
  margin-bottom: 10px;
}

h1, h2, h3 {
  color: #0f2a4a;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #3fa79a, #2c8a7f);
  color: #fff;
}

.hero-buttons .btn-primary {
  animation: x 2s ease-in-out infinite;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2c8a7f, #2c8a7f);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 167, 154, 0.35);
}

.btn-outline {
  background: transparent;
  color: #0f2a4a;
  border-color: rgba(15, 42, 74, 0.15);
}
.btn-outline:hover {
  border-color: #3fa79a;
  color: #3fa79a;
}

.btn-ghost {
  background: transparent;
  color: #0f2a4a;
  border-color: #0f2a4a;
}

.btn-ghost:hover {
  background: #0f2a4a;
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 42, 74, 0.06);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 42, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-weight: 800;
  font-size: 1.3rem;
  color: #0f2a4a;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text small {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: #3fa79a;
  font-weight: 600;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-weight: 500;
  color: #2b3948;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #3fa79a;
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #3fa79a;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f2a4a;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  overflow: hidden;
  background: #f5f9f8;
  isolation: isolate;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-bg--fallback {
  object-fit: contain;
  object-position: center;
  background: #f5f9f8;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245, 249, 248, 0.85) 0%, rgba(245, 249, 248, 0.35) 12%, rgba(245, 249, 248, 0) 30%);
}

.hero .container {
  margin: 0;
  max-width: none;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
}
.hero-inner {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 600px;
}
.badge {
  display: inline-block;
  background: rgba(73, 201, 186, 0.1);
  color: #2c8a7f;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-content p {
  color: #6b7a89;
  margin: 18px 0 28px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-features {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-feature span:last-child {
  font-weight: 600;
  font-size: 0.85rem;
  color: #0f2a4a;
}

.hero-feature .icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid rgba(63, 167, 154, 0.4);
  color: #3fa79a;
}

/* ============ About ============ */
.about {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* .about::before {
  content: '';
  position: absolute;
  top: -140px;
  left: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 167, 154, 0.12), transparent 70%);
  z-index: 0;
} */

.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 24px 0;
}

.check-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.check-grid li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3fa79a;
  flex-shrink: 0;
}

.about-content p {
  color: #6b7a89;
}

/* ============ Stats ============ */
.stats {
  padding: 56px 0;
  background: linear-gradient(135deg, #0f2a4a, #173a5e);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #7fd9cc;
}

.stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ Services ============ */
.services {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf5f3, #f5f9f8);
}

.services::before {
  content: '';
  position: absolute;
  bottom: -160px;
  right: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 42, 74, 0.06), transparent 70%);
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 1;
}

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

.service-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.15);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #3fa79a, #2c8a7f);
  color: #fff;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.service-card p {
  color: #6b7a89;
  font-size: 0.92rem;
}

/* ============ Doctors ============ */
.doctors {
  padding: 90px 0;
  background: #f5f9f8;
}
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3fa79a, #0f2a4a);
}

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

.doctor-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 42, 74, 0.15);
}

.doctor-photo {
  aspect-ratio: 3 / 3.4;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.06);
}

.doctor-info {
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #3fa79a, #2c8a7f);
  color: #fff;
}

.doctor-info .role {
  font-size: 0.8rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.doctor-info h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 4px 0 10px;
}

.doctor-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.doctor-social a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.75rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.doctor-social a:hover {
  background: #0f2a4a;
  transform: translateY(-3px);
}

.doctor-view {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  background: #0f2a4a;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease;
}

.doctor-view:hover {
  background: #16375f;
}

.doctors-grid .skeleton {
  height: 340px;
  border-radius: 14px;
  background: linear-gradient(90deg, #eef2f1 25%, #e2e8e7 37%, #eef2f1 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

/* ============  form ============ */
.field {
  display: block;
  margin-bottom: 0;
}

.Touch{
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #0f2a4a;
}

.input-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(15, 42, 74, 0.14);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input-icon:focus-within {
  border-color: #3fa79a;
  box-shadow: 0 0 0 4px rgba(63, 167, 154, 0.15);
}
.input-icon input,
.input-icon select {
  border: none;
  outline: none;
  flex: 1;
  font-family: inherit;
  font-size: 0.95rem;
  background: transparent;
  color: #2b3948;
  width: 100%;
}

.toggle-password {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.6;
}

.toggle-password:hover {
  opacity: 1;
}

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

/* ============ Testimonials ============ */
.testimonials {
  padding: 90px 0;
  background: #fff;
}

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

.testimonial-card {
  background: #f5f9f8;
  padding: 32px;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 42, 74, 0.1);
}

.testimonial-rating {
  color: #f5a623;
  margin-bottom: 14px;
  font-size: 0.9rem;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  color: #4a5a68;
  font-style: italic;
  margin-bottom: 22px;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3fa79a, #2c8a7f);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 700;
  color: #0f2a4a;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #6b7a89;
}

/* ============ Contact ============ */
.contact {
  padding: 90px 0;
  background: #eaf5f3;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 42, 74, 0.06), transparent 70%);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.contact-text p {
  color: #6b7a89;
  margin-top: 14px;
  max-width: 420px;
}

.contact-info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid rgba(63, 167, 154, 0.4);
  color: #3fa79a;
}

.contact-info strong {
  display: block;
  font-size: 0.85rem;
  color: #0f2a4a;
}

.contact-info span {
  font-size: 0.9rem;
  color: #6b7a89;
}

.contact-text img {
  margin-top: 28px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(15, 42, 74, 0.14);
  font-family: inherit;
  font-size: 0.95rem;
  color: #2b3948;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form textarea:focus {
  outline: none;
  border-color: #3fa79a;
  box-shadow: 0 0 0 4px rgba(63, 167, 154, 0.15);
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success {
  color: #2c8a7f;
}

.form-status.error {
  color: #d64545;
}











/* ============ Doctor profile modal ============ */
body.modal-open {
  overflow: hidden;
}

.doctor-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.doctor-modal.open {
  display: flex;
}

.doctor-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 74, 0.55);
}

.doctor-modal-content {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  box-shadow: 0 24px 60px rgba(15, 42, 74, 0.25);
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.doctor-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 42, 74, 0.08);
  color: #0f2a4a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.doctor-modal-close:hover {
  background: rgba(15, 42, 74, 0.16);
}

.doctor-modal-photo {
  background: #f5f9f8;
}

.doctor-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-modal-body {
  padding: 32px 28px;
}

.doctor-modal-body .role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #3fa79a;
}

.doctor-modal-body h3 {
  margin: 4px 0 16px;
}

.doctor-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.doctor-modal-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #4a5a68;
}

.doctor-modal-meta i {
  color: #3fa79a;
  width: 16px;
}

.doctor-modal-body p {
  color: #6b7a89;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.doctor-modal-body .doctor-social a {
  background: rgba(63, 167, 154, 0.12);
  color: #3fa79a;
}

.doctor-modal-body .doctor-social a:hover {
  background: #0f2a4a;
  color: #fff;
}

@media (max-width: 560px) {
  .doctor-modal-content {
    grid-template-columns: 1fr;
  }

  .doctor-modal-photo {
    max-height: 200px;
  }
}

/* ============ Account dashboard ============ */
.account-page {
  padding: 56px 0 90px;
  background: #f5f9f8;
  min-height: 70vh;
}

.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.account-sidebar {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
}

.account-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3fa79a, #2c8a7f);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}

.account-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.account-id {
  color: #6b7a89;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.account-nav a,
.account-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2b3948;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.account-nav a i,
.account-nav button i {
  width: 18px;
  color: #3fa79a;
}

.account-nav a:hover,
.account-nav a.active {
  background: rgba(63, 167, 154, 0.1);
  color: #3fa79a;
}

.account-nav button:hover {
  background: rgba(214, 69, 69, 0.1);
  color: #d64545;
}

.account-nav button i {
  color: #d64545;
}

.account-welcome p {
  color: #6b7a89;
  margin-top: 6px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.account-stat {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f2a4a;
}

.account-stat .label {
  font-size: 0.82rem;
  color: #6b7a89;
}

.account-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 42, 74, 0.08);
  margin-bottom: 24px;
}

.account-card h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: 12px;
  background: #f5f9f8;
  color: #0f2a4a;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quick-action i {
  font-size: 1.3rem;
  color: #3fa79a;
}

.quick-action:hover {
  background: rgba(63, 167, 154, 0.12);
  transform: translateY(-3px);
}

.appointment-list,
.prescription-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appointment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f5f9f8;
}

.appointment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.appointment-info span {
  font-size: 0.85rem;
  color: #6b7a89;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.status-confirmed {
  background: rgba(63, 167, 154, 0.15);
  color: #2c8a7f;
}

.status-pending {
  background: rgba(245, 166, 35, 0.15);
  color: #b9770e;
}

.profile-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-info-list li {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 42, 74, 0.06);
  font-size: 0.92rem;
}

.profile-info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-info-list strong {
  color: #0f2a4a;
}

.profile-info-list span {
  color: #6b7a89;
}

@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .appointment-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ Footer ============ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #266f67, #2c8a7f);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3fa79a, #7fd9cc, #3fa79a);
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 167, 154, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer-brand .logo-text,
.footer-brand .logo-text small {
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-col a:hover {
  color: #3fa79a;
  transform: translateX(4px);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  font-size: 0.9rem;
  color: #fff;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  border-color: transparent;
}

.social-icons a:has(.fa-facebook):hover {
  background: #1877f2;
}
.social-icons a:has(.fa-linkedin-in):hover {
  background: #0a66c2;
}
.social-icons a:has(.fa-instagram):hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.12);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit::before {
  content: '•';
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 480px) {
  .footer-credit::before {
    content: none;
  }
}


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

  .about-media {
    order: -1;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .tab {
    flex: 1 1 45%;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 600px;
    align-items: flex-start;
  }

  .hero-inner {
    padding-top: 40px;
  }

  .hero-fade {
    background: linear-gradient(180deg, rgba(245, 249, 248, 0.85) 0%, rgba(245, 249, 248, 0.85) 52%, rgba(245, 249, 248, 0.55) 68%, rgba(245, 249, 248, 0) 100%);
  }

  .hero-features {
    gap: 24px;
  }

  .hero-content {
    margin-left: 0;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .header-actions {
    order: 4;
    flex-basis: 100%;
    justify-content: flex-start;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-actions {
    max-height: 400px;
    opacity: 1;
    margin-top: 10px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
 .p-hero{
display: none;    }
  .btn-our{
    background-color: #b5fef6;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}
@keyframes x{
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============ Scroll reveal ============ */
.js-ready .reveal-left,
.js-ready .reveal-right,
.js-ready .reveal-up {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-ready .reveal-left { transform: translateX(-40px); }
.js-ready .reveal-right { transform: translateX(40px); }
.js-ready .reveal-up { transform: translateY(30px); }

.js-ready .reveal-left.in-view,
.js-ready .reveal-right.in-view,
.js-ready .reveal-up.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}