/* ========================================
   STAY EZZI - BRAND COLOR SYSTEM
   Clean header and variable definitions
   ======================================== */

:root {
    --primary-teal: #0F5C5B;
    --secondary-navy: #1E3557;
    --accent-gold: #E0B44A;
    --bg-offwhite: #F5F5F3;
    --text-darkgrey: #4a4a4a;
    --cta-whatsapp: #25D366;
}

/* Utility button styles */
.btn-outline-primary {
    border: 2px solid white;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    background-color: transparent;
}

.btn-gold {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #c1842a;
    border-color: #c1842a;
    transform: translateY(-3px);
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: relative;
    background-color: #F5F5F3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    min-height: 104px;
}
.navbar-brand {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0;
    line-height: 1;
    z-index: 2;
}

.navbar-logo {
    max-width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}
.navbar-logo {
    max-width: 360px;
    height: auto;
    display: block;
}

.navbar .container {
    position: static;
    min-height: 88px;
    display: flex;
    align-items: center;
}

.navbar-logo:hover {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.navbar-nav .nav-link {
    color: var(--text-darkgrey) !important;
    font-weight: 500;
    font-size: 1.03rem;
    margin-left: 0;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.56rem 1.2rem;
    line-height: 1.1;
}

.navbar-nav .nav-link i {
    margin-right: 8px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-teal) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--primary-teal) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
}

.navbar-collapse {
    position: static;
    width: 100%;
    display: flex;
    align-items: center;
}

.navbar-center-menu {
    list-style: none;
}

.navbar-center-menu .nav-link {
    margin: 0 0.28rem;
    font-weight: 600;
}

.navbar-center-menu .nav-link:hover,
.navbar-center-menu .nav-link:focus {
    color: var(--primary-teal) !important;
    transform: translateY(-2px);
}

.navbar-center-menu .nav-link.active {
    color: var(--primary-teal) !important;
}

.navbar-cta-btn {
    margin-left: auto;
    background: #c99115;
    color: #ffffff;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(201, 145, 21, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.navbar-cta-btn:hover {
    background: #b57f10;
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.navbar-toggler {
    border-color: var(--primary-teal);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230F5C5B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .navbar .container {
        padding-left: 380px;
        align-items: center;
    }

    .navbar-center-menu {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.85rem;
        margin: 0;
        padding: 0;
        z-index: 2;
    }

    /* Desktop: keep menu text navy, icons teal */
    .navbar-center-menu .nav-link {
        color: var(--secondary-navy) !important;
        font-weight: 600;
    }

    .navbar-center-menu .nav-link i {
        color: var(--primary-teal) !important;
        font-size: 1rem;
        vertical-align: middle;
    }

    .navbar-center-menu .nav-link {
        margin-left: 0.15rem;
        margin-right: 0.15rem;
        padding-left: 1.05rem;
        padding-right: 1.05rem;
    }

    .navbar-cta-btn {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        z-index: 2;
    }

    .navbar-cta-btn:hover {
        transform: translateY(calc(-50% - 1px));
    }
}

@media (max-width: 991px) {
    .navbar-brand {
        left: 28px;
    }

    .navbar .container {
        padding-left: 170px;
    }

    .navbar-collapse {
        display: block;
    }

    .navbar-center-menu {
        margin-top: 0.75rem;
        position: static;
        transform: none;
    }

    .navbar-center-menu .nav-link {
        margin: 0;
        font-size: 1rem;
        padding: 0.68rem 1rem;
    }

    .navbar-cta-btn {
        display: inline-block;
        margin-top: 0.6rem;
        margin-left: 0;
        position: static;
        transform: none;
    }
    /* Mobile menu separators when expanded — no background/container changes */
    .navbar-collapse.show {
        background: transparent;
        box-shadow: none;
        padding: 0;
        border-radius: 0;
    }

    .navbar-collapse.show .navbar-nav .nav-item {
        border-top: 1px solid rgba(15, 92, 91, 0.06);
    }

    .navbar-collapse.show .navbar-nav .nav-item:first-child {
        border-top: 0;
    }

    .navbar-collapse.show .navbar-nav .nav-link {
        padding: 0.65rem 1rem;
        width: 100%;
    }

    .navbar-collapse.show .navbar-nav .nav-item:last-child {
        border-bottom: 0;
    }

    /* Make mobile menu items and icons teal when expanded */
    .navbar-collapse.show .navbar-nav .nav-link {
        color: var(--primary-teal) !important;
        font-weight: 600;
    }

    .navbar-collapse.show .navbar-nav .nav-link i {
        color: var(--primary-teal) !important;
        font-size: 1rem;
    }
}

/* Scale logo down on medium and small viewports */
@media (max-width: 768px) {
    .navbar-brand {
        left: 22px;
    }

    .navbar-logo {
        max-width: 240px;
    }
    .navbar {
        padding: 0.35rem 0;
        min-height: 86px;
    }
    .navbar .container {
        padding-left: 145px;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        left: 14px;
    }

    .navbar-logo {
        max-width: 190px;
    }
    .navbar {
        padding: 0.3rem 0;
        min-height: 74px;
    }
    .navbar .container {
        padding-left: 120px;
    }
}

/* ========================================
   HERO SECTION - New Design (20% Left, 80% Right)
   ======================================== */

.hero {
    position: relative;
    height: 700px;
    min-height: 700px;
    padding-top: 0;
    margin-top: -1px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: stretch;
    overflow: visible;
    background: #f5f5f5;
    z-index: 2;
}

.hero-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
}

