 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Segoe UI", sans-serif;
    }
    body {
      background: #f9fafc;
      color: #333;
    }

    /* ===== Top Bar ===== */
    .top-bar {
      background: linear-gradient(90deg, #00695c, #009688);
      color: #fff;
      font-size: 14px;
      padding: 8px 5%;
      display: flex;
      justify-content: center;
      gap: 25px;
    }
    .top-bar a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      transition: 0.3s;
    }
    .top-bar a:hover {
      text-decoration: underline;
    }

    /* ===== Header ===== */
    header {
      background: #fff;
      padding: 15px 5%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #eee;
      flex-wrap: wrap;
      gap: 15px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .logo img {
      height: 50px;
    }
    .logo-text {
      font-size: 20px;
      font-weight: bold;
      color: #00695c;
    }
    .logo-text small {
      display: block;
      font-size: 12px;
      font-weight: normal;
      color: #444;
    }

    .contact-info {
      display: flex;
      align-items: center;
      gap: 25px;
      flex-wrap: wrap;
    }
    .info-box {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .info-box img {
      height: 22px;
    }
    .info-box div span {
      font-weight: bold;
      font-size: 14px;
    }
    .info-box div small {
      font-size: 13px;
      color: #555;
    }

    .login-btn {
      font-size: 16px;
      cursor: pointer;
    }

    /* ===== Navigation ===== */
    nav {
      background: #009688;
      padding: 12px 5%;
    }
    nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    nav ul li a {
      color: white;
      text-decoration: none;
      font-size: 15px;
      font-weight: 600;
      transition: 0.3s;
    }
    nav ul li a:hover {
      color: #ffeb3b;
    }

    /* ===== Hero Section ===== */
    .hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 5%;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #a8edea, #fed6e3); /* 2-color gradient */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hero-text {
  flex: 1;
  min-width: 320px;
  padding-right: 20px;
}

.hero-text h2 {
  font-size: 34px;
  color: #1e293b;
}

.hero-text p {
  margin: 10px 0 20px;
  font-size: 16px;
  color: #334155;
}

/* Courses Grid inside hero */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.card {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  color: #1e293b;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  background: #6366f1;
  color: #fff;
  transform: translateY(-5px);
}

/* Doctor Image */
.hero img {
  max-width: 400px;
  border-radius: 20px;
  border: 4px solid #6366f1;
}

    /* ===== Search Section ===== */
    .search-section {
      /* background:black; */
      padding: 10px 5%;
      text-align: center;
    }
    .search-box {
      display: flex;
      max-width: 500px;
      margin: auto;
      background: #fff;
      border-radius: 30px;
      padding: 7px 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .search-box input {
      flex: 1;
      border: none;
      outline: none;
      font-size: 15px;
    }
    .search-box button {
      border: none;
      background: #283593;
      color: white;
      padding: 8px 18px;
      border-radius: 20px;
      cursor: pointer;
      font-weight: 500;
      transition: 0.3s;
    }
    .search-box button:hover {
      background: #1a237e;
    }

    /* ===== Updates Section ===== */
    .updates {
  background: #f8f9fa;          /* halka grey background */
  color: black;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;             /* bahar na nikle */
}

.updates strong {
  font-size: 15px;
  color: #16a34a;
  flex-shrink: 0;               /* text hamesha fix rahe */
}

.marquee {
  flex: 1;                      /* baaki space le le */
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;           /* suru hone se pehle thoda space */
  animation: scroll 15s linear infinite;
  color: #444;
  font-size: 14px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


    /* ===== Tabs & Filters ===== */
    h1 {
      text-align: center;
      margin: 2rem 0 1rem;
      font-size: 2rem;
      color: #0f172a;
    }
    .tabs {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .tab-btn {
      padding: 0.8rem 1.5rem;
      border-radius: 25px;
      border: none;
      font-size: 1rem;
      cursor: pointer;
      transition: 0.3s ease;
    }
    .tab-btn.active {
      background: #16a34a;
      color: #fff;
      font-weight: bold;
    }
    .tab-btn:not(.active) {
      background: #334155;
      color: #cbd5e1;
    }
    .controls {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .filter-select {
      padding: 0.8rem 1rem;
      border-radius: 8px;
      border: none;
      font-size: 1rem;
      outline: none;
      background: #334155;
      color: #fff;
    }
    .list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 0.7rem;
      max-width: 1100px;
      margin: auto 0 3rem;
    }
    .item-btn {
      padding: 0.3rem 0.5rem;
      background: #2563eb;
      color: #fff;
      border-radius: 4px;
      font-size: 0.95rem;
      font-weight: 500;
      cursor: pointer;
      transition: 0.3s;
      border: none;
    }
    .item-btn:hover {
      background: green;
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    }

    /* ===== Responsive ===== */
   /* ===== Mobile Responsive Improvements ===== */

/* Tablet devices */
@media(max-width: 992px) {
  .hero {
    padding: 30px 3%;
  }
  .hero-text h2 {
    font-size: 28px;
  }
  .hero-text p {
    font-size: 15px;
  }
  .card {
    font-size: 14px;
    padding: 10px;
  }
}

/* Mobile devices */
@media(max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }
  .contact-info {
    width: 100%;
    justify-content: center;
  }
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 5%;
  }
  .hero img {
    margin-top: 20px;
    max-width: 100%;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .search-box {
    flex-direction: column;
    gap: 10px;
    padding: 12px 15px;
  }
  .search-box input {
    font-size: 14px;
    padding: 8px;
  }
  .search-box button {
    width: 100%;
    border-radius: 10px;
  }
  .tabs {
    flex-wrap: wrap;
  }
  .tab-btn {
    width: 100%;
    text-align: center;
  }
  .list {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
  }
}

/* Very small devices (under 480px) */
@media(max-width: 480px) {
  .logo-text {
    font-size: 18px;
  }
  .hero-text h2 {
    font-size: 24px;
  }
  .card {
    font-size: 13px;
    padding: 8px;
  }
  .updates strong {
    font-size: 13px;
  }
  .marquee span {
    font-size: 12px;
  }
  .item-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.4rem;
  }
}


    /* ................ */
    .course-section {
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2); /* Light gradient */
  padding: 40px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  margin: 30px 5%;
  text-align: center;
}

.course-section h1 {
  font-size: 2.4rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 25px;
}

.course-section .tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.course-section .tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  background: #e0e7ff;
  color: #1e293b;
}

