@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
:root {
  --primary: #ff4d4d;
  --secondary: #2b2d42;
  --accent: #ffd166;
  --light: #f8f7f2;
  --dark: #1a1a1a;
  --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

metadata {

  max-width: 1024px;
  max-width: 768px;
  max-width: 480px;


}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
}

.preloader-text {
  color: var(--light);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
}

.preloader-text::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform-origin: left;
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    transform: scaleX(0);
  }

  50% {
    transform: scaleX(1);
    transform-origin: left;
  }

  51% {
    transform-origin: right;
  }

  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* Navigation - Minimalist */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  padding: 0rem 5%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  mix-blend-mode: normal;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  position: relative;
  z-index: 1001;
}

nav.scrolled .logo {
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav.scrolled .nav-links a {
  color: var(--dark);
}

nav.scrolled .logo-text {
  color: #1a1a1a;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  color: var(--light);
  font-size: 1.5rem;
  z-index: 1001;
}

nav.scrolled .menu-toggle {
  color: var(--dark);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

nav.scrolled .logo {
  color: var(--dark);
}

.logo img {
  height: 120px;
  /* adjust this to match text height nicely */
  margin-right: 10px;
  transition: var(--transition);
}

nav.scrolled .logo img {
  height: 120px;
  /* keep same or adjust if you want shrink on scroll */
}

.logo-text {
  color: white;
  line-height: 1.2;
}

.logo-p {
  color: var(--primary);
}


/* Hero Section - Fullscreen Video */
#home {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  padding-top: 0%;
  margin-top: 0%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

/* Dark overlay on top of hero image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adjust 0.6 = darkness */
  z-index: -1;
}

.hero-content {
  max-width: 1000px;
  padding: 2rem;
  margin-top: 6rem;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--light);
  border: 2px solid var(--light);
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transition: var(--transition);
  z-index: -1;
}

.cta-button:hover {
  color: var(--light);
  border-color: var(--primary);
}

.cta-button:hover::before {
  left: 0;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-20px) translateX(-50%);
  }

  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Section Styles */
section {
  padding: 2rem 5%;
  margin-top: 20px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Gallery Section - Interactive Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}

.gallery-item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Portfolio Navigation */
.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio-nav button {
  background: transparent;
  border: none;
  color: var(--dark);
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.portfolio-nav button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.portfolio-nav button.active::after,
.portfolio-nav button:hover::after {
  width: 100%;
}

.image-overlay {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.image-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: 5px solid white;
  border-radius: 8px;
}

#services {
  background: #f5f5f5;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards per row */
  gap: 20px;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-card a {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}


.reviewer-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details {
    text-align: right;
}

.reviewer-name {
    font-weight: 600;
    margin: 0;
}

.reviewer-title {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Contact Section - Split Layout */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: flex-start;
  justify-content: start;
  gap: 3rem;
  align-items: center;
}

.contact-info {
  display: flex;
  align-self: flex-start;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text h3 {
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background: rgb(0, 102, 255);
  font-family: "Montserrat", sans-serif;
  color: white;
  border: none;
  width: 100%; /* Ensures it takes the full width */
  padding: 15px;
  border-radius: 5px;
  font-size: 1.0rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-head {
  background: #ff4d4d;
  font-family: "Montserrat", sans-serif;
  color: white;
  border: none;
  width: 100%; /* Changed from fixed width to full width */
  padding: 15px;
  border-radius: 5px;
  font-size: 1.0rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Footer - Dark Theme */
/* Footer - Full Width */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 5rem 0 2rem;
  /* Changed from 5% to 0 for side padding */
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* This centers the full-width footer */
  position: relative;
  left: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  /* Or your preferred max width */
  margin: 0 auto;
  /* padding: 0 5%; Add padding back to the container */
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}


.social-links {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 0.8rem;
  list-style: none;
}

.footer-links a {
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--primary);
  margin-top: 0.3rem;
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Social icons in contact section */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

/* Hover brand color effects */
.social-link.instagram {
  background-color: transparent;
}

.social-link.gmail {

  background-color: transparent;
}

.social-link.whatsapp {
  background-color: transparent;
}

.social-link.location {
  background-color: transparent;
}

.icon-container {
  display: flex;
  justify-content: center;
  /* ⬅️ Center items horizontally */
  gap: 30px;
  /* Space between icons */
  flex-wrap: wrap;
  /* Responsive wrapping */
  margin-top: 20px;
}

.icon-wrapper {
  text-align: center;
  cursor: pointer;
  width: 80px;
  /* Fixed width for centering label under image */
}

.icon-wrapper img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  /* Center image inside wrapper */
}

.icon-label {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 14px;
  color: #333;
  margin-top: 5px;
  text-align: center;
}

.icon-wrapper:hover .icon-label {
  opacity: 1;
}




/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark);
  transform: translateY(-3px);
}

