

/* ===================== VARIABLES ===================== */
:root {
    /*    --dark-blue: #003b31;*/
    --dark-blue: #408a71;
    --navy-blue: black;
    --orange: #ebfdd66b;
    --text-gray: white;
}

/* ===================== HTML / BODY ===================== */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-top: 100px;
    margin-bottom: 0; /* space for footer */
    padding-top: 0; /* adjust according to top-bar + navbar height */
    font-family: Arial, sans-serif;
    background-color: #003237;
}

/* ===================== TOP BAR ===================== */
.top-bar {
    background-color: var(--navy-blue);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}

.top-bar .contact-info {
    font-size: 14px;
    color: white;
}


.logo-img {
    width: 100px;
    max-height: 90px;
    background-size: contain;
}
/* Social icons */
.social-links-top a {
    color: white;
    margin-left: 10px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-links-top a:hover {
        background-color: var(--orange);
        border-color: var(--orange);
        transform: scale(1.1);
    }

/* ===================== NAVBAR ===================== */
/* Main Navbar */
.main-nav {
    background-color: var(--dark-blue);
    position: fixed;
    top: 40px; /* height of your top-bar */
    left: 0;
    right: 0;
    z-index: 1100;
}

/* Navbar brand/logo */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Nav links */
.navbar .navbar-nav {
    margin-left: auto; /* pushes nav items to the right */
    align-items: center;
}

/* Individual links */
.navbar .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 10px 15px !important;
}

    .navbar .nav-link.active {
        color: var(--orange) !important;
        border-bottom: 2px solid var(--orange);
    }

/* Registration Button */
.btn-registration {
    background-color: var(--orange);
    color: white;
    border-radius: 4px;
    padding: 12px 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    margin-left: 15px; /* small space from nav links */
}

    .btn-registration:hover {
        background-color: #e07a2f;
    }

/* Search Icon */
.search-icon i {
    color: var(--orange);
}


/* ===================== FOOTER ===================== */
/* ===================== FOOTER ===================== */
.footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 60px 0 0 0;
    font-family: Arial, sans-serif;
    position:relative
}

/* Footer Headings */
/* Footer Headings */
.footer-heading {
    color: white; /* heading text color */
    position: relative;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

    /* Static orange underline */
    .footer-heading::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100px; /* total underline width */
        height: 4px;
        background-color: var(--orange);
        border-radius: 2px;
    }

    /* Moving white box */
    .footer-heading::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 15px; /* width of moving white box */
        height: 4px;
        background-color: white;
        border-radius: 2px;
        animation: moveWhiteBox 2s linear infinite;
    }

/* Keyframes for white box sliding */
@keyframes moveWhiteBox {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(85px); /* underline width - white box width */
    }
}

/* Footer Paragraph Text */
.footer-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    white-space: normal; /* wraps text within column */
    margin-bottom: 20px; /* consistent spacing */
    text-align: left;
}

/* Footer Links */
.footer-links {
    padding-left: 0;
    list-style: none;
    text-align: left;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: var(--text-gray);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 15px;
        display: inline-flex; /* aligns icon and text */
        align-items: center;
    }

        .footer-links a i {
            color: var(--orange);
            font-size: 12px;
            margin-right: 8px;
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px; /* smooth hover shift */
        }

/* Optional: Responsive adjustments */
@media (max-width: 768px) {
    .footer-text {
        margin-bottom: 15px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }
}
/* Social Boxes */
.social-box {
    background-color: var(--orange);
    color: white;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-box:hover {
        transform: scale(1.1);
    }

/* Footer Bottom */
.footer-bottom {
    background-color: var(--navy-blue);
    font-size: 14px;
    padding: 15px 0;
    color: white
}

.scroll-top-btn {
    background-color: var(--orange);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .scroll-top-btn:hover {
        background-color: #e07a2f;
    }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    body {
        padding-top: 10px;
    }

    .top-bar .contact-info {
        font-size: 12px;
    }

    .navbar .nav-link {
        font-size: 14px !important;
    }

    .footer-text {
        margin-bottom: 20px;
    }
}

/* ===================== Hero Section ===================== */
/* ===================== Hero Section ===================== */
.hero-section {
    /*    position: relative;*/
    padding: 120px 0;
    background-color: #003237; /* removed dark gradient */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*    overflow: hidden;*/
    margin-top: 100px;
    z-index: 1; /* content above floating circles */
}
.container {
    position: relative; /* fixes the carousel button position */
    width: 100%;
    max-width: 1200px;
/*    text-align: center;*/
}

/* Remove the static bokeh pseudo-element */
.hero-section::before {
    display: none;
}

/* Typography */
.hero-subtitle {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 20px;
}

.hero-title {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

/* Buttons */
.btn-orange {
    background-color: #ebfdd66b;
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e67e3a;
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Carousel Nav Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    cursor: pointer;
    padding: 20px;
    z-index: 10;
    transition: color 0.3s;
}

    .carousel-nav:hover {
        color: white;
    }

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

/* ===================== Hero Section Quick Popup Animation ===================== */

/* ===================== Hero Section Quick Popup Animation ===================== */

/* Quick popup + slight grow */
@keyframes popupQuick {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translateY(0) scale(1.05); /* slight pop */
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1); /* settle */
    }
}

