/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #111;
    color: #f1f1f1;
    line-height: 1.6;
}

/* Color palette */
:root {
    --primary: #30abfd;
    --primary-dark: #038ce8;
    --secondary: #333;
    --accent: #444;
    --background: #111;
    --surface: #1b1b1b;
    --text-light: #e0e0e0;
    --text-dark: #999;
    --border-color: #2e2e2e;
}

/* Header */
.header {
    background: #0a0a0a;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #000;
}

.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0c0c0c, #1e1e1e);
    padding: 4rem 2rem;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero-content p {
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 216, 167, 0.15);
}

/* Sections */
section {
    padding: 4rem 2rem;
    background-color: var(--background);
}

h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.about-text {
    flex: 1 1 500px;
}

.about-image img {
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
}

/* Stats */
.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary);
}

.stat p {
    color: var(--text-dark);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 216, 167, 0.1);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-dark);
}

/* Features Section */
.why-choose-us .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--surface);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Insurance Plans */
.insurance-plans {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.plan {
    background: var(--surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 10px;
    flex: 1 1 300px;
    position: relative;
}

.plan.featured {
    border: 2px solid var(--primary);
    background: #1c1c1c;
}

.badge {
    background: var(--primary);
    color: #000;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    position: absolute;
    top: -15px;
    left: 15px;
}

.plan h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.plan ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.plan ul li {
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial .rating i {
    color: #fcd34d;
}

.testimonial p {
    margin: 1rem 0;
    color: var(--text-dark);
}

.patient {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.patient img {
    width: 50px;
    border-radius: 50%;
}

/* Forms */
form input,
form select,
form textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #1e1e1e;
    color: var(--text-light);
    margin-top: 0.5rem;
}

form label {
    font-weight: 500;
    margin-top: 1rem;
    display: block;
    color: var(--text-light);
}

.appointment-form .form-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-group {
    flex: 1 1 250px;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: var(--text-dark);
    padding: 3rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-dark);
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-dark);
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Popups */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: var(--surface);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: var(--text-light);
    position: relative;
}

.popup .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.confirmation-message {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.8);
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.confirmation-content {
    background: #1c1c1c;
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
}

.confirmation-content i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container,
    .about-content,
    .appointment-form .form-row {
        flex-direction: column;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #111;            /* dark background */
  color: #e0e0e0;                    /* light text */
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Links, buttons */
a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  background: #30abfd;
  color: #000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.btn-primary:hover {
  background: #038ce8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #30abfd;
  color: #30abfd;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-secondary:hover {
  background: #30abfd;
  color: #000;
}

/* ===========================
   Header & Navigation
   =========================== */
.header {
  background-color: #1b1b1b;
  border-bottom: 1px solid #333;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #30abfd;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.nav-menu a {
  color: #e0e0e0;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-menu a:hover {
  color: #30abfd;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #e0e0e0;
  transition: background 0.3s;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, #1e1e1e, #111111);
  padding: 6rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.hero-content p {
  color: #aaaaaa;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ===========================
   About Section
   =========================== */
.about {
  background-color: #111;
  padding: 4rem 0;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}
.about-text p {
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat h3 {
  font-size: 2.2rem;
  color: #30abfd;
}
.stat p {
  color: #aaaaaa;
}

/* ===========================
   Services Section
   =========================== */
.services {
  background: #1b1b1b;
  padding: 4rem 0;
}
.services h2 {
  color: #ffffff;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: #aaaaaa;
  text-align: center;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: #222;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}
.service-card i {
  font-size: 2.5rem;
  color: #30abfd;
  margin-bottom: 1rem;
}
.service-card h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.service-card p {
  color: #bbbbbb;
}

/* ===========================
   Why Choose Us (Features)
   =========================== */
.why-choose-us {
  background: #111;
  padding: 4rem 0;
}
.why-choose-us h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.feature {
  background: #222;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: background 0.3s ease;
}
.feature:hover {
  background: #2a2a2a;
}
.feature i {
  font-size: 2.2rem;
  color: #30abfd;
  margin-bottom: 1rem;
}
.feature h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.feature p {
  color: #bbbbbb;
}

/* ===========================
   Insurance Plans Section
   =========================== */
.insurance {
  background: #1b1b1b;
  padding: 4rem 0;
}
.insurance h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}
.insurance .section-subtitle {
  color: #aaaaaa;
  text-align: center;
  margin-bottom: 2rem;
}
.insurance-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.plan {
  background: #222;
  border: 1px solid #333;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.plan:hover {
  transform: translateY(-5px);
  border-color: #30abfd;
}
.plan.featured {
  border: 2px solid #30abfd;
  background: #1a1a1a;
}
.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #30abfd;
  color: #000;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}
.plan h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}
.price {
  font-size: 2rem;
  color: #30abfd;
  margin-bottom: 1rem;
}
.price span {
  color: #cccccc;
  font-size: 1rem;
}
.plan ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.plan ul li {
  color: #bbbbbb;
  padding: 0.5rem 0;
  border-bottom: 1px solid #333;
}
.plan ul li:last-child {
  border-bottom: none;
}
.plan button {
  margin-top: 1rem;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials {
  background: #111;
  padding: 4rem 0;
}
.testimonials h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: #222;
  padding: 2rem;
  border-radius: 12px;
}
.testimonial .rating i {
  color: #fcd34d;
  margin-right: 0.25rem;
}
.testimonial p {
  color: #bbbbbb;
  margin: 1.5rem 0;
  font-style: italic;
  line-height: 1.6;
}
.patient {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.patient img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.patient h4 {
  color: #ffffff;
  font-weight: 600;
}
.patient span {
  color: #aaaaaa;
  font-size: 0.9rem;
}

/* ===========================
   Appointment / Form Section
   =========================== */
.appointment {
  background: #1b1b1b;
  padding: 4rem 0;
}
.appointment h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}
.appointment .section-subtitle {
  color: #aaaaaa;
  text-align: center;
  margin-bottom: 2rem;
}
.appointment-form {
  background: #222;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #1a1a1a;
  color: #e0e0e0;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #30abfd;
  outline: none;
}
.form-row:nth-last-child(1) {
  margin-bottom: 0;
}
textarea {
  resize: vertical;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  background: #111;
  padding: 4rem 0;
}
.contact h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
}
.contact-item i {
  font-size: 1.5rem;
  color: #30abfd;
  margin-top: 0.2rem;
}
.contact-item h3 {
  color: #ffffff;
  margin-bottom: 0.3rem;
}
.contact-item p {
  color: #bbbbbb;
  line-height: 1.6;
}
.contact-map iframe {
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: #0a0a0a;
  padding: 3rem 0 2rem;
  color: #aaaaaa;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section ul li {
  margin-bottom: 0.5rem;
}
.footer-section ul li a {
  color: #aaaaaa;
  transition: color 0.3s;
}
.footer-section ul li a:hover {
  color: #30abfd;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  font-size: 1.2rem;
  color: #aaaaaa;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #30abfd;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: #777;
}

/* ===========================
   Popups & Confirmation
   =========================== */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.popup-content {
  background: #1b1b1b;
  color: #e0e0e0;
  padding: 2rem;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}
.popup-content h2 {
  color: #30abfd;
  margin-bottom: 1rem;
}
.popup-body {
  margin-top: 1rem;
}
.popup .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #aaaaaa;
  cursor: pointer;
}

.confirmation-message {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}
.confirmation-content {
  background: #222;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #e0e0e0;
  max-width: 400px;
  width: 90%;
}
.confirmation-content i {
  font-size: 3rem;
  color: #30abfd;
  margin-bottom: 1rem;
}
.confirmation-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.confirmation-content p {
  margin-bottom: 1.5rem;
}

/* ===========================
   Responsive (Mobile) Adjustments
   =========================== */
@media (max-width: 768px) {
  .hero-container,
  .about-content,
  .contact-content,
  .appointment .form-row,
  .services-grid,
  .insurance-plans,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .appointment-form {
    padding: 1.5rem;
  }
}
