body {
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #d4af37;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* Smooth scrolling transition */
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/gallary/hero-image.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  text-align: center;
  padding: 2rem;
}

.hero h1 {
  color: #d4af37;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease; /* Transition for color change */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-gold {
  background-color: #d4af37;
  color: #000;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease; /* Transition for background color and text color */
}

.btn-gold:hover {
  background-color: #FFDF00;
}

#portfolio {
  padding: 4rem 2rem;
  text-align: center;
}

#portfolio h2 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 2rem;
  transition: color 0.3s ease; /* Transition for color change */
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-auto-rows: 250px;
  gap: 10px;
  padding: 1rem 1rem;
  text-align: center;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #111;
  color: #d4af37;
  transition: background-color 0.3s ease; /* Transition for background color */
}


/* Media query for smaller screens */
@media screen and (max-width: 768px) {
  .offerings-container {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .hero h1 {
      font-size: 2.5rem;
  }

  .hero p {
      font-size: 1rem;
  }

  .btn-gold {
      padding: 8px 16px;
      font-size: 0.9rem;
  }

  #portfolio h2 {
      font-size: 2rem;
  }

  .gallery {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  h2 {
      font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .author-content {
      flex-direction: column;
      align-items: center;
  }

  .author-photo,
  .author-details {
      width: 100%;
      margin-right: 0;
      margin-bottom: 20px;
  }

  .author-photo img {
      max-width: 100%;
      min-width: unset;
  }
}

.author-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #d4af37;
}

.author-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.author-photo {
  flex: 1;
  margin-right: 20px;
  margin-top: 30px;
}

.author-photo img {
  width: 100%;
  max-width: 400px;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #d4af37;
}

.author-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #111;
    text-align: justify; /* Ensures the text is justified */
    margin-bottom: 20px; /* Adds space between paragraphs */
    padding: 0 10px; /* Adds some padding to the left and right */
}


/* Ensuring responsiveness */
@media screen and (max-width: 768px) {
  .author-photo img {
      max-width: 100%;
      min-width: 200px;
  }

  .hero-content {
      padding: 1rem;
  }

  .reviews-container {
      flex-direction: column;
  }

  .prev-btn,
  .next-btn {
      font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
      font-size: 2rem;
  }

  .hero p {
      font-size: 0.9rem;
  }

  .btn-gold {
      padding: 6px 12px;
      font-size: 0.8rem;
  }

  .author-photo img {
      max-width: 100%;
      min-width: 150px;
  }
}

.separator {
  width: 50%;
  height: 2px;
  background-color: #d4af37;
  border: none;
}

@media (max-width: 600px) {
  .separator {
      width: 75%;
  }
}


.social-media-section {
  text-align: center;
  padding: 50px 0;
  background-color: #f8f9fa;
}

.social-media-links {
  display: flex;
  justify-content: center;
}

.social-icon {
  margin: 0 10px;
}

.social-icon img {
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 768px) {
  .footer {
      padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .footer {
      font-size: 0.8rem;
  }
}

/* Logo styles */
.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  max-width: 150px;
}

.logo-container img {
  max-width: 100%;
  height: auto;
}
/* Responsive layout */
@media screen and (max-width: 768px) {

  .logo-container {
    max-width: 150px; /* Decrease logo size for smaller screens */
  }
}

@media screen and (max-width: 576px) {

  .logo-container {
    max-width: 120px; /* Further decrease logo size for extra small screens */
  }

  h1 {
    font-size: 1.5rem; /* Decrease title font size for extra small screens */
  }

  p {
    font-size: 0.9rem; /* Decrease paragraph font size for extra small screens */
  }
}

