/* Styling for Django Messages */
.messages-container {
    width: 100%;
    max-width: 800px;
    /* Adjust as needed */
    margin: 20px auto;
    /* Center it and give some vertical margin */
    padding: 10px;
    box-sizing: border-box;
    /* Include padding in width calculation */
    z-index: 1000;
    /* Ensure it's above other content */
}

.messages-container .p-3 {
    display: block;
    /* Ensure it takes full width */
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Add some animation for appearance */
    animation: fadeInMessage 0.5s ease-out;
}

@keyframes fadeInMessage {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success/Error Message Styling */
.success-message {
    background-color: #F0FDF4;
    /* Green-50 */
    border: 1px solid #166534;
    /* Green-700 */
    color: #166534;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInMessage 0.5s ease-out;
}

.error-message {
    background-color: #FEF2F2;
    /* Red-50 */
    border: 1px solid #991B1B;
    /* Red-800 */
    color: #991B1B;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeInMessage 0.5s ease-out;
}



.shake-invalid {
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    border-color: #EF4444 !important;
    /* Red-500 */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Pulse Animation for CTA Button */
@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(184, 134, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(184, 134, 11, 0);
    }
}

.btn-pulse {
    animation: pulse-gold 2s infinite;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#home {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Ken Burns Effect */
.ken-burns {
    animation: kenBurns 20s ease-out infinite alternate;
    transform-origin: center center;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Ensure Swiper slides are full height ONLY for Hero */
.swiper-container-hero .swiper-slide {
    height: 100vh !important;
}

/* CRITICAL FIX: Ensure particle canvas doesn't block touch gestures on banner */
#hero-particles canvas {
    pointer-events: none !important;
}

@media (max-width: 768px) {

    #home,
    .swiper-container-hero .swiper-slide {
        height: auto !important;
    }
}

.swiper-container-hero .swiper-pagination-bullet-active {
    background: var(--accent-gold) !important;
}

/* Custom Swiper Pagination */
.swiper-pagination {
    bottom: 30px !important;
    /* Adjusted position */
}

/* Custom Swiper Pagination - Expanding Gold Bars */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    /* Gray-300 */
    border: none;
    opacity: 1;
    border-radius: 0 !important;
    /* Sharp Squares */
    transition: all 0.3s ease;
    margin: 0 10px !important;
}

.swiper-pagination-bullet-active {
    width: 44px !important;
    /* EXPAND */
    background-color: var(--primary-gold) !important;
}



/* Elegant Scroll Down Indicator V2 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    width: auto;
    height: auto;
    display: block;
}

/* GLOBAL RESET FOR SHARP CORNERS */
*:not(.rounded-full):not(.fa-circle):not(.fab):not(.fas):not(.far) {
    border-radius: 0 !important;
}

html {
    scroll-behavior: smooth;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.05);
    background: transparent;
}

