html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: transparent !important;
}

a,
.btn-link {
    color: #5c4193;
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.btn-primary {
    color: #fff;
    background-color: #b76e79;
    border-color: #a05a65;
    text-decoration: none !important;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #5c4193;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdfbf7;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #b76e79, #5c4193);
    border-radius: 10px;
    border: 2px solid #fdfbf7;
}

::-webkit-scrollbar-thumb:hover {
    background: #a05a65;
}

/* Scroll Progress */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #b76e79, #5c4193, #b76e79);
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* =================================================================
       WEBSITE FRONTEND STYLES (Adopting Admin Dashboard Aesthetics)
       ================================================================= */

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

:root {
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f9f295 50%, #d4af37 100%);
    --luxury-shadow: 0 30px 60px rgba(92, 65, 147, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
}

.website-wrapper {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.main-body {
    padding-top: 80px; /* Navbar height compensation */
}

/* Typography Utilities */
.text-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.web-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    overflow: visible !important;
}

.glass-nav {
    background: rgba(92, 65, 147, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible !important;
}

.nav-logo img {
    height: 45px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    /* Deep Blue */
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link-login {
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: color var(--transition);
}

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

.btn-join-luxury {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0;
}

/* Profile Dropdown Luxury */
.profile-dropdown-wrap {
    position: relative;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1) !important;
    color: white;
    transition: all 0.3s ease;
}

.nav-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--primary-light);
}

.guest-btn {
    text-decoration: none !important;
}

.nav-actions-guest {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar {
    width: 32px;
    height: 32px;
    background: var(--gold-gradient);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.chevron {
    font-size: 0.7rem;
    opacity: 0.7;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 260px;
    background: #ffffff !important;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    border: 1px solid rgba(183, 110, 121, 0.2);
    visibility: hidden; /* Professional way to handle hidden state for transitions */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.profile-dropdown.is-active {
    visibility: visible !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.dropdown-header {
    padding: 10px 15px;
}

.dropdown-welcome {
    font-size: 0.75rem;
    color: var(--text3);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.dropdown-user {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 4px 0 0;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 12px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--text2) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--primary-glow);
    color: var(--primary) !important;
    transform: translateX(5px);
}

.dropdown-item .icon {
    font-size: 1.1rem;
}

.logout-btn {
    color: #ef4444 !important;
}

.logout-btn:hover {
    background: rgba(239, 68, 68, 0.05);
    color: #ef4444 !important;
}

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

.btn-join {
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Sections General */
.web-section {
    padding: 100px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.bg-alt {
    background: rgba(253, 251, 247, 0.2);
    max-width: 100%;
    padding-left: max(24px, calc((100vw - 1280px) / 2));
    padding-right: max(24px, calc((100vw - 1280px) / 2));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header-center h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.section-header-center p {
    color: var(--text2);
    font-size: 1.1rem;
    line-height: 1.6;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* =================================================================
       GLOBAL LUXURY HERO SYSTEM
       ================================================================= */

.luxury-hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: -160px; /* Compensate navbar(80px) + main-body padding(80px) */
    padding-top: 160px; /* Push content down so it's not under navbar */
    clip-path: ellipse(150% 100% at 50% 0%);
    overflow: hidden;
    z-index: 1;
}

.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(253, 251, 247, 0.65), rgba(253, 251, 247, 0.65)), url('images/luxury_wedding_hero_bg.png') center/cover no-repeat;
    background-attachment: fixed;
    clip-path: ellipse(150% 100% at 50% 0%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -160px;
    padding-top: 160px;
    overflow: hidden;
    z-index: 1;
}

.luxury-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(253, 251, 247, 0.8), rgba(253, 251, 247, 0.4));
    z-index: 1;
}

.luxury-hero-content {
    position: relative;
    z-index: 2;
    color: #5c4193;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

.luxury-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #5c4193;
}

.luxury-hero-content p {
    font-size: 1.15rem;
    opacity: 0.92;
    max-width: 620px;
    margin: 0 auto;
    color: #64748b;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -1px;
    animation: fadeUp 1s ease-out;
}

.hero-content h1 span.text-gold {
    display: block;
    font-size: 0.9em;
    letter-spacing: 2px;
    margin-top: 10px;
}

.global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #fdfbf7;
}

/* Ensure content stays above global background */
.web-nav {
    z-index: 1000; /* Higher than main content */
}

.main-body, .web-footer {
    position: relative;
    z-index: 10;
}

.global-decor {
    position: absolute;
    inset: 0;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(183, 110, 121, 0.3));
    z-index: 1;
    opacity: 0.6;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: #5c4193;
    top: -100px;
    left: -100px;
    animation: orbFloat 20s infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #b76e79;
    bottom: -100px;
    right: -100px;
    animation: orbFloat 25s infinite alternate-reverse;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #5c4193;
    top: 50%;
    right: -100px;
    opacity: 0.1;
    animation: orbFloat 30s infinite alternate;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}

.hero-heart-bg {
    position: absolute;
    top: 50%;
    /* Centered within the decor layer */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 650px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="none" stroke="%235c4193" stroke-width="2" opacity="0.1" d="M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"/></svg>') center/contain no-repeat;
    z-index: 0;
}

.floating-item {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: floatAround 10s infinite ease-in-out;
}

.heart-1 { top: 15%; left: 10%; color: #5c4193; animation-delay: 0s; }
.heart-2 { top: 60%; left: 85%; color: #b76e79; animation-delay: 2s; }
.heart-3 { top: 80%; left: 15%; color: #5c4193; animation-delay: 4s; }
.heart-4 { top: 30%; left: 75%; color: #b76e79; animation-delay: 1.5s; }
.heart-5 { top: 45%; left: 5%; color: #5c4193; animation-delay: 3.5s; }

.petal-1 { top: 25%; left: 80%; animation-delay: 1s; }
.petal-2 { top: 70%; left: 5%; animation-delay: 3s; }
.petal-3 { top: 40%; left: 90%; animation-delay: 5s; }
.petal-4 { top: 10%; left: 40%; animation-delay: 2.5s; }
.petal-5 { top: 85%; left: 60%; animation-delay: 4.5s; }

@keyframes floatAround {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(20px, -30px) rotate(15deg);
    }

    66% {
        transform: translate(-15px, 20px) rotate(-10deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: white;
    border: 1px solid #fecdd3;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #5c4193;
    margin-bottom: 32px;
    box-shadow: 0 4px 15px rgba(92, 65, 147, 0.1);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #5c4193;
    border-radius: 50%;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    /* Reduced from 4.8rem */
    font-weight: 800;
    line-height: 1.2;
    color: #5c4193;
    margin-bottom: 20px;
}

.text-purple {
    color: #63269a;
    /* Deeper, richer purple to match logo */
}

.text-blue {
    color: #b76e79;
    /* Deeper royal blue to match logo */
}

.hero-content p {
    font-size: 1.15rem;
    /* Reduced from 1.3rem */
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 32px;
    /* Reduced from 48px */
    line-height: 1.6;
}

/* Search Box v2 */
.search-box-v2 {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(92, 65, 147, 0.12);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 15px;
    gap: 12px;
}

.search-icon {
    font-size: 1.3rem;
    color: #5c4193;
}

.search-divider {
    width: 1px;
    height: 35px;
    background: rgba(92, 65, 147, 0.2);
    margin: 0 5px;
}

.search-input-group input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 500;
    outline: none;
}

.search-input-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-btn-v2 {
    background: #b76e79 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all var(--transition);
}

.search-btn-v2:hover {
    background: #a05a65 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(183, 110, 121, 0.2);
}

@media (max-width: 768px) {
    .search-box-v2 {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
        gap: 10px;
    }
    .search-input-group {
        width: 100%;
        padding: 5px 10px;
    }
    .search-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }
    .search-btn-v2 {
        width: 100%;
        border-radius: 16px;
        padding: 14px 20px;
    }
}

.btn-primary {
    background: #b76e79 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700 !important;
    transition: all var(--transition);
}

.promo-btn {
    background: #b76e79 !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700 !important;
}

/* Dynamic Promo Banners Slider */
.promo-banners-section {
    height: 100vh;
    /* Strict One Frame */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Navbar clearance */
    background: transparent;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-sizing: border-box;
}

.banner-slider-wrapper {
    width: 95%;
    /* More immersive width */
    max-width: 1400px;
    height: 80vh;
    /* Cinematic height for "one frame" */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px !important;
    box-shadow: 0 40px 100px rgba(92, 65, 147, 0.12);
    border: 1px solid rgba(92, 65, 147, 0.05);
    position: relative;
    background: transparent;
}

.banner-slider-track {
    display: flex;
    align-items: stretch;
    /* Force cards to fill height */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.promo-banner-card {
    flex: 0 0 100%;
    height: 100%;
    /* Fill wrapper height */
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: none;
    display: flex;
}

.promo-banner-inner-full {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.promo-visual-full {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.promo-visual-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-overlay-full {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.promo-text-full {
    position: relative;
    z-index: 3;
    padding: 60px 100px;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 20;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #b76e79 !important;
    border: 1px solid rgba(183, 110, 121, 0.1) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
    background: #b76e79 !important;
    color: white !important;
    transform: scale(1.1);
}

.promo-text {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    box-sizing: border-box;
    gap: 24px;
    /* Using gap instead of margins for perfect spacing */
}

.promo-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-radius: 50px;
    margin: 0;
}

.promo-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    /* Larger for premium feel */
    margin: 0;
    line-height: 1.1;
}

.promo-text p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
}

.promo-visual {
    position: relative;
    overflow: hidden;
}

.promo-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.promo-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, white, transparent);
}

@media (max-width: 768px) {
    .promo-banner-inner {
        grid-template-columns: 1fr;
    }

    .promo-text {
        padding: 40px 30px;
        order: 2;
    }

    .promo-visual {
        height: 250px;
        order: 1;
    }

    .promo-img-overlay {
        background: linear-gradient(to top, white, transparent);
    }

    .promo-text h2 {
        font-size: 2rem;
    }
}

.hero-curvy-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-curvy-bottom svg {
    width: 100%;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(92, 65, 147, 0.1);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.search-input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 20px;
    gap: 12px;
}

.search-icon {
    font-size: 1.2rem;
}

.search-input-group input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    outline: none;
}

.search-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.search-btn {
    border-radius: 50px;
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* 3D Glassmorphism Utility for the Frontend */
.glass-3d {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(92, 65, 147, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.glass-3d:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 45px rgba(92, 65, 147, 0.15);
}

/* Luxury Category Cards - Optimized for Performance */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.luxury-cat-card {
    position: relative;
    height: 360px;
    aspect-ratio: 4 / 5; /* Fixed ratio prevents layout shift */
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: #f3f4f6;
    will-change: transform; /* Promote to GPU layer */
    transform: translateZ(0); /* Force 3D acceleration */
}

.cat-banner-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.cat-card-img { position: absolute; inset: 0; z-index: 1; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(76, 29, 149, 0.9) 0%, rgba(76, 29, 149, 0.3) 40%, transparent 100%);
    z-index: 2;
}

.cat-card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 3;
    padding: 20px;
    color: white;
}

.glass-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 15px;
    border-radius: 16px;
    min-height: 80px; /* Placeholder while loading text */
}

/* Skeleton Loading Effect */
.luxury-cat-card, .luxury-service-card, .blog-card, .testimonial-card {
    background-color: #f3f4f6;
    background-image: linear-gradient(90deg, #f3f4f6 0px, #f9fafb 40px, #f3f4f6 80px);
    background-size: 600px;
    animation: skeleton-shimmer 2s infinite linear;
}

.luxury-cat-card img, .luxury-service-card img, .blog-img img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.luxury-cat-card img[src], .luxury-service-card img[src], .blog-img img[src] {
    opacity: 1;
}

@keyframes skeleton-shimmer {
    0% { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

/* Prioritize Render Performance */
.web-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

.cat-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #b76e79, #b76e79); /* Solid luxury pink gradient */
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 10px;
}

.cat-card-content h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin: 0; }
.cat-divider { width: 40px; height: 3px; background: #b76e79; margin: 8px 0; transition: width 0.4s ease; }

.cat-hover-info { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s ease; }
.cat-hover-info p { color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; }

.luxury-cat-card:hover { transform: translateY(-5px); }
.luxury-cat-card:hover .cat-card-img img { transform: scale(1.05); }
.luxury-cat-card:hover .cat-banner-layer { opacity: 0.1; }
.luxury-cat-card:hover .cat-divider { width: 100%; }
.luxury-cat-card:hover .cat-hover-info { max-height: 200px; opacity: 1; margin-top: 8px; }

/* Further Performance Simplified - No Box Shadows during scroll */
.luxury-cat-card, .luxury-service-card {
    box-shadow: none !important;
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #fff;
    color: #4c1d95;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.btn-cat-explore:hover { background: #b76e79; color: #fff; transform: translateX(5px); }

/* Legacy Category Card Fallback */
.category-card {
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
}

/* Features Split (What We Offer) */
.features-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.features-left {
    flex: 1;
}

.features-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.features-desc {
    color: var(--text2);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-size: 0.9rem;
}

.features-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
    perspective: 1000px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
}

.fc-icon {
    font-size: 2.5rem;
    background: var(--surface2);
    padding: 14px;
    border-radius: 16px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text2);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.testimonial-card {
    padding: 40px 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(92, 65, 147, 0.05);
    line-height: 1;
}

.stars {
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.quote {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.test-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.test-author h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.test-author span {
    font-size: 0.85rem;
    color: var(--text3);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.blog-card {
    overflow: hidden;
}

.blog-img {
    height: 220px;
    width: 100%;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.read-more {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.read-more:hover {
    color: var(--gold);
}

/* FAQs & Contact */
.faq-contact-split {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
}

.faq-section h2,
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-light);
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    padding: 24px 30px;
}

.faq-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text2);
    line-height: 1.6;
}

.contact-section {
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-section p {
    color: var(--text2);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .input-wrap input,
.contact-form .input-wrap textarea {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    width: 100%;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    transition: all var(--transition);
    font-family: inherit;
}

.contact-form .input-wrap input:focus,
.contact-form .input-wrap textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Footer */
.web-footer {
    background: #5c4193;
    /* Custom Purple for Footer */
    color: white;
    background: rgba(92, 65, 147, 0.95); /* Matched with Navbar */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 0 24px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 25px;
    line-height: 1.8;
    max-width: 320px;
    font-size: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-light);
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding-left: 24px;
    padding-right: 24px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* LUXURY LOADER */
.luxury-loader-overlay {
    position: fixed;
    inset: 0;
    background: #5c4193;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.heart-pulse {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.heart-icon {
    font-size: 3.5rem;
    color: #b76e79;
    filter: drop-shadow(0 0 15px rgba(183, 110, 121, 0.4));
    animation: heartBeat 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
    z-index: 2;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top-color: #b76e79;
    /* Rose Gold */
    border-radius: 50%;
    animation: rotateRing 2s linear infinite;
}

.ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: transparent;
    border-bottom-color: #b76e79;
    /* Rose Gold */
    animation: rotateRing 1.5s linear infinite reverse;
}

/* Luxury Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 cards in row */
    gap: 30px;
    padding: 40px 0;
}

@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.view-all-container {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 40px;
    background: #b76e79;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(183, 110, 121, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-view-all:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.3);
    background: #a05a65;
}

.view-all-icon {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
}

.btn-view-all:hover .view-all-icon {
    transform: rotate(20deg) scale(1.2);
}

.luxury-cat-card {
    position: relative;
    height: 360px;
    /* Reduced from 480px */
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 35px rgba(92, 65, 147, 0.08);
    background: #fff;
}

.cat-banner-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.8s ease;
    filter: blur(10px);
}

.cat-card-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: clip-path 0.6s ease;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(26, 35, 126, 0.95) 0%,
            rgba(26, 35, 126, 0.4) 40%,
            transparent 100%);
    z-index: 2;
    transition: all 0.6s ease;
}

.cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 25px;
    /* Reduced from 40px */
    color: white;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 15px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #1a237e;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.cat-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    /* Reduced from 2rem */
    margin: 0;
    color: white;
    letter-spacing: 0.5px;
}

.cat-divider {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin: 10px 0;
    /* Reduced from 15px */
    transition: width 0.6s ease;
}

.cat-hover-info {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cat-hover-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Hover States */
.luxury-cat-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(92, 65, 147, 0.25);
}

.luxury-cat-card:hover::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--gold), var(--primary), var(--gold));
    z-index: -1;
    border-radius: 32px;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% {
        filter: blur(5px);
        opacity: 0.5;
    }

    50% {
        filter: blur(10px);
        opacity: 0.8;
    }

    100% {
        filter: blur(5px);
        opacity: 0.5;
    }
}

