:root {
    --primary-cyan: #22B8CF;
    --primary-cyan-hover: #15AABF;
    --dark-blue-footer: #003B70;
    --dark-card-bg: #002D56;
    --dark-bg: #0F172A;
    --seafoam-tint: #E0F2FE;
    --white-bg: #FFFFFF;
    --input-bg: #F8FAFC;
    --input-border: #CBD5E1;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: #F8FAFC;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header Navigation --- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    display: flex;
    justify-space: space-between;
    align-items: center;
    padding: 20px 50px;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    z-index: 30;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin-left: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: color 0.2s;
    cursor: pointer;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-cyan);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 75vh;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    color: #FFFFFF;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.25;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-cta-btn {
    display: inline-block;
    background: var(--primary-cyan);
    color: #FFFFFF;
    padding: 14px 34px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.hero-cta-btn:hover {
    background: var(--primary-cyan-hover);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dots .dot.active {
    background: #FFC107;
    transform: scale(1.25);
}

/* --- Form / Planner Section --- */
.planner-section {
    padding: 60px 20px;
    background-color: var(--seafoam-tint);
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.form-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 12px 36px rgba(0, 59, 112, 0.08);
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 20px;
    align-items: end;
}

.field-group {
    display: flex;
    flex-direction: column;
}

.field-group label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

input, select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%3c64748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 36px;
}

input:focus, select:focus {
    border-color: var(--primary-cyan);
    background: #FFFFFF;
}

.readonly-input {
    background: #E2E8F0;
    color: var(--text-muted);
}

.dual-select {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hidden {
    display: none !important;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: var(--dark-blue-footer);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #002B52;
}

/* --- Why Choose Us Section (Frosted Glass & High Contrast) --- */
.why-us-section {
    padding: 60px 20px 70px 20px;
    background-color: var(--dark-blue-footer);
    color: #FFFFFF;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--primary-cyan);
    box-shadow: 0 12px 30px rgba(34, 184, 207, 0.25);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(34, 184, 207, 0.2);
    border: 1px solid rgba(34, 184, 207, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px auto;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-cyan);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

/* CSS Animations for Icons */
.anim-float svg { animation: floatAnim 3s infinite ease-in-out; }
.anim-pulse svg { animation: pulseAnim 2.5s infinite ease-in-out; }
.anim-bounce svg { animation: bounceAnim 2.8s infinite ease-in-out; }
.anim-spin svg { animation: rotateAnim 6s infinite linear; }
.anim-wobble svg { animation: wobbleAnim 3.2s infinite ease-in-out; }

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes pulseAnim {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes bounceAnim {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
    60% { transform: translateY(-2px); }
}
@keyframes rotateAnim {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes wobbleAnim {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* --- Clean Centered 2-Column Footer --- */
.site-footer {
    width: 100%;
    display: block;
    clear: both;
    background-color: #002B52;
    color: #FFFFFF;
    padding: 50px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 320px));
    justify-content: center;
    gap: 80px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

.footer-col a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Pop-Up Modal Styling --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 40px 32px 32px 32px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-dark);
}

.modal-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.modal-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Responsive Layout Optimization --- */
@media (max-width: 1024px) {
    .features-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .navbar { 
        padding: 16px 20px; 
    }
    
    .logo-img {
        height: 42px;
    }

    .mobile-toggle { 
        display: flex; 
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--dark-blue-footer);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 25px rgba(0,0,0,0.3);
        z-index: 25;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .hero-section { 
        height: 65vh; 
        min-height: 420px; 
    }

    .planner-section { 
        padding: 40px 16px; 
    }

    .form-card { 
        padding: 24px 18px; 
    }

    .form-grid { 
        grid-template-columns: 1fr; 
        gap: 16px; 
    }

    .why-us-section { 
        padding: 40px 16px 50px 16px; 
    }

    .features-grid { 
        grid-template-columns: 1fr; 
    }

    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 30px; 
        text-align: center; 
    }

    .footer-col ul li { 
        justify-content: center; 
    }
}