.course-section .tab-btn.active {
  background: #6366f1;
  color: #fff;
}

.course-section .controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.course-section .search-box,
.course-section .filter-select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 1rem;
}
/* ..... */
.login-btn {
    cursor: pointer;
    padding: 8px 15px;
    background: #009688;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
  }

  /* Modal Background */
  .modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center; align-items: center;
  }

  /* Modal Box */
  .modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  .modal-content input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

  .modal-content button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #009688;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
  }

  .close {
    float: right;
    font-size: 20px;
    cursor: pointer;
  }
  /* ...slider */
   .featured-colleges {
  width: 90%;
  margin: 50px auto;
  text-align: center;
}

.featured-colleges h2 {
  margin-bottom: 20px;
  font-weight: 600;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 250px;
  margin: 0 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slide img {
  width: 100%;
  display: block;
}

.slide .info {
  padding: 10px;
}

.slide .info h3 {
  margin: 5px 0;
  font-size: 16px;
  font-weight: 600;
}

.slide .info p {
  color: #777;
  font-size: 14px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.prev { left: 10px; }
.next { right: 10px; }

@media(max-width: 768px) {
  .slide { min-width: 200px; }
}

@media(max-width: 480px) {
  .slide { min-width: 150px; }
}

/* ....city slider */

body {
      font-family: "Segoe UI", sans-serif;
      background: #f8f9fa;
      margin: 0;
      padding: 0;
    }
 .section {
      text-align: center;
      padding: 30px 20px;
      max-width: 1200px;
      margin: auto;
    }

    .section h2 {
      font-size: 26px;
      font-weight: 600;
      margin-bottom: 30px;
      color: #222;
    }

    .slider-container {
      position: relative;
      overflow: hidden;
    }

    .slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }

    .city-card {
      position: relative;
      min-width: 280px;
      margin: 0 10px;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
      cursor: pointer;
    }

    .city-card img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }

    .city-card:hover img {
      transform: scale(1.1);
    }

    .city-overlay {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .city-overlay h3 {
      color: #fff;
      font-size: 20px;
      font-weight: 600;
      z-index: 2;
    }

    /* Arrows */
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 65, 108, 0.9);
      color: #fff;
      border: none;
      font-size: 20px;
      padding: 12px 16px;
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: background 0.3s ease;
      z-index: 10;
    }

    .arrow:hover {
      background: rgba(255, 75, 43, 1);
    }

    .arrow.left {
      left: 10px;
    }

    .arrow.right {
      right: 10px;
    }

    @media (max-width: 768px) {
      .city-card {
        min-width: 200px;
      }
    }
    /* ..... */
     .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      height: 20px;
      margin: auto;
      padding: 30px 10px;
      flex-wrap: wrap;
    }

    .stats {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      flex: 1;
      min-width: 300px;
    }

    .card {
      background: white;
      padding: 20px 10px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .card img {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
    }

    .card h3 {
      margin: 5px 0;
      font-size: 18px;
      color: #333;
    }

    .card p {
      font-size: 20px;
      font-weight: bold;
      color: #000;
    }

    .mockup {
      flex: 1;
      text-align: center;
      min-width: 300px;
    }

    .mockup img {
      max-width: 90%;
    }

    /* Responsive */
    @media(max-width: 900px) {
      .container {
        flex-direction: column;
        text-align: center;
      }
      .stats {
        grid-template-columns: 1fr;
      }
    }