/* ===== HERO LEFT SECTION (30% - White/Off-white with Fade) ===== */
.hero-left {
    flex: 0 0 30%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 15%,
        rgba(255, 255, 255, 0.8) 30%,
        rgba(240, 240, 240, 0.6) 50%,
        rgba(200, 200, 200, 0.35) 75%,
        rgba(100, 100, 100, 0.05) 90%,
        rgba(100, 100, 100, 0) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 50px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 380px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 120px;
}

.hero-main-heading {
    margin: 0;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    font-size: 3.2rem;
    letter-spacing: -0.5px;
}

.hero-line {
    display: block;
    margin: 6px 0;
    white-space: nowrap;
}

.hero-line-navy {
    color: #1E3557;
}

.hero-line-teal {
    color: #0F5C5B;
}

.hero-line-gold {
    color: #E0B44A;
    font-size: 1.1em;
    letter-spacing: 0.5px;
}

.hero-location {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #1E3557;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.hero-pin-icon {
    color: #0F5C5B;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ===== HERO RIGHT SECTION (70% - Image Area) ===== */
.hero-right {
    flex: 0 0 70%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #072e2d;
    z-index: 4;
}

.hero-image {
    width: 110%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.curve-divider {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    margin-top: -5px;
    z-index: 5;
    pointer-events: none;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 90px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 16px;
        padding-right: 16px;
        justify-content: space-between;
    }

    .navbar-brand {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        order: 1;
    }

    .navbar-toggler {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }

    .navbar-collapse {
        order: 3;
        width: 100%;
        padding-top: 0.5rem;
    }

    .navbar-cta-btn {
        display: none !important;
    }

    .navbar-logo {
        max-width: 172px;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 0.85rem 1rem;
        width: 100%;
        text-align: center;
    }

    .navbar-nav .nav-link:first-child {
        margin-top: 1rem;
    }

    /* Hero Section - Tablet */
    .hero {
        height: 620px;
        min-height: 620px;
    }

    .hero-wrapper {
        flex-direction: row;
    }

    .hero-left {
        flex: 0 0 30%;
        padding: 50px 40px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.93) 15%,
            rgba(255, 255, 255, 0.75) 30%,
            rgba(240, 240, 240, 0.55) 50%,
            rgba(180, 180, 180, 0.3) 70%,
            rgba(100, 100, 100, 0.05) 90%,
            rgba(100, 100, 100, 0) 100%
        );
    }

    .hero-content {
        max-width: 320px;
        padding-bottom: 100px;
    }

    .hero-main-heading {
        font-size: 2.3rem;
        margin: 0;
    }

    .hero-location {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .navbar-brand {
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }

    .navbar-toggler {
        margin-left: auto;
        padding: 0.35rem 0.5rem;
    }

    .navbar-cta-btn {
        display: none !important;
    }

    .navbar-logo {
        max-width: 186px;
    }

    .navbar {
        padding: 0.3rem 0;
    }

    /* Hero Section - Mobile */
    .hero {
        height: 560px;
        min-height: 560px;
    }

    .hero-left {
        flex: 0 0 28%;
        padding: 40px 25px;
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.9) 15%,
            rgba(255, 255, 255, 0.7) 30%,
            rgba(240, 240, 240, 0.5) 50%,
            rgba(150, 150, 150, 0.2) 75%,
            rgba(100, 100, 100, 0) 100%
        );
    }

    .hero-content {
        max-width: 260px;
        padding-bottom: 80px;
    }

    .hero-main-heading {
        font-size: 1.8rem;
        margin: 0;
    }

    .hero-location {
        font-size: 0.9rem;
    }

        font-size: 0.92rem;
        padding: 12px 14px;
        margin-bottom: 0 !important;
        flex: 1 1 0;
    }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cta-whatsapp);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #1ead4f;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* ========================================
   PLACEHOLDER SECTIONS
   ======================================== */

