
/* GLOBAL RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f4f7fb;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #0f172a;
  min-height: 100vh;
  letter-spacing: 0.01em;
}


/* HERO SECTION */

.hero {
  min-height: 90vh;
  background:
    linear-gradient(120deg, rgba(15,23,42,0.7) 60%, rgba(34,197,94,0.3)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem 2rem 1rem;
  border-radius: 0 0 2.5rem 2.5rem;
  box-shadow: 0 8px 32px rgba(15,23,42,0.12);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.hero p {
  font-size: 1.18rem;
  color: #e0e7ef;
  max-width: 700px;
  margin: 1.2rem auto 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.10);
}

/* CARD STYLES */
.card {
  border: none;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 32px rgba(15,23,42,0.10);
  transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.25s;
  overflow: visible; /* Important for dropdowns */
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-7px) scale(1.025);
  box-shadow: 0 16px 40px rgba(34,197,94,0.10), 0 2px 8px rgba(15,23,42,0.10);
  z-index: 3;
}

.card h5 {
  font-weight: 700;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}


/* SCHOOL IMAGES */
.school-img {
  width: 100%;
  height: 150px;          
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(34,197,94,0.07);
}


/* DROPDOWNS (BOOTSTRAP FIX) */

.dropdown-menu {
  z-index: 2000 !important;
  box-shadow: 0 8px 32px rgba(15,23,42,0.13);
  border-radius: 0.75rem;
  margin-top: 0.3rem;
  min-width: 180px;
  padding: 0.5rem 0;
  animation: dropdownFadeIn 0.18s cubic-bezier(.4,2,.3,1);
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-toggle {
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 0.7rem;
  box-shadow: 0 2px 8px rgba(34,197,94,0.07);
  transition: background 0.18s, color 0.18s;
}

.dropdown-toggle:focus, .dropdown-toggle:active {
  outline: 2px solid #22c55e33;
  box-shadow: 0 0 0 0.15rem #22c55e55;
}

.dropdown-item {
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  transition: background 0.15s, color 0.15s;
}
.dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
  background: #e0fbe6;
  color: #15803d;
}

/* FOOTER */
footer {
  background-color: #0f172a;
  color: #cbd5f5;
  border-radius: 2rem 2rem 0 0;
  box-shadow: 0 -2px 16px rgba(15,23,42,0.08);
}

/*RESPONSIVE — MOBILE */

@media (max-width: 576px) {

  /* Hero */
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Cards */
  .card {
    padding: 0.75rem !important;
  }

  .card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  /* Images */
  .school-img {
    height: 80px;      
    opacity: 0.93;
  }

  /* Dropdown button */
  .dropdown-toggle {
    padding: 0.6rem;
    font-size: 0.95rem;
  }
}


/* RESPONSIVE — TABLET */

@media (max-width: 992px) {
  .hero {
    min-height: 70vh;
  }
  .dropdown-menu {
    min-width: 150px;
  }
}