:root {
  --primary: #0d6efd; /* blue */
  --accent: #fd7e14; /* orange */
  --muted: #6c757d;
  --bg: #f8f9fa;
  --glass: rgba(255, 255, 255, 0.6);
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
}
* {
  box-sizing: border-box;
}
body {
  font-family: Inter, sans-serif;
  color: #222;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Loading overlay */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0d6efd33, #fd7e1433);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}
.spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.navbar-brand {
  color: var(--primary);
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}
.navbar .nav-link {
  color: #4f5d7a;
  transition: color 0.25s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}
.btn-gradient {
  background: linear-gradient(90deg, var(--primary), #0f52ba);
  color: #fff;
  border: none;
  box-shadow: 0 18px 40px rgba(13, 110, 253, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 45px rgba(13, 110, 253, 0.22);
}

/* Brand logo sizing */
.brand-logo {
  height: 40px;
  width: auto;
  display: inline-block;
}
@media (max-width: 576px) {
  .brand-logo {
    height: 34px;
  }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 56, 120, 0.58),
    rgba(0, 0, 0, 0.22)
  );
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.hero p {
  max-width: 640px;
  font-size: 1.05rem;
  opacity: 0.92;
}

.page-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 56, 120, 0.64),
    rgba(0, 0, 0, 0.2)
  );
}
.page-banner .container {
  position: relative;
  z-index: 2;
}
.page-banner h1 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.03em;
}
.page-banner p {
  max-width: 700px;
  opacity: 0.92;
}

.section-heading {
  position: relative;
  margin-bottom: 2rem;
}
.section-heading h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.card {
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
}
.card-glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.75)
  );
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}
.card .card-body {
  padding: 1.6rem;
}
.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(13, 110, 253, 0.12);
  border-color: rgba(13, 110, 253, 0.12);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 0 0 8px 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.service-card {
  position: relative;
  padding-top: 1.4rem;
}

.stat h3 {
  font-size: 2.25rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.stat p {
  color: var(--muted);
  margin-bottom: 0;
}

.testimonial {
  border: 1px solid rgba(13, 110, 253, 0.1);
  background: rgba(255, 255, 255, 0.98);
}
.testimonial p {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.cta {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 5rem 0;
}
.cta .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.8),
    rgba(253, 126, 20, 0.65)
  );
  opacity: 0.95;
}
.cta .container {
  position: relative;
  z-index: 2;
}
/*counslor section*/
.counselor-section{
    padding:80px 20px;
    background:linear-gradient(135deg,#0f172a,#1e3a8a);
    text-align:center;
}

.container{
    max-width:1200px;
    margin:auto;
}

.counselor-section h2{
    color:#fff;
    font-size:42px;
    margin-bottom:10px;
    text-transform:uppercase;
}

.counselor-section p{
    color:#ddd;
    margin-bottom:50px;
    font-size:18px;
}

.team-container{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:30px;
}

.team-card{
    background:#fff;
    width:250px;
    padding:25px;
    border-radius:20px;
    box-shadow:0 8px 25px rgba(0,0,0,0.2);
    transition:0.4s ease;
}

.team-card:hover{
    transform:translateY(-10px);
}

.team-card img{
    width:150px;
    height:150px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #1e3a8a;
    margin-bottom:15px;
}

.team-card h3{
    color:#111;
    margin-bottom:8px;
    font-size:22px;
}

.team-card span{
    color:#1e3a8a;
    font-weight:bold;
    font-size:15px;
}

@media(max-width:768px){
    .team-card{
        width:100%;
        max-width:300px;
    }

    .counselor-section h2{
        font-size:32px;
    }
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0b2345, #061c38);
  color: #d7e0f4;
}
.footer a {
  text-decoration: none;
  transition: color 0.25s;
}
.footer a:hover {
  color: #fff;
}
.footer .social a {
  font-size: 1rem;
}

/* Scroll to top */
#scrollTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s;
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form */
.card .invalid-feedback {
  display: block;
}

.timeline li {
  position: relative;
  padding: 1rem 0 1rem 2.2rem;
  border-left: 2px solid rgba(13, 110, 253, 0.14);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.05rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

/* small responsive tweaks */
@media (max-width: 768px) {
  .hero {
    min-height: 56vh;
  }
  .display-5 {
    font-size: 1.9rem;
  }
  .page-banner {
    min-height: 48vh;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 1rem 0;
  }
  .brand-logo {
    height: 32px;
  }
  .page-banner h1,
  .hero h1 {
    font-size: 2rem;
  }
}

/* small helpers */
.text-white-50 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Cards glass */
.card-glass {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.6)
  );
  backdrop-filter: blur(6px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.card-glass .display-6 {
  font-size: 2.2rem;
}

.service-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.12);
}

.stat h3 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
}
.stat p {
  color: var(--muted);
}

/* Testimonial */
.testimonial p {
  font-size: 1.05rem;
}

/* CTA */
.cta {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding: 4rem 0;
}
.cta .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.7),
    rgba(253, 126, 20, 0.6)
  );
  opacity: 0.92;
}
.cta .container {
  position: relative;
  z-index: 2;
}

/* Page banner */
.page-banner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
  position: relative;
}
.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 17, 37, 0.55),
    rgba(0, 0, 0, 0.35)
  );
}
.page-banner .container {
  position: relative;
  z-index: 2;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #042a57, #0d3a72);
}
.footer a {
  text-decoration: none;
}

/* Scroll to top */
#scrollTop {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.18);
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s;
}
#scrollTop.show {
  opacity: 1;
  transform: translateY(0);
}

/* Contact form */
.card .invalid-feedback {
  display: block;
}

/* small responsive tweaks */
@media (max-width: 768px) {
  .hero {
    min-height: 48vh;
  }
  .display-5 {
    font-size: 1.75rem;
  }
}

/* timeline */
.timeline li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed #e9ecef;
}

/* small helpers */
.text-white-50 {
  color: rgba(255, 255, 255, 0.8) !important;
}
/* Courses Section */

.courses-section{
    padding:80px 20px;
    background:#f8fafc;
    text-align:center;
}

.courses-section h2{
    font-size:42px;
    color:#1e3a8a;
    margin-bottom:10px;
    text-transform:uppercase;
}

.courses-section p{
    color:#666;
    font-size:18px;
    margin-bottom:50px;
}

.courses-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    max-width:1200px;
    margin:auto;
}

.course-card{
    background:#ffffff;
    padding:20px;
    border-radius:12px;
    font-size:18px;
    font-weight:600;
    color:#0f172a;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s ease;
    cursor:pointer;
    border-left:5px solid #1e3a8a;
}

.course-card:hover{
    transform:translateY(-8px);
    background:#1e3a8a;
    color:#fff;
}

.medical{
    border-left:5px solid #16a34a;
}

.medical:hover{
    background:#16a34a;
}

@media(max-width:768px){

    .courses-section h2{
        font-size:32px;
    }

    .course-card{
        font-size:16px;
        padding:15px;
    }

}