/* Submission success overlay */
.submission-success-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12,18,20,0.45);
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.submission-success-overlay.hide { opacity: 0; pointer-events: none; }

.submission-success-card {
    background: #ffffff;
    padding: 28px 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
    width: 92%;
    box-shadow: 0 12px 40px rgba(15, 92, 91, 0.18);
}

.submission-logo { max-width: 160px; height: auto; margin-bottom: 12px; }

.success-check { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg,var(--primary-teal), #0b7b76); margin: 8px auto 12px; display:flex; align-items:center; justify-content:center; box-shadow: 0 8px 20px rgba(15,92,91,0.18); transform: scale(0); animation: popIn 0.45s cubic-bezier(.2,.9,.2,1) forwards; }
.success-check .check-mark { color: #fff; font-size: 44px; font-weight: 800; transform: translateY(-4px); }

@keyframes popIn { from { transform: scale(0); opacity: 0 } to { transform: scale(1); opacity: 1 } }

.submission-title { margin: 10px 0 6px; color: #102a43; font-weight:700; }
.submission-sub { margin: 0 0 14px; color: #4a4a4a; }
.submission-close { padding: 8px 18px; border-radius: 999px; }

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 3000;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner-hide {
    opacity: 0;
    transform: translateY(16px);
}

.cookie-banner-inner {
    background: #ffffff;
    border: 1px solid rgba(15, 92, 91, 0.14);
    box-shadow: 0 14px 38px rgba(10, 36, 42, 0.16);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.cookie-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(15, 92, 91, 0.12);
    color: #0F5C5B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cookie-banner-copy h4 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #102a43;
    font-weight: 700;
}

.cookie-banner-copy p {
    margin: 0 0 8px;
    font-size: 0.93rem;
    color: #495764;
    line-height: 1.5;
}

.cookie-banner-copy p:last-child {
    margin-bottom: 0;
}

.cookie-banner-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept-all-btn,
.cookie-reject-non-essential-btn,
.cookie-manage-btn {
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 18px;
    font-size: 0.93rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-accept-all-btn {
    background: #0F5C5B;
    color: #fff;
}

.cookie-accept-all-btn:hover {
    background: #0a4948;
}

.cookie-reject-non-essential-btn {
    background: #ffffff;
    color: #102a43;
    border: 1.5px solid #c7d3d8;
}

.cookie-reject-non-essential-btn:hover {
    background: #f3f6f8;
    border-color: #b0bcc4;
}

.cookie-manage-btn {
    background: transparent;
    color: #0F5C5B;
    border: 1.5px solid #0F5C5B;
}

.cookie-manage-btn:hover {
    background: rgba(15, 92, 91, 0.08);
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #edf2f4;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #102a43;
    font-weight: 700;
}

.cookie-modal-close {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #6b7684;
    cursor: pointer;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #102a43;
}

.cookie-modal-body {
    padding: 24px 20px;
}

.cookie-category {
    margin-bottom: 24px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0F5C5B;
}

.cookie-category-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-category-header label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.cookie-category-header label strong {
    color: #102a43;
    font-weight: 700;
}

.cookie-category-badge {
    display: inline-block;
    background: #e8f4f3;
    color: #0F5C5B;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cookie-category-description {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7684;
    line-height: 1.4;
    padding-left: 30px;
}

.cookie-modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #edf2f4;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-save-btn,
.cookie-modal-cancel-btn {
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 0.93rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-modal-save-btn {
    background: #0F5C5B;
    color: #fff;
}

.cookie-modal-save-btn:hover {
    background: #0a4948;
}

.cookie-modal-cancel-btn {
    background: transparent;
    color: #6b7684;
    border: 1px solid #c7d3d8;
}

.cookie-modal-cancel-btn:hover {
    background: #f3f6f8;
    color: #102a43;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cookie-banner-actions {
        margin-left: 0;
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-accept-all-btn,
    .cookie-reject-non-essential-btn,
    .cookie-manage-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-modal {
        width: 95%;
        max-height: 85vh;
    }
}

/* ========================================
   LEGAL MODALS (Terms, Privacy, Cookie Policy)
   ======================================== */

.legal-modal .modal-dialog {
    max-width: 700px;
}

.legal-modal-content {
    background: #ffffff;
    border: 1px solid #e6eef0;
    border-radius: 12px;
    box-shadow: 0 14px 48px rgba(10, 36, 42, 0.16);
}

.legal-modal-header {
    background: linear-gradient(135deg, #0F5C5B, #0a4948);
    color: #ffffff;
    border-bottom: none;
    padding: 24px;
    border-radius: 12px 12px 0 0;
}

.legal-modal-header .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.legal-modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.legal-modal-body {
    padding: 28px;
    max-height: 70vh;
    overflow-y: auto;
    color: #102a43;
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-modal-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F5C5B;
    margin-top: 20px;
    margin-bottom: 12px;
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}

.legal-modal-body p {
    margin: 0 0 16px 0;
    color: #495764;
}

.legal-modal-body strong {
    font-weight: 700;
    color: #102a43;
}

.legal-modal-body a {
    color: #0F5C5B;
    text-decoration: none;
    font-weight: 600;
}

.legal-modal-body a:hover {
    text-decoration: underline;
}

/* Custom scrollbar for legal modal */
.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #f3f6f8;
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: #c7d3d8;
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #aab6c0;
}

@media (max-width: 768px) {
    .legal-modal .modal-dialog {
        margin: 12px;
    }

    .legal-modal-header {
        padding: 20px;
    }

    .legal-modal-header .modal-title {
        font-size: 1.2rem;
    }

    .legal-modal-body {
        padding: 20px;
        max-height: 75vh;
        font-size: 0.9rem;
    }

    .legal-modal-body h3 {
        font-size: 1rem;
        margin-top: 16px;
    }
}

.service-area,
.value-proposition,
.how-it-works,
.form-section,
.verification-section {
    padding: 80px 0;
}

/* ========================================
   SERVICE AREA SECTION
   ======================================== */

.service-area {
    background-color: white;
    padding: 150px 0 80px;
    margin-top: 0;
    border-top: none;
    position: relative;
    z-index: 1;
}

.service-area h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.service-area .lead {
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.trust-badge {
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-teal);
    display: none; /* Hidden - replaced with service-card */
}

/* ========================================
   SERVICE CARDS (PROFESSIONAL DESIGN)
   ======================================== */

.service-card {
    background: white;
    border-radius: 14px;
    padding: 45px 35px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 92, 91, 0.03) 0%, transparent 100%);
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 18px 45px rgba(15, 92, 91, 0.18);
    border-color: rgba(15, 92, 91, 0.2);


/* ===== Fresh trust badge (clean, conflict-free) ===== */
/* Base: centered for small screens, visible over the image */
.hero-trust-badge-fixed {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: min(380px, calc(100% - 36px));
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(11,63,62,0.98), rgba(15,92,91,0.95));
    border: 1px solid rgba(224,180,74,0.34);
    box-shadow: 0 18px 38px rgba(0,0,0,0.34), inset 0 0 18px rgba(255,255,255,0.04);
    color: #fff;
    backdrop-filter: blur(3px);
    pointer-events: auto;
}

.hero-trust-badge-fixed .hero-trust-badge-row { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.hero-trust-badge-fixed .hero-trust-icon { width:48px; height:48px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,0.06); border:1px solid rgba(224,180,74,0.22); }
.hero-trust-badge-fixed .hero-trust-icon i { color:#E0B44A; font-size:1.2rem; }
.hero-trust-badge-fixed .hero-trust-stars { color:#E0B44A; display:flex; gap:6px; }
.hero-trust-badge-fixed .hero-trust-title { margin:0 0 4px 0; font-size:1.1rem; font-weight:700; }
.hero-trust-badge-fixed .hero-trust-text { margin:0; font-size:1rem; color:rgba(255,255,255,0.92); }

/* Desktop: anchor to the image top-right (exactly as requested) */
@media (min-width: 992px) {
    .hero-right { position: relative !important; }
    .hero-right > .hero-trust-badge-fixed {
        inset: 21px 21px auto auto !important; /* top-right */
        transform: none !important;
        z-index: 9999 !important;
    }
}
    /* Final override: force badge to stay visible at image bottom-right on desktop */
    @media (min-width: 992px) {
        .hero-trust-badge {
            inset: 21px 21px auto auto !important;
            transform: none !important;
        }
    }

    /* Ensure hero-right is the positioning context and force final badge placement */
    @media (min-width: 992px) {
        .hero-right {
            position: relative !important;
        }
        .hero-right > .hero-trust-badge {
            inset: 21px 21px auto auto !important;
            transform: none !important;
            z-index: 9999 !important;
            pointer-events: auto !important;
        }
    }
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    left: 0;
}

.service-card-icon {
    font-size: 3.5rem;
    color: var(--primary-teal);
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(15, 92, 91, 0.08) 0%, rgba(15, 92, 91, 0.02) 100%);
    border-radius: 12px;
}

.service-card:hover .service-card-icon {
    transform: scale(1.18) rotate(6deg);
    color: var(--accent-gold);
    background: linear-gradient(135deg, rgba(211, 155, 42, 0.12) 0%, rgba(211, 155, 42, 0.04) 100%);
    box-shadow: 0 8px 20px rgba(15, 92, 91, 0.15);
}

.service-card h4 {
    color: var(--secondary-navy);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    transition: all 0.4s ease;
    letter-spacing: -0.3px;
}

.service-card:hover h4 {
    color: var(--primary-teal);
    transform: translateY(-2px);
}

.service-card p {
    color: #666666;
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
    transition: color 0.4s ease;
    font-weight: 500;
}

.trust-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(15, 92, 91, 0.15);
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
    display: block;
}

.trust-badge p {
    font-weight: 600;
    color: var(--secondary-navy);
    margin: 0;
}

/* ========================================
.value-proposition {
    display: none; /* Hidden - section removed */
}

.value-card-pro {
    display: none; /* Hidden - section removed */
}
    color: #d0d0d0;
    margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    background-color: var(--bg-offwhite);
    padding: 50px 0 80px 0;
    border-top: none;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--secondary-navy);
}

