/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #00bcd4;
    --secondary-color: #0097a7;
    --accent-color: #00e5ff;
    --dark-bg: #1a1a2e;
    --gradient-primary: linear-gradient(135deg, #00bcd4, #0097a7, #00e5ff);
}

/* Base Styles */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
}

/* Prevent horizontal scroll on mobile */
.container,
.row,
.section-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Header z-index */
#main-header {
    z-index: 1030 !important;
}

/* Particles Animation */
.particles-container {
    z-index: -1 !important;
    pointer-events: none !important;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 188, 212, 0.6);
    border-radius: 50%;
    animation: float-particle 15s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background-image:
        linear-gradient(180deg, rgba(10, 18, 30, 0.75) 0%, rgba(10, 18, 30, 0.45) 60%, rgba(10, 18, 30, 0.9) 100%),
        url('images/hero-bg-CP.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #0e1824;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 100vh;
    }
}

/* Futuristic Overlay */
.futuristic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.7) 0%,
        rgba(0, 188, 212, 0.1) 25%,
        rgba(0, 151, 167, 0.1) 50%,
        rgba(0, 229, 255, 0.1) 75%,
        rgba(26, 26, 46, 0.8) 100%
    );
    background-size: 400% 400%;
    animation: gradient-shift 8s infinite;
    z-index: 1;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 3s infinite;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.gradient-text-hero {
    background: linear-gradient(45deg, #00bcd4, #00e5ff, #fff, #00bcd4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-text 4s infinite;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(0, 188, 212, 0.5);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .gradient-text-hero {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .gradient-text-hero {
        font-size: 2rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@keyframes gradient-text {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Header */
#main-header {
    background: rgba(10, 18, 46, 0.3);
    backdrop-filter: blur(24px) saturate(170%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(4, 9, 32, 0.45);
    z-index: 1030;
}

.glass-nav {
    background: linear-gradient(120deg, rgba(13, 21, 45, 0.78), rgba(18, 30, 60, 0.52));
    backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    width: min(100% - 2rem, 1240px);
    margin: 0 auto;
    box-shadow: 0 24px 48px rgba(6, 12, 30, 0.35);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.glass-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link:focus {
    color: #ffffff;
}

.logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(32, 64, 128, 0.65));
    box-shadow: 0 0 18px rgba(79, 209, 255, 0.45), 0 10px 24px rgba(0, 0, 0, 0.35);
    object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
}


@keyframes logoPulse {
    0% {
        box-shadow: 0 0 14px rgba(79, 209, 255, 0.3), 0 8px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(0);
    }
    50% {
        box-shadow: 0 0 25px rgba(79, 209, 255, 0.65), 0 15px 32px rgba(0, 0, 0, 0.35);
        transform: translateY(-1px);
    }
    100% {
        box-shadow: 0 0 14px rgba(79, 209, 255, 0.3), 0 8px 18px rgba(0, 0, 0, 0.25);
        transform: translateY(0);
    }
}


/* Footer */
.footer {
    background: rgba(10, 18, 46, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-heading {
    color: #00e5ff;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer .footer-text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer .footer-link {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer .footer-link:hover,
.footer .footer-link:focus {
    color: #00e5ff;
    text-decoration: none;
    transform: translateX(4px);
}

.footer .footer-contact-icon {
    color: #00e5ff;
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.footer .footer-payment-logo {
    height: 34px;
    filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.25));
    user-select: none;
}

.footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
}

.footer .footer-copy {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer .footer-bottom-link {
    font-size: 0.9rem;
}

.footer .social-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-link:hover,
.footer .social-link:focus {
    color: #00e5ff;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .footer .footer-heading {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer .footer-bottom-link {
        display: inline-block;
        margin-top: 0.5rem;
    }
}

@media (max-width: 991px) {
    .glass-nav {
        border-radius: 14px;
        width: calc(100% - 1.5rem);
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
}

@media (max-width: 576px) {
    .glass-nav {
        width: calc(100% - 1rem);
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Ticker */
.ticker-container {
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.28), rgba(102, 126, 234, 0.25));
    backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1025;
}

.ticker-text {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 767px) {
    .ticker-container {
        display: block !important;
        padding: 8px 0;
        font-size: 14px;
    }
    
    .ticker-text {
        animation: ticker 20s linear infinite;
        white-space: nowrap;
        display: inline-block;
    }

    .payment-brand-strip {
        gap: 12px;
        padding: 10px 14px;
    }
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Logo */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 576px) {
    .logo-img {
        width: 30px;
        height: 30px;
    }

    .payment-tab-btn {
        font-size: 0.9rem;
        padding: 12px 14px;
    }
}

/* Buttons */
.btn-futuristic {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    padding: 15px 35px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
}

.btn-futuristic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.5);
    color: #fff;
}

.btn-futuristic:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-futuristic:hover:before {
    left: 100%;
}

.btn-outline-futuristic {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px;
    padding: 13px 33px;
    transition: all 0.3s;
    font-size: 1rem;
    margin: 0.5rem;
}

.btn-outline-futuristic:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
}

/* Hero Buttons Container */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-futuristic,
    .btn-outline-futuristic {
        width: 100%;
        max-width: 280px;
    }
}

