* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(135deg, #e6f4f3, #cde6e4);
}

/* Top Ribbon */
.top-ribbon {
  background: #1e88e5;
  color: white;
  text-align: center;
  padding: 8px;
  font-weight: 600;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: transparent;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0b4f4a;
}

.navbar nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #0b4f4a;
  font-weight: 500;
}

/* Hero */
.hero {
  display: flex;
  min-height: calc(100vh - 120px);
  padding: 60px;
}

/* Left */
.hero-left {
  flex: 1;
  background: #f8fcfc;
  padding: 60px;
  border-radius: 20px 0 0 20px;
}

.hero-left h1 {
  font-size: 42px;
  color: #0b4f4a;
  margin-bottom: 20px;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 25px;
  color: #555;
}

.features {
  list-style: none;
  margin-bottom: 25px;
}

.features li {
  margin-bottom: 10px;
  color: #333;
  font-weight: 500;
}

.tagline {
  margin-bottom: 30px;
  color: #0b4f4a;
}

/* Appointment Box */
.appointment-box {
  display: flex;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.appointment-box select,
.appointment-box input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.appointment-box button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  background: #8e44ad;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

/* Right */
.hero-right {
  flex: 1;
  background: #0b4f4a;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 0 20px 20px 0;
}

.hero-right img {
  width: 280px;
  border-top-left-radius: 20%;
  border-top-right-radius: 20%;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  background: #fff;
}

/* Badges */
.badge {
  position: absolute;
  background: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.experience {
  top: 20%;
  left: 10%;
}

.patients {
  bottom: 20%;
  right: 10%;
}

/* =========================
   TABLET (iPad & below)
========================= */
@media (max-width: 1024px) {

  .navbar {
    padding: 16px 30px;
    flex-wrap: wrap;
  }

  .navbar nav {
    margin-top: 12px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero {
    flex-direction: column;
    padding: 30px;
  }

  .hero-left,
  .hero-right {
    border-radius: 20px;
  }

  .hero-left {
    padding: 40px;
  }

  .hero-left h1 {
    font-size: 34px;
  }

  .appointment-box {
    flex-wrap: wrap;
  }

  .appointment-box select,
  .appointment-box input,
  .appointment-box button {
    flex: 1 1 48%;
  }

  .appointment-box button {
    flex: 1 1 100%;
  }

  .hero-right {
    margin-top: 30px;
    padding: 40px 0;
  }

  .hero-right img {
    width: 240px;
  }
}

/* =========================
   MOBILE (Phones)
========================= */
@media (max-width: 600px) {

  .top-ribbon {
    font-size: 14px;
    padding: 6px;
  }

  .navbar {
    padding: 14px 20px;
  }

  .logo {
    font-size: 20px;
  }

  .navbar nav {
    gap: 12px;
  }

  .navbar nav a {
    font-size: 14px;
  }

  .hero {
    padding: 20px;
  }

  .hero-left {
    padding: 30px 20px;
  }

  .hero-left h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .subtitle {
    font-size: 14px;
  }

  .features li {
    font-size: 14px;
  }

  .tagline {
    font-size: 16px;
  }

  .appointment-box {
    padding: 12px;
  }

  .appointment-box select,
  .appointment-box input,
  .appointment-box button {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero-right {
    padding: 30px 0;
  }

  .hero-right img {
    width: 200px;
  }

  .badge {
    font-size: 12px;
    padding: 8px 12px;
  }

  .experience {
    top: 10%;
    left: 5%;
  }

  .patients {
    bottom: 10%;
    right: 5%;
  }
}