.scroll-indicator a {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    position: relative;
    box-shadow: 0 0 15px rgba(158, 118, 73, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.scroll-indicator i {
    color: var(--primary-gold);
    font-size: 14px;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    animation: scroll-anim 2.5s infinite;
    text-shadow: none;
}

@keyframes scroll-anim {
    0% {
        transform: translate(-50%, 0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    80% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Packages Section
--------------------------------------------------------------*/
.package-card {
    border: 1px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: white;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-gold);
}

.package-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.tab-btn {
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    transition: all 0.3s;
    text-align: center;
    position: relative;
}

.tab-btn.active {
    background-color: var(--primary-gold);
    color: white;
}

/* Package Detail Styling */
/* Enhanced Package Detail Styling */
.package-details {
    padding-right: 0.5rem;
}

.package-details h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    /* Decreased Font Size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1f2937;
    /* Black/Dark Gray-800 */
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.package-details h4:first-of-type {
    margin-top: 0;
}

/* Icon for header: Check mark */
.package-details h4::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
    color: var(--primary-gold);
    display: inline-block;
}

/* Increased specificity for Package Details */
.package-details ul {
    list-style-type: none !important;
    padding-left: 0;
    margin: 0;
}

body .package-details li {
    position: relative;
    padding-left: 1.5rem !important;
    /* Force space for bullet */
    margin-bottom: 0.4rem;
    color: #4b5563;
    font-size: 0.85rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

body .package-details li:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

body .package-details li::before {
    content: '»' !important;
    /* Force bullet character */
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-gold);
    line-height: 1;
    display: inline-block !important;
    /* Ensure visibility */
    visibility: visible !important;
}

/* Custom Scrollbar for the details block */
.package-details::-webkit-scrollbar {
    width: 3px;
}

.package-details::-webkit-scrollbar-track {
    background: transparent;
}

.package-details::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.package-details::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.star-rating .filled {
    color: var(--accent-gold);
}

/*--------------------------------------------------------------
# Work/Gallery Section
--------------------------------------------------------------*/
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-card:hover .masterpiece-image {
    transform: scale(1.1);
}

.masterpiece-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.carousel-nav-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .carousel-nav-container {
        padding: 0 60px;
    }
}

.custom-swiper-btn {
    background-color: white;
    color: var(--primary-gold);
    width: 44px;
    /* Mobile size */
    height: 44px;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

@media(min-width: 768px) {
    .custom-swiper-btn {
        width: 50px;
        height: 50px;
    }
}

.custom-swiper-btn:hover {
    background-color: var(--primary-gold);
    color: white;
    box-shadow: 0 8px 20px rgba(158, 118, 73, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.custom-prev {
    left: 0;
}

.custom-next {
    right: 0;
}

@media (max-width: 768px) {
    .custom-prev {
        left: -5px;
    }

    .custom-next {
        right: -5px;
    }
}

/* Mobile Specific Overrides for Home */

@media (max-width: 640px) {

    .hero-content-box {

        padding: 1.5rem;

        width: 95%;

        margin: 0 auto;

        background-color: rgba(255, 255, 255, 0.95);

    }

    .hero-content-box h1 {

        font-size: 2rem;

        line-height: 1.2;

    }

    .hero-content-box p {

        font-size: 1rem;

        margin-top: 0.5rem;

    }

    /* Show gallery overlay always on mobile for readability */

    .gallery-overlay {

        transform: translateY(0);

        padding: 1rem;

        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0) 100%);

    }

}



/*--------------------------------------------------------------

# Page-specific Components

--------------------------------------------------------------*/



/* Premium Badge for Packages */

.premium-badge {

    background: linear-gradient(135deg, var(--primary-gold), #B8860B);

    color: white;

    padding: 0.25rem 1rem;

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.1em;

    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

}



/* Service Radio Buttons for Contact Form */

.service-card-input {
    display: none;
}

.service-card-label {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 1.5rem;

    border: 2px solid #e5e7eb;

    border-radius: 0.5rem;

    cursor: pointer;

    transition: all 0.3s ease;

    background: white;

    color: var(--primary-dark);

    height: 100%;

    touch-action: manipulation;

}

.service-card-input:checked+.service-card-label {

    border-color: var(--primary-gold);

    background-color: #FFF8F0;

    transform: translateY(-4px);

    box-shadow: 0 10px 15px -3px rgba(158, 118, 73, 0.2);

}

.service-card-input:checked+.service-card-label i {

    color: var(--primary-gold);

}

.service-card-label:hover {

    border-color: var(--accent-gold);

}



/* --- PREMIUM PACKAGE UPGRADES --- */

/* 1. Card Lift & Glass Effect */
.package-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy feel */
    background: #ffffff;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
    /* For shine effects */
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    /* Deep soft shadow */
    border-color: rgba(212, 175, 55, 0.3);
    /* Subtle gold hint */
}

/* 2. Elite/Premium Gold Glow */
/* Trigger this via Django template logic for 'ELITE' or 'Premium' */
.package-card-highlight {
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px -5px rgba(212, 175, 55, 0.15);
}

.package-card-highlight:hover {
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.25);
    border-color: var(--primary-gold);
}

/* 3. Badge Animation */
@keyframes badge-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
}

/* --- SPOTLIGHT / PODIUM LAYOUT (Option 1) --- */

/* 1. Base Card: Soft & Modern */
.package-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 0 !important;
    /* Sharp corners */
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    z-index: 1;
    /* Standard Layer */
}

