/* RESET  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
  scroll-behavior: smooth;
}


::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #e2e8f0;
}
::-webkit-scrollbar-thumb {
  background: #2c5f8a;
  border-radius: 12px;
}


h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  background: linear-gradient(135deg, #1e3a5f, #2c5f8a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  font-size: 2.3rem;
}

.section-header .accent-line {
  width: 70px;
  height: 4px;
  background: #2e7d32;  /* green */
  margin: 0.75rem auto 0;
  border-radius: 4px;
}

/* HEADER & NAV */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.navbar {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.05));
  transition: transform 0.2s ease;
}
.logo-img:hover {
  transform: scale(1.02);
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(130deg, #1e3a5f, #2c5f8a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links li {
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: 0.2s;
  position: relative;
}
.nav-links li:hover {
  color: #2e7d32;  
}
.nav-links li::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2e7d32;  
  transition: 0.25s;
}
.nav-links li:hover::after {
  width: 100%;
}

.apply-btn {
  background: #2c5f8a;  
  border: none;
  padding: 10px 26px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(44, 95, 138, 0.2);
  transition: all 0.25s ease;
}
.apply-btn:hover {
  background: #1e3a5f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(44, 95, 138, 0.25);
}

.sub-nav {
  display: flex;
  gap: 2rem;
  padding: 0.7rem 2rem;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 500;
  font-size: 0.85rem;
  color: #334155;
  max-width: 1300px;
  margin: 0 auto;
}
.sub-nav span {
  cursor: pointer;
  transition: 0.2s;
  padding: 4px 0;
}
.sub-nav span:hover {
  color: #2e7d32;  
  border-bottom: 2px solid #2e7d32;
}

/* HERO SECTION */
.hero {
  max-width: 1300px;
  margin: 2rem auto 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 2rem;
  background: #f1f5f9;
  border-radius: 2rem;
}
.hero-text {
  flex: 1;
}
.hero-text h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(125deg, #1e3a5f 30%, #2c5f8a 80%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1.2rem;
}
.hero-text p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 2rem;
  max-width: 90%;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: #2e7d32;  
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(46, 125, 50, 0.2);
}
.btn-primary:hover {
  background: #1b5e20;
  transform: scale(1.02);
}
.btn-outline {
  background: transparent;
  border: 2px solid #2c5f8a;  
  padding: 10px 26px;
  border-radius: 40px;
  font-weight: 700;
  color: #2c5f8a;
  cursor: pointer;
  transition: 0.2s;
}
.btn-outline:hover {
  background: #2c5f8a;
  color: white;
  transform: translateY(-2px);
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 32px;
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  object-fit: cover;
}
.hero-image img:hover {
  transform: scale(1.01);
}


.offers {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}
.card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 28px -12px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}
.card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  color: #1e3a5f;
}
.card p {
  color: #475569;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.card:nth-child(1) button {
  background: none;
  border: 1.5px solid #2e7d32;  
  color: #2e7d32;
}
.card:nth-child(1) button:hover {
  background: #2e7d32;
  color: white;
}
.card:nth-child(2) button {
  background: none;
  border: 1.5px solid #d4a017;  
  color: #b8860b;
}
.card:nth-child(2) button:hover {
  background: #d4a017;
  color: white;
}
.card:nth-child(3) button {
  background: none;
  border: 1.5px solid #2c5f8a;  
  color: #2c5f8a;
}
.card:nth-child(3) button:hover {
  background: #2c5f8a;
  color: white;
}
.card:nth-child(4) button {
  background: none;
  border: 1.5px solid #8b5cf6;  
  color: #7c3aed;
}
.card:nth-child(4) button:hover {
  background: #8b5cf6;
  color: white;
}
.card button {
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.card-image-inside {
  width: 100%;
  border-radius: 18px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  max-height: 130px;
  object-fit: cover;
}

/* FACULTY SECTION */
.faculty {
  max-width: 1300px;
  margin: 4rem auto;
  padding: 0 2rem;
}
.faculty-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0 2rem;
}
.faculty-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  width: 250px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 28px -12px rgba(46, 125, 50, 0.15);
}
.faculty-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.faculty-card:hover img {
  transform: scale(1.03);
}
.faculty-card h3 {
  text-align: center;
  padding: 1.2rem 0;
  font-size: 1.4rem;
  background: #fff;
  color: #1e3a5f;
  letter-spacing: -0.3px;
}

.see-more {
  background: #2e7d32;
  border: none;
  padding: 12px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  display: block;
  margin: 1rem auto 0;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.see-more:hover {
  background: #1b5e20;
  transform: scale(1.02);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.2);
}

/* HIGHLIGHT BANNER */
.highlight-banner {
  background: linear-gradient(115deg, #1e3a5f 0%, #2e7d32 100%);
  margin: 3rem 2rem;
  border-radius: 48px;
  padding: 2rem 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: 0 12px 24px -12px rgba(30, 58, 95, 0.4);
}
.banner-text h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.banner-text p {
  color: #e0f2fe;
  opacity: 0.9;
}
.banner-btn {
  background: #d4a017;  
  border: none;
  padding: 12px 30px;
  border-radius: 60px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}
.banner-btn:hover {
  background: #b8860b;
  transform: scale(1.02);
}

/* FOOTER */
footer {
  background: #0f172a;
  color: #e2e8f0;
  margin-top: 4rem;
  padding: 3rem 2rem 1rem;
  border-radius: 40px 40px 0 0;
}
.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-about {
  max-width: 260px;
}
.footer-about p {
  line-height: 1.5;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.footer-links h4 {
  color: #5b9bc5;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-links p {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: 0.2s;
}
.footer-links p:hover {
  color: #a5d6a5;  
  transform: translateX(3px);
}
.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #2d3a5e;
  font-size: 0.8rem;
  color: #94a3b8;
}


@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text p {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    gap: 1.4rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sub-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .faculty-grid {
    justify-content: center;
  }
  .highlight-banner {
    flex-direction: column;
    text-align: center;
  }
  .section-header h2 {
    font-size: 1.9rem;
  }
}

@media (max-width: 550px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-img {
    height: 32px;
  }
  .card {
    padding: 1.4rem;
  }
  .btn-primary, .btn-outline {
    padding: 8px 20px;
  }
}
