/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007AFF;
    --primary-gradient: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    --secondary-color: #1D1D1F;
    --accent-color: #FF3B30;
    --accent-gradient: linear-gradient(135deg, #FF3B30 0%, #FF6B35 100%);
    --text-light: #ffffff;
    --text-dark: #1D1D1F;
    --text-gray: #86868B;
    --background-dark: #000000;
    --background-light: #ffffff;
    --background-section: #F5F5F7;
    --card-background: #ffffff;
    --border-color: #D2D2D7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-accent: 0 4px 20px rgba(0, 122, 255, 0.15);
    --border-radius: 18px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nav-offset: 100px; /* used to offset fixed navbar for scroll and hero spacing */
    
    --heading-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    --body-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}



body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    padding-top:80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
}

/* Temporary debug highlight used during anchor clicks */
.debug-target {
    outline: 3px solid rgba(255, 45, 85, 0.9);
    transition: outline 0.15s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-light);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
    background: var(--accent-gradient);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--secondary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
    justify-content: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #1D3557;
    /* backdrop-filter: blur(20px); */
    /* -webkit-backdrop-filter: blur(20px); */
    z-index: 1000;
    padding: 0.8rem 0;
    /* transition: var(--transition); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 0.5rem 0;
    text-shadow: none;
}

.nav-logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.logo-image {
    height: 90px;
    width: auto;
    margin-right: 1rem;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 212, 255, 0.3));
}

.nav-logo .logo-image {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1) brightness(1.2) contrast(1.5) drop-shadow(0 3px 12px rgba(0, 212, 255, 0.6));
    /* Remove background since we're inverting colors */
    background: none;
    border-radius: 0;
    padding: 0;
}

.footer-logo .logo-image {
    height: 65px;
    filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.6));
}

.hero-logo {
    height: 400px;
    width: auto;
    transition: var(--transition);
    z-index: 2;
    position: relative;
    /* filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.5)); */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 50%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: var(--background-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-offset) + 0px) 20px 50px;
    position: relative;
    overflow: hidden;
}

/* Ensure anchored sections and hero content sit below the fixed navbar */
section, .hero { scroll-margin-top: calc(var(--nav-offset) + env(safe-area-inset-top)); }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image i {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.hero-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
}

/* Hero logo styles now handled by .hero-logo-text and .logo-icon-large */

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(255, 107, 53, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes pulse {
    0% { 
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 100px 0 60px;
    background: var(--background-light);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Pricing section styles */
.pricing {
    padding: 80px 0;
    background: var(--background-light);
}

.pricing h2 { text-align: center; margin-bottom: 0.25rem; }
.pricing .muted { color: var(--text-dark); margin-bottom: 1rem; text-align: center; }

.pricing-table { max-width: 880px; margin: 1rem auto 0; border-radius: 12px; overflow: hidden; }
.pricing-row { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(0,0,0,0.06); background: #fff; }
.pricing-row:nth-child(odd) { background: #fbfcfd; }

.pricing-group { padding: 10px 0 0; }
.pricing-group .group-title { margin: 0 0 8px 0; color: var(--secondary-color); font-size: 1.05rem; font-weight: 700; }
.pricing-service { color: var(--text-dark); font-weight: 600; }
.pricing-cost { color: var(--primary-color); font-weight: 700; min-width: 90px; text-align: right; }

@media (max-width: 768px) {
    .pricing-table { width: 100%; }
    .pricing-row { flex-direction: row; padding: 12px; }
    .pricing-service { font-size: 0.98rem; }
    .pricing-cost { min-width: 70px; }
}

.services h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    /* backdrop-filter: blur(10px); */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-accent);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: var(--shadow);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--accent-gradient);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background-dark);
}

.about h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Improve alignment and spacing for feature list in About section */
.feature {
    gap: 0.75rem;
}

.feature i {
    font-size: 1.3rem;
    min-width: 28px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.25;
}

/* Add vertical spacing between feature lines */
.feature { margin-bottom: 0.6rem; }

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    /* backdrop-filter: blur(10px); */
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    margin: 0;
}