.luxury-cat-card:hover .cat-card-img img {
    transform: scale(1.15) rotate(2deg);
}

.luxury-cat-card:hover .cat-banner-layer {
    opacity: 0.3;
}

.luxury-cat-card:hover .cat-divider {
    width: 100%;
}

.luxury-cat-card:hover .cat-hover-info {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

.btn-cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #b76e79;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-cat-explore:hover {
    background: #a05a65;
    color: #fff;
    transform: translateX(5px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-cat-explore:hover .btn-arrow {
    transform: translateX(5px);
}

.loader-text {
    text-align: center;
}

.loader-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #b76e79;
    margin-bottom: 8px;
    letter-spacing: 2px;
    animation: fadeUp 1.5s ease-out;
}

.loader-text p {
    color: #64748b;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: fadeUp 2s ease-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(0.95);
    }

    5% {
        transform: scale(1.1);
    }

    39% {
        transform: scale(0.85);
    }

    45% {
        transform: scale(1);
    }

    60% {
        transform: scale(0.95);
    }

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

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

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

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.luxury-service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.luxury-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(92, 65, 147, 0.12);
    border-color: var(--primary-light);
}

.service-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.luxury-service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-category-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(183, 110, 121, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.service-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.btn-service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-service-link:hover {
    gap: 8px;
    color: var(--primary-dark);
}

.service-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: var(--bg2);
    border-radius: 24px;
    border: 2px dashed var(--border);
    color: var(--text2);
}

