body {
  margin: 0;
  padding: 0;
  background-color: #555;
  font-family: Verdana, sans-serif;
}

h1 {
  font-size: 60px;
  font-family: Brush Script MT, cursive;
  color: #BBA53D;
  text-align: center;
  margin-top: 50px;
}

h2 {
  font-size: 30px;   
  font-family: Verdana, sans-serif;
  color: #BBA53D;
  margin-top: 40px;
  margin-left: 40px; 
}

p {
  padding: 20px;
  font-size: 14px;
  text-align: justify;
  line-height: 25px;
  color: #eee;
}

header.home {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #333;
  padding: 0 20px;
  height: 120px;
  border-bottom: 3px solid #BBA53D;
}

.logo img {
  height: 90px;
  width: auto;
}

.nav-links a {
  color: #BBA53D;
  text-decoration: none;
  margin-left: 25px;
  font-size: 40px;
  padding: 10px;
  transition: 0.3s;
  font-family: Brush Script MT, cursive;
}

.nav-links a:hover {
  background: #111;
  border-radius: 8px;
}

article {
  flex: 3;
  background-color: #555;
  padding: 10px;
}

.reviews-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; 
  padding: 40px;
}

.review-card {
  background: #e0e0e0;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #BBA53D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; 
}

.review-card:hover {
  transform: scale(1.05);
  z-index: 10; 
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.review-card h3 {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.review-card span {
  font-size: 14px;
  color: #555;
}

.review-card p {
  margin: 10px 0;
  color: #222;
  padding: 0; 
}

footer {
  background-color: #333;	
  padding: 15px;
  text-align: center;
  color: #BBA53D;
}

.about-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #e0e0e0;
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #BBA53D;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.about-card img {
  width: 150px;
  height: 150px;
  border-radius: 15px; 
  object-fit: cover;
}

.about-card p {
  margin: 0;
  color: #222;
  font-size: 14px;
  line-height: 25px;
  text-align: justify;
}

.personal-fact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 15px;
  background: #e0e0e0;
  padding: 20px;
  border-radius: 12px; 
  border: 2px solid #BBA53D;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left; 
}

.personal-fact-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.personal-fact-card img {
  width: 100%;
  height: auto; 
  max-width: 300px; 
  border-radius: 12px;
  object-fit: cover;
}

#projects .reviews-container {
  justify-content: start;
}

@media (max-width: 768px) {
  .reviews-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .nav-links a {
    font-size: 28px;
    margin-left: 15px;
    padding: 6px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 12px;
    padding: 10px;
  }

  .about-card {
    flex-direction: column;
    text-align: center;
  }

  .about-card p {
    margin-top: 10px;
  }

  .personal-fact-card {
    align-items: center;
    text-align: center;
  }

  #projects .reviews-container {
    justify-content: center;
  }
}