/* EdPal Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #4eb8fd;
  --primary-yellow: #eec93a;
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: auto;
  width: auto;
  max-height: 60px;
  max-width: 200px;
}

.nav-links {
  display: none;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-links a.inactive {
  color: #999999;
}

.nav-links a.inactive:hover {
  color: var(--primary-blue);
}

.nav-links a.active {
  color: var(--text-dark);
}

.cta-button {
  display: none;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-yellow));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cta-button:hover {
  opacity: 0.9;
}

.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-white);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  display: none;
}

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

.mobile-menu a {
  display: block;
  padding: 0.75rem 2rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--primary-blue);
}

.mobile-menu a.inactive {
  color: #999999;
}

.mobile-menu a.inactive:hover {
  color: var(--primary-blue);
}

.mobile-menu a.active {
  color: var(--text-dark);
}

.mobile-menu .cta-button {
  display: inline-block;
  margin: 0.75rem 2rem;
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 4rem;
  background-color: var(--bg-light);
}

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

.hero-content {
  order: 1;
}

.hero-image {
  order: 2;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.primary-button {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.secondary-button {
  background-color: var(--primary-yellow);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.primary-button:hover, .secondary-button:hover {
  opacity: 0.9;
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: var(--primary-yellow);
  border-radius: 9999px;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Section Styling */
.section {
  padding: 4rem 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(to right, var(--primary-blue), var(--primary-yellow));
  margin: 0 auto;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
}

.feature-icon {
  background-color: rgba(78, 184, 253, 0.1);
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary-blue);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-gray);
}

/* Step Cards */
.step-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.step-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.step-highlight {
  background-color: rgba(144, 238, 144, 0.2);
  padding: 1rem;
  border-radius: 0.5rem;
}

.step-highlight p {
  color: var(--text-dark);
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Tool Cards */
.tool-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.tool-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.tool-icon {
  margin-bottom: 1.5rem;
}

.tool-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary-yellow);
}

.tool-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tool-card p {
  color: var(--text-gray);
}

/* Audience Cards */
.audience-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.audience-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.audience-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* FAQ Section */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-gray);
}

/* Blog Cards */
.blog-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 12rem;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  height: auto;
  width: auto;
  max-height: 48px;
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer-about {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-blue);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--text-gray);
}

/* Contact Form Styles */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(78, 184, 253, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  width: 100%;
  margin-bottom: 1rem;
}

.success-message {
  text-align: center;
  padding: 2rem;
  background-color: #f0f9ff;
  border: 2px solid var(--primary-blue);
  border-radius: 0.5rem;
  color: var(--text-dark);
}

.success-message h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .nav-links {
    display: flex;
  }
  
  .cta-button {
    display: block;
  }
  
  .mobile-menu-button {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
}
