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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
/* Respect iOS/Android safe areas */
@supports(padding:max(0px)){
    body { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand h1 {
    color: #e2e8f0;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Brand logo image */
.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    /* Depth texture and subtle 3D effect */
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.08)) drop-shadow(0 6px 12px rgba(0,0,0,0.12));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 8px rgba(0,0,0,0.15);
    background: radial-gradient(120% 120% at 20% 20%, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 60%),
                linear-gradient(180deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 30%);
}

/* Aqua-highlight brand text with white glow */
.brand-name {
    color: #22d3ee;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6), 0 0 18px rgba(255, 255, 255, 0.35);
}

/* Animated aura and ring behind the logo (unique highlight) */

/* Footer logo size adjustments */
.footer .brand-logo {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    vertical-align: middle;
}

.nav-brand i {
    color: #f59e0b;
}

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

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #22d3ee;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #22d3ee;
    transition: width 0.3s ease;
}

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

.login-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.login-btn::after {
    display: none;
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin-left: 3rem; /* shift content slightly to the right on large screens */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.brand-highlight {
    color: #22d3ee;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6366f1;
    transform: translateY(-3px);
}

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

/* New hero visuals wrapper: left image + gallery */
.hero-visuals {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    width: 100%;
    max-width: min(1100px, 92vw);
}

.hero-left-figure {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(120px, 22vw, 260px);
    transform: translate(12px, 28px); /* move slightly right and down */
}

.hero-left-figure img {
    width: 100%;
    height: auto;
    object-fit: contain; /* ensure full image is visible */
    display: block;
    /* remove any background/rounding/effects */
    filter: none;
    border-radius: 0;
    background: transparent;
    margin-top: 300px;
    margin-left: 50px;
}

/* Hero gallery */
.hero-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.5rem, 1.5vw, 1rem);
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(0.25rem, 1.5vw, 0.75rem);
    z-index: 2; /* above hero overlay */
}

.hero-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    transform-style: preserve-3d;
    background: #0b1220; /* fallback bg while image loads */
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

.hero-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(34, 211, 238, 0.9);
    color: #0b1220;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(34, 211, 238, 0.5), 0 0 0 2px rgba(255,255,255,0.75) inset;
}

/* Unique animations per card */
.hero-card-1 { animation: floatX 6s ease-in-out infinite; }
.hero-card-2 { animation: floatY 7s ease-in-out infinite 0.2s; }
.hero-card-3 { animation: floatTilt 8s ease-in-out infinite 0.4s; }
.hero-card-4 { animation: floatX 7.5s ease-in-out infinite 0.1s; }
.hero-card-5 { animation: floatY 6.8s ease-in-out infinite 0.3s; }
.hero-card-6 { animation: floatTilt 7.8s ease-in-out infinite 0.5s; }
.hero-card-7 { animation: floatX 8.2s ease-in-out infinite 0.2s; }
.hero-card-8 { animation: floatY 7.2s ease-in-out infinite 0.4s; }
.hero-card-9 { animation: floatTilt 6.5s ease-in-out infinite 0.6s; }
.hero-card-10 { animation: floatX 7.8s ease-in-out infinite 0.3s; }
.hero-card-11 { animation: floatY 6.2s ease-in-out infinite 0.5s; }
.hero-card-12 { animation: floatTilt 8.5s ease-in-out infinite 0.7s; }

@keyframes floatX {
    0%, 100% { transform: translateX(0) translateZ(0); }
    50% { transform: translateX(10px) translateZ(0); }
}

@keyframes floatY {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-12px) translateZ(0); }
}

@keyframes floatTilt {
    0%, 100% { transform: rotate(-0.5deg); }
    50% { transform: rotate(1.2deg); }
}

