/* style.css */

/* Reset & Base */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #fafafa;
  color: #333;
  min-height: 100vh;
}
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  background: #1a237e;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover {
  color: #c5cae9;
}

/* Hero */
.hero {
  background: #283593;
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 24px;
}
.btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffd600;
  color: #1a237e;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: #e6c200;
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}
.hero-logo-link {
  display: inline-block;
  width: 180px;
  height: 50px;
  overflow: hidden;
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* About */
.about {
  background: #fff;
  padding: 60px 0;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-img {
  width: 320px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.about-text {
  flex: 1;
  min-width: 260px;
}
.about-text h2 {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 16px;
}
.about-text p {
  font-size: 1rem;
  margin-bottom: 16px;
}
.about-text ul {
  list-style-position: outside;
  padding-left: 20px;
  color: #555;
}
.about-text li {
  margin-bottom: 8px;
}

/* Programs */
.features {
  background: #f1f3f4;
  padding: 60px 0;
}
.features h2 {
  text-align: center;
  color: #1a237e;
  font-size: 2rem;
  margin-bottom: 40px;
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.feature-item {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 280px;
}
.feature-item h3 {
  font-size: 1.2rem;
  color: #3949ab;
  margin-bottom: 12px;
}
.feature-item p {
  font-size: 1rem;
  color: #555;
}

/* Admission */
.cases {
  background: #fff;
  padding: 60px 0;
}
.cases h2 {
  text-align: center;
  color: #1a237e;
  font-size: 2rem;
  margin-bottom: 40px;
}
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.case-item {
  flex: 1 1 240px;
  background: #fafafa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
}
.case-item h3 {
  font-size: 1.2rem;
  color: #3949ab;
  margin-bottom: 8px;
}
.case-item p {
  font-size: 0.95rem;
  color: #555;
}

/* SEO Text */
.seo-text {
  background: #f9f9f9;
  padding: 60px 0;
}
.seo-text .container {
  max-width: 800px;
  margin: 0 auto;
}
.seo-text h2 {
  font-size: 2rem;
  color: #1a237e;
  text-align: center;
  margin-bottom: 24px;
}
.seo-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 16px;
}
.seo-text ul {
  padding-left: 20px;
  color: #444;
  margin-bottom: 16px;
}
.seo-text ul li {
  margin-bottom: 8px;
}

/* FAQ */
.faq {
  background: #eef1f5;
  padding: 60px 0;
}
.faq h2 {
  text-align: center;
  color: #1a237e;
  font-size: 2rem;
  margin-bottom: 40px;
}
.faq-item {
  background: #fff;
  border-left: 4px solid #3949ab;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
.faq-item h3 {
  font-size: 1.1rem;
  color: #3949ab;
  margin-bottom: 8px;
}
.faq-item p {
  font-size: 1rem;
  color: #555;
}

/* Contact */
.contact {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}
.contact h2 {
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 16px;
}
.contact p {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #555;
}

/* Footer */
.footer {
  background: #1a237e;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin: 12px 0 0;
  padding: 0;
}
.footer-links li {
  flex: 0 0 calc(50% - 20px);
  list-style: none;
  text-align: center;
}
.footer-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #c5cae9;
}

/* Responsive */
@media (max-width: 900px) {
  .about-content,
  .feature-list,
  .case-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .about-img,
  .feature-item,
  .case-item {
    width: 90%;
    max-width: 350px;
  }
  .seo-text {
    padding: 40px 20px;
  }
  .seo-text h2 {
    font-size: 1.6rem;
  }
  .seo-text p,
  .seo-text ul li {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .faq-item {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 20px;
  }
  .contact .btn-primary {
    width: 70%;
    max-width: 280px;
  }
}
@media (max-width: 600px) {
  .header .container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px;
  }
  .nav ul {
    flex-wrap: wrap;
    gap: 12px;
  }
  .hero {
    padding: 60px 12px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .btn-group {
    flex-direction: column;
    gap: 12px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .hero-logo-link {
    width: 90%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
  }
  .hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .seo-text {
    padding: 30px 12px;
  }
  .seo-text h2 {
    font-size: 1.4rem;
  }
  .seo-text p,
  .seo-text ul li {
    font-size: 0.9rem;
  }
  .footer {
    padding: 16px 0;
    font-size: 0.9rem;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 0.9rem;
    padding: 8px 0;
  }
  .seo-text {
    padding: 24px 8px;
  }
  .seo-text h2 {
    font-size: 1.2rem;
  }
  .seo-text p,
  .seo-text ul li {
    font-size: 0.85rem;
    line-height: 1.3;
  }
}