/* Quick slide left for Free Quote */
@keyframes slideLeftQuick {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    50% {
        opacity: 1;
        transform: translateX(0) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Quick slide right for Contact Us */
@keyframes slideRightQuick {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

    50% {
        opacity: 1;
        transform: translateX(0) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Hero subtitle and title */
.hero-subtitle,
.hero-title {
    animation: none; /* animation will be triggered by JS */
    opacity: 0; /* start hidden */
}

/* Buttons */
.hero-buttons .btn.btn-orange,
.hero-buttons .btn.btn-outline-white {
    animation: none; /* animation triggered by JS */
    opacity: 0; /* start hidden */
}

/* ===================== About Section ===================== */

/* Container Background */
.about-section {
    background: #003237;
    font-family: 'Poppins', sans-serif;
}
.description {
    font-size: 24px; /* 20px */
    line-height: 1.2;
}
/* Typography & Decorations */
.section-subtitle {
    color: #ff8c42;
    font-weight: 600;
    font-size: 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.title-underline {
    width: 100px;
    height: 3px;
/*    background: linear-gradient(to right, #ff8c42 50%, #ffffff 50%);*/
    margin-top: 15px;
}

.text-orange {
    color: #ff8c42;
}

/* Contact Box */
.icon-square-orange {
    background-color: #ff8c42;
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
}

/* Stats Bar Styling */
.stats-bar {
    width: 100%;
    height: 120px;
}

.stat-item {
    flex: 1;
    padding: 20px;
    transition: transform 0.3s;
}

.bg-orange {
    background-color: #ff8c42;
}

.bg-light-purple {
    background-color: #f1efff;
}

.xsmall {
    font-size: 0.75rem;
}

/* Small Icons inside Stats Bar */
.icon-white-bg {
    color: #ff8c42;
    background: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.icon-orange-bg {
    color: white;
    background: #ff8c42;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        height: auto;
    }

    .stat-item {
        padding: 15px;
    }
}


/* ===================== Choose us Section ===================== */
/* Section Background */
.why-choose-us {
    background: #003237; /* Matches your dark theme */
    padding: 80px 0;
}
.img-fluid{
    height:460px;
    width: 100%;
}
/* Reusing your Two-Tone Underline Logic */
/*.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff8c42 50%, #ffffff 50%);
    margin-top: 15px;
}*/
.title-underline {
    color: white; /* heading text color */
    position: relative;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

    /* Static orange underline */
    .title-underline::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100px; /* total underline width */
        height: 4px;
        background-color: var(--orange);
        border-radius: 2px;
    }

    /* Moving white box */
    .title-underline::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 15px; /* width of moving white box */
        height: 4px;
        background-color: white;
        border-radius: 2px;
        animation: moveWhiteBox 2s linear infinite;
    }

/* Keyframes for white box sliding */
@keyframes moveWhiteBox {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(85px); /* underline width - white box width */
    }
}


/* Feature Icon Styling */
.icon-square {
    background-color: #ff8c42;
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .icon-square {
    transform: scale(1.1);
    background-color: #e67e3a;
}

/* Typography */
.text-light-muted {
    color: #b0c0d0;
    line-height: 1.6;
}

.feature-item h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Illustration spacing */
.illustration-container {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02); /* Subtle glow effect */
    border-radius: 15px;
}

    /* Floating Animation for Illustration */
/*    .illustration-container img {
        animation: floating 3s ease-in-out infinite;
    }*/

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}
@keyframes popUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Apply animation to all direct children of .why-choose-us */
.why-choose-us > .container > .row > * {
    opacity: 0; /* start hidden */
    animation: popUpFade 0.8s ease forwards;
}

    /* Stagger animations */
    .why-choose-us > .container > .row > *:nth-child(1) {
        animation-delay: 0.2s;
    }

    .why-choose-us > .container > .row > *:nth-child(2) {
        animation-delay: 0.4s;
    }

    .why-choose-us > .container > .row > *:nth-child(3) {
        animation-delay: 0.6s;
    }

    .why-choose-us > .container > .row > *:nth-child(4) {
        animation-delay: 0.8s;
    }

    .why-choose-us > .container > .row > *:nth-child(5) {
        animation-delay: 1s;
    }

/* ===================== Broker Section ===================== */
/* ===================== ASSETS SECTION ===================== */
.assets-section {
    background: #003237;
    padding: 80px 0;
}
/* Asset images */
.asset-img {
    width: 100%; /* Full width of the card */
    height: 200px; /* Fixed height for uniformity */
    object-fit: cover; /* Fill card nicely, crop if necessary */
    border-radius: 4px; /* Rounded corners */
    display: block; /* Removes inline spacing */
    margin: 0; /* No margin */
    padding: 0; /* No padding */
}

/* Ensure image inside card does not create extra space */
.asset-card img {
    display: block; /* Remove inline spacing */
    vertical-align: middle; /* Align properly */
    margin: 0; /* Remove any bottom margin */
    padding: 0; /* Remove any padding */
}
/* Text Orange */
.text-orange {
    color: #ff8c42;
}

/* The Card Style */
.asset-card {
    background-color: #fff2f7; /* Very light pink/white background from image */
    border-radius: 4px;
    padding: 30px 30px;
    text-align: center; 
    position: relative;
    height: 90%;
    transition: all 0.4s ease;
    overflow: visible; /* Allows the arrow to hang off the bottom */
    margin-top: 30px;   /* spacing from previous row/card */
    margin-bottom: 30px; /* spacing to next row/card */
}

/* Asset Icon */
.asset-icon {
    background-color: #ff8c42;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg); /* Diamond shape */
}

.asset-icon i {
    transform: rotate(-45deg); /* Keep icon straight inside diamond */
}

/* Asset Name */
.asset-name {
    color: #061a3a;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Asset Description */
.asset-desc {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.6;
}

/* Hover Effect: The Arrow Button */
.hover-arrow {
    background-color: #ff8c42;
    color: white;
    width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 4px;
    z-index: 5;
}


/* Hover Effect on Card */
.asset-card:hover {
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.asset-card:hover .hover-arrow {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Special CTA Card */
.bg-orange-solid {
    background-color: #ff8c42 !important;
    cursor: pointer;
    margin-top: 30px;   /* spacing */
    margin-bottom: 30px; /* spacing */
    padding: 60px 30px;
}

.bg-orange-solid:hover {
    background-color: #e67e3a !important;
}
@keyframes popUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    50% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Keyframes for smooth pop-up */
@keyframes popUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05); /* slight overshoot */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1); /* settle */
    }
}

/* Apply smooth animation to all asset cards */
.asset-card {
    opacity: 0; /* start hidden */
    animation: popUpFade 1s ease-out forwards; /* longer and smoother */
}

/* Staggered animation delays */
.asset-card:nth-child(1) { animation-delay: 0.2s; }
.asset-card:nth-child(2) { animation-delay: 0.4s; }
.asset-card:nth-child(3) { animation-delay: 0.6s; }
.asset-card:nth-child(4) { animation-delay: 0.8s; }
.asset-card:nth-child(5) { animation-delay: 1s; }
.asset-card:nth-child(6) { animation-delay: 1.2s; }

/* CTA card animation */
.bg-orange-solid {
    opacity: 0;
    animation: popUpFade 1s ease-out forwards;
    animation-delay: 1.4s;
}

/* ===================== Genealogy Section ===================== */
/* Section Base */
.quote-section {
    background: #003237; /* Dark navy background */
    /*    position: relative;*/
    font-family: 'Poppins', sans-serif;
    /*    overflow: hidden;*/
}

/* Typography & Colors */
.text-orange {
    color: #ff8c42 !important;
}

.text-light-muted {
    color: #ffffff;
    
}

/*.title-underline-left {
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, #ff8c42 70%, #ffffff 70%);
    margin-bottom: 25px;
}*/

.title-underline-left {
    color: white; /* heading text color */
    position: relative;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 20px;
}

    /* Static orange underline */
    .title-underline-left::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -5px;
        width: 100px; /* total underline width */
        height: 4px;
        background-color: var(--orange);
        border-radius: 2px;
    }

    /* Moving white box */
    .title-underline-left::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 15px; /* width of moving white box */
        height: 4px;
        background-color: white;
        border-radius: 2px;
        animation: moveWhiteBox 2s linear infinite;
    }

