* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

/* ========================= */
/* Unified Page Title Style */
/* ========================= */

.page-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: #b87c7c;
  font-weight: 650;
  text-align: center;
  margin: 20px 20px 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #5d4e4e;
  background-image: url("img/background.jpg");
  background-size: cover;
  background-attachment: fixed;
}

/* Header */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: relative;
  top: 0;
  z-index: 1000;
  background: #f8d1d1;
}

.header-section.dim {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.logo-container img {
  max-height: 50px;
  margin-left: -4px;
}

/* Navbar (Desktop) */
.navbar {
  display: none; /* hidden by default (mobile first) */
  gap: 20px;
}

/* ========================= */
/* Unified Navigation Fonts */
/* ========================= */

.navbar a,
.sidebar a {
  font-family: "Segoe UI", "Poppins", system-ui, sans-serif;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.bottom-nav a {
  text-decoration: none;
}

.navbar a {
  text-decoration: none;
  color: #b16262;
  font-weight: 600;
  margin-right: 20px;
  padding: 12px 18px;
  border-radius: 999px; /* pill shape */
  transition: all 0.3s ease;
}

.navbar a:hover {
  background: rgba(177, 98, 98, 0.15);
  color: #8b6f6f;
}

/* Toggle button (Mobile) */
.menu-toggle {
  font-size: 26px;
  cursor: pointer;
  color: #333;
  display: block;
  margin-right: 0;
}

/* Sidebar (Mobile) */

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px 15px 0;
  border-bottom: 1px solid;
}

.sidebar-logo {
  height: 40px;
  object-fit: contain;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background: #f8d1d1;
  transition: left 0.3s ease;
  padding: 30px 0 10px 0;
  z-index: 2000;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  margin: 0;
  display: block;
  padding: 14px 18px;
  color: #b16262;
  text-decoration: none;
  font-weight: 600;
  border-radius: 15px;
  transition: all 0.3s ease;
  border-bottom: 1px solid;
}

.sidebar-link-icons {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.sidebar-header a {
  margin-left: 10px;
  padding: 15px;
  color: #b16262;
  text-decoration: none;
  border: none;
}

.sidebar a:hover {
  background: rgba(177, 98, 98, 0.15);
  width: 100%;
}

.sidebar-header a:hover {
  border-radius: 8px;
  background: #f8d1d1;
}

.close-btn {
  position: static; /* override absolute */
  font-size: 38px;
  color: #b16262;
  cursor: pointer;
}

.navbar a.active,
.sidebar a.active {
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  color: #fff;
  box-shadow: 0 4px 12px rgba(199, 143, 143, 0.4);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 998;
}

.overlay.active {
  display: block;
}

/* Hero Section */
.hero-section {
  margin: 20px 40px 20px 40px;
}

.hero-section h1 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-family: "Great Vibes", cursive;
  color: #b87c7c;
  margin: 30px 30px;
  font-weight: 650;
  text-align: center;
}

.hero-image,
.last-image {
  width: 100%;
  border-radius: 20px;
  border-top-left-radius: 25%;
  border-top-right-radius: 26%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Welcome Section */
.welcome-section {
  padding: 30px 20px 20px 20px;
  text-align: center;
  border-radius: 30px 30px 0 0;
  margin-top: -20px;
  position: relative;
}

.welcome-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: "Great Vibes", cursive;
  color: #b87c7c;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.3;
}

.tagline {
  font-size: 1em;
  color: #a08888;
  margin-bottom: 25px;
}

.btn-contact {
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  color: white;
  border: none;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(199, 143, 143, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 143, 143, 0.5);
}

.divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #d4a5a5, transparent);
  margin: 30px auto;
}

.divider-about {
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #d4a5a5, transparent);
  margin: 30px auto -15px;
}

/* Why Choose Us */
.why-choose-section {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  color: #8b6f6f;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 20px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-image {
  width: 100%;
  border-radius: 20px;
  margin: 0 auto 15px;
}

.feature-title {
  font-size: 1.1em;
  color: #8b6f6f;
  margin-bottom: 5px;
  font-weight: 600;
}

.feature-subtitle {
  font-size: 0.85em;
  color: #a08888;
}

/* Testimonial */
.testimonial-section {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 245, 240, 0.8);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-left {
  flex-shrink: 0;
}

.testimonial-right {
  flex: 1;
}