/* Booking Section */
.booking {
    padding: 100px 0;
    background: var(--background-light);
}

.booking h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form {
    background: var(--card-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    /* backdrop-filter: blur(10px); */
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
    background: rgba(0, 212, 255, 0.02);
}

.payment-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.payment-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-background);
    position: relative;
    overflow: hidden;
}

.payment-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.payment-option:hover::before {
    opacity: 0.05;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .payment-label {
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.payment-option input[type="radio"]:checked {
    border-color: var(--primary-color);
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--shadow);
}

.payment-option:has(input[type="radio"]:checked)::before {
    opacity: 0.1;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    width: 100%;
}

.payment-label i {
    font-size: 1.2rem;
}

.payment-details {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    /* backdrop-filter: blur(10px); */
}

.booking-summary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    /* backdrop-filter: blur(10px); */
    box-shadow: var(--shadow);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.summary-item.total {
    font-size: 1.2rem;
    color: var(--primary-color);
    border-top: 2px solid var(--border-color);
    padding-top: 0.5rem;
    margin-top: 1rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-dark);
}

.contact h2 {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    justify-content: center;
    /* grid-template-columns: 1fr 1fr; */
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-light);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Gallery carousel inside contact section */
.gallery-carousel {
  align-items: flex-start;
}

.gallery-carousel i.fas.fa-images {
  font-size: 1.8rem;
  color: #ffb400;
}

.carousel {
  position: relative;
  max-width: 420px;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  background: #000;
}

.carousel-track-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,15,15,0.65);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn i {
  font-size: 0.9rem;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.15);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Dots navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
}

.carousel-indicator.current-slide {
  background: #ffb400;
}

/* Responsive tweaks inside contact layout */
@media (max-width: 768px) {
  /* existing .nav-menu styles ... */

  /* Make nav-menu non-interactive and offscreen when not active */
  .nav-menu {
    pointer-events: none;
    visibility: hidden;
    z-index: 900;
  }

  .nav-menu.active {
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    opacity: 1;
  }
}


/* Make email links in contact section match site colors */
.contact-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Ensure contact links and action buttons are clickable above mobile nav/overlays */
.contact-item a,
.action-btn,
.sms-link {
    position: relative;
    z-index: 1600;
    -webkit-tap-highlight-color: transparent;
}

/* Make action buttons/touch targets a bit larger on mobile */
.action-btn { padding: 10px 14px; }


/* SMS link styling for mobile text action */
.sms-link {
    display: inline-block;
    margin-left: 8px;
    background: rgba(255,255,255,0.06);
    padding: 4px 8px;
    border-radius: 8px;
    color: rgba(255,255,255,0.95);
    font-size: 0.9rem;
    text-decoration: none;
}

