@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@700&display=swap');

:root {
  --primary: #1976d2;
  --primary-dark: #0d47a1;
  --secondary: #bbdefb;
  --bg: #f8f9fa;
  --text: #2c3e50;
  --white: #ffffff;
  --gray-light: #e9ecef;
  --gray: #6c757d;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-max: 1200px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.logo img {
  height: 50px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* Layout */
main {
  max-width: var(--container-max);
  margin: 2rem auto;
  padding: 0 1.5rem;
  min-height: 60vh;
}

section {
  margin-bottom: 3rem;
}

.hero {
  text-align: center;
  padding: 5rem 1.5rem;
  background: linear-gradient(rgba(13, 71, 161, 0.85), rgba(13, 71, 161, 0.7)), 
              url('https://images.unsplash.com/photo-1576086213369-97a306d36557?auto=format&fit=crop&q=80&w=2070') no-repeat center center;
  background-size: cover;
  border-radius: 12px;
  margin-bottom: 3rem;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  flex-grow: 1;
  height: 2px;
  background-color: var(--gray-light);
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  transition: var(--transition);
  border: 1px solid var(--gray-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1.5rem auto;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 4rem 1.5rem 2rem;
  margin-top: 5rem;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: left;
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.footer-section p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0.5rem 1rem;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
    border-bottom: 1px solid var(--gray-light);
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}