/* 2. Spotlight Highlight (The Podium) */
.package-card-highlight {
    background: #ffffff;
    border: 2px solid var(--primary-gold);
    /* Gold Frame */
    box-shadow: 0 25px 50px -12px rgba(212, 175, 55, 0.25);
    /* Deep Gold Tint Shadow */
    z-index: 10;
    /* Bring to Front */
    position: relative;
}

/* Desktop: Scale it up to create the "Podium" effect */
@media (min-width: 1024px) {
    .package-card-highlight {
        transform: scale(1.1);
        /* 10% Larger */
        margin-top: -1rem;
        /* Visual lift */
    }

    /* Ensure siblings don't cover the scale */
    .package-card:not(.package-card-highlight) {
        transform: scale(0.95);
        /* Slightly smaller neighbors for contrast */
        opacity: 0.9;
    }

    .package-card:not(.package-card-highlight):hover {
        opacity: 1;
        transform: scale(0.98);
        border-color: var(--primary-dark);
    }
}

/* 3. Typography & Dividers (Cleaned up from Blueprint) */
.package-card h3 {
    font-family: var(--font-heading);
    /* Back to standard heading font */
    text-transform: none;
    letter-spacing: normal;
    font-weight: 700;
}

.package-list li {
    border-bottom: 1px solid #f3f4f6;
    /* Soft separator */
    padding-bottom: 0.75rem;
    padding-left: 2rem !important;
    /* Space for icon */
    display: block;
    /* Standard block */
}

/* Gold Checkmark Icon */
.package-list li::before {
    content: '\f058' !important;
    /* Restore FontAwesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.package-list li::after {
    content: none;
    /* Remove text checkmark */
}

/* 4. Buttons: Pill Shape */
.btn-tile-select {
    border: 1px solid var(--primary-gold);
    border-radius: 9999px !important;
    /* Pill shape */
    color: var(--primary-gold);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: transparent;
    transition: all 0.3s;
}

