/* Global Variables */
:root {
    --primary-color: #B76E79;
    /* Rose Gold / Blush */
    --primary-dark: #8F4F59;
    --secondary-color: #0a0a0a;
    /* Darker black for luxury contrast */
    --accent-color: #D4AF37;
    /* Gold */
    --text-color: #333333;
    --text-light: #555555;
    --bg-light: #fefcfd;
    --bg-rose-light: #fff0f5;

    --glass-bg: rgba(255, 255, 255, 0.85);
    /* More opacity for readability */
    --glass-border: rgba(255, 255, 255, 0.6);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Cinzel', serif;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smoother bezier */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(183, 110, 121, 0.15);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

.loader-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(183, 110, 121, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gold {
    background: linear-gradient(45deg, #b88746, #fdf5a6, #b88746);
    /* Metallic Gold Gradient */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.bg-light {
    background-color: #fafafa;
}

.bg-rose {
    background: linear-gradient(180deg, #fff 0%, var(--bg-rose-light) 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 15px auto 40px;
    border-radius: 2px;
}

/* Decorative Circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--bg-rose-light), white);
    z-index: 0;
    filter: blur(40px);
    opacity: 0.6;
}

.circle-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
}

.circle-2 {
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
}

/* Buttons & Shimmer */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.6);
}

/* Shimmer Animation */
.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    transition: none;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-secondary {
    background-color: transparent;
    color: white;
    /* Default for Hero */
    border-color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
    text-shadow: none;
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-accent);
    color: white;
    /* Default white for Hero */
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    /* Prevent logo shrinking */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-mark {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    border: 2px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.navbar.scrolled .logo-mark {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(183, 110, 121, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scrolled State Tweaks */
.navbar.scrolled .logo {
    color: var(--secondary-color);
    text-shadow: none;
}

.navbar.scrolled .logo-text {
    color: var(--secondary-color);
}

.navbar.scrolled .logo-mark {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(183, 110, 121, 0.1);
}

.navbar.scrolled .logo-text span {
    color: var(--primary-color);
}

/* Center Menu */
.nav-menu {
    display: flex;
    gap: 20px;
    /* Reduced from 30px */
    margin: 0 auto;
    /* Centers the menu if flex parent allows */
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .nav-link {
    color: var(--secondary-color);
    text-shadow: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Nav Right (Call Button) */
.nav-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-call {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.btn-call i {
    color: var(--accent-color);
}

.btn-call:hover {
    background: white;
    color: var(--primary-color);
}

.navbar.scrolled .btn-call {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: transparent;
    backdrop-filter: none;
}

.navbar.scrolled .btn-call:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.navbar.scrolled .btn-call:hover i {
    color: white;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 6px auto;
    background-color: white;
    transition: var(--transition);
}

.navbar.scrolled .bar {
    background-color: var(--secondary-color);
}

/* Mobile Menu Style */
@media screen and (max-width: 1024px) {
    .nav-menu {
        display: none;
        /* Hide default menu on tablet/mobile, use toggle */
        gap: 0;
        margin: 0;
        justify-content: flex-start;
    }

    /* Re-enable for mobile drawer logic */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        /* properties handled below */
    }

    /* Hide Call button on smaller screens */
    .nav-right {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        /* Overriding flex:1 from desktop */
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 1000;
        display: flex;
        /* Always display but translate off screen */
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        color: var(--secondary-color);
        font-size: 1.5rem;
        margin: 15px 0;
    }

    .logo {
        color: var(--secondary-color);
        /* Ensure visible on white menu if open? Logic handled below */
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--secondary-color);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--secondary-color);
    }
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Zoom effect on active slide bg */
.slide.active {
    animation: zoomEffect 8s linear forwards;
}

@keyframes zoomEffect {
    0% {
        background-size: 100%;
    }

    /* This is tricky with cover, lets use transform scale */
}

/* Re-doing zoom with pseudo element to avoid layout shift */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.slide.active::before {
    transform: scale(1.1);
    /* Subtle Slow Zoom */
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
}

.hero-slider h1 {
    font-size: 4.5rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    /* text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); */
}

.hero-slider .tagline {
    font-size: 1.7rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-family: var(--font-accent);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Slider Animations */
.slide-up {
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease-out;
}

.slide.active .slide-up {
    transform: translateY(0);
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

/* Slider Controls */
.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 30px;
}

.next-slide {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.img-frame {
    position: relative;
    padding: 15px;
}

.about-img {
    /* width: 100%; */
    max-width: 800px;
    height: 600px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.frame-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    transform: translate(20px, 20px);
    z-index: 1;
    transition: var(--transition);
}

.about-image:hover .frame-border {
    transform: translate(10px, 10px);
}

.stats-container {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.stat-item {
    text-align: center;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid white;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--bg-rose-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-link i {
    margin-left: 5px;
    transition: 0.3s;
}

.service-link:hover i {
    margin-left: 10px;
}

/* Gallery Logic */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    /* Tighter gap for a 'full' look */
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Slightly sharper entries */
    cursor: pointer;
    background: #f0f0f0;
    aspect-ratio: 3/4;
    /* Standard portrait ratio */
    width: 100%;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Important for img tag */
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay .text {
    transform: translateY(20px);
    transition: transform 0.4s;
}

.gallery-item:hover .overlay .text {
    transform: translateY(0);
}

.gallery-item h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-item p {
    color: var(--primary-color);
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Testimonial Slider */
.testimonial-slider-container {
    position: relative;
    padding: 0 50px;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    /* Show 1 per slide usually, or 33% desktop */
    padding: 10px;
}

/* Desktop showing 2 cards side by side effectively needs JS width control usually, let's stick to 1 per view for clean coding in vanilla */

.testimonial-card {
    text-align: center;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary-color);
}

.testimonial-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.testimonial-controls button:hover {
    background: var(--primary-color);
    color: white;
}

#prev-testimonial {
    left: 0;
}

#next-testimonial {
    right: 0;
}


/* Quote Parallax */
.quote-parallax {
    background-image: url('https://images.unsplash.com/photo-1515688594390-b649af70d282?auto=format&fit=crop&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 150px 0;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.quote-parallax h2 {
    color: white;
    font-size: 2rem;
    font-style: italic;
    font-family: var(--font-heading);
    max-width: 800px;
    margin: 0 auto;
    /* Center the block */
    text-align: center;
    /* Center the text */
    position: relative;
    z-index: 2;
    line-height: 1.6;
}

/* Contact */
.contact-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-light);
    font-size: 1rem;
}

.info-item p a:hover {
    color: var(--primary-color);
}

/* Contact form styles - reusing previous but refined */
.form-header {
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

input,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
    background: white;
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

/* Map Styles */
.contact-map {
    margin-top: 30px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-map.glass-card {
    padding: 0px;
}

.map-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    width: 100%;
    height: 100%;
}

.map-frame i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-item i {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.contact-form-container {
    flex: 1.2;
}

/* Optimized Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid white;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    backdrop-filter: blur(10px);
    /* Keep visually, but be aware of cost */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
    /* Performance Hint */
}

/* ... existing service card hover ... */
.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

/* Quote Parallax - OPTIMIZED */
.quote-parallax {
    background-image: url('https://images.unsplash.com/photo-1515688594390-b649af70d282?auto=format&fit=crop&q=80');
    background-attachment: scroll;
    /* CHANGED from fixed to scroll for performance */
    background-position: center;
    background-size: cover;
    padding: 150px 0;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scroll Reveal - OPTIMIZED */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
    /* Performance Hint */
}

.scroll-reveal.active-anim {
    opacity: 1;
    transform: translateY(0);
}

/* ... rest of scroll reveal ... */
.scroll-reveal.left {
    transform: translateX(-50px);
}

.scroll-reveal.right {
    transform: translateX(50px);
}

.scroll-reveal.active-anim.left,
.scroll-reveal.active-anim.right {
    transform: translate(0);
}

/* Navigation Transition Optimization */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    /* Specific properties */
    will-change: background-color, padding;
}

/* General Transition Optimization */
a,
.btn,
.service-card,
.gallery-item {
    transition: all 0.3s ease;
    /* Can keep 'all' for simple elements, but ensure heavier ones are scoped */
}

/* Gallery Item Hover Optimization */
.gallery-img {
    transition: transform 0.6s ease;
    will-change: transform;
}

/* Staggered Delay Logic - handled in CSS commonly or JS, let's use JS to add delay style, or simple css child selectors */

/* Responsive */
/* Responsive Design */

/* Tablet & Smaller Laptops (Max Width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-slider h1 {
        font-size: 3.5rem;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-image,
    .about-text {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about-text {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .stats-container {
        justify-content: center;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .img-placeholder {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .frame-border {
        transform: translate(15px, 15px);
    }
}

/* Tablet (Max Width: 768px) */
@media screen and (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .about-img {
        height: auto;
        max-width: 100%;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-slider h1 {
        font-size: 2.8rem;
    }

    .hero-slider .tagline {
        font-size: 1.3rem;
    }

    .prev-slide,
    .next-slide,
    .slider-dots {
        display: none !important;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .quote-parallax h2 {
        font-size: 1.5rem;
        padding: 0 20px;
    }

    .testimonial-controls {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 20px;
        position: static;
        /* Reset absolute positioning context if any */
    }

    .testimonial-controls button {
        position: static;
        /* Remove absolute positioning */
        transform: none;
        /* Remove transform */
    }

    .testimonial-slider-container {
        padding: 0 10px;
    }

    .testimonial-card {
        padding: 40px 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Mobile Navigation */
    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-family: var(--font-accent);
        font-size: 1.8rem;
        font-weight: 600;
        margin: 15px 0;
        color: var(--secondary-color) !important;
        text-transform: uppercase;
        letter-spacing: 3px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered link entry */
    .nav-menu.active li:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) .nav-link {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) .nav-link {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) .nav-link {
        transition-delay: 0.4s;
    }

    .nav-menu.active li:nth-child(5) .nav-link {
        transition-delay: 0.5s;
    }

    .nav-menu.active li:nth-child(6) .nav-link {
        transition-delay: 0.6s;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--primary-color) !important;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 50px;
    }

    .navbar.open .logo-img {
        filter: invert(1) brightness(0);
        /* Black logo if needed on light bg */
    }

    .navbar.open .bar {
        background-color: var(--secondary-color);
    }
}

/* Mobile (Max Width: 576px) */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .hero-slider h1 {
        font-size: 2.2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .hero-content {
        text-align: center;
        /* Ensure hero text is centered */
    }

    .hero-slider .tagline {
        font-size: 1.1rem;
        /* Slightly smaller tagline for better fit */
        margin-bottom: 30px;
    }

    .service-card {
        text-align: center;
        /* Center text in service cards */
        padding: 40px 20px;
    }

    .icon-box {
        margin: 0 auto 20px;
        /* Center the icon */
    }

    .info-item {
        flex-direction: column;
        /* Stack icon and text */
        text-align: center;
        align-items: center;
        gap: 15px;
    }

    .info-item i {
        width: 60px;
        /* Slightly larger touch target/visual */
        height: 60px;
        font-size: 1.4rem;
        margin-bottom: 5px;
        /* Spacing between icon and text */
    }

    .contact-map {
        min-height: 250px;
        margin-top: 30px;
    }

    .footer-logo {
        font-size: 2rem;
    }

    /* Justify paragraphs for better readability on mobile */
    .about-text p,
    .service-card p,
    .review-text {
        text-align: justify;
    }

    .whatsapp-float,
    .scroll-top {
        right: 15px;
    }
}

/* Footer & WhatsApp Fixes */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
    margin-top: 50px;
}

/* Footer Logo adjustments */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-mark {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 10px;
    font-family: var(--font-accent);
}

.footer-logo span {
    color: var(--primary-color);
}

.footer p {
    opacity: 0.7;
}

.social-icons {
    margin: 25px 0;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 15px;
    opacity: 0.7;
    transition: var(--transition);
    display: inline-block;
}

.social-icons a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.copyright {
    color: #777;
    font-size: 0.9rem;
    margin: 0 !important;
}

.designer {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.designer a {
    color: var(--primary-color);
    font-weight: 600;
}

.designer a:hover {
    color: white;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .footer-bottom-container {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
}

/* Call Float */
.call-float {
    position: fixed;
    bottom: 130px;
    right: 15px;
    background-color: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.call-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
    color: white;
    /* Ensure icon stays white */
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 75px;
    right: 15px;
    background-color: #25d366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: white;
}

/* Scroll To Top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.4);
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(183, 110, 121, 0.6);
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    /* High z-index to sit on top of everything */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    /* Deep dark overlay */
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: 300;
    /* Thinner elegant X */
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    font-family: Arial, sans-serif;
    /* For clean X symbol */
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transform: rotate(90deg);
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Make sure gallery items are clickable */
.gallery-item {
    cursor: pointer;
}

/* --- Added Logo Styles --- */
.logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
    /* Invert for white logo on dark hero overlay initially + shadow for visibility */
    filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.navbar.scrolled .logo-img {
    filter: none;
    /* Show original colors when scrolled (white bg) */
    height: 60px;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    /* Invert for white logo on dark footer */
    filter: brightness(0) invert(1);
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
    .logo-img {
        height: 50px;
    }

    .footer-logo-img {
        height: 100px;
    }

    /* Ensure logo is visible on white mobile menu */
    .navbar.open .logo-img {
        filter: none;
    }
}