.how-it-works .lead {
    margin-bottom: 50px;
    color: #888888;
    font-size: 1.1rem;
}

.step-box {
    background: white;
    border-radius: 14px;
    padding: 50px 35px;
    text-align: center;
    border: 2px solid rgba(15, 92, 91, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.step-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--accent-gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 92, 91, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.step-box:hover {
    border-color: var(--primary-teal);
    background: white;
    box-shadow: 0 16px 40px rgba(15, 92, 91, 0.15);
    transform: translateY(-12px);
}

.step-box:hover::before {
    transform: scaleX(1);
}

.step-box:hover::after {
    opacity: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), #0a4140);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 auto 25px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(15, 92, 91, 0.2);
}

.step-box:hover .step-number {
    transform: scale(1.15) rotate(-8deg);
    box-shadow: 0 12px 30px rgba(15, 92, 91, 0.3);
    background: linear-gradient(135deg, var(--accent-gold), #c4891f);
}

.step-box h4 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--secondary-navy);
    font-weight: 700;
    transition: color 0.4s ease;
    letter-spacing: -0.3px;
}

.step-box:hover h4 {
    color: var(--primary-teal);
}

.step-box p {
    color: #666666;
    margin: 0;
    line-height: 1.7;
    font-size: 0.98rem;
    font-weight: 500;
    transition: color 0.4s ease;
}