/* Keyframes for white box sliding */
@keyframes moveWhiteBox {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(85px); /* underline width - white box width */
    }
}



.promo-text {
    font-size: 15px;
    line-height: 1;
    color: #cbd5e0;
}

/* Reply Indicator */
.reply-icon {
    color: #ff8c42;
    transform: scaleX(-1); /* Flip icon to match image */
}

/* Email Box */
.email-icon-box {
    background-color: #ff8c42;
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 1.4rem;
}

.email-text {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

/* Illustration Frame */
.illustration-frame {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Floating Scroll Button */
.back-to-top {
    position: fixed;
    z-index: 1100;
    bottom: 30px;
    right: 30px;
    background-color: #ff8c42;
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

    .back-to-top:hover {
        background-color: #e67e3a;
        color: white;
        transform: translateY(-5px);
    }

/* Mobile Adjustments */
@media (max-width: 991px) {
    .email-text {
        font-size: 1.2rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* ===================== Quote Section Animations ===================== */

/* Pop-Up + Fade Animation */
@keyframes popUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05); /* slight overshoot */
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Apply animation to direct children of quote-section */
.quote-section .container > .row > * {
    opacity: 0; /* start hidden */
    animation: popUpFade 1s ease-out forwards; /* smooth pop */
}

    /* Staggered animation delays */
    .quote-section .container > .row > *:nth-child(1) {
        animation-delay: 0.2s;
    }

    .quote-section .container > .row > *:nth-child(2) {
        animation-delay: 0.4s;
    }

    .quote-section .container > .row > *:nth-child(3) {
        animation-delay: 0.6s;
    }

/* Optional: animation for underline (white sliding box already present) */
.title-underline-left::after {
    animation: moveWhiteBox 2s linear infinite;
}




/* ===================== Stats Bar Pop-Up Animation ===================== */
@keyframes statsPopUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05); /* slight overshoot */
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1); /* settle */
    }
}

