/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Merriweather', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

.about-info, .about-info h2, .about-info p {
  font-family: 'Merriweather', serif;
  font-weight: 300;
}


/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    padding-top: 5%;
    padding-bottom: 2vw;
    padding-left: 3vw;
    padding-right: 3vw;
    pointer-events: auto;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #525252;
}

.nav-link {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  text-decoration: underline;
}

/* Hero Content */
.hero-content {
  margin-top: auto;
  margin-bottom: auto;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cta-btn {
  padding: 12px 24px;
  background: #ffffff;
  color: #222;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.cta-btn:hover {
  background: #ddd;
}

/* Sections */
section {
  margin: auto;
  text-align: center;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

footer {
  background: #f5f5f5;
  padding: 30px;
  text-align: center;
  font-size: 0.9rem;
}
.about-me {
  background: white;    
  padding: 0% 6%;
  padding-top: 2%;
  padding-bottom: 2%;
  display: flex;
  justify-content: center;
}

.about-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.about-photo-wrapper {
  flex: 1;
  overflow: hidden;
  border-top-left-radius: 500px;
  border-top-right-radius: 500px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.about-photo {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-info {
    flex: 1;
    background-color: #fceee4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 110%;
    margin-left: -10%;
    height: 75%;
    margin-top: 10%;
}

.about-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 500;
  color: #222;
}

.about-info p {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
  color: #333;
}
.about-format{
    padding: 15%;
    text-align: left;
}

.education {
  background: #ffffff; 
 padding-top: 6.6vmax;
 padding-bottom: 6.6vmax;
  text-align: center;
  font-family: 'Merriweather', serif;
}

.education h2 {
   font-size: 45px;
  line-height: 72px;
  margin-bottom: 40px;
  font-weight: 300;
}

.education-columns {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 330px;
  
}

.education-column {
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
}

.education-column p {
   font-size: 19px;
  line-height: 25px;
  margin-bottom: 30px;
    font-weight: 300;
}
.services {
  background: #fceee4;
  padding: 100px 20px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.service-box h3 {
  font-size: 20px;
  font-weight: 400;
  color: #e38274;
  margin-bottom: 20px;
}

.service-box p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}



/* Responsive fallback */
/*@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 0 10px;
  }

  .service-box {
    max-width: 700px;
    margin: 0 auto;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}*/
@media (max-width: 992px) {
  .navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}
  .about-me {
    flex-direction: column;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .about-photo-wrapper {
    border-radius:0;
    justify-content: center;
    margin-bottom: 30px;
  }
  .about-info h2 {
     display:none;
  }

  .about-photo {
    width: 60%;
    border-radius: 20px;
  }

  .about-info {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
    height: auto;
  }

  .about-format {
    padding: 5%;
    text-align: justify;
  }

  .education-columns {
    flex-direction: column;
    gap: 10px;
    align-content: center;
    padding: 10px;
    }

  .services-grid {
    grid-template-columns: 1fr;
     text-align: center;
    padding: 0 10px;
  }

  .service-box {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 40px 20px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .education h2 {
    font-size: 32px;
    line-height: 50px;
  }

  .education-column p {
    font-size: 17px;
    line-height: 23px;
  }

  .service-box h3 {
    font-size: 18px;
  }

  .service-box p {
    font-size: 15px;
  }
}
