:root {
  --primary-color: #1a365d;
  --accent-color: #2b6cb0;
  --accent-gold: #d69e2e;
  --bg-light: #f7fafc;
  --text-dark: #2d3748;
  --text-muted: #718096;
  --white: #ffffff;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.875rem;
  padding: 8px 0;
}

.top-bar-content .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}

.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  max-height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.badge-tag {
  background: #ebf8ff;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.hero-image img {
  width: 100%;
  border-radius: 8px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-secondary {
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

/* Section Headings */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.banner-wrapper {
  text-align: center;
  margin-bottom: 25px;
}

.section-banner {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.about-card {
  border: 1px solid #e2e8f0;
  padding: 24px;
  border-radius: 6px;
  text-align: center;
}

.card-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.affiliation-badge {
  max-height: 80px;
  margin-bottom: 10px;
}

.timeline-container {
  margin-top: 40px;
  background: var(--bg-light);
  padding: 25px;
  border-radius: 8px;
}

.milestone-list {
  list-style: none;
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.milestone-list span {
  font-weight: bold;
  color: var(--accent-color);
}

/* Tuitions & Projects Cards */
.tuition-cards, .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.tuition-card, .project-category {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 6px;
}

.project-category i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 8px;
}

.project-category ul {
  list-style-type: square;
  margin-left: 20px;
  margin-top: 10px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* 3-Column Black Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer h4 {
  margin-bottom: 10px;
  color: #cbd5e0;
}

.footer a {
  color: #a0aec0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-content .contact-info {
    justify-content: center;
  }
  .navbar-content {
    flex-direction: column;
    gap: 10px;
  }
}