@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700;900&display=swap');

:root {
    --brand-cyan: #00e5ff; 
    --brand-dark: #0f172a;
    --brand-accent: #1d4ed8;
    --hero-overlay-start: rgba(15, 23, 42, 0.8);
    --hero-overlay-end: rgba(15, 23, 42, 0.95);
}

body {
    font-family: 'Manrope', sans-serif; 
    scroll-behavior: smooth;
    background-color: #ffffff;
}

.nav-blur {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* Redesigning WhatsApp as a "Luxury Concierge" Button */
.wa-luxury-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #064e3b !important; /* Deep British Racing Green / Emerald */
    color: #ffffff !important;
    padding: 0.8rem 2rem !important;
    border-radius: 4px !important; /* Sharper corners feel more "Architectural/High-End" than pills */
    font-size: 0.75rem !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.2);
    text-decoration: none;
}

.wa-luxury-btn i {
    font-size: 1.2rem;
    color: #10b981; /* Brighter emerald for the icon */
}

.wa-luxury-btn:hover {
    background: #065f46 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 78, 59, 0.3);
    letter-spacing: 3px; /* Subtle expansion on hover */
}

/* Extra touch: Smooth fade for the menu links */
.nav-blur a {
    position: relative;
}

.nav-blur a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1d4ed8;
    transition: width 0.3s ease;
}

.nav-blur a:hover::after {
    width: 100%;
}
.hero-gradient {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), 
                url('../img/hk-hero.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 10rem;
    padding-bottom: 12rem;
}

.hero-gradient h1 {
    color: #ffffff; 
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-gradient p {
    color: rgba(255, 255, 255, 0.8);
}

.text-glow {
    background: linear-gradient(to right, var(--brand-cyan), #ffffff) ;
    -webkit-background-clip: text ;
    -webkit-text-fill-color: transparent ;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-cyan)) ;
    color: white ;
    padding: 1.25rem 3.5rem ;
    border-radius: 16px ;
    font-weight: 900 ;
    font-size: 1.1rem ;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) ;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.4) ;
    border: none ;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05) ;
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.6) ;
    filter: brightness(1.2);
}


.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1) ;
    color: white ;
    padding: 1.25rem 3.5rem ;
    border-radius: 16px ;
    font-weight: 800 ;
    font-size: 1.1rem ;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    backdrop-filter: blur(10px) ;
    border: 2px solid rgba(255, 255, 255, 0.4) ;
    transition: all 0.3s ease ;
    text-decoration: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: white ;
    color: var(--brand-dark) ;
    border-color: white ;
    transform: translateY(-5px) ;
}

.label-badge {
    background: rgba(0, 229, 255, 0.2) ;
    color: var(--brand-cyan) ;
    padding: 10px 24px ;
    border-radius: 99px ;
    font-size: 0.8rem ;
    font-weight: 900 ;
    border: 1px solid rgba(0, 229, 255, 0.4) ;
    margin-bottom: 2rem ;
}


#about .label-badge {
    background: rgba(29, 78, 216, 0.1) !important;
    color: #1d4ed8 !important;
    border: 1px solid rgba(29, 78, 216, 0.2) !important;
}


#about {
    background-image: radial-gradient(circle at 10% 20%, rgba(240, 247, 255, 0.5) 0%, rgba(255, 255, 255, 1) 90%);
}


#about h2 span {
    position: relative;
    display: inline-block;
}


#about h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background: rgba(0, 229, 255, 0.2);
    bottom: 8px;
    left: 0;
    z-index: -1;
}

/* --- PREMIUM SERVICE CARDS --- */

.premium-service-card {
    background: #ffffff !important;
    padding: 3rem 2.5rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    position: relative;
    overflow: hidden;
}

.premium-service-card:hover {
    transform: translateY(-12px) !important;
    border-color: rgba(29, 78, 216, 0.2) !important;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.08) !important;
}