.website-wrapper.loading {
    opacity: 0;
}

.website-wrapper.loaded {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .web-section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .web-section {
        padding: 40px 15px;
    }

    .section-header-center h2 {
        font-size: 2.2rem;
    }

    .search-box-v2 {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
        gap: 10px;
    }

    .search-divider {
        display: none;
    }

    .search-btn-v2 {
        width: 100%;
        border-radius: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .dev-credit {
        font-size: 0.8rem;
        opacity: 0.8;
        margin-top: 5px;
    }

    .dev-credit span {
        color: var(--primary-light);
        font-weight: 700;
    }

    /* Mobile Overflows & Alignment Fixes */
    .category-grid, .testimonial-grid, .blog-grid, .service-grid {
        grid-template-columns: 1fr !important;
        padding: 20px 15px !important;
        justify-items: center;
    }

    .luxury-cat-card, .testimonial-card, .blog-card, .luxury-service-card {
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto;
    }

    .faq-contact-split {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 0 15px !important;
    }

    .contact-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 30px 20px !important;
    }

    .faq-section {
        padding-right: 0 !important;
    }

    .footer-contact {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    /* Critical Alignment Fixes for Mobile */
    html, body {
        overflow-x: hidden !important;
    }

    .web-section, .container, .section-header-center {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .vision-split-home, 
    .faq-contact-split,
    .hero-flex-v2,
    .offers-grid-v2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
        width: 100% !important;
    }

    .vision-content-h, 
    .faq-section,
    .contact-section,
    .offer-card-v2 {
        width: 100% !important;
        padding: 20px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Fix for the white box/image sticking out */
    .vision-image-h,
    .vision-image-h .image-stack,
    .offer-num {
        width: 100% !important;
        position: relative !important;
        right: auto !important;
        left: auto !important;
        margin: 20px 0 !important;
    }

    .offer-num {
        font-size: 3rem !important;
        opacity: 0.1 !important;
        top: 10px !important;
    }

    .vision-image-h .image-stack {
        height: 250px !important;
    }

    .contact-section {
        background: white !important;
        border: 1px solid var(--border) !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }

    /* Category Card Fixes */
    .category-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .luxury-cat-card {
        width: 90% !important;
        margin-bottom: 20px !important;
    }
}

/* Keyframes for Luxury Loader */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Global Button Color Override with Shine */
.btn, .btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .search-btn-v2, .search-btn, .btn-join, .promo-btn, .slider-nav-btn, .btn-view-all, .btn-cat-explore { 
    background-color: #b76e79 !important; 
    color: #ffffff !important; 
    border-color: #b76e79 !important; 
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-success:hover, .btn-danger:hover, .btn-warning:hover, .btn-info:hover, .search-btn-v2:hover, .search-btn:hover, .btn-join:hover, .promo-btn:hover, .slider-nav-btn:hover, .btn-view-all:hover, .btn-cat-explore:hover { 
    background-color: #a05a65 !important; 
    color: #ffffff !important; 
    border-color: #a05a65 !important; 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(183, 110, 121, 0.2);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 120%;
}

/* Section Luxury Header */
.section-header-center h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--text);
    margin: 15px 0 25px;
    position: relative;
    display: inline-block;
}

.section-header-center h2::after {
    content: '✧';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: var(--primary);
    letter-spacing: 10px;
}

/* Luxury File Input & Preview */
.file-input-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text2);
}