.testimonial-image {
  width: 220px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid pink;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.stars {
  font-size: 1.5em;
  color: #f4c542;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #6d5d5d;
  margin-bottom: 20px;
}

.testimonial-author {
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 1.1em;
  display: inline-block;
}

/* Join Section */
.join-section {
  padding: 50px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
}

.join-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #8b6f6f;
  font-style: italic;
  margin-bottom: 15px;
}

.join-subtitle {
  font-size: 1em;
  color: #a08888;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-join {
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  color: white;
  border: none;
  padding: 15px 50px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(199, 143, 143, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 143, 143, 0.5);
}

/* Bottom Navigation */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  background: rgba(255, 245, 240, 0.95);
  border-top: 1px solid rgba(212, 165, 165, 0.3);
}

.nav-icon {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c78f8f;
  font-size: 1.5em;
  cursor: pointer;
}

/* ========================= */
/* Contact Page Styles */
/* ========================= */

.contact-hero {
  margin: 20px 40px;
  text-align: center;
  background: rgba(0, 0, 0, 0);
}

.contact-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #b87c7c;
  margin: 20px;
}

.contact-hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-section {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #e0c3c3;
  font-size: 0.95em;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c78f8f;
  box-shadow: 0 0 0 2px rgba(199, 143, 143, 0.2);
}

.contact-info {
  text-align: left;
  font-size: 1em;
  color: #6d5d5d;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: left;
}

.contact-banner {
  margin: 20px 40px 40px;
}

.contact-banner img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ========================= */
/* Services Page Styles */
/* ========================= */

.services-hero {
  margin: 20px 40px;
  text-align: center;
}

.services-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #b87c7c;
  margin-bottom: 15px;
}

.services-hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.services-section {
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.5);
}

.services-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.service-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2em;
  color: #8b6f6f;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9em;
  color: #a08888;
  line-height: 1.5;
}

/* ========================= */
/* Gallery Page Styles */
/* ========================= */

.gallery-hero {
  margin: 40px 20px 20px;
  text-align: center;
}

.gallery-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #b87c7c;
  margin-bottom: 10px;
}

.gallery-subtitle {
  font-size: 0.95em;
  color: #a08888;
  margin-bottom: 30px;
}

.gallery-section {
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.5);
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA Section */
.gallery-cta {
  margin: 40px 20px;
  background: linear-gradient(135deg, #f8d1d1, #f3bfbf);
  border-radius: 25px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #8b6f6f;
  margin-bottom: 10px;
}

.gallery-cta p {
  font-size: 0.95em;
  color: #6d5d5d;
  margin-bottom: 20px;
}

/* ========================= */
/* About Page Styles */
/* ========================= */

.about-hero {
  margin: 20px 40px;
  text-align: center;
}

.about-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: #b87c7c;
  margin-bottom: 15px;
}

.about-hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-section {
  padding: 40px 20px;
  text-align: center;
}

.about-section.light {
  background: rgba(255, 255, 255, 0.5);
}

.about-card {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 30px 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.about-card p {
  font-size: 0.95em;
  color: #6d5d5d;
  line-height: 1.7;
  margin-bottom: 15px;
}

.values-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.value-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 25px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  font-size: 1.2em;
  color: #8b6f6f;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9em;
  color: #a08888;
  line-height: 1.5;
}

.team-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-card img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 15px;
}

.team-card h4 {
  font-size: 1.1em;
  color: #8b6f6f;
  margin-bottom: 5px;
}

.team-card span {
  font-size: 0.85em;
  color: #a08888;
}

