/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: hsl(222.2 84% 4.9%);
  --primary-foreground: hsl(210 40% 98%);
  --secondary: hsl(210 40% 96%);
  --secondary-foreground: hsl(222.2 84% 4.9%);
  --muted: hsl(210 40% 96%);
  --muted-foreground: hsl(215.4 16.3% 46.9%);
  --card: hsl(0 0% 100%);
  --border: hsl(214.3 31.8% 91.4%);
  --background: hsl(0 0% 100%);
  --foreground: hsl(222.2 84% 4.9%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Main Content */
.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-section {
  flex: 1;
  padding: 2rem 0;
}

.section-content {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: rgb(224 224 224 / 55%);
  padding: 20px;
  border-radius: 20px;
}

.section-content-2 {
  max-width: 80rem;
  margin: 0;
  display: flex;
  flex-direction: column; /* Changed to column for better mobile layout */
  gap: 2rem;
  background-color: rgb(224 224 224 / 55%);
  padding: 20px;
  border-radius: 20px;
  margin-top: 50px;
}

.pic img {
  object-fit: cover;
  max-width: 100%; /* Changed to 100% to be responsive */
  height: auto;
  margin: auto;
  display: block; /* Changed to block */
  padding: 15px 0;
}

.section-title {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-title-2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.header-logo-link {
  font-size: 1.875rem;
  font-weight: bold;
  text-wrap: balance;
}

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-wrap: pretty;
}

.section-description-2 {
  font-size: 17px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-wrap: pretty;
}

.section-content-2 p {
  text-align: justify;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.cta-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.cta-primary:hover {
  opacity: 0.9;
}

/* Responsive Design */
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }

  .main-section {
    padding: 3rem 0;
  }

  .section-content {
    gap: 2.5rem;
  }
  
  .section-content-2 {
      flex-direction: row; /* Switch back to row on larger screens */
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
  }

  .section-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }
}