/* ====================== */
/* Default Styling (Blue) */
/* ====================== */
 
.policy-section {
    margin-top: 90px;
}
/* Alert Container - Centered Absolutely */
#alert-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    z-index: 1050;
    text-align: center;
}

/* Custom Alert Box */
.custom-alert {
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 500;
    margin-bottom: 12px;
    color: white;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    opacity: 1 !important; /* Ensure the alert is visible */
    transform: translateY(0); /* Remove any hidden positioning */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Alert Message */
.alert-message {
    flex-grow: 1;
    text-align: left;
    font-size: 15px;
    letter-spacing: 0.3px;
}

/* Close Button */
.close-alert {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0 12px;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.close-alert:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

/* Success Alert */
.alert-success {
    background: linear-gradient(135deg, #1fa9ff, #5da6ff);
}

/* Error Alert */
.alert-error {
    background: linear-gradient(135deg, #ff5a5a, #d80000);
}

/* Warning Alert */
.alert-warning {
    background: linear-gradient(135deg, #f9d423, #ff4e50);
    color: #222;
}

/* Info Alert */
.alert-info {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

/* Show animation */
.show-alert {
    opacity: 1;
    transform: translateY(0);
}


.boat-img-light {
    display: block !important;
}

.boat-img-dark {
    display: none !important;
}

.dark-mode .boat-img-light {
    display: none !important;
}

.dark-mode .boat-img-dark {
    display: block !important;
}





/* Default state: All tabs show the blue/dark image */
.tab-img-light {
    display: block;
}

.tab-img-dark {
    display: none;
}

/* ============================= */
/* Active Tab (White Appearance) */
/* ============================= */

/* When a tab is active, switch to the white/light image */
.tab-button.tab-active .tab-img-dark {
    display: none;
}

.tab-button.tab-active .tab-img-light {
    display: block;
}

/* ====================== */
/* Dark Mode Adjustments */
/* ====================== */

/* Keep the same behavior in Dark Mode */
.dark-mode .tab-img-light {
    display: none;
}

.dark-mode .tab-img-dark {
    display: block;
}

/* Active tab in Dark Mode should still show the white/light image */
.dark-mode .tab-button.tab-active .tab-img-dark {
    display: none;
}

.dark-mode .tab-button.tab-active .tab-img-light {
    display: block;
}


/* Hide all versions by default */
.desktop-only, .mobile-only {
    display: none;
}

/* Show desktop content only on screens greater than 1010px */
@media (min-width: 993px) {
    .desktop-only {
        display: block;
    }
}

/* Show mobile content only on screens 1010px and below */
@media (max-width: 992px) {
    .mobile-only {
        display: block;
    }
}

/* Light Mode Styling */
body, html {
    font-family: 'Times New Roman', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-size: 16px;
    scroll-behavior: smooth;
    background: 
    radial-gradient(circle at 30% 85%, rgba(210, 225, 245, 0.7), transparent 50%), /* Soft grayish blue */
    radial-gradient(circle at 70% 15%, rgba(180, 205, 230, 0.6), transparent 50%), /* Muted sky blue */
    radial-gradient(circle at 50% 50%, rgba(200, 215, 235, 0.5), transparent 50%), /* Soft blue-gray */
    linear-gradient(135deg, #f4f7fa, #d9e3ed, #b8c9da); /* Cool off-white to soft steel blue */

    background-size: cover;
    color: #1a1a1a; /* Ensures good readability */
    transition: background 0.8s ease-in-out, color 0.8s ease-in-out;
}

/* Dark Mode Styling */
body.dark-mode {
    background: 
        radial-gradient(circle at 30% 75%, rgba(20, 40, 80, 0.9), transparent 60%),
        radial-gradient(circle at 70% 25%, rgba(10, 30, 60, 0.8), transparent 60%),
        linear-gradient(135deg, #0a0e18, #060c24, #000000);
    color: #f8f9fa; /* Slightly off-white for softer contrast */
    transition: background 0.8s ease-in-out, color 0.8s ease-in-out;
}

.message-container {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.dark-mode .message-container {
    background: rgba(0, 0, 0, 0.2);
}

/* =============== */
/* NAVBAR Styling  */
/* =============== */

/* =========================
NAVBAR STYLING
========================= */
.navbar {
display: flex; /* Enables flexbox */
justify-content: space-between; /* Pushes brand and links to sides */
padding: 10px 20px;
position: fixed; /* Ensures the navbar stays on top and fixed */
top: 0; /* Aligns it to the top of the viewport */
width: 100%; /* Full width */
height: 90px; /* Fixed height */
z-index: 100; /* Ensures the navbar is above other content */
align-items: center; /* Centers brand and links vertically */
backdrop-filter: blur(20px); /* Glass effect */
-webkit-backdrop-filter: blur(20px);/* Safari support */
background: rgba(255, 255, 255, 0.1); /* Transparent white */
border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
transition: background-color 0.3s ease, box-shadow 0.3s ease;

}

.navbar:hover {
background: rgba(255, 255, 255, 0.15); /* Slightly more opaque on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

.navbar-nav {
display: flex;
flex-direction: row; /* Ensures horizontal layout */
gap: 10px; /* Adds space between links */
margin-left: auto; /* Pushes the links to the right */
justify-content: flex-end; /* Aligns links to the right */
align-items: center; /* Ensures proper vertical alignment */
}

.nav-link {
color: #000;
font-size: 1.5rem; /* Slightly larger font size for better readability */
font-weight: 400; /* Add slight emphasis */
text-decoration: none;
transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and hover animation */
padding: 0 20px; /* Adds spacing around links for better click area */
margin-right: 20px; /* Adds space between links */

}

.dark-mode .nav-link {
color: #fff; /* Highlight color */
}

.nav-link:hover {
color: #0078bb; /* Lighter hover color */
transform: scale(1.1); /* Slight scaling effect on hover */
}



    /* Dark Mode Toggle Switch Container */
    .dark-mode-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
    }
    
    /* Hide the default checkbox */
    .dark-mode-checkbox {
        display: none;
    }
    
    /* Switch Label - Outer styling */
    .dark-mode-label {
        width: 60px;
        height: 30px;
        background: linear-gradient(to right, #ccc, #888);
        border-radius: 50px;
        position: relative;
        transition: all 0.3s ease-in-out;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    }
    
    /* Switch Label Hover Effect */
    .dark-mode-label:hover {
        background: linear-gradient(to right, #bbb, #666);
    }
    
    /* Switch Handle - Circular knob */
    .dark-mode-label::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 26px;
        background: #fff;
        border-radius: 50%;
        top: 2px;
        left: 2px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease-in-out;
    }
    
    /* Checked State - Dark Mode Active */
    .dark-mode-checkbox:checked + .dark-mode-label {
        background: linear-gradient(to right, #0078bb, #0078bb);
    }
    
    /* Move the switch knob to the right when checked */
    .dark-mode-checkbox:checked + .dark-mode-label::after {
        left: 32px;
        background: #e1e1e1;
        box-shadow: 0 0 10px rgba(0, 94, 255, 0.8);
    }
    
    /* Optional: Dark mode icon indicators */
    .dark-mode-label::before {
        font-size: 16px;
        position: absolute;
        left: 8px;
        top: 6px;
        color: #333;
        transition: all 0.3s ease-in-out;
    }
    
    .dark-mode-checkbox:checked + .dark-mode-label::before {
        left: 35px;
        color: #fff;
    }

/* =============== */
/* SECTION Styling */
/* =============== */

 
    .banner-image {
        width: 100%;
        height: 32vh;
        object-fit: cover;
    }



    .btn-custom {
        position: relative;
        background: linear-gradient(135deg, #0078bb, #004a77);
        color: #ffffff;
        border: 2px solid transparent;
        border-radius: 8px;
        padding: 10px 20px;
        font-size: 1.2rem;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }
    
    @keyframes subtle-shine {
        0%, 100% {
            left: -150%; /* Off-screen */
            opacity: 0;
        }
        50% {
            left: 100%; /* Moves across button */
            opacity: 0.4; /* Becomes slightly visible */
        }
    }
    
    .btn-custom:hover {
        background: linear-gradient(135deg, #0eabff, #0078bb); /* Brightened gradient */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
    
    .btn-custom:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        transform: scale(0.95);
        background: linear-gradient(135deg, #003352, #005c8a); /* Slightly darker gradient */
    }
    
    .btn-subtle {
        background: transparent;
        color: #000000;
        border: 2px solid #0078bb;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 1.2rem;
        text-transform: uppercase;
        cursor: pointer;
        min-width: 80px;
        transition: all 0.3s ease; /* Smooth hover effects */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Initial shadow */
    }

    .dark-mode .btn-subtle {
        color: #fff; /* Light blue text */
        border: 2px solid #0078bb; /* Light blue border */
    }
    
    .btn-subtle:hover {
        background: linear-gradient(135deg, #0eabff, #0078bb); /* Brightened gradient */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
        color: #ffffff; /* White text */
    }
    
    .btn-subtle:active {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Smaller shadow for pressed effect */
        transform: scale(0.95); /* Pressed down effect */
        background: linear-gradient(135deg, #005c8a, #003352); /* Slightly darker gradient */
        color: #ffffff; /* Maintain white text */
    }
    






.CTA-NAVBAR {
    color: white;
    text-decoration: none;
}


.bold-text {
    font-weight: bold;
    color: #0078bb;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dark-mode .bold-text {
    color: #58c5ff;
}

.bold-text2 {
    font-weight: bold;
    color: #0078bb;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dark-mode .bold-text2 {
    color: #58c5ff;
}

.bold-text3 {
    font-weight: bold;
    color: #132778;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.dark-mode .bold-text3 {
    color: #d9e3ed;
}



.subtle-text {
    color: #3e3e3e;
}

.dark-mode .subtle-text {
    color: #dcdcdc;
}


/* ================= */
/* RENTAL FORM STYLING */
/* ================= */

/* === Enhanced Fieldset Completion Styling === */
.fieldset-complete {
    position: relative; /* Ensures relative positioning for pseudo-element */
    box-shadow: 0 0 25px rgba(0, 166, 255, 0.7); /* Brighter glow effect */
    border: 1px solid rgba(0, 150, 255, 0.8); /* Vivid blue border */
    background: 
        radial-gradient(circle at 30% 80%, rgba(180, 225, 255, 0.6), transparent 60%),
        radial-gradient(circle at 70% 20%, rgba(140, 200, 255, 0.6), transparent 60%),
        linear-gradient(135deg, rgba(210, 240, 255, 0.8), rgba(150, 210, 255, 0.7));
    transition: all 0.3s ease-in-out; /* Smooth effect */
}

/* Subtle Glow when Complete */
.fieldset-complete.complete {
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.8), 0 0 15px rgba(0, 150, 255, 0.6) inset;
    border: 3px solid rgba(0, 220, 255, 0.9);
    background: 
        radial-gradient(circle at 30% 75%, rgba(160, 225, 255, 0.8), transparent 50%),
        radial-gradient(circle at 70% 25%, rgba(100, 200, 255, 0.8), transparent 50%),
        linear-gradient(135deg, rgba(180, 230, 255, 0.9), rgba(130, 200, 255, 0.9));
}

/* Animated Checkmark */
.fieldset-complete::after {
    content: "✔"; /* Unicode checkmark */
    position: absolute; /* Position the tick */
    top: 50%; /* Center vertically */
    right: 20px; /* Align with the right side */
    font-size: 2rem; /* Large tick */
    font-weight: bold;
    color: #00ccff; /* Bright cyan for high contrast */
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8); /* Glow effect */
    display: none; /* Hidden by default */
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Show Tick When Complete */
.fieldset-complete.complete::after {
    display: inline-block; /* Show the tick */
    transform: scale(1); /* Smooth entrance */
}

/* Dark Mode Version */
body.dark-mode .fieldset-complete {
    background: 
        radial-gradient(circle at 30% 85%, rgba(6, 78, 173, 0.9), transparent 60%),
        radial-gradient(circle at 70% 15%, rgba(2, 72, 157, 0.8), transparent 60%),
        linear-gradient(135deg, #0a2540, #071e36, #021226);
    border: 1px solid rgba(0, 180, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.6);
}

/* Dark Mode Tick */
body.dark-mode .fieldset-complete::after {
    color: #33d5ff; /* Lighter cyan for contrast */
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.9);
}

fieldset legend i {
    color: #0078bb;  /* Example: Change icon color */
}

.dark-mode fieldset legend i {
    color: #58c5ff;  /* Example: Change icon color */
}


/* ANIMATIONS */


/* BOUNCE IN - ON LOAD */
.bounce-in {
    opacity: 0;
    transform: translateY(-50px);
    animation: bounceIn 2s ease forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(-50px); }
    50% { opacity: 1; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}


/* FADE IN - ON SCROLL */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn ease-in-out 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ANIMATIONS */

/* Common Hidden State for Animations */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* General fade-in effect */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Bounce-in animation */
.bounce-in {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 1s ease-out;
}

.bounce-in.in-view {
    animation: bounceIn 1.2s ease forwards;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(-50px); }
    50% { opacity: 1; transform: translateY(10px); }
    75% { transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Slide-in from the left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-left.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from the right */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right.in-view {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-up from bottom */
.slide-up {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.in-view {
    opacity: 1;
    transform: translateY(0);
}



/* Light wave effect (FORWARD) */
@keyframes lightWave {
    0% {
        box-shadow: 0 0 0px rgba(0, 120, 187, 0);
    }
    40% {
        box-shadow: 0 0 15px rgba(0, 120, 187, 0.7);
    }
    60% {
        box-shadow: 0 0 15px rgba(0, 120, 187, 0.7);
    }
    100% {
        box-shadow: 0 0 0px rgba(0, 120, 187, 0);
    }
}

/* Light wave effect (REVERSE) */
@keyframes lightWaveReverse {
    0% {
        box-shadow: 0 0 0px rgba(0, 120, 187, 0);
    }
    40% {
        box-shadow: 0 0 15px rgba(0, 120, 187, 0.7);
    }
    60% {
        box-shadow: 0 0 15px rgba(0, 120, 187, 0.7);
    }
    100% {
        box-shadow: 0 0 0px rgba(0, 120, 187, 0);
    }
}


/* Class that gets added dynamically */
.tab-button.light-wave {
    animation: lightWave 1.2s ease-in-out;
}



.tag {

    color: #0078bb;
    border-radius: 5px;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-right: 10px;
}

.dark-mode .tag {
    color: #58c5ff;
}