/* Particular pages */

/* Wedding Hero Section */
#wedding-hero {
  height: 80vh;
}

/* Wedding Intro */
.wedding-intro {
  background: var(--light);
  padding: 6rem 5%;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 1rem;
  color: var(--secondary);
}

/* Wedding Packages */
.wedding-packages {
  background: #f9f9f9;
  padding: 6rem 5%;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  background: white;
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: var(--transition);
}

.package-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-10px);
}

.featured-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.package-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

.package-features {
  margin-bottom: 2rem;
}

.package-features li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
}

.package-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.package-card .cta-button {
  width: 100%;
  text-align: center;
  background: var(--primary);
  color: white;
  border: none;
}

.package-card .cta-button:hover {
  background: var(--dark);
}

/* Pre-Wedding Section */
.pre-wedding {
  padding: 6rem 5%;
  background: var(--light);
}

.pre-wedding-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.pre-wedding-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.pre-wedding-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.pre-wedding-package {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
}

.pre-wedding-package h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.pre-wedding-package ul {
  margin-bottom: 1.5rem;
}

.pre-wedding-package ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
}

.pre-wedding-package ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.pre-wedding-package .package-price {
  font-size: 2rem;
  margin: 1.5rem 0;
}

.pre-wedding-gallery .gallery-grid {
  grid-template-columns: 1fr 1fr;
}

/* Wedding Gallery */
.wedding-gallery {
  padding: 6rem 5%;
  background: #f9f9f9;
}

/* Wedding CTA */
.wedding-cta {
  padding: 8rem 5%;
  background: var(--secondary);
  color: var(--light);
  text-align: center;
}

.wedding-cta h2 {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.wedding-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.wedding-cta .cta-button {
  background: var(--primary);
  border-color: var(--primary);
}

.wedding-cta .cta-button:hover {
  background: transparent;
  color: var(--light);
}

.contact-form {
  max-width: 600px;
  font-family: 'Montserrat', sans-serif;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.form-group {
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

select.form-control {
  cursor: pointer;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Contact Cards */
.horizontal-contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin-top: 5rem;
  justify-content: flex-start;
}

.horizontal-contact-info .contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  max-width: 300px;
  flex: 1;
}

.horizontal-contact-info .contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.horizontal-contact-info .contact-text h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.horizontal-contact-info .contact-text p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

/* Social Icons Section */
.social-icons-horizontal {
  margin-top: 1.5rem;
  margin-bottom: -3rem;
  justify-items: center;
}

.social-icons-horizontal .social-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
}

.social-icons-horizontal .social-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.social-icons-horizontal .social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
}

.social-icons-horizontal .social-icons img:hover {
  transform: scale(1.1);
}

/* --- Form Message Box Styles --- */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    display: none; /* Hidden by default */
}

.message.show {
    display: block; /* Shown by JavaScript */
    animation: fadeIn 0.5s ease;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* --- Review Section Styles --- */
#reviews {
    background-color: #f9f9f9;
    padding: 4rem 5%;
}

.review-form-container {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.star-rating-container {
    text-align: center;
    margin-bottom: 2rem;
}

.star-rating-container h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary);
}

.stars {
    font-size: 2.5rem;
    color: #ddd;
    cursor: pointer;
}

.stars .fa-star.hover {
    color: #ffc107;
}

.stars .fa-star.selected {
    color: #ffc107;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-stars .fa-star.filled {
    color: #ffc107;
}
.review-stars .fa-star {
    color: #ddd;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--secondary);
    text-align: right;
}

/* --- Testimonials Slider Styles --- */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 0 50px; /* Make space for arrows */
}

.testimonial-slide {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.testimonial-content {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
}

/* Slider Navigation Arrows */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Slider Dots */
.slider-dots-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}