@media (max-width: 1024px) {
    .hero-left-figure { display: none; }
    .hero-visuals { grid-template-columns: 1fr; }
    .hero-visuals {
        grid-template-columns: auto 1fr;
        max-width: min(980px, 94vw);
    }
    .hero-gallery {
        grid-template-columns: repeat(3, 1fr);
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Tighten horizontal padding and increase vertical rhythm on phones */
    .container { padding: 0 14px; }
    .btn { width: 100%; min-height: 44px; }
    .nav-brand h1 { font-size: 1.35rem; }
    .navbar { padding: 0.8rem 1rem; }
    .header { box-shadow: 0 3px 16px rgba(0,0,0,0.28); }
    .hero-visuals { grid-template-columns: 1fr; max-width: 95vw; }
    .hero-left-figure { width: clamp(160px, 45vw, 320px); margin: 0 auto 1rem; }
    .hero-gallery {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }
    .hero-card-7 { display: none; }
    .hero-card-8 { display: none; }
    .hero-card-9 { display: none; }
    .hero-card-10 { display: none; }
    .hero-card-11 { display: none; }
    .hero-card-12 { display: none; }
    .hero { padding: 2.5rem 1rem 2rem; }
    .hero-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero-subtitle { font-size: clamp(0.95rem, 2.8vw, 1.05rem); }
}

@media (max-width: 480px) {
    .hero-gallery {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .hero-left-figure { width: clamp(150px, 60vw, 300px); }
    .hero-card-5, .hero-card-6, .hero-card-7, .hero-card-8, .hero-card-9, .hero-card-10, .hero-card-11, .hero-card-12 { display: none; }
    .hero-content { margin-left: 0; }
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: #fbbf24;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

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

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-media {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.book-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: #e2e8f0;
    transform: translateX(10px);
}

.feature i {
    color: #6366f1;
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: #1e293b;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
.reviews {
    padding: 5rem 0;
    background: #f8fafc;
}

/* Reviews marquee (horizontal auto-scroll) */
.reviews-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    will-change: transform;
    animation: reviewsMarquee var(--reviews-speed, 40s) linear infinite;
}

.reviews-marquee:hover .reviews-grid {
    animation-play-state: paused;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 340px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

@keyframes reviewsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.review-header {
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.stars {
    color: #fbbf24;
}

.review-card p {
    color: #64748b;
    font-style: italic;
    line-height: 1.6;
}

.add-review {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.add-review h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-input {
    display: flex;
    gap: 0.5rem;
}

.stars-input i {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.stars-input i:hover,
.stars-input i.active {
    color: #fbbf24;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

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

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e2e8f0;
    transform: translateX(10px);
}

.contact-item i {
    color: #6366f1;
    font-size: 1.5rem;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #64748b;
}

.contact-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 20px;
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: #1e293b;
    text-align: center;
}

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

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
}

.whatsapp-toggle {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-size: 28px;
    position: relative;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    font-size: 10px;
    margin-top: 2px;
    font-weight: 500;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 85px;
    right: 0;
    background: #1e293b;
    color: white;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.whatsapp-tooltip p {
    margin: 0;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #1e293b;
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* WhatsApp Button Animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-toggle {
    animation: whatsappPulse 2s infinite;
}

.whatsapp-toggle:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    transform: translateZ(0); /* Force hardware acceleration */
}

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

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #333;
}

.booking-form {
    margin-top: 1rem;
}

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

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.booking-form input[readonly] {
    background-color: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fbbf24;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #334155;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 25px;
    outline: none;
}

.newsletter-form button {
    background: #fbbf24;
    color: #1e293b;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f59e0b;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #cbd5e1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0f172a; /* dark background for contrast */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
        animation: slideDownMenu 0.25s ease-out both;
    }

    .hero { flex-direction: column; text-align: center; padding: 1.5rem 0.75rem; }
    .hero-content { margin-left: 0; }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.2rem);
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-media { height: 160px; }
    .service-card { padding: 1.25rem; }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .whatsapp-widget {
        right: 15px;
        bottom: 15px;
    }
    
    .whatsapp-toggle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .whatsapp-text {
        font-size: 9px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar { padding: 0.7rem 0.75rem; }

    .nav-brand h1 { font-size: 1.2rem; }

    .hero-title { font-size: clamp(1.5rem, 8vw, 1.9rem); }

    .section-title { font-size: clamp(1.3rem, 7.5vw, 1.6rem); }

    .service-card { padding: 1rem; }

    .btn { padding: 0.75rem 1rem; font-size: 0.95rem; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.review-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Ensure mobile nav links are visible on dark background */
.nav-menu .nav-link {
    color: #e2e8f0;
}
.nav-menu .nav-link:hover {
    color: #22d3ee;
}

/* Mobile nav slide down animation */
@keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Authentication Styles */
#auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

#auth-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

.btn-phone {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white !important;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* User Menu Styles */
.user-dropdown {
    position: relative;
}

.user-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #1e293b;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.user-dropdown-menu a:hover {
    background-color: #f8fafc;
}

/* Authentication Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.auth-form .form-group {
    display: flex;
    flex-direction: column;
}

.auth-form label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.auth-form input {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.auth-switch {
    text-align: center;
    margin-top: 1rem;
}

.auth-switch a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Phone Authentication Styles */
.auth-step {
    transition: all 0.3s ease;
}

.phone-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.country-code {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    min-width: 120px;
    cursor: pointer;
}

.country-code:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.phone-input-container input {
    flex: 1;
}

.form-help {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

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

.otp-header h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.otp-header p {
    color: #64748b;
    margin-bottom: 1rem;
}

.resend-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.resend-btn:hover {
    background: #f8fafc;
}

.otp-input-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.otp-input-container input {
    width: 200px;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
}

.otp-input-container input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Auto-fill booking form styles */
.auto-filled-field {
    background-color: #f0f9ff !important;
    border-color: #0ea5e9 !important;
    position: relative;
}

.auto-filled-field::after {
    content: "✓ Auto-filled";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.booking-form .form-group {
    position: relative;
}

/* User Dashboard Styles */
.dashboard-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: #64748b;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tab-btn:hover {
    color: #6366f1;
}

.tab-content {
    padding: 1rem 0;
}

/* Profile Tab */
.profile-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.profile-details h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.profile-details p {
    color: #64748b;
    margin-bottom: 0.25rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.stat-card i {
    font-size: 2rem;
    color: #6366f1;
    margin-bottom: 1rem;
}

.stat-card h4 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Bookings Tab */
.bookings-list {
    max-height: 400px;
    overflow-y: auto;
}

.booking-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #6366f1;
}

.bookings-list table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.bookings-list th,
.bookings-list td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bookings-list th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bookings-list tbody tr:last-child td {
    border-bottom: none;
}

.bookings-list tbody tr:hover {
    background-color: #f0f4f8;
}

.booking-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 80px;
    text-align: center;
    text-transform: capitalize;
}

.booking-status.pending { background: #fef3c7; color: #92400e; }
.booking-status.approved { background: #dcfce7; color: #166534; }
.booking-status.rejected { background: #fee2e2; color: #991b1b; }
.booking-status.completed { background: #dbeafe; color: #1e40af; }
.booking-status.in-progress { background: #e0e7ff; color: #3730a3; }

.loading-cell {
    text-align: center;
    font-style: italic;
    color: #94a3b8;
}

/* Responsive Table */
@media (max-width: 768px) {
    .bookings-list table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .bookings-list thead {
        display: none;
    }
    
    .bookings-list tbody, 
    .bookings-list tr {
        display: block;
        width: 100%;
    }

    .bookings-list tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 1rem;
        background: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .bookings-list td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 8px 0;
    }
    
    .bookings-list td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        margin-right: 16px;
        flex: 1;
    }
    
    .bookings-list td:last-child {
        display: block;
        text-align: right;
        padding-top: 16px;
    }
    .bookings-list td:first-child::before { content: "Service"; }
    .bookings-list td:nth-child(2)::before { content: "Booking Date"; }
    .bookings-list td:nth-child(3)::before { content: "Time"; }
    .bookings-list td:nth-child(4)::before { content: "Status"; }
    .bookings-list td:nth-child(5)::before { content: "Booking ID"; }
    .bookings-list td:nth-child(6)::before { content: "Actions"; }
    .bookings-list td:nth-child(6) {
        text-align: center;
    }
    .bookings-list .btn {
        margin: 0 4px;
    }
}


/* Settings Tab */
.settings-form,
.password-form {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

/* Reset Password button visibility and contrast in settings */
.password-form .btn.btn-secondary {
    background: #111827; /* dark gray/near black */
    color: #ffffff;
    border: 2px solid #111827;
}

.password-form .btn.btn-secondary:hover {
    background: #6366f1; /* purple hover as intended */
    border-color: #6366f1;
    color: #ffffff;
}

.settings-form h3,
.password-form h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.password-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    #auth-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 100px;
    }
}
/* ... existing code ... */