.sms-link:hover { background: rgba(255,255,255,0.09); color: var(--primary-color); }

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    /* backdrop-filter: blur(10px); */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border: none;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 50px 0 20px;
    color: var(--text-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.footer-logo i {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.footer-logo .logo-image:hover,
.nav-logo .logo-image:hover {
    transform: scale(1.05);
    filter: brightness(1.2) contrast(1.2);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* backdrop-filter: blur(5px); */
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-dark);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal-body {
    padding: 2rem;
}

.confirmation-details {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    /* reduce navbar footprint on tablet/mobile and set smaller scroll offset */
    :root { --nav-offset: 84px; }
    .navbar { padding: 0.45rem 0; }
    
    /* Compact dropdown anchored to the navbar container instead of full-screen */
    .nav-container {
        position: relative; /* anchor for absolute dropdown */
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        display: flex;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: auto;
        max-width: 420px;
        margin: 0 auto;
        text-align: left;
        transition: transform 240ms ease, opacity 240ms ease;
        transform-origin: top center;
        transform: translateY(-8px) scaleY(0.98);
        opacity: 0;
        padding: 0.5rem 0;
        border-radius: 12px;
        pointer-events: none;
        visibility: hidden;
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        overflow: hidden;
        z-index: 900;
    }

    .nav-menu.active {
        pointer-events: auto;
        visibility: visible;
        transform:trnlateY(0) scaleY(1);
        opacity: 1;
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 18px;
        color: var(--text-light);
        text-decoration: none;
        font-weight: 600;
    }

    .nav-menu li a:hover {
        background: rgba(255,255,255,0.03);
    }

    .nav-menu.active {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image i {
        font-size: 8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .booking-form {
        padding: 2rem 1rem;
    }

    /* Tighter spacing and scaled assets on tablet / small screens */
    .nav-logo {
        font-size: 1.4rem;
        gap: 0.6rem;
    }

    .nav-logo span {
        font-size: 1.1rem;
    }

    .logo-image {
        height: 70px;
    }

    .hero {
        padding: 80px 12px 40px;
    }

    .hero-logo {
        height: 220px;
    }

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

    .nav-menu li {
        margin: 12px 0;
    }
}

@media (max-width: 480px) {
    /* phone: tighten navbar and reduce offset so hero isn't covered */
    :root { --nav-offset: 68px; }
    .navbar { padding: 0.3rem 0; }
    .hero-content h1 {
        font-size: 2rem;
    }
    
    #contact.contact{
        margin-top:40px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }

    /* Phone-specific tweaks */
    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-logo span {
        display: none; /* hide tagline to save space */
    }

    .logo-image {
        height: 54px;
    }

    .hero-logo {
        height: 140px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }

    .container { padding: 0 12px; }

    .btn { padding: 10px 14px; font-size: 0.95rem; }

    .footer-content { gap: 1rem; }

    /* Make contact and booking forms full-width, simpler spacing */
    .contact-form, .booking-form {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .form-row { gap: 0.6rem; }

    .service-icon { width: 64px; height: 64px; }
}

/* Very small screens: ensure large hero images / logos don't overflow */
@media (max-width: 360px) {
    :root { --nav-offset: 60px; }
    .navbar { padding: 0.25rem 0; }
    .logo-image { height: 48px; }
    .hero-logo { height: 120px; }
    .hero-content p { font-size: 0.95rem; }
    .nav-menu { padding-top: 60px; }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-offset) + env(safe-area-inset-top));
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form validation styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Success states */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

/* Flip card wrapper + 3D flip animation (for Services) */
.flip-card {
    perspective: 1200px;
    width: 100%;
    height: 100%;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--border-radius);
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
}

/* front uses existing .service-card styles for layout; keep them */
.flip-card-front {
    backface-visibility: hidden;
    position: relative;
    z-index: 2;
}

/* back face */
.flip-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem;
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    color: var(--secondary-color);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    box-shadow: var(--shadow);
    text-align: left;
}

.flip-card-back h3 {
    margin-bottom: 0.5rem;
}

.flip-card-back p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    width: 100%;
}

.flip-card-back p i.fa-check-circle {
    color: var(--primary-color);
    font-size: 1.05rem;
    line-height: 1;
    margin: 0;
    flex: 0 0 26px; /* fixed column so icons line up */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back .item-desc { flex: 1 1 auto; text-align: left; }
.flip-card-back .item-price { flex: 0 0 auto; margin-left: 12px; font-weight: 700; color: var(--primary-color); }

/* ensure .service-card keeps original visual style when used on front */
.service-card {
    /* ...existing .service-card rules are preserved in file above... */
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* make buttons on back compact */
.flip-card-back .btn {
    padding: 10px 18px;
    font-size: 0.95rem;
}

/* Responsive tweak: preserve flip behavior on touch devices by reducing hover-only reliance */
@media (hover: none) {
    .flip-card:active .flip-card-inner {
        transform: rotateY(180deg);
    }
}

/* Floating quote button */
.quote-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 9999;
}

/* Modal overlay */
.quote-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Modal content */
.quote-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
}

/* Close button (X) */
.quote-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.quote-close:hover {
  color: #999;
}

/* Basic form styling inside modal */
#quoteModal label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
}
#quoteModal input,
#quoteModal select,
#quoteModal textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  box-sizing: border-box;
}
.quote-submit {
  margin-top: 14px;
  width: 100%;
  background: #ff7a00;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}