/* ========================================
   FORM SECTIONS
   ======================================== */

.form-section,
.unified-form-section {
    padding: 80px 0;
    border-top: 1px solid #e5e5e0;
}

.unified-form-section {
    background-color: white;
}

.landlord-section,
.inquiry-section {
    background-color: white;
}

.guest-section {
    background-color: var(--bg-offwhite);
}

.unified-form-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-navy);
}

.unified-form-section .lead {
    color: #888;
    margin-bottom: 30px;
    font-size: 1.1rem;
}



.form-type-selector {
    background: linear-gradient(135deg, rgba(15, 92, 91, 0.03) 0%, rgba(211, 155, 42, 0.02) 100%);
    border: 2px solid rgba(15, 92, 91, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.selector-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-navy);
    margin-bottom: 25px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.selector-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.selector-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.selector-btn i {
    font-size: 1.4rem;
    transition: all 0.4s ease;
}

.selector-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(15, 92, 91, 0.1), transparent);
    transition: left 0.6s ease;
}

.selector-btn:hover {
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: 0 8px 25px rgba(15, 92, 91, 0.15);
    transform: translateY(-4px);
}

.selector-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

.selector-btn:hover::before {
    left: 100%;
}

.selector-btn.active {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #0a4140 100%);
    border-color: var(--primary-teal);
    color: white;
    box-shadow: 0 12px 35px rgba(15, 92, 91, 0.3);
}