/* Stats Pop-Up Animation */
@keyframes statsPopUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stats-bar .stat-item {
    opacity: 0;
    animation: statsPopUp 1s ease-out forwards;
}

    /* Stagger animation */
    .stats-bar .stat-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .stats-bar .stat-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .stats-bar .stat-item:nth-child(3) {
        animation-delay: 0.6s;
    }



/* Floating Circles Container */
#floating-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* clicks pass through */
    z-index: 0; /* behind content */
    overflow: hidden;
}

/* Each circle */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.4;
    animation: floatUp linear infinite;
}

/* Upward floating animation */
@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0.3;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-20vh) scale(1.2);
        opacity: 0;
    }
}





/* ===================== ABOUT US PAGE ===================== */
/* Value Cards for Estate Feel */
.value-card {
    background: #ffffff;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1) !important;
}

.bg-light-purple {
    background-color: #f8f9fa !important; /* Changed to a neutral grey for cleaner look */
}

/* Enhancing the Stats Bar */
.stat-item h3 {
    font-size: 1.8rem;
    letter-spacing: -1px;
}

/* Timeline/Legacy Section */
.play-btn {
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 0 20px rgba(255, 140, 66, 0.5);
}

.play-btn:hover {
    transform: scale(1.1);
}
/* Styling for the new Estate Image Holder */
.image-holder {
    height: 600px; /* Maintains the same height as the old video block */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Adds dynamic depth on hover */
    background-color: #f1efff; /* A light background while the image loads */
}

    /* Added soft depth effect on hover (matching the estate 'Value Cards' feel) */
    .image-holder:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    }



