@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #22c55e;
  --dark-blue: #1e3a8a;
  --light-bg: #f0f4ff;
  --text-dark: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 5vw; /* Reduced padding for a smaller navbar */
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  width: 80px; /* Adjusted logo size for a smaller navbar */
  transition: transform 0.3s ease;
}

.navigation ul {
  display: flex;
  gap: 1.5rem; /* Adjusted gap between navigation items */
}

.navigation ul li {
  list-style: none;
}

.navigation ul li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
  font-size: 0.9rem; /* Adjusted font size for navigation links */
  padding: 0.4rem 0; /* Reduced padding for links */
  transition: color 0.3s ease;
}

.navigation ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navigation ul li a:hover::after {
  width: 100%;
}

.navigation ul li a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(rgba(37, 99, 235, 0.9), rgba(59, 130, 246, 0.9)),
              url('./images/teacher talking.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.primary-btn, .secondary-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.primary-btn:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.secondary-btn {
  background-color: var(--secondary-color);
  color: white;
  border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.faq-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.faq-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.faq-card p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Info Cards */
.container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.info-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-header i {
  font-size: 2rem;
  color: var(--primary-color);
}

.info-card h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.info-card p {
  color: #4b5563;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 6rem 1rem 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .navigation ul {
    gap: 1rem;
  }

  .logo {
    width: 100px;
  }
}