.selector-btn.active i {
    color: var(--accent-gold);
    transform: scale(1.25);
}

/* ========================================
   FORM CONTAINERS
   ======================================== */

.form-container {
    display: none;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    margin-top: 40px;
}

.form-container.active {
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-info {
    padding: 20px 0;
}

.form-info h3 {
    font-size: 2rem;
    color: var(--secondary-navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.form-info p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.form-section h2,
.form-section h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--secondary-navy);
}

.form-section .lead {
    color: #666;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    color: var(--primary-teal);
    transform: translateX(8px);
}

.feature-list i {
    margin-right: 12px;
    font-size: 1.2rem;
    color: var(--primary-teal);
    width: 24px;
    text-align: center;
}

.form-box {
    background: white;
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.form-box:hover {
    box-shadow: 0 12px 40px rgba(15, 92, 91, 0.12);
}

.form-box .form-label {
    font-weight: 600;
    color: var(--secondary-navy);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    display: block;
}

.form-box .form-control,
.form-box .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-box .form-control:focus,
.form-box .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(15, 92, 91, 0.1);
    outline: none;
}

.form-box .form-control::placeholder {
    color: #999;
}

.form-box .btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 14px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 92, 91, 0.3);
}

/* ========================================
   VERIFICATION SECTION
   ======================================== */

.verification-section {
    background-color: var(--bg-offwhite);
}

.verification-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.verification-box {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.verification-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(15, 92, 91, 0.15);
}

.verification-icon {
    font-size: 3.5rem;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.verification-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-navy);
}

.verification-box p {
    color: #666;
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--secondary-navy);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.footer p {
    color: #ccc;
    margin-bottom: 0;
    line-height: 1.8;
}

.footer a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

@media (max-width: 768px) {
    .service-area,
    .value-proposition,
    .how-it-works,
    .form-section,
    .unified-form-section,
    .verification-section {
        padding: 50px 0;
    }

    .form-type-selector {
        padding: 30px 20px;
    }

    .selector-buttons {
        gap: 15px;
    }

    .selector-btn {
        min-width: 150px;
        padding: 16px 20px;
        font-size: 0.9rem;
    }

    .selector-btn i {
        font-size: 1.2rem;
    }

    .form-box {
        padding: 25px;
    }

    .form-info {
        margin-bottom: 30px;
    }

    .form-info h3 {
        font-size: 1.6rem;
    }

    .form-section h2,
    .unified-form-section h2,
    .how-it-works h2,
    .service-area h2,
    .value-proposition h2,
    .verification-section h2 {
        font-size: 1.8rem;
    }

    .trust-badge,
    .service-card,
    .step-box,
    .verification-box {
        margin-bottom: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .step-box h4 {
        font-size: 1.15rem;
    }

    .step-box p {
        font-size: 0.9rem;
    }

    .step-box {
        padding: 40px 25px;
    }

    .service-card-icon {
        font-size: 2.8rem;
        width: 60px;
        height: 60px;
    }

    .service-card h4 {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .section-fade-divider {
        margin: 40px 0;
    }

    .value-card,
    .value-card-pro {
        margin-bottom: 20px;
    }

    .value-icon-pro {
        font-size: 2.8rem;
    }

    .value-card-pro h4 {
        font-size: 1.1rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer h5 {
        margin-bottom: 15px;
    }
}
