/* Base styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Variables */
:root {
  --primary-color: #0047ab;
  --primary-color-light: rgba(0, 71, 171, 0.1);
  --secondary-color: #f0f4ff;
  --text-color: #0f172a;
  --text-color-light: #4b5563;
  --text-color-lighter: #6b7280;
  --text-color-white: #ffffff;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --border-radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base */
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

ul {
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

main {
  flex-grow: 1;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-divider {
  height: 0.25rem;
  width: 6rem;
  background-color: var(--primary-color);
  margin: 1rem auto 0;
  border-radius: 0.25rem;
}

.highlight {
  color: var(--primary-color);
}

/* Header Component */
.site-header {
  background-color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-icon {
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s;
}

.cta-button:hover {
  background-color: rgba(0, 71, 171, 0.9);
}

/* Hero Component */
.hero {
  position: relative;
  background-color: var(--primary-color-light);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-text h1 {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.05em;
}

@media (min-width: 640px) {
  .hero-text h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

.hero-text p {
  color: var(--gray-500);
  max-width: 600px;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero-text p {
    font-size: 1.25rem;
  }
}

.hero-cta {
  margin-top: 1rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.primary-button:hover {
  background-color: rgba(0, 71, 171, 0.9);
}

.primary-button svg {
  margin-left: 0.5rem;
  height: 1rem;
  width: 1rem;
}

@media (min-width: 400px) {
  .hero-cta {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }
}

/* About Section */
.about-section {
  background-color: white;
  padding: 4rem 0;
}

.about-content {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-content {
    gap: 3rem;
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.about-text p {
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.about-text ul {
  list-style-type: disc;
  padding-left: 1.25rem;
  color: var(--text-color-light);
}

.about-text li {
  margin-bottom: 0.5rem;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

/* Benefits Section */
.benefits-section {
  background-color: var(--secondary-color);
  padding: 4rem 0;
}

.benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  border-radius: 9999px;
  background-color: var(--primary-color-light);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-color-light);
}

/* Testimonials Section */
.testimonials-section {
  background-color: white;
  padding: 4rem 0;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
}

.quote-mark {
  font-size: 2.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-text {
  flex-grow: 1;
  color: var(--text-color-light);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author .author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-author .author-location {
  font-size: 0.875rem;
  color: var(--text-color-lighter);
}

/* Eligibility Form */
.eligibility-section {
  background-color: var(--secondary-color);
  padding: 4rem 0;
}

.eligibility-section .section-header p {
  color: var(--text-color-light);
  margin-top: 1rem;
}

.form-container {
  max-width: 28rem;
  margin: 0 auto;
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.25rem;
}

.radio-options {
  display: flex;
  gap: 1rem;
}

.radio-label {
  display: flex;
  align-items: center;
}

.radio-label input {
  margin-right: 0.5rem;
  width: auto;
}

.submit-button {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-button:hover {
  background-color: rgba(0, 71, 171, 0.9);
}

/* Footer */
.site-footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0;
}

.footer-columns {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column h3,
.footer-column h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-column p {
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.footer-column address {
  font-style: normal;
}

.contact-email {
  margin-top: 0.75rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
}

.disclaimer {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 20px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  border-top: 3px solid #3498db;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.cookie-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  margin-left: 10px;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.cookie-btn.accept {
  background: #27ae60;
  color: white;
}

.cookie-btn.accept:hover {
  background: #229954;
  transform: translateY(-1px);
}

.cookie-btn.reject {
  background: transparent;
  color: #bdc3c7;
  border: 2px solid #7f8c8d;
}

.cookie-btn.reject:hover {
  background: #7f8c8d;
  color: white;
  transform: translateY(-1px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .cookie-text p {
    font-size: 0.9rem;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    max-width: 120px;
  }
}