:root {
  --branding-color: #6f6acc;
  --hover-bg: #f0f0f0;
  --text-color: #222;
  --background-color: #f5f3ff;
  --heading-font: "Montserrat", sans-serif;
  --body-font: "Roboto", sans-serif;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background-color: var(--background-color);
  color: var(--text-color);
  padding: 0;
}

/* === Hero Section === */
.hero {
  max-width: 600px;
  margin: 60px auto 40px auto;
  background-color: #ded4f8;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 48px;
  font-family: var(--heading-font);
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.subtitle {
  font-size: 18px;
  margin-bottom: 2rem;
}

.wave {
  font-size: 1.5rem;
  margin-right: 0.4rem;
}

.contact-button {
  background-color: var(--branding-color);
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-button:hover {
  background-color: #4c46c7;
}

/* === Project Gallery Section === */
#project-gallery {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

#project-gallery h2 {
  font-family: var(--heading-font);
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

.project-row img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid #ddd;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-text {
  flex: 1;
}

.project-text h3 {
  font-family: var(--heading-font);
  font-size: 24px;
  margin-bottom: 10px;
}

.project-text p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

/* === Button Styling === */
.btn {
  display: inline-block;
  font-size: 16px;
  padding: 10px 24px;
  border: none;
  background-color: white;
  color: var (--branding-color);
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--branding-color);
  color: white;
}

/* === Responsive === */
@media (max-width: 768px) {
  .project-row,
  .project-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .project-row img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .project-text {
    padding: 0 10px;
  }

  #project-gallery h2 {
    font-size: 28px;
  }

  .project-text h3 {
    font-size: 20px;
  }

  .project-text p {
    font-size: 14px;
  }
}