.btn-tile-select:hover {
    background: var(--primary-gold);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.package-card-highlight .btn-tile-select {
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    color: white;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.package-card-highlight .btn-tile-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* Badge: Floating */
.premium-badge {
    border-radius: 0 0 0 15px !important;
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* --- CONTINUOUS TIMELINE STRIP (Animated Flow) --- */

@keyframes float-icon-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes ripples {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes flowLineHorizontal {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@keyframes flowLineVertical {
    0% {
        background-position: 0 100%;
    }

    100% {
        background-position: 0 -100%;
    }
}

.process-timeline-strip {
    display: flex;
    flex-direction: column;
    /* Default: Vertical list on mobile */
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

/* Base style for the animated line (The Pulse) */
.process-timeline-strip::before {
    content: '';
    position: absolute;
    z-index: 1;
    /* Above the pathway */
    background: linear-gradient(90deg,
            transparent 0%,
            transparent 30%,
            var(--primary-gold) 40%,
            #fff 50%,
            var(--primary-gold) 60%,
            transparent 70%,
            transparent 100%);
    background-size: 300% 100%;
    animation: flowLineHorizontal 5s ease-in-out infinite;
    opacity: 1;
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.25), 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Static Pathway Line */
.process-timeline-strip::after {
    content: '';
    position: absolute;
    z-index: 0;
    background: #f3f4f6;
    /* Faint background track */
    opacity: 0.6;
}

@media (min-width: 1024px) {
    .process-timeline-strip {
        flex-direction: row;
        /* Desktop: One Horizontal Line */
        align-items: flex-start;
        justify-content: space-between;
        gap: 0;
    }

    /* Desktop Line: Horizontal */
    .process-timeline-strip::before,
    .process-timeline-strip::after {
        top: 4rem;
        left: 0;
        width: 100%;
        height: 2px;
        /* Refined thickness */
    }
}

.timeline-strip-item {
    flex: 1;
    position: relative;
    padding: 0 1rem;
    text-align: center;
    background: transparent;
}

/* Icon Bubble (The Nodes) */
.strip-icon-node {
    width: 4rem;
    height: 4rem;
    background: white;
    border: 1px solid var(--primary-gold);
    /* Thinner, elegant border */
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05), 0 0 15px rgba(184, 134, 11, 0.1);
    /* Sophisticated soft glow */
    position: relative;
    z-index: 2;
    /* Sit on top of line */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.strip-icon-node i {
    /* Continuous Animation */
    animation: float-icon-y 3s ease-in-out infinite;
}

/* Stagger the animation */
.timeline-strip-item:nth-child(2n) .strip-icon-node i {
    animation-delay: 1.5s;
}

.timeline-strip-item:hover .strip-icon-node {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    /* Ripple Effect */
    animation: ripples 1.5s infinite;
    transform: scale(1.1);
}

/* Content */
.strip-content {
    opacity: 0.7;
    transition: all 0.4s;
    padding: 0 0.5rem;
}

.timeline-strip-item:hover .strip-content {
    opacity: 1;
    transform: translateY(-5px);
}

.strip-step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.strip-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.strip-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #6b7280;
}

/* Mobile Connector Line (Vertical) */
@media (max-width: 1023px) {
    .process-timeline-strip {
        margin-left: 2.5rem;
        /* Increased to fit larger icon */
        padding-left: 2rem;
        /* Line will be placed at left:0 of this container */
        padding-top: 0;
        gap: 3rem;
        border-left: none;
        /* Removed static border */
    }

    /* Mobile Line: Vertical */
    .process-timeline-strip::before,
    .process-timeline-strip::after {
        top: 0;
        bottom: 0;
        left: 0;
        width: 2px;
        /* Refined */
        height: auto;
    }

    .process-timeline-strip::before {
        background: linear-gradient(180deg,
                transparent 0%,
                transparent 30%,
                var(--primary-gold) 40%,
                #fff 50%,
                var(--primary-gold) 60%,
                transparent 70%,
                transparent 100%);
        background-size: 100% 300%;
        animation: flowLineVertical 5s ease-in-out infinite;
        box-shadow: 0 0 15px rgba(184, 134, 11, 0.2), 0 0 30px rgba(255, 255, 255, 0.1);
    }

    .timeline-strip-item {
        text-align: left;
        padding: 0;
    }

    .strip-icon-node {
        position: absolute;
        /* Center on the 2px line at left:0 */
        /* Node Width: 4rem. Half: 2rem. */
        /* Padding-left is 2rem. So content starts at +2rem. */
        /* To center on line (0), left must be -2rem REALTIVE TO CONTENT or -4rem relative to content start? */
        /* Previous working value was left: -4rem with left-margin on container. */
        /* Let's stick to -4rem as per previous step which was correct for alignment */
        left: -4rem;
        top: 0;
        margin: 0;
    }
}

/* --- ARCHITECTURAL QUOTE TESTIMONIALS (Option 1) --- */
/* --- ARCHITECTURAL QUOTE TESTIMONIALS (Option 1) --- */
.testimonial-card-editorial {
    background: #ffffff;
    border-left: 4px solid var(--primary-gold);
    padding: 1.5rem 1rem;
    /* AGGRESSIVE REDUCTION */
    position: relative;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    height: 100%;
    width: 100%;
    /* Ensure full width */
    /* Force full height filling */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Sharp edges per global rule */
}

/* Hover Effect */
.testimonial-card-editorial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(212, 175, 55, 0.15);
}

/* Massive Decorative Quote Mark */
.testimonial-card-editorial::before {
    content: '\201C';
    position: absolute;
    top: -0.25rem;
    left: 0.5rem;
    font-family: 'Times New Roman', serif;
    font-size: 4rem;
    /* Tiny Quote Mark */
    color: #f3f4f6;
    line-height: 1;
    z-index: 0;
}

/* Content Typography */
.testimonial-text {
    position: relative;
    z-index: 10;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1rem;
    /* Standard text size */
    color: #374151;
    line-height: 1.4;
    margin-bottom: 1rem;
    /* Minimal spacing */
}

/* Client Signature Block */
.client-meta {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #f3f4f6;
    padding-top: 1.5rem;
}

/* Custom Navigation Buttons */
.carousel-nav-container {
    padding: 0;
    /* REMOVED padding to match 1248px width */
    position: relative;
    /* Fixed missing semicolon */
}

/* --- PARTNER STRIP (Ticker Tape) --- */
.swiper-container-partners .swiper-wrapper {
    transition-timing-function: linear !important;
    /* Critical for continuous scroll */
}

.partner-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    /* Fixed height strip */
}

.partner-logo-img {
    max-height: 75px;
    /* Increased by 25% (was 60px) */
    max-width: 140px;
    /* Constrained width */
    width: auto;
    object-fit: contain;
    /* Removed grayscale/opacity filter per user request */
    transition: all 0.4s ease;
}

.partner-logo-img:hover {
    transform: scale(1.1);
    /* Only zoom on hover */
}

.custom-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0 !important;
    /* Square buttons */
    display: flex;
    /* Flex to center icon */
    align-items: center;
    justify-content: center;
    z-index: 20;
    cursor: pointer;
    color: var(--primary-gold);
    transition: all 0.3s;
}

.custom-swiper-btn:hover {
    background: var(--primary-gold);
    color: white;
}

.custom-prev {
    left: -1rem;
    /* Pull out slightly */
}

.custom-next {
    right: -1rem;
}

@media (min-width: 768px) {
    .custom-prev {
        left: -2rem;
    }

    .custom-next {
        right: -2rem;
    }
}

/* Initial Circle (Avatar Placeholder) */
.client-initial {
    width: 3rem;
    height: 3rem;
    background: var(--primary-dark);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    /* Sharp edges per global rule */
}

.client-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.client-rating {
    font-size: 0.75rem;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.premium-badge {
    animation: badge-pulse 3s infinite ease-in-out;
    background: linear-gradient(135deg, var(--primary-gold), #B8860B);
    color: white;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 0 0 10px;
    /* Modern single corner round */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 4. List Items with Gold Checkmarks */
.package-list {
    list-style: none;
    /* Ensure no bullets */
    padding-left: 0;
}

.package-list li {
    position: relative;
    padding-left: 1.75rem;
    /* Space for icon */
    margin-bottom: 0.75rem;
    color: #4b5563;
    /* Gray-600 */
}

.package-list li::before {
    content: '\f058';
    /* FontAwesome Check Circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-gold);
    font-size: 1rem;
    opacity: 0.9;
}

/* 5. Gradient Button Hover */
.btn-tile-select {
    transition: all 0.3s ease;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    font-weight: 600;
    background: transparent;
}

.btn-tile-select:hover {
    background: linear-gradient(135deg, var(--primary-gold), #8a6a3b);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.estimator-box {
    background: transparent;
    border: 1px solid #e5e7eb;
    box-shadow: none;
}

.estimator-input {

    transition: all 0.3s ease;

    border: 2px solid #e5e7eb;

}

.estimator-input:focus {

    border-color: var(--primary-gold);

    box-shadow: 0 0 0 3px rgba(158, 118, 73, 0.1);

}



/* Project Badges for Gallery */

.project-badge {

    position: absolute;

    top: 1rem;

    left: 1rem;

    padding: 0.25rem 0.75rem;

    border-radius: 99px;

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

    z-index: 10;

}

.badge-completed {
    background-color: #10B981;
    color: white;
}

.badge-ongoing {
    background-color: #F59E0B;
    color: white;
}



/* Toggle Button for Package Details */

.btn-toggle-details {

    color: var(--primary-gold);

    background: transparent;

    font-weight: 600;

    font-size: 0.9rem;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    transition: all 0.3s ease;

    padding: 0.5rem 1rem;

    margin: 0 auto;

    border-radius: 9999px;

    min-height: 44px;

}

.btn-toggle-details:hover {

    color: var(--primary-dark);

    background-color: #f9f9f9;

}

.btn-toggle-details i {

    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);

}

.btn-toggle-details.open i {

    transform: rotate(180deg);

}

.btn-tile-select {
    background-color: transparent;
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    font-weight: bold;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.btn-tile-select:hover {
    background-color: var(--primary-gold);
    color: white;
}

/* Validation Styles */
.input-error {
    border-color: #ef4444 !important;
    /* Red-500 */
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2) !important;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

/* Toast Notification Styles */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    max-width: 90vw;
    width: auto;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left-color: #22c55e;
}

/* Green-500 */
.toast-notification.error {
    border-left-color: #ef4444;
}

/* Red-500 */

.toast-icon {
    font-size: 1.25rem;
}

.toast-notification.success .toast-icon {
    color: #22c55e;
}

.toast-notification.error .toast-icon {
    color: #ef4444;
}

.toast-message {
    color: #1f2937;
    /* Gray-800 */
    font-weight: 600;
    font-size: 0.95rem;
}

.toast-close {
    color: #9ca3af;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
    margin-left: auto;
}

.toast-close:hover {
    color: #4b5563;
}

/* --- EXPANDING HORIZONS: GOLDEN MAP --- */
.golden-map-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

/* Technical Grid Background */
.golden-map-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(158, 118, 73, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(158, 118, 73, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Technical Grid Scale */
}

/* Dark Mode Grid Variant for Exclusive Offers */
.golden-map-grid-dark {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    /* Sit above gradient but below content */
}

/* Crosshair Overlay */
.golden-map-crosshair {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.crosshair-tl {
    top: 20px;
    left: 20px;
    border-top: 2px solid var(--primary-gold);
    border-left: 2px solid var(--primary-gold);
}

.crosshair-tr {
    top: 20px;
    right: 20px;
    border-top: 2px solid var(--primary-gold);
    border-right: 2px solid var(--primary-gold);
}

.crosshair-bl {
    bottom: 20px;
    left: 20px;
    border-bottom: 2px solid var(--primary-gold);
    border-left: 2px solid var(--primary-gold);
}

.crosshair-br {
    bottom: 20px;
    right: 20px;
    border-bottom: 2px solid var(--primary-gold);
    border-right: 2px solid var(--primary-gold);
}

/* Map Point Item */
.map-point-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1.5rem;
    z-index: 10;
    transition: all 0.4s ease;
}

/* The "Target" Marker */
.map-marker {
    width: 120px;
    /* Optimized for compact section (was 160px) */
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 3rem;
    border: 1px solid rgba(158, 118, 73, 0.3);
    position: relative;
    background: white;
    transition: all 0.4s ease;
}

/* Crosshair lines on marker */
.map-marker::before,
.map-marker::after {
    content: '';
    position: absolute;
    background: var(--primary-gold);
    transition: all 0.4s ease;
}

.map-marker::before {
    width: 120%;
    height: 1px;
    left: -10%;
    top: 50%;
    opacity: 0;
}

.map-marker::after {
    width: 1px;
    height: 120%;
    left: 50%;
    top: -10%;
    opacity: 0;
}

.map-point-card:hover .map-marker {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.map-point-card:hover .map-marker::before,
.map-point-card:hover .map-marker::after {
    opacity: 1;
    /* Activate Crosshairs on hover */
}

.map-text h3 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    margin-top: 1rem;
    transition: color 0.3s;
}

.map-status-badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 2px 8px;
    border: 1px solid #e5e7eb;
    margin-top: 0.5rem;
    color: #9ca3af;
}

.map-point-card:hover .map-status-badge {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* --- CONTACT SECTION: ARCHITECT'S DESK --- */
.editorial-form-section {
    position: relative;
    background: white;
    overflow: hidden;
}

.editorial-input-group {
    position: relative;
    margin-bottom: 2rem;
}

.editorial-input {
    width: 100%;
    padding: 1rem 0;
    border: none !important;
    border-bottom: 1px solid #e5e7eb !important;
    outline: none !important;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #1f2937;
    transition: all 0.3s ease;
    border-radius: 0;
}

.editorial-input:focus {
    border-bottom-color: var(--primary-gold) !important;
    box-shadow: none !important;
}

.editorial-label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Float label when focused or has value (handled via JS or peer-placeholder-shown) */
.editorial-input:focus~.editorial-label,
.editorial-input:not(:placeholder-shown)~.editorial-label {
    top: -0.5rem;
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.editorial-textarea {
    resize: none;
    min-height: 100px;
}

.editorial-submit-btn {
    background: #111;
    color: white;
    padding: 1.25rem 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border: 1px solid #111;
    transition: all 0.4s ease;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editorial-submit-btn:hover {
    background: white;
    color: #111;
}

/* =========================================
   MOBILE HERO FIX (Anti-Zoom / Full Image)
   ========================================= */

/* 3. Alternative for background-image div (.hero class) */
.hero-parallax-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    /* Desktop: Fill area (crops if needed) */
    background-position: center;
    background-repeat: no-repeat;
}

/* 5. Breakpoints for tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-parallax-bg {
        background-position: center;
    }
}

/* 2. Media query @media (max-width: 768px) */
@media (max-width: 768px) {

    /* Override to allow full image visibility without zooming/cropping */
    .hero-parallax-bg {
        background-size: contain !important;
        /* 6. Fixes zoom by scaling image to fit within container */
        background-position: center center !important;
        /* Ensure the container matches the new height logic */
        height: 100%;
        width: 100%;
    }

    /* Adjust container height to avoid excessive whitespace if image is short */
    #home,
    .swiper-container-hero,
    .swiper-container-hero .swiper-slide {
        height: auto !important;
        /* Allow collapse to image height */
        min-height: auto;
        /* Remove strict min-height */
    }
}

/* =========================================
   HERO TITLE ANIMATIONS (User Request)
   ========================================= */

/* 1. Blueprint Fill (Construction Style) */
.animate-blueprint {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8) !important;
    color: transparent !important;
    background: linear-gradient(var(--primary-gold), var(--primary-gold));
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 0% 100%;
    animation: fillText 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards 0.5s;
}

@keyframes fillText {
    to {
        background-size: 100% 100%;
        color: var(--primary-gold) !important;
        -webkit-text-stroke: 0px transparent !important;
    }
}

/* 2. Golden Shimmer (Luxury Style) */
.animate-shimmer {
    background: linear-gradient(110deg, #9E7649 35%, #FFF 50%, #9E7649 65%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: shimmerText 4s infinite linear;
}

@keyframes shimmerText {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* 3. Architectural Rise (Building Style) */
.animate-rise {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    animation: architecturalRise 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes architecturalRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Glass Focus (Modern) */
.animate-focus {
    filter: blur(12px);
    opacity: 0;
    letter-spacing: 0.5em;
    animation: focusIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes focusIn {
    to {
        filter: blur(0);
        opacity: 1;
        letter-spacing: normal;
    }
}

/* --- OFFERS REDESIGN VARIATIONS --- */

/* OPTION 1: Holographic Foil */
.perspective-1000 {
    perspective: 1000px;
}

.holo-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.holo-card:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

@keyframes foil-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-foil-move {
    animation: foil-move 3s ease infinite;
}

/* OPTION 2: Editorial Asymmetry - Magnetic Text */
.magnetic-text {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    opacity: 0.1 !important;
}

.group-btn:hover .group-btn-hover\:translate-x-2 {
    transform: translateX(0.5rem);
}

/* OPTION 5: Interactive 3D Prism */
.perspective-2000 {
    perspective: 2000px;
}

.transform-style-3d {
    transform-style: preserve-3d;
}

.translate-z-20 {
    transform: translateZ(20px);
}

.prism-card:hover {
    transform: rotateX(10deg) rotateY(-5deg) scale(1.05);
    /* Simulated tilt */
}

/* Glass Effect Utilities */
.mix-blend-overlay {
    mix-blend-mode: overlay;
}

.translate-z-10 {
    transform: translateZ(10px);
}

.translate-z-30 {
    transform: translateZ(30px);
}