/* CTA Button Stack */
.cta-button-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-button-stack .btn {
    width: 100%;
    max-width: 320px;
}

@media (max-width: 576px) {
    .cta-button-stack .btn {
        max-width: 100%;
    }
}

/* Villa Cards */
.villa-card {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.villa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
}

.villa-img,
.villa-img-main {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.villa-card:hover .villa-img,
.villa-card:hover .villa-img-main {
    transform: scale(1.05);
}

/* Watermark */
.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(0, 188, 212, 0.1) 50px,
        rgba(0, 188, 212, 0.1) 52px
    );
    z-index: 2;
    pointer-events: none;
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 24px;
    font-weight: 700;
    color: rgba(0, 188, 212, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 3;
    pointer-events: none;
    font-family: 'Orbitron', monospace;
}

/* Payment Icons */
.payment-icon-small {
    width: 48px;
    height: 32px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4px;
    box-sizing: border-box;
    box-shadow: 0 18px 38px rgba(8, 13, 33, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.payment-icon-small:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(8, 13, 33, 0.45);
    background: rgba(255, 255, 255, 0.16);
}

/* Payment Glass Panels */
.glass-panel {
    background: linear-gradient(145deg, rgba(16, 26, 50, 0.78), rgba(18, 32, 62, 0.52));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 20px 48px rgba(6, 12, 30, 0.32);
}

.payment-icon {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-brand-strip {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(4, 43, 99, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.payment-brand-strip.primary-brand {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.32), rgba(0, 106, 194, 0.24));
    border-color: rgba(0, 188, 212, 0.35);
}

.payment-method-card {
    background: linear-gradient(145deg, rgba(6, 17, 48, 0.9), rgba(4, 34, 78, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 25px 55px rgba(4, 21, 56, 0.45);
    color: #e2e8f0;
}

.payment-method-card .btn {
    margin: 0.45rem auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bank-card,
.ewallet-card,
.bank-details p,
.bank-details strong {
    color: #e2e8f0;
}

.bank-card .btn,
.ewallet-card .btn {
    margin-top: 0.8rem;
}

.payment-tabs {
    background: rgba(6, 17, 48, 0.7);
    border-radius: 20px;
    padding: 6px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.payment-tab-btn {
    color: rgba(226, 232, 240, 0.75);
    font-weight: 600;
    border-radius: 16px !important;
    padding: 14px 18px;
    transition: all 0.25s ease !important;
    border: none !important;
    background: transparent !important;
}

.payment-tab-btn.active {
    color: #fff !important;
    background: linear-gradient(120deg, rgba(5, 178, 255, 0.9), rgba(4, 93, 182, 0.9)) !important;
    box-shadow: 0 18px 35px rgba(5, 178, 255, 0.25);
}

/* WhatsApp Float */
.whatsapp-float {
    width: 60px;
    height: 60px;
    z-index: 1040;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .display-2 {
        font-size: 2.2rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .payment-icon-small {
        width: 35px;
        height: 22px;
    }
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger-lines {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.mobile-menu-toggle:hover .line {
    background: linear-gradient(135deg, #00e5ff, #ff6b6b);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* Hamburger Animation */
.mobile-menu-toggle.active .line1 {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .line2 {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Slide Menu */
.mobile-slide-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(44, 62, 80, 0.98));
    backdrop-filter: blur(20px);
    border-right: 2px solid rgba(0, 188, 212, 0.3);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-slide-menu.active {
    left: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(255, 107, 107, 0.1));
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    background: transparent;
    border: 2px solid rgba(0, 188, 212, 0.4);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.mobile-menu-close::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.3), transparent);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    transform: rotate(90deg);
}

.mobile-menu-close:hover::before {
    transform: scale(1);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 20px 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transition: left 0.5s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    background: rgba(0, 188, 212, 0.1);
    transform: translateX(10px);
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.mobile-nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Futuristic Glow Effect */
.mobile-nav-link:hover i {
    color: var(--primary-color);
    text-shadow: 0 0 15px currentColor;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 320px) {
    .mobile-slide-menu {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-slide-menu {
        display: none !important;
    }
}

/* Modals */
.modal-content {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 188, 212, 0.5);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 188, 212, 0.3);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 188, 212, 0.3);
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
}

.modal-html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Villa Modal Cards */
.villa-modal-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.villa-modal-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    transform: translateY(-5px);
}

.villa-modal-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.villa-modal-card:hover .card-img-top {
    transform: scale(1.05);
}

.villa-modal-card .card-html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    padding: 1.5rem;
}

.villa-modal-card .card-title {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.villa-modal-card .card-text {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.villa-modal-card .btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.villa-modal-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

/* Close button styling */
.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

/* Carousel */
.carousel-item img,
.carousel-item video {
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 188, 212, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-indicators button {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .carousel-item img,
    .carousel-item video {
        height: 250px;
    }
    
    .villa-info-card {
        margin-top: 20px;
    }
}

/* Loading */
.loading-payment {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 188, 212, 0.3);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Utility */
html {
    scroll-behavior: smooth;
}

.fadeIn {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.protection-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 320px;
  background: rgba(15, 23, 42, 0.9);
  color: #f8fafc;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(8, 13, 33, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
  font-size: 0.95rem;
  z-index: 11000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.protection-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 576px) {
  .protection-toast {
    left: 50%;
    right: auto;
    width: calc(100% - 40px);
    max-width: unset;
    transform: translate(-50%, -20px);
  }

  .protection-toast.show {
    transform: translate(-50%, 0);
  }
}

.footer .text-muted,
.footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.78);
}

.footer .list-unstyled a:hover {
  color: #fff;
}

.booking-anchor {
  position: relative;
  top: -80px;
  display: block;
  height: 1px;
}

@media (max-width: 768px) {
  .booking-anchor {
    top: -60px;
  }
}

.price-tile {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Responsive fixes - keep layout inside viewport on mobile */
@media (max-width: 768px) {
    .payment-method-card,
    .payment-info,
    .bank-card,
    .ewallet-card,
    .hero-section,
    .hero-card,
    .cta-card {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .payment-brand-strip img,
    .payment-icon-small,
    .payment-icon-medium,
    .payment-icon-large {
        max-width: 72px;
        height: auto;
    }
}

/* AOS fail-safe: tetap tampil meski JS AOS tidak jalan */
.aos-init {
    opacity: 1 !important;
    transform: none !important;
}