.about-cta {
  margin: 40px 20px;
  background: linear-gradient(135deg, #f8d1d1, #f3bfbf);
  border-radius: 25px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.about-cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #8b6f6f;
  margin-bottom: 10px;
}

.about-cta p {
  font-size: 0.95em;
  color: #6d5d5d;
  margin-bottom: 20px;
}

.about-cta a {
  text-decoration: none;
  color: white;
}

/* ========================= */
/* Footer Styles */
/* ========================= */

.site-footer {
  background: linear-gradient(135deg, #f8d1d1, #f3bfbf);
  padding: 50px 20px 20px;
  margin-top: 60px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 0.9em;
  color: #6d5d5d;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.1em;
  color: #8b6f6f;
  margin-bottom: 15px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #b16262;
  font-size: 0.9em;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #8b6f6f;
}

.footer-contact p {
  font-size: 0.9em;
  color: #6d5d5d;
  margin-bottom: 8px;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  text-decoration: none;
  color: #b16262;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(177, 98, 98, 0.3);
  text-align: center;
  font-size: 0.85em;
  color: #6d5d5d;
}

.icon-placeholder {
  max-width: 100%;
}

.icon-placeholder img {
  max-width: 100%;
}

/* Force all page titles to look identical */
.hero-section h1,
.contact-title,
.services-title,
.gallery-title,
.about-title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: #b87c7c;
  font-weight: 650;
  text-align: center;
  margin: 20px 20px 10px;
}

/* ========================= */
/* NAV ICON SIZE + ALIGN FIX */
/* ========================= */

.nav-link {
  display: flex;
  align-items: center;   /* keeps icon centered vertically with text */
  gap: 14px;             /* space between icon and text */
}

/* Desktop navbar icons */
.navbar .nav-icon {
  width: 28px;
  height: 28px;
}

/* Sidebar icons (slightly bigger) */
.sidebar .nav-icon {
  width: 34px;
  height: 34px;
}

/* Prevent icon jumping above text */
.nav-icon {
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
}

/* Text alignment fix */
.nav-link span {
  line-height: 1;
  display: inline-block;
}

/* ========================= */
/* LUXURY TESTIMONIAL CAROUSEL */
/* ========================= */

.testimonial-carousel {
  position: relative;
  max-width: 820px;
  margin: auto;
  border-radius: 18px;
  z-index: 5;
}

.testimonial-viewport {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* smooth fade + slide combo */
.testimonial-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  display: flex;
  gap: 22px;
  padding: 28px;
  box-sizing: border-box;
  opacity: 0.5;
  transform: scale(0.96);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}

/* Star glow */
.stars {
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 4px rgba(244, 197, 66, 0.3); }
  to   { text-shadow: 0 0 12px rgba(244, 197, 66, 0.6); }
}

/* Nav buttons – softer, premium */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(177, 98, 98, 0.75);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(177, 98, 98, 0.4);
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: auto;
}

.nav:hover {
  background: rgba(177, 98, 98, 1);
  transform: translateY(-50%) scale(1.08);
}

.nav.prev { left: -55px; }
.nav.next { right: -55px; }

/* Luxury dots → progress bars */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-dots button {
  width: 24px;
  height: 6px;
  border-radius: 6px;
  border: none;
  background: rgba(177, 98, 98, 0.4);
  cursor: pointer;
  transition: all 0.4s ease;
}

.testimonial-dots button.active {
  width: 46px;
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  box-shadow: 0 0 10px rgba(199, 143, 143, 0.6);
}

/* ========================= */
/* CAROUSEL CONTAINER BORDER */
/* ========================= */

.testimonial-carousel {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  padding: 26px 22px 30px;
  border: 1px solid rgba(199, 143, 143, 0.45);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.12),
    0 0 0 6px rgba(199, 143, 143, 0.08);
  backdrop-filter: blur(6px);
}

/* tighten spacing so arrows stay aligned */
.testimonial-viewport {
  border-radius: 22px;
}

/* make dots feel inside the box */
.testimonial-dots {
  margin-top: 18px;
}

/* ========================= */
/* HERO BUTTONS — CLEAN FINAL */
/* ========================= */

.hero-buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
  display: flex;
  gap: 14px;
  z-index: 2;
}

/* Base button */
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 14px 0;
  border-radius: 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #d4a5a5, #c78f8f);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

/* Secondary style */
.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #8b6f6f;
}

/* Hover effect */
.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

/* ========================= */
/* RESPONSIVE SYSTEM (CLEAN) */
/* ========================= */

.hero-image-wrapper {
  position: relative;
  overflow: hidden; /* guarantees buttons never spill out */
}

.hero-image-wrapper {
  position: relative;
  margin-bottom: 28px; /* spacing BELOW hero image */
  overflow: hidden;   /* ensures buttons never spill out */
}

/* Base position */
.hero-buttons {
  bottom: 32px; /* more breathing room */
}

/* ========================= */
/* HERO BUTTON HARD CLAMP */
/* ========================= */

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
}

/* Base (desktop / default) */
.hero-buttons {
  bottom: 8%;
}

/* ========================= */
/* HERO BUTTON HARD LOCK FIX */
/* ========================= */

.hero-image-wrapper {
  position: relative;
  overflow: hidden;
}

/* Ensure wrapper hugs image exactly */
.hero-image {
  display: block;
}