/* The Animated Icon Container */
.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(29, 78, 216, 0.05);
    color: #1d4ed8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.premium-service-card:hover .card-icon {
    background: #1d4ed8;
    color: #ffffff;
    transform: rotateY(180deg); /* Subtle luxury animation */
}

/* Subtle background number decoration (Optional luxury touch) */
.premium-service-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.03) 0%, transparent 70%);
    z-index: 0;
}

/* --- PREMIUM CALCULATOR STYLES --- */

.premium-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.premium-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: #ffffff;
    border: 6px solid #1d4ed8;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.5);
    transition: 0.3s;
}

.premium-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.premium-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    padding: 1.25rem !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='Stack19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
}
.premium-select option {
    background-color: #1e293b !important; /* Matches slate-800 */
    color: white !important;
    padding: 1rem !important;
}

.premium-select:focus {
    border-color: var(--brand-cyan) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* --- PREMIUM FORM STYLING --- */

.premium-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    margin-bottom: 8px;
}

.premium-input {
    width: 100%;
    padding: 1rem 1.25rem !important;
    background: #f8fafc !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.premium-input:focus {
    background: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1) !important;
}

/* Validation Styling */
.premium-input:invalid:not(:placeholder-shown) {
    border-color: #ef4444 !important;
}

.premium-input:valid:not(:placeholder-shown) {
    border-color: #22c55e !important;
}

/* Select arrow styling */
select.premium-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* --- PREMIUM FAQ STYLING --- */

.faq-item {
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    outline: none;
}

.faq-trigger:hover {
    color: #1d4ed8;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

/* Logic for opening (Triggered via JS) */
.faq-item.active .faq-content {
    max-height: 1000px;
    transition: max-height 0.8s ease-in-out;
}

.faq-item.active i {
    transform: rotate(45deg); /* Plus turns into an X */
    color: #1d4ed8;
}

.label-badge {
    background: rgba(29, 78, 216, 0.1) !important;
    color: #1d4ed8 !important;
    padding: 8px 20px !important;
    border-radius: 99px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
}

/* Adds a subtle "Legal Document" feel to the breakdown list */
.md:grid-cols-2 span.text-slate-900 {
    font-size: 1.1rem;
}

/* --- PREMIUM WHATSAPP FLOATING BUTTON --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #065f46;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.whatsapp-float i {
    font-size: 22px;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

/* The Pulse Effect */
.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50px;
    left: 0;
    top: 0;
    z-index: -1;
    animation: wa-pulse 2s infinite;
    opacity: 0;
}

/* --- PRIVACY PAGE SPECIFIC --- */
.prose h2 {
    letter-spacing: -0.02em;
}

.prose p {
    margin-bottom: 1.5rem;
}

/* Ensure the background of the privacy card stands out */
body.bg-slate-50 {
    background-color: #f8fafc;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-text {
        display: none; /* Hide text on mobile to save screen space */
    }
    .whatsapp-float {
        padding: 15px;
        bottom: 20px;
        right: 20px;
        border-radius: 50%; /* Becomes a perfect circle */
    }
    .whatsapp-pulse {
        border-radius: 50%;
    }
}

@media (max-width: 640px) {
    .wa-luxury-btn {
        padding: 0.6rem 1rem !important; 
        gap: 0; 
    }
    
    .wa-luxury-btn i {
        font-size: 1.4rem; 
    }
}


.mobile-link {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    display: block;
    width: 100%;
}

.mobile-link:last-child {
    border-bottom: none;
}


@media (max-width: 768px) {
    .hero-gradient {
        padding-top: 8rem !important;
        padding-bottom: 8rem !important;
        background-attachment: scroll !important; 
    }
    
    .hero-gradient h1 {
        font-size: 2.5rem !important; 
    }
        #calculator .flex-col {
        border-radius: 24px;
    }
    .md:w-2/5 {
        border-l: none !important;
        border-t: 1px solid rgba(255, 255, 255, 0.1);
    }
}