.file-input:focus + .file-label,
.file-label:hover {
    border-color: var(--primary-light);
    background: rgba(183, 110, 121, 0.05);
}

.file-browse {
    background: var(--primary);
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.2);
}

.current-img-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--bg2);
    border-radius: 12px;
    margin-top: 8px;
    border: 1px solid var(--border);
}

.current-img-preview img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.current-img-preview span {
    font-size: 0.8rem;
    color: var(--text3);
    font-weight: 500;
}

/* Home About Snippet Styles */
.stats-grid-home {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.7) !important;
}

.stat-item-h { text-align: center; flex: 1; }
.stat-num-h { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat-lab-h { font-size: 0.85rem; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: 1px; }
.stat-sep-h { width: 1px; height: 50px; background: rgba(0,0,0,0.1); }

.vision-split-home {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-content-h h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.lead-h {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vision-image-h .image-stack {
    border-radius: 40px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.vision-image-h img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .vision-split-home { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid-home { flex-direction: column; gap: 30px; }
    .stat-sep-h { display: none; }
}

/* Authentication Pages Shared Styles */
.auth-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.auth-logo-bg {
    background: linear-gradient(135deg, #b76e79, #8c4c56);
    padding: 18px 28px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.3), inset 0 2px 5px rgba(255,255,255,0.2);
    display: inline-block;
    transition: transform 0.3s ease;
}

.auth-logo-bg:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(183, 110, 121, 0.4), inset 0 2px 5px rgba(255,255,255,0.2);
}

.auth-logo-bg img {
    max-width: 150px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

@media (max-width: 768px) {
    /* Critical Alignment Fixes for Mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .web-section, .container, .section-header-center {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .vision-split-home, 
    .faq-contact-split,
    .features-split,
    .hero-flex-v2,
    .offers-grid-v2 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 40px !important;
        width: 100% !important;
    }

    .vision-content-h, 
    .faq-section,
    .contact-section,
    .offer-card-v2,
    .features-left,
    .features-right {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .feature-card {
        transform: none !important; /* Force reset of inline @offset from Home.razor */
        margin: 0 0 20px 0 !important;
        width: 100% !important;
        max-width: 400px !important;
    }

    .vision-content-h h2, 
    .faq-section h2, 
    .contact-section h2,
    .features-left h2 {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
    }

    /* Fix for the white box/image sticking out */
    .vision-image-h,
    .vision-image-h .image-stack,
    .offer-num {
        width: 100% !important;
        position: relative !important;
        right: auto !important;
        left: auto !important;
        margin: 20px 0 !important;
    }

    .offer-num {
        font-size: 3rem !important;
        opacity: 0.1 !important;
        top: 10px !important;
    }

    .vision-image-h .image-stack {
        height: 250px !important;
    }

    /* Reset all float/grid weirdness */
    .stat-item-h {
        margin-bottom: 20px;
    }

    .stat-sep-h {
        display: none !important;
    }

    .stats-grid-home {
        flex-direction: column !important;
        padding: 30px 20px !important;
    }

    .features-list {
        padding-left: 0 !important;
        list-style: none !important;
        text-align: left;
        display: inline-block;
    }
}
