:root {
    --primary: #0f2b48;
    --primary-dark: #0a1b2d;
    --accent: #2b6cb0;
    --accent-light: #63b3ed;
    --dark: #1a202c;
    --gray: #4a5568;
    --light-gray: #f8fafc;
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--dark); background-color: #ffffff; line-height: 1.6; overflow-x: hidden; }

/* 3D GATE PRELOADER */
#gate-viewport {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #060b11; z-index: 9999;
    perspective: 1600px; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#gate-viewport.opened { opacity: 0; visibility: hidden; pointer-events: none; }
.portal-frame { position: relative; width: 340px; height: 520px; border: 8px solid #334155; box-shadow: 0 0 60px rgba(99, 179, 237, 0.2); background: #000; overflow: hidden; }
.door-leaf { position: absolute; top: 0; width: 50%; height: 100%; background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%); border: 3px solid #475569; transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1); display: flex; align-items: center; justify-content: center; backface-visibility: hidden; }
.door-leaf.left { left: 0; transform-origin: left center; border-right: 2px solid #64748b; }
.door-leaf.right { right: 0; transform-origin: right center; border-left: 2px solid #64748b; }
.door-handle { width: 6px; height: 70px; background: #94a3b8; position: absolute; top: 50%; transform: translateY(-50%); border-radius: 3px; }
.door-leaf.left .door-handle { right: 12px; }
.door-leaf.right .door-handle { left: 12px; }
#gate-viewport.open-action .door-leaf.left { transform: rotateY(-105deg); }
#gate-viewport.open-action .door-leaf.right { transform: rotateY(105deg); }
.gate-cta { position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 10; }
.btn-open { background: transparent; border: 2px solid var(--accent-light); color: #fff; padding: 12px 32px; font-size: 0.95rem; letter-spacing: 3px; text-transform: uppercase; cursor: pointer; font-weight: 600; border-radius: 4px; transition: 0.3s; }
.btn-open:hover { background: var(--accent-light); color: var(--primary-dark); }

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); color: #FFF; }

/* NAVIGATION */
.main-nav { position: sticky; top: 0; background: rgba(15, 43, 72, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); z-index: 100; }
.nav-container { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand-logo { text-decoration: none; display: flex; flex-direction: column; }
.logo-title { font-family: 'Cinzel', serif; font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: 1.5px; }
.logo-title span { color: var(--accent-light); }
.logo-sub { font-size: 0.65rem; letter-spacing: 3px; color: #94a3b8; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: #e2e8f0; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover { color: var(--accent-light); }
.btn-nav { background: var(--accent); color: #fff !important; padding: 8px 20px; border-radius: 4px; }

/* HERO & LAYOUT UTILITIES */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; padding: 120px 24px 90px; text-align: center; }
.hero-inner { max-width: 880px; margin: 0 auto; }
.hero h1 { font-family: 'Cinzel', serif; font-size: 2.8rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 35px; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 14px 34px; border-radius: 4px; text-decoration: none; font-weight: 600; transition: 0.3s; }
.section { padding: 80px 24px; }
.container { max-width: 1240px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Cinzel', serif; font-size: 2.1rem; color: var(--primary); margin-bottom: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }

/* ENQUIRY FORMS */
.form-box { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--border); padding: 40px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 4px; font-family: inherit; font-size: 0.95rem; }

/* FOOTER */
.site-footer { background: #0a111a; color: #94a3b8; padding: 70px 24px 30px; border-top: 1px solid #1e293b; }
.footer-container { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #94a3b8; text-decoration: none; }
.footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); text-align: center; }

@media (max-width: 768px) { .nav-menu { display: none; } .footer-container { grid-template-columns: 1fr; } }


/* FIXED STATS BANNER & CONTAINER */
.stats-banner {
    background: linear-gradient(180deg, #0b1726 0%, #08101a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 45px 20px;
    width: 100%;
}

.stats-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    position: relative;
}

/* Elegant vertical divider between numbers */
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.stat-item h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-light);
    letter-spacing: -0.5px;
    margin: 0 0 6px 0;
    line-height: 1;
}

.stat-item p {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Responsive adjustment for tablets & mobile */
@media (max-width: 820px) {
    .stats-grid {
        flex-wrap: wrap;
        row-gap: 30px;
    }

    .stat-item {
        flex: 0 0 50%;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-item {
        flex: 0 0 100%;
    }

    .stat-item::after {
        display: none !important;
    }
}
