/* Add this at the very top of your CSS file */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Great+Vibes&display=swap");

/* Base styles */
body {
  background: #1a1332;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section spacing */
.section {
  padding: 60px 0;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  color: #ff5fa2;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.section-title p {
  color: #e0e0e0;
  font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

/* Service Card */
.service-card {
  background: #241a3a;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(127, 95, 255, 0.1);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: scale(1.04) translateY(-6px) rotate(1deg);
  box-shadow: 0 8px 32px #7f5fff44, 0 0 24px #ff5fa244;
  border: 1.5px solid #ff5fa2;
}

.service-icon {
  font-size: 2.5rem;
  color: #ff5fa2;
  margin-bottom: 18px;
}

.service-card h3 {
  color: #ff5fa2;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 18px;
}

.order-btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff5fa2 0%, #7f5fff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 28px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 12px #ff5fa288;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
  margin-top: auto;
}

.order-btn:hover,
.order-btn:focus {
  background: linear-gradient(90deg, #7f5fff 0%, #ff5fa2 100%);
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 8px 32px #ff5fa288, 0 0 16px #7f5fff55;
}

/* Video Gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.video-container {
  background: #241a3a;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover {
  box-shadow: 0 8px 32px #7f5fff44, 0 0 24px #ff5fa244;
  transform: scale(1.03) translateY(-4px);
}

.video-container iframe {
  width: 100%;
  height: 220px;
  border-radius: 8px;
}

/* Testimonials */
.testimonials {
  background: #1a1332;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #241a3a;
  color: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
  color: #e0e0e0;
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-author {
  font-weight: bold;
  color: #ff5fa2;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.contact-card {
  background: #241a3a;
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  box-shadow: 0 8px 32px #7f5fff44, 0 0 24px #ff5fa244;
  transform: scale(1.04) translateY(-4px);
}

.contact-icon {
  font-size: 1.8rem;
  color: #ff5fa2;
}

.contact-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #ff5fa2;
}

.contact-form {
  background: #241a3a;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(255, 95, 162, 0.1);
  margin-top: 32px;
}

.form-group label {
  color: #ff5fa2;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1332;
  color: #fff;
  font-size: 1rem;
  margin-top: 4px;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #ff5fa2;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
footer {
  background: #2a2046;
  color: #fff;
  padding: 2rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  color: #ff5fa2;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff5fa2;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #ff5fa2;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  color: #bbb;
  margin-top: 2rem;
  font-size: 0.95rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Bar */
header {
  background: #2a2046;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
}

.logo span {
  color: #ff5fa2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  font-weight: 600;
  text-decoration: none; /* Already removes underline */
  font-size: 1.08rem;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-bottom 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 6px 0;
  border-bottom: 0; /* Remove underline effect */
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ff5fa2;
  box-shadow: 0 2px 12px #7f5fff88;
  border-bottom: 0; /* Remove underline on hover/active */
}

.mobile-menu {
  display: none;
  font-size: 1.8rem;
  color: #ff5fa2;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(120deg, #2a2046 60%, #ff5fa2 100%);
  color: #fff;
  padding: 80px 0 60px 0;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(255, 95, 162, 0.18);
  font-family: "Great Vibes", "Playfair Display", "Montserrat", Arial,
    sans-serif;
}

/* About Section */
.about-box {
  display: flex;
  gap: 40px;
  align-items: center;
  background: #241a3a;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(255, 95, 162, 0.18);
  padding: 32px;
  margin-bottom: 40px;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-box:hover {
  box-shadow: 0 12px 48px #ff5fa244, 0 0 32px #7f5fff33;
  transform: scale(1.02) rotate(-1deg);
}

.about-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(255, 95, 162, 0.18);
  display: block;
}

.about-text {
  color: #fff;
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    filter 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.about-text h2,
.about-text p,
.about-text .highlight {
  transition: color 0.5s cubic-bezier(0.77, 0, 0.18, 1),
    text-shadow 0.5s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

.futuristic-scroll {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background: #241a3a;
  border-radius: 32px;
  box-shadow: 0 4px 24px rgba(127, 95, 255, 0.18), 0 0 32px #ff5fa244;
  transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.futuristic-scroll .about-image {
  position: relative;
  flex: 1 1 350px;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.futuristic-scroll .about-image::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 120px;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg width="120" height="120" viewBox="0 0 120 120" xmlns="http://www.w3.org/2000/svg"><ellipse cx="60" cy="60" rx="50" ry="28" fill="%23ff5fa2"/><path d="M20 60 Q60 100 100 60 Q60 80 20 60 Z" fill="%23e0488b"/></svg>')
    center center/contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.2);
  transition: left 0.8s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 2;
}

.futuristic-scroll:hover .about-image::before,
.futuristic-scroll:focus-within .about-image::before {
  left: 50%;
  opacity: 0.45;
  transform: translate(-50%, -50%) scale(1.4);
}

.futuristic-scroll .about-text {
  flex: 1 1 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  color: #fff;
  z-index: 1;
  padding-left: 0;
}

.futuristic-scroll:hover .about-image,
.futuristic-scroll:focus-within .about-image {
  transform: translateX(-60%);
  filter: blur(2px) brightness(0.7);
}

.futuristic-scroll:hover .about-text,
.futuristic-scroll:focus-within .about-text {
  opacity: 1;
  transform: translateX(0) scale(1.03);
  filter: drop-shadow(0 0 16px #7f5fff88);
}

.futuristic-scroll:hover .about-text h2,
.futuristic-scroll:hover .about-text p,
.futuristic-scroll:hover .about-text .highlight,
.futuristic-scroll:focus-within .about-text h2,
.futuristic-scroll:focus-within .about-text p,
.futuristic-scroll:focus-within .about-text .highlight {
  color: #ff5fa2;
  text-shadow: 0 2px 16px #7f5fff88;
  transform: scale(1.04);
  opacity: 1;
}

@media (max-width: 900px) {
  .about-box {
    flex-direction: column;
    padding: 18px;
  }
  .about-image img {
    max-width: 100%;
  }
  .futuristic-scroll {
    flex-direction: column;
  }
  .futuristic-scroll .about-image {
    transform: none !important;
    filter: none !important;
  }
  .futuristic-scroll .about-text {
    opacity: 1;
    transform: none;
    padding-left: 0;
  }
}

/* Comments Section */
.comments-list {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}

.comment-card {
  background: #fff;
  color: #241a3a;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid #ff5fa2;
  margin-bottom: 16px;
  transition: box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment-card:hover {
  box-shadow: 0 8px 32px #ff5fa244, 0 0 24px #7f5fff44;
  transform: scale(1.03) rotate(1deg);
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff5fa2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.comment-name {
  font-weight: 700;
  color: #ff5fa2;
}

.comment-email {
  font-size: 0.95rem;
  color: #888;
}

.comment-message {
  margin-top: 6px;
  font-size: 1.08rem;
  color: #241a3a;
}

.form-row {
  display: flex;
  gap: 18px;
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Responsive Header */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin-top: 12px;
  }
  .mobile-menu {
    display: block;
    margin-left: auto;
  }
}

/* Services Section */
.services {
  position: relative;
  background: #1a1332;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("services-bg.png") center center/cover no-repeat;
  opacity: 0.35; /* Increased for a more solid look */
  z-index: 0;
}

.services-grid,
.section-title {
  position: relative;
  z-index: 1;
}

/* Video Background Section */
.video-bg-container {
  position: relative;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35; /* Adjust for desired effect */
}

.video-bg-container .container,
.video-bg-container .section-title,
.video-bg-container .video-gallery {
  position: relative;
  z-index: 1;
}

/* Button Styles */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff5fa2 0%, #7f5fff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 14px 38px;
  border: none;
  border-radius: 32px;
  box-shadow: 0 4px 18px rgba(127, 95, 255, 0.12);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn:hover,
.btn:focus {
  background: linear-gradient(90deg, #7f5fff 0%, #ff5fa2 100%);
  transform: scale(1.07) translateY(-2px) rotate(-2deg);
  box-shadow: 0 8px 32px #ff5fa288, 0 0 16px #7f5fff55;
}

/* Fade-in animation for sections on scroll */
.section,
.hero,
header,
.footer-content {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1s cubic-bezier(0.77, 0, 0.18, 1),
    transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}

.section.is-visible,
.hero.is-visible,
header.is-visible,
.footer-content.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delays for a smoother effect (doubled) */
.section:nth-of-type(1) {
  animation-delay: 0.2s;
}
.section:nth-of-type(2) {
  animation-delay: 0.6s;
}
.section:nth-of-type(3) {
  animation-delay: 1s;
}
.section:nth-of-type(4) {
  animation-delay: 1.4s;
}
.section:nth-of-type(5) {
  animation-delay: 1.8s;
}
.hero {
  animation-delay: 0s;
}
header {
  animation-delay: 0s;
}
.footer-content {
  animation-delay: 1.1s;
}

.accreditation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 32px;
}

.accreditation-card {
  background: linear-gradient(120deg, #241a3a 60%, #7f5fff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(127, 95, 255, 0.12), 0 0 24px #ff5fa244;
  padding: 32px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  min-width: 280px;
  max-width: 340px;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1),
    box-shadow 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  position: relative;
  overflow: hidden;
}

.accreditation-card:hover {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 12px 48px #ff5fa244, 0 0 32px #7f5fff33;
}

.accreditation-icon {
  font-size: 2.8rem;
  color: #ff5fa2;
  margin-right: 22px;
  filter: drop-shadow(0 0 12px #ff5fa288);
  transition: color 0.4s, filter 0.4s;
}

.accreditation-card:hover .accreditation-icon {
  color: #7f5fff;
  filter: drop-shadow(0 0 18px #7f5fff88);
}

.accreditation-text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ff5fa2;
  letter-spacing: 1px;
}

.accreditation-text p {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Responsive Video */
.responsive-video {
  width: 30%; /* Reduce the width */
  max-width: 250px; /* Set a maximum width */
  height: auto; /* Maintain aspect ratio */
  margin: 20px auto; /* Center the video and add some vertical spacing */
  display: block; /* Ensure it's treated as a block element */
}

.comment-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #ff66b2;
  box-shadow: 0 0 8px rgba(255, 102, 178, 0.4);
  outline: none;
}

.comment-form button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff66b2, #ff3385);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.comment-form button:hover {
  transform: scale(1.05);
}
