/* Global Premium Styles for BKP Homes */
:root {
    --primary-color: #d4af37; /* Luxury Metallic Gold */
    --primary-hover: #b5952f;
    --secondary-color: #0f0f0f; /* Deep Rich Black */
    --accent-color: #f7f5f0; /* Warm Off-White */
    --text-color: #3a3a3a;
    --light-text: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

/* 🎭 Reliable Reveal System (Pure CSS) */
.reveal-fade-up {
    animation: revealFadeUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.reveal-zoom-in {
    animation: revealZoomIn 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes revealFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealZoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.nav-open-body {
    overflow: hidden !important;
}

/* Section Divider */
.section-divider {
    height: 100px;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    position: relative;
    z-index: 10;
    margin-top: -2px; /* Prevent sub-pixel gaps */
}

/* Page Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

.preloader-inner {
    text-align: center;
}

.preloader h1 {
    color: white;
    font-size: 2.5rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.preloader span {
    color: var(--primary-color);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000; /* Above main content, below nav-bar */
}

@media (max-width: 900px) {
    .hamburger { display: flex; }
    
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0; /* Changed from right: 0 to left: 0 */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--secondary-color);
        z-index: 1001;
        padding: 80px 2rem 2rem;
        transform: translateX(-100%); /* Changed from 100% to -100% for left slide */
        transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
        overflow-y: auto; /* Ensure scrollability */
        -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling for iOS */
    }

    .nav-bar.nav-open {
        transform: translateX(0);
    }

    .nav-bar ul {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nav-bar li {
        margin: 0 0 1.5rem 0;
        width: 100%;
    }

    .nav-bar a {
        font-size: 1.1rem;
        display: block;
    }

    .hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.is-active span:nth-child(2) { opacity: 0; }
    .hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 0;
}

.container {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
}

/* Seasonal Banner */
.seasonal-banner {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1001;
}

.seasonal-banner p {
    margin: 0;
    display: inline-block;
}

.seasonal-banner span {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-left: 10px;
    text-transform: uppercase;
}

.dismiss-banner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

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

/* Top Marquee - Modern CSS Version */
.top-marquee {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1001;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-content span {
    display: inline-block;
    padding-right: 50px;
}

.top-marquee strong {
    color: var(--secondary-color);
    font-size: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Onboarding Modal */
.onboard-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.onboard-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,15,15,0.9);
    backdrop-filter: blur(10px);
}

.onboard-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    padding: 5rem 4rem;
    text-align: center;
    animation: onboardSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes onboardSlideIn {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-onboard {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.onboard-header h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 1rem;
}

.onboard-header span { color: var(--primary-color); }

.onboard-header p {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

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

.onboard-card {
    background: rgba(255,255,255,0.05);
    padding: 3rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.onboard-card .icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.onboard-card span {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.onboard-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.onboard-card:hover .icon-box, .onboard-card:hover span {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.onboard-footer {
    display: flex;
    justify-content: center;
}

/* Demo Gatekeeper */
.demo-gatekeeper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002; /* Above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.gatekeeper-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
    animation: gatekeeper-fade 0.8s ease-out forwards;
}

.gatekeeper-content {
    max-width: 600px;
    width: 100%;
    padding: 5rem 4rem;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.4);
    animation: gatekeeper-reveal 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    box-shadow: 0 0 80px rgba(0,0,0,0.5);
    background: rgba(15, 15, 15, 0.95);
}

.gatekeeper-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: 0.8;
}

@keyframes gatekeeper-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gatekeeper-reveal {
    from { 
        opacity: 0; 
        transform: translateY(40px) scale(0.98);
        filter: blur(15px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.gatekeeper-header h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 400;
}

.gatekeeper-body {
    color: #999;
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 3.5rem;
}

.gatekeeper-body p {
    margin-bottom: 1.5rem;
}

.gatekeeper-body strong {
    color: var(--primary-color);
    font-weight: 700;
}

.ownership-info {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
    border: 1px solid rgba(212,175,55,0.1);
}

.ownership-info span {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ownership-info strong {
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.gatekeeper-footer {
    animation: gatekeeper-reveal 1s cubic-bezier(0.19, 1, 0.22, 1) 0.5s backwards;
}

.gatekeeper-footer .btn {
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .demo-gatekeeper {
        padding: 0 !important;
        background: rgba(0,0,0,0.7) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10002 !important;
    }
    .logo{
        padding-left:20px;
    }

    .gatekeeper-content { 
        padding: 3rem 1.5rem !important; 
        max-height: 85vh !important;
        width: calc(100% - 40px) !important; /* Guaranteed 20px spacing on left and right */
        margin: auto !important;
        border: 1px solid rgba(212, 175, 55, 0.4) !important;
        border-radius: 12px !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.9) !important;
        background: rgba(15, 15, 15, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        display: block !important;
        overflow-y: auto !important;
        position: relative !important;
        animation: gatekeeper-reveal-mobile 0.8s ease-out forwards !important;
    }
    
    @keyframes gatekeeper-reveal-mobile {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .gatekeeper-header i {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .gatekeeper-header h2 { 
        font-size: 1.3rem; 
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    .gatekeeper-body {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .ownership-info {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(255,255,255,0.03);
    }

    .ownership-info strong {
        font-size: 0.95rem;
    }
}

@media (max-width: 600px) {
    .onboard-modal {
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 9999 !important;
    }
    .main-header .container {
        justify-content: unset !important;
        }

    .onboard-content { 
        padding: 3rem 1.5rem !important; 
        max-height: 85vh !important;
        width: calc(100% - 40px) !important; /* Guaranteed 20px spacing on left and right */
        margin: auto !important;
        border-radius: 12px !important;
        display: block !important;
        overflow-y: auto !important;
        background: rgba(15, 15, 15, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        animation: gatekeeper-reveal-mobile 0.8s ease-out forwards !important;
    }
    .onboard-grid { gap: 0.8rem; }
    .onboard-header h2 { font-size: 1.5rem; }
    .onboard-header p { font-size: 0.85rem; }
    .close-onboard { top: 1rem; right: 1rem; font-size: 1.2rem; }
}

/* Header */
.main-header {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.header-main-row {
    display: flex;
    justify-content: space-between; /* Space between logo and nav on desktop */
    align-items: center;
    padding: 1rem 0;
}

@media (max-width: 900px) {
    .main-header { 
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
    }
    
    .header-main-row {
        padding: 0.8rem 0;
        justify-content: flex-start !important; /* Logo and hamburger on left for mobile */
        gap: 1rem;
    }
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
    font-style: italic;
    font-family: var(--font-heading);
}

.nav-bar {
    display: block;
}

@media (max-width: 900px) {
    .nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--secondary-color);
        z-index: 1001;
        padding: 80px 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-bar.nav-open {
        transform: translateX(0);
    }
}

.nav-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-bar li {
    margin-left: 2rem; /* Spacing between desktop items */
    margin-bottom: 5px;
}

@media (max-width: 900px) {
    .nav-bar ul {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .nav-bar li {
        margin-left: 0; /* Remove left margin for mobile vertical layout */
        margin-bottom: 1.5rem; /* Add vertical spacing for mobile */
        width: 100%;
    }
}

.nav-bar a {
    color: var(--light-text);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav-bar a:hover, .nav-bar a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

/* Removed ::after selection underline to prevent "box" look */

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--secondary-color);
    min-width: 220px;
    list-style: none;
    padding: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

.nav-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0 !important;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.8rem 2rem;
    display: block;
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s;
}

.dropdown-menu a:hover, .dropdown-menu a.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Nav CTA Button styling */
.nav-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    margin-top: -5px;
}

.cta-menu {
    background: var(--primary-color);
    border: none;
}

.cta-menu a {
    color: var(--secondary-color);
    font-weight: 700;
}

.cta-menu a:hover {
    background: rgba(0,0,0,0.1);
    color: var(--secondary-color);
}

@media (max-width: 900px) {
    .nav-dropdown > a i { display: none; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1.5rem;
        display: block;
    }
    
    .nav-dropdown:hover > .dropdown-menu {
        transform: none;
    }

    .dropdown-menu a {
        padding: 0.5rem 0;
        color: #aaa;
    }

    .nav-cta .btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: 100%;
        text-align: left;
        padding: 0.8rem 0 !important;
        color: var(--light-text) !important;
        font-size: 0.85rem !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .nav-cta .btn:hover {
        color: var(--primary-color) !important;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8) !important;
        transform: none !important;
        animation: none !important;
    }

    .nav-cta .btn i {
        margin-left: 8px;
    }
}

/* Content Wrapper */
.content-wrapper {
    min-height: 80vh;
}

@media (max-width: 900px) {
    .content-wrapper {
        padding-top: 100px; /* Offset for marquee + fixed header */
    }
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: #aaaaaa;
    padding: 5rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

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

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

.footer-section a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

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

.footer-section i {
    color: var(--primary-color);
    width: 25px;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1rem;
    color: white;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    color: var(--secondary-color);
    padding: 0 1.2rem;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: white;
}

/* Floating Social Sidebar */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icon:hover {
    width: 60px;
    padding-right: 15px;
}

.social-icon.fb { background: #3b5998; }
.social-icon.tw { background: #000000; }
.social-icon.ig { background: #e1306c; }
.social-icon.wa { background: #25d366; }

/* Live Chat Widget */
.live-chat-wrapper {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s;
}

.chat-toggle-btn:hover {
    transform: scale(1.05);
}

.chat-window {
    width: 350px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-open .chat-window {
    display: flex;
}

.chat-header {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-status img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.user-status div {
    display: flex;
    flex-direction: column;
}

.user-status span {
    font-size: 0.75rem;
    color: #2ecc71;
}

.close-chat {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    height: 300px;
    padding: 1.5rem;
    background: #f9f9f9;
    overflow-y: auto;
}

.bot-msg {
    background: white;
    padding: 1rem;
    border-radius: 0 12px 12px 12px;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 85%;
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #eee;
    padding: 0.8rem;
    border-radius: 6px;
    outline: none;
}

.chat-footer button {
    background: var(--primary-color);
    border: none;
    color: var(--secondary-color);
    width: 45px;
    border-radius: 6px;
    cursor: pointer;
}

/* Scroll Top */
.scroll-top-btn {
    position: fixed;
    left: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .social-sidebar { display: none; }
    .chat-window { width: 300px; right: 10px; }
}

/* Form Shared Styles */
input, select {
    font-family: var(--font-body);
}

/* Glass Card */
.card-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
}

/* Beautiful Button with Shimmer */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover), var(--primary-color));
    background-size: 200% auto;
    color: var(--light-text);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-block {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

@media (max-width: 600px) {
    .btn { padding: 0.8rem 1.5rem; font-size: 0.8rem; }
    .logo h1 { font-size: 1.5rem; letter-spacing: 2px; }
}

.btn:hover {
    animation: shimmer 1.5s infinite linear;
    color: white;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