/* ===================== WHY CHOOSE US PAGE ===================== */
/* Typography Refinement */
.text-light-muted {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Feature Item Styling */
.feature-item {
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-5px);
        border-color: rgba(255, 140, 66, 0.3); /* Matches your orange theme */
    }

/* Icon Containers */
.icon-square {
    width: 50px;
    height: 50px;
    background: #ff8c42; /* Your orange */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

/* Responsive Grid Adjustment */
@media (max-width: 768px) {
    .why-choose-us {
        margin-top: 50px !important;
    }
}
.why-section {
    background: #00292e;
    color: #fff;
}

/* Card */
.why-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.08);
}

    /* Hover effect */
    .why-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 140, 66, 0.1);
        border-color: #ff8c42;
    }

/* Icon */
.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #ff8c42;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 22px;
    color: #fff;
}

/* Title */
.why-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.why-card p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}


/* ===================== LOGIN PAGE ===================== */
/* Container & Background Setup */
.login-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #003237;
}

.login-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/estate-login-bg.jpg'); /* Use a high-end office/city image */
    background-size: cover;
    background-position: center;
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* BLUR EFFECT: When an input inside the wrapper is clicked/focused */
.login-wrapper:focus-within .login-bg-overlay {
    filter: blur(8px) brightness(0.6);
}

/* The Card Styling */
.login-card {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    border: none;
}

/* Side Image Background */
.side-image {
    background-image: url('../images/logo.png');
    background-size: contain; /* cover entire side */
    background-position: center; /* center the image */
    background-repeat: no-repeat;
    position: relative;
}
/* Optional dark overlay to improve text visibility */
.side-image-overlay {
    background: rgba(0, 0, 0, 0.45); /* semi-transparent black */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}
/* Ensure text is above overlay */
.side-image .position-relative.z-2 {
    z-index: 2;
}

/* Form Styling */
.custom-input {
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .custom-input:focus {
        border-color: #ff8c42;
        box-shadow: 0 0 0 0.2rem rgba(255, 140, 66, 0.1);
    }

.btn-login {
    background-color: #ff8c42;
    color: white;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

    .btn-login:hover {
        background-color: #e67e3a;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
    }

.text-orange {
    color: #ff8c42 !important;
}
/* ===================== POPUP ANIMATION ===================== */
@keyframes popupFade {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Apply popup animation to login-card */
.login-card {
    animation: popupFade 1s ease-out forwards;
}



/* ===================== CONTACT US PAGE ===================== */
/* Color & UI Variables */
.text-orange {
    color: #ff8c42 !important;
}


/* Contact Specifics */
.icon-square-orange {
    background: #ff8c42;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
}

.custom-input {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

    .custom-input:focus {
        border-color: #ff8c42;
        box-shadow: 0 0 0 0.25rem rgba(255, 140, 66, 0.1);
        background-color: #fff;
    }

.btn-orange {
    background-color: #ff8c42;
    color: white;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

    .btn-orange:hover {
        background-color: #e67e3a;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
    }

.text-light-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Grayscale Map for Estate Feel */
.map-section iframe {
    filter: grayscale(100%) invert(90%) contrast(1.2);
}

/* ================= POPUP ANIMATION ================= */
@keyframes popupFadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Default hidden for animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}


/* ================= REGISTRATION PAGE ================= */







/* ================= Inventory PAGE ================= */
/* Hero Glassmorphism */
.hero-section {
    padding: 100px 0;
   color:white
}

.inventory-card {
    background: white;
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

    .inventory-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        border-color: var(--brand-orange);
    }

.card-img-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

    .card-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.inventory-card:hover .card-img-container img {
    transform: scale(1.1);
}

.badge-exclusive {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--brand-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 2;
}

.price-tag {
    color: var(--brand-orange);
    font-weight: 800;
    font-size: 20px;
}

.btn-primary-custom {
    background-color: var(--brand-orange);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 10px;
    transition: opacity 0.3s;
}

    .btn-primary-custom:hover {
        opacity: 0.9;
        color: #003237;
    }

.property-meta span {
    font-size: 0.9rem;
    color: darkslategrey;
    margin-right: 15px;
}