html {
            scroll-behavior: smooth;
            scroll-padding-top: 86px; 
        }

        body {
            font-family: var(--font-body) !important;
            color: var(--charcoal-gray);
            background-color: var(--off-white);
            overflow-x: hidden;
            position: relative;
            -webkit-font-smoothing: antialiased !important;
            -moz-osx-font-smoothing: grayscale !important;
        }

        h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.15; font-family: var(--font-serif) !important; font-weight: 900 !important; letter-spacing: 2px !important; }
        h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-family: var(--font-serif) !important; font-weight: 700 !important; letter-spacing: 1.5px !important; }
        h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-family: var(--font-serif) !important; font-weight: 700 !important; letter-spacing: 1px !important; }
        h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: var(--font-serif) !important; font-weight: 700 !important; letter-spacing: 1px !important; }

        .bg-navy { background-color: var(--estate-navy) !important; }
        .bg-gold { background-color: var(--estate-gold) !important; }
        .text-navy { color: var(--estate-navy) !important; }
        .text-gold { color: var(--estate-gold) !important; }

        /* Navigation */
        .navbar { background-color: transparent !important; transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; }
        .navbar.scrolled { background-color: rgba(10, 32, 56, 0.98) !important; backdrop-filter: blur(10px); }
        .navbar-brand, .navbar-brand i { color: #ffffff !important; }
        .nav-link { transition: color 0.3s ease; }
        .nav-link:hover { color: var(--estate-gold) !important; font-weight: 600; }

        /* Buttons */
        .btn { transition: all 0.3s ease; border-radius: var(--border-rad); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .btn-primary { background-color: var(--estate-gold); border-color: var(--estate-gold); color: white!important; padding: 12px 30px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 0.9rem;  }
        .btn-primary:hover { background-color: #9c732f; border-color: #9c732f; color: var(--estate-navy); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(184, 136, 56, 0.4); }
        
        .btn-outline-hero { padding: 12px 30px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; border: 1px solid #fff; color: #fff; background: transparent; }
        .btn-outline-hero:hover { background-color: #fff; color: var(--estate-navy) !important; transform: translateY(-3px); }

        .btn-cta { background-color: #fff; color: var(--estate-gold); border: none; padding: 14px 35px; text-transform: uppercase; font-weight: 700; letter-spacing: 1px;}
        .btn-cta:hover { background-color: #f6f7f9; color: var(--estate-gold); transform: translateY(-3px); }

        
        .icon-bar { background-color: #071728; border-bottom: 2px solid var(--estate-gold); }
        .section-padding { padding: clamp(60px, 8vw, 100px) 0; }
        
        .service-card, .step-card, .pricing-card, .testimonial-card, .image-frame img { border-radius: var(--border-rad); box-shadow: 0 4px 15px rgba(0,0,0,0.06); background-color: #fff; }

        /* Cards Hover States */
        .service-card { border-top: 4px solid var(--estate-gold); padding: 40px; transition: all 0.4s ease; text-align: left; }
        .service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(10, 32, 56, 0.10); }
        .service-icon { transition: transform 0.4s ease; transform-origin: left center; }
        .service-card:hover .service-icon { transform: scale(1.08) translateY(-3px); }

        .step-card { padding: 30px; transition: all 0.3s ease; border: 1px solid #f0f0f0; }
        .step-card:hover { border-color: var(--estate-gold); box-shadow: 0 10px 25px rgba(184, 136, 56, 0.1); }
        .step-circle { width: 50px; height: 50px; border-radius: 50%; background-color: var(--estate-gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: bold; margin-bottom: 20px; transition: all 0.5s ease; }
        .step-card:hover .step-circle { background-color: var(--estate-navy) !important; color: #fff !important; transform: rotate(360deg); }

        /* Pricing Logic */
        .pricing-card { position: relative; z-index: 1; overflow: hidden; padding: 40px 25px; transition: all 0.4s ease; }
        .pricing-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: -1; transition: height 0.4s ease; }
        .top-icon { color: var(--estate-navy); transition: color 0.3s ease; }
        .list-icon, .dollar-val { color: var(--estate-gold); transition: color 0.3s ease; }
        .pricing-card ul li { padding: 8px 0; border-bottom: 1px dashed rgba(0,0,0,0.1); font-size: 0.95rem; transition: color 0.3s ease; }
        .pricing-card ul li:last-child { border-bottom: none; }
        .pricing-card h4, .pricing-card h3, .pricing-card p, .pricing-card span, .pricing-card hr { transition: all 0.3s ease; }

        .price-navy { border-top: 5px solid var(--estate-navy); }
        .price-navy::before { background: var(--estate-navy); }
        .price-navy:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(10, 32, 56, 0.15); }
        .price-navy:hover::before { height: 100%; }
        .price-navy:hover h4, .price-navy:hover h3, .price-navy:hover .top-icon { color: #fff !important; }
        .price-navy:hover p, .price-navy:hover span, .price-navy:hover li { color: rgba(255,255,255,0.75) !important; }
        .price-navy:hover hr { border-color: #fff !important; opacity: 0.2; }
        .price-navy:hover .top-icon, .price-navy:hover .dollar-val { color: var(--estate-gold) !important; }
        .price-navy:hover li { color: #9C9C9C !important; }

        .price-gold { border-top: 5px solid var(--estate-gold); }
        .price-gold::before { background: var(--estate-gold); }
        .price-gold:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(184, 136, 56, 0.2); }
        .price-gold:hover::before { height: 100%; }
        .price-gold:hover h4, .price-gold:hover h3, .price-gold:hover .top-icon, .price-gold:hover .list-icon, .price-gold:hover .dollar-val { color: #fff !important; }
        .price-gold:hover p, .price-gold:hover span, .price-gold:hover li { color: rgba(255,255,255,0.85) !important; }
        .price-gold:hover hr { border-color: #fff !important; opacity: 0.3; }

        .price-overflow { background-color: var(--estate-navy); border-top: 5px solid var(--estate-gold); }
        .price-overflow::before { background: var(--estate-gold); }
        .price-overflow h4 { color: #fff !important; } 
        .price-overflow h3, .price-overflow .top-icon, .price-overflow .list-icon, .price-overflow .dollar-val { color: var(--estate-gold) !important; }
        .price-overflow p, .price-overflow span, .price-overflow li { color: rgba(255,255,255,0.75) !important; }
        .price-overflow hr { border-color: #fff !important; opacity: 0.2; }
        .price-overflow ul li { border-bottom-color: rgba(255,255,255,0.1); }
        .price-overflow:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(184, 136, 56, 0.2); }
        .price-overflow:hover::before { height: 100%; }
        .price-overflow:hover h4, .price-overflow:hover h3 { color: #fff !important; }
        .price-overflow:hover .top-icon, .price-overflow:hover .list-icon, .price-overflow:hover .dollar-val { color: #fff !important; }    
        .price-overflow:hover p, .price-overflow:hover span, .price-overflow:hover li { color: #fff !important; }

        /* General Layout */
        .image-frame { position: relative; z-index: 1; max-width: 90%; margin: 0 auto; }
        .image-frame::before { content: ''; position: absolute; top: -15px; right: -15px; width: 100%; height: 100%; border: 2px solid var(--estate-gold); z-index: -1; transition: all 0.5s ease; border-radius: var(--border-rad); }
        .image-frame:hover::before { top: 12px; right: 12px; }
        .image-frame img { width: 100%; height: auto; object-fit: cover; }

        .testimonial-card { background-color: var(--off-white); border-left: 5px solid var(--estate-gold); min-height: 420px; position: relative; }
        .carousel-custom-controls { position: absolute; bottom: 30px; right: 30px; display: flex; gap: 10px; z-index: 10; }
        .carousel-control-prev, .carousel-control-next { position: relative; width: 45px; height: 45px; background-color: var(--estate-navy); border-radius: 50%; opacity: 1; border: 2px solid transparent; transition: all 0.3s ease; }
        .carousel-control-prev:hover, .carousel-control-next:hover { background-color: var(--estate-gold); transform: scale(1.1); box-shadow: 0 4px 10px rgba(184, 136, 56, 0.4); }
        .carousel-inner { padding-bottom: 50px; }

        .cta-section { background-color: var(--estate-gold); background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px); }

        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease-out; }
        .reveal-left.active { opacity: 1; transform: translateX(0); }
        
        .delay-100 { transition-delay: 100ms; }
        .delay-200 { transition-delay: 200ms; }
        .delay-300 { transition-delay: 300ms; }
        .delay-400 { transition-delay: 400ms; }
        
        .navbar-dark .navbar-nav .nav-link.active { color: rgba(255, 255, 255, 0.65) !important; font-weight: 500; }
        .navbar-dark .navbar-nav .nav-link.active:hover { color: var(--estate-gold) !important; font-weight: 600; }
        
        .support-card { background-color: var(--off-white); border-radius: var(--border-rad); transition: all 0.3s ease; }
        .support-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(10, 32, 56, 0.15) !important; }
        .support-card h5 { font-family: 'Playfair Display', serif; transition: color 0.3s ease; }
        .support-icon-box { width: 65px; height: 65px; background-color: rgba(184, 136, 56, 0.1); border-radius: 50%; transition: all 0.3s ease; }
        .support-card:hover .support-icon-box { background-color: var(--estate-gold); color: #ffffff !important; }

        @media (max-width: 991.98px) { .navbar-collapse .navbar-nav { padding-top: 15px; } }
        @media (max-width: 767.98px) { .hero h1 { font-size: 2rem !important; line-height: 1.2; } .hero p.lead { font-size: 1rem !important; } }

        .text-white {

        color: var(--off-white) !important;

        }
        
        
        /* --- Icon Bar Redesign --- */
.icon-bar {
    background-color: #071728; /* Keeps your deep navy base */
    border-bottom: 2px solid var(--estate-gold);
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Adds a subtle top separator */
}

/* Circle background for the icons */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(184, 136, 56, 0.1); /* Faded gold background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Circle background for the icons - Smaller */
.icon-wrapper {
    width: 50px; 
    height: 50px; 
    background-color: rgba(184, 136, 56, 0.1); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

/* Hover container effects */
.icon-feature-box.transition-hover {
    border-radius: 12px; /* Pinaliit din ang kanto */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* When the user hovers over the block */
.icon-feature-box.transition-hover:hover {
    /*background-color: rgba(255, 255, 255, 0.03); */
    transform: translateY(-5px); /* Mas subtle na talon */
}

/* Invert the icon circle colors on hover */
.icon-feature-box.transition-hover:hover .icon-wrapper {
    background-color: var(--estate-gold);
    box-shadow: 0 5px 15px rgba(184, 136, 56, 0.3);
}

.icon-feature-box.transition-hover:hover .icon-wrapper i {
    color: #ffffff !important;
}


        /* Founder section design */
        .founder-section { background: linear-gradient(135deg, #f8f5ef 0%, #fff 60%, #f8f5ef 100%); position: relative; overflow: hidden; }
        .founder-section::before { content: ''; position: absolute; top: -60px; right: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(184,136,56,0.08) 0%, transparent 70%); pointer-events: none; }
        .founder-section::after { content: ''; position: absolute; bottom: -40px; left: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(10,32,56,0.05) 0%, transparent 70%); pointer-events: none; }
        .founder-quote-mark { font-family: 'Cormorant SC', serif; font-size: 7rem; line-height: 1; color: var(--estate-gold); opacity: 0.18; position: absolute; top: -10px; left: -10px; pointer-events: none; }
        .founder-stat-box { border-left: 3px solid var(--estate-gold); padding: 6px 0 6px 14px; }
        .founder-signature { font-family: 'Cormorant SC', serif; font-size: 1.4rem; color: var(--estate-navy); letter-spacing: 1px; }
 .flip-card {
    background-color: transparent;
    perspective: 1000px;
    min-height: 270px;
    width: 100%;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    will-change: transform;
}
.flip-card-inner.is-flipping {
    transition: transform 0.6s ease-in-out;
}
.flip-card-inner.is-flipped {
    transform: rotateY(180deg);
}
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    top: 0;
    left: 0;
    pointer-events: none;
}
.flip-card-back {
    transform: rotateY(180deg);
}
.flip-card .service-card:hover {
    transform: none !important;
}

/* Swipe hint */
.flip-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: #a08c5b; /* muted gold */
    opacity: 0.7;
    user-select: none;
}
.flip-hint i {
    font-size: 0.9rem;
    animation: hintSwipe 2s ease-in-out infinite;
}
@keyframes hintSwipe {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    40%       { transform: translateX(4px); opacity: 1; }
    60%       { transform: translateX(-2px); opacity: 0.9; }
}
    .btn-inquire {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    background-color: #ffffff;
    color: #1a2744; /* your navy */
    border: 1.5px solid #1a2744;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Remove button hover effect */
.btn-inquire:hover {
    background-color: #ffffff;
    color: #1a2744;
    border-color: #1a2744;
}

.price-overflow .btn-inquire:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* On card hover — hide button border */
.pricing-card:hover .btn-inquire {
    border-color: transparent;
}




.btn-outline-navy {
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline-navy:hover {
    background-color: var(--navy);
    color: #fff;
}

.btn-inquire-light {
    border: 1.5px solid #1a2744;
    color: #1a2744;
    background: transparent;
    letter-spacing: 0.1em;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-inquire-light:hover {
    background: #1a2744;
    color: #fff;
    border-color: #1a2744;
}

.btn-inquire-dark {
    border: 1.5px solid #c9a96e;
    color: #c9a96e;
    background: transparent;
    letter-spacing: 0.1em;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-inquire-dark:hover {
    background: #c9a96e;
    color: #1a2744;
    border-color: #c9a96e;
}
/* Light cards — button on card hover */
.pricing-card:not(.price-overflow):hover .btn-inquire-light {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* Dark/overflow card — button on card hover */
.pricing-card.price-overflow:hover .btn-inquire-dark {
    background: transparent;
    color: #fff;
    border-color: #fff;
}










