/* General Styles */
body {
  background: url("images/bg-image.jpg") center/cover no-repeat, #071739;
  font-family: "Garamond", serif;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* Header */
.header {
  background-color: #D1D2E7; 
  color: black;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'fira sans';
  flex-wrap: wrap;
}
.email {
  font-size: 0.875rem;
  font-weight: 450;
  text-decoration: none;
  color: black;
  transition: color 0.3s ease-in-out;
  gap: 1rem;
}
.email i {font-size: 1rem;}
.social-icons a {
  text-decoration: none;
  color: black;
  margin-left: 2rem;
  font-size: 1.25rem;
  transition: color 0.3s ease-in-out;
}
.social-icons a:hover {color: #7a5299;}

@media (max-width: 600px) {
  .header {justify-content: center;}
  .social-icons {
      margin-left: 0; 
      font-size: 0.9rem;
      justify-content: center;
  }
  .email {display: none;}
}

/* Header */
.header {
  background-color: #D1D2E7; 
  color: black;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'fira sans';
  flex-wrap: wrap;
}
.email {
  font-size: 0.875rem;
  font-weight: 450;
  text-decoration: none;
  color: black;
  transition: color 0.3s ease-in-out;
  gap: 1rem;
}
.email i {font-size: 1rem;}
.social-icons a {
  text-decoration: none;
  color: black;
  margin-left: 2rem;
  font-size: 1.25rem;
  transition: color 0.3s ease-in-out;
}
.social-icons a:hover {color: #7a5299;}

@media (max-width: 600px) {
  .header {justify-content: center;}
  .social-icons {
      margin-left: 0; 
      font-size: 0.9rem;
      justify-content: center;
  }
  .email {display: none;}
}

/* Hero Section */
#hero {
  padding: 3rem 1rem;
}

.hero-title {
  font-family: "Uncial Antiqua", cursive;
  font-size: 6.5rem;
  color: #28293d;
  text-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.7);
  margin-bottom: 0.5rem; 
}

.hero-subtitle {
  font-size: 2rem;
  color: #2e3061;
  font-family: "Garamond", serif;

}

.hero-text {
  font-size: 1.5rem;
  color: #4d4f93;
}

/* Logo Styling */
#logo {
  max-width: 12rem;
  filter: drop-shadow(0 0 0.6rem rgba(255, 255, 255, 0.3));
}

/* CTA Button */
.cta-button {
  background-color: #b2a6be;
  color: #071739;
  padding: 0.75rem 1.5rem;
  border-radius: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
}

.cta-button:hover {
  background-color: #5f75a7;
  transform: scale(1.1);
}

/* Video */
#video-section {
  text-align: center;
  margin-bottom: 5rem;
}

#video-section video {
  width: 80%;
  max-width: 50rem;
  border-radius: 0.6rem;
  box-shadow: 0px 0.25rem 0.625rem rgba(0, 0, 0, 0.3);
}

/* Service Offered Title */

.service-header {
  font-family: "Uncial Antiqua", cursive;
  font-size: 3rem;
  color: #28293d;
  text-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
  background-color: #555184;
  padding: 1.25rem;
  border-radius: 0.625rem;
  margin: 0.625rem;
  text-align: center;
  transition: 0.3s ease-in-out;
  display: block;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
  width: 17rem;
  height: 15rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.service-card.one { background: url("images/TarotReading.jpg") center/cover no-repeat; }
.service-card.two { background: url("images/psychic-guidance.jpg") center/cover no-repeat; }
.service-card.three { background: url("images/numerologyBg.jpg") center/cover no-repeat; }
.service-card.four { background: url("images/astro-final-final.jpg") center/cover no-repeat; }
.service-card.five { background: url("images/vastu-shastra.jpeg") center/cover no-repeat; }
.service-card.six { background: url("images/logo-design.jpg") center/cover no-repeat; }
.service-card.seven { background: url("images/PastLifeBg.jpg") center/cover no-repeat; }
.service-card.eight { background: url("images/reiki.jpg") center/cover no-repeat; }

.card-2 h3, .card-2 p{ color: gold;}
.card-7 h3, .card-7 p{ color: black}
#card-3-para {color: black}
#card-4-para {color: gold}

.service-card h3 {
  font-family: "Uncial Antiqua", cursive;
  font-size: 1.05rem;
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 1rem;
  flex-grow: 1;
}

.service-card-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 0;
  perspective: 1000px; 
}

.service-card:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 0.9375rem 1.5625rem rgba(0, 0, 0, 0.3);
}

/* Service Card Content */
.service-card-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  filter: brightness(1.2) contrast(1.5);
}

.service-card-content h1 {
  font-size: 1.375rem;
  font-weight: 800;
  text-shadow: 0.1875rem 0.1875rem 0.75rem rgba(255, 255, 255, 0.3),
    0.125rem 0.125rem 0.5rem rgba(0, 0, 0, 0.9);
}

.service-card-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  text-shadow: 0.125rem 0.125rem 0.5rem rgba(0, 0, 0, 0.5);
} 

/* Testimonials*/
.testimonial-header {
  font-family: "Uncial Antiqua", cursive;
  font-size: 3rem;
  color: #28293d;
  text-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  margin-top: 5rem;
  text-align: center;
}

.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  margin: auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300px; 
}

.testimonial-card {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
  padding: 1.25rem;
  max-width: 55rem;
  text-align: center;
  transition: transform 0.3s ease-in-out;
  margin: auto;
  width: 100%; 
}
.testimonial-card:hover {
  transform: scale(1.05);
}

.testimonial-text {
  font-style: italic;
  color: #333;
}

.testimonial-author {
  margin-top: 10px;
  font-weight: bold;
  color: #555;
}

.testimonial-image {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.buttons button {
  background: #9E8EAD;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  opacity: 0.7;
  border-radius: 50%;
}

.buttons button:hover {
  opacity: 1;
}

.aboutme-header {
  font-family: "Uncial Antiqua", cursive;
  font-size: 3rem;
  color: #28293d;
  text-shadow: 0.2rem 0.2rem 0.5rem rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 70rem;
  flex-wrap: wrap;
}
.hero-image {
  flex: 1;
}
.hero-image img {
  width: 80%;
  height: auto;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
  border-radius: 0.625rem;
}
.hero-content {
  flex: 2;
  text-align: justify;
}
.hero-text {
  font-family: 'fira sans';
  font-size: 1.4rem;
  gap: 0.5rem; 
}

/* Responsive Fix for Smaller Screens */
@media (max-width: 52rem) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-title{
    font-size: 4rem;
  }

  .hero-subtitle{
    font-size: 1.5rem;
  }

  .hero-text{
    font-size: 1.2rem;
  }

  .hero-image,
  .hero-content {
    max-width: 100%;
  }

  #video-section {
    width: 100%;
  }

  .testimonial-card {
    max-width: 60%;
  }

  .testimonial-header{
    font-size: 2rem;
  }
}

.goodluck-charm {
  position: absolute; 
  top: 4rem; 
  right: 1rem; 
  max-width: 4rem; 
  filter: drop-shadow(0 0 0.6rem rgba(255, 255, 255, 0.3));
  z-index: 1000; 
}



/* Contact Section */
#contact {
  padding-top: 3.75rem;
  font-family: 'fira sans';
  font-size: 1.2rem; 
}

/* Footer */
footer {
  padding: 1.25rem;
  margin-top: 1.875rem;
  font-size: 0.875rem;
}