/* Base positioning */
.hero-buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(16px, 8%, 42px); /* 🔥 magic line */
  display: flex;
  gap: 12px;
  z-index: 2;
}

/* ========================= */
/* RESPONSIVE SYSTEM — FINAL */
/* ========================= */

/* ---------- MOBILE ≤ 767px ---------- */
@media (max-width: 767px) {

  body { font-size: 14px; }

  /* Header / Nav */
  .navbar { display: none; }
  .menu-toggle { display: block; }
  .sidebar { display: block; }

  /* Hero */
  .hero-section {
    margin: 16px 16px 20px 16px;
  }

  .hero-section h1 {
    margin: 15px 10px;
  }

  .hero-buttons {
    bottom: clamp(14px, 12%, 22px);
    gap: 10px;
  }

  .hero-btn {
    width: 120px;
    padding: 10px 0;
    font-size: 0.85rem;
    border-radius: 22px;
  }

  /* Sections spacing */
  section,
  .testimonial-section,
  .welcome-section,
  .services-section,
  .about-section,
  .gallery-section,
  .contact-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Carousel */
  .testimonial-carousel {
    margin: 0 auto;
    padding: 14px 10px 18px;
    border-radius: 22px;
  }

  .testimonial-carousel .nav { display: none; }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
    padding: 16px 14px;
  }

  .testimonial-image {
    width: 180px;
    margin: 0 auto 15px;
  }

  /* Grids */
  .services-grid,
  .values-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    row-gap: 20px;
    text-align: center;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .footer-brand p {
    margin: 0 auto;
    max-width: 100%;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ---------- TABLET 768–1023px ---------- */
@media (min-width: 768px) and (max-width: 1023px) {

  body { font-size: 15px; }

  /* Header / Nav */
  .navbar { display: none; }
  .menu-toggle { display: block; }
  .sidebar { display: block; }

  /* Hero */
  .hero-section {
    margin: 20px 28px 24px 28px;
  }

  .hero-buttons {
    bottom: clamp(22px, 9%, 34px);
    gap: 14px;
  }

  .hero-btn {
    width: 160px;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 26px;
  }

  /* Sections spacing */
  section,
  .testimonial-section,
  .welcome-section,
  .services-section,
  .about-section,
  .gallery-section,
  .contact-section {
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Carousel */
  .testimonial-carousel {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 18px 24px;
    border-radius: 26px;
  }

  .testimonial-card {
    padding: 20px 18px;
  }

  .testimonial-carousel .nav { display: none; }

  /* Grids */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .values-grid   { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .team-grid     { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  .contact-card {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
}

/* ---------- DESKTOP ≥ 1024px ---------- */
@media (min-width: 1024px) {

  body { font-size: 16px; }

  /* Header / Nav */
  .navbar { display: flex; gap: 0; }
  .navbar a {margin-right: 10px; padding: 12px 10px;}
  .menu-toggle { display: none; }
  .sidebar,
  .overlay { display: none !important; }

  /* Hero */
  .hero-section {
    margin: 20px 40px 20px 40px;
  }

  .hero-buttons {
    bottom: clamp(26px, 6%, 48px);
    gap: 20px;
  }

  .hero-btn {
    width: 220px;
    padding: 18px 0;
    font-size: 1.15rem;
    border-radius: 36px;
  }

  /* Grids */
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(4, 1fr); }
}


/* Success Alert Styling */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

.alert-success {
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb; /* Light green border */
}

.alert-success a {
    color: #155724; /* Dark green link */
    text-decoration: underline;
}

.alert-success .close {
    color: #155724; /* Dark green close button */
    font-weight: bold;
    text-decoration: none;
    float: right;
    font-size: 20px;
    line-height: 1;
}

.alert-success .close:hover {
    color: #0c5460; /* Darker color on hover */
    background-color: transparent;
}

/* Map container with max-width and centering */
.map-container {
  position: relative;
  width: 100%; /* Ensure it fills the parent container */
  max-width: 900px; /* Limit the max-width to 900px */
  margin: 20px auto; /* Center the container and add margin from top */
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0; /* Remove default height */
  overflow: hidden;
  border-radius: 25px; /* Rounded corners matching contact-card */
}

/* Styling for the iframe to fill the container */
.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Minimal button style */
.button {
    margin-top: 15px;
    background: linear-gradient(135deg, #d4a5a5, #c78f8f);
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: 525;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(2px);
}

button a {
    color: white;
    text-decoration: none;
}