* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'HelveticaNeue', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #111111;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5%;
    background-color: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 5rem; /* Increased gap to push links toward center */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #737373;
    font-size: 17px;
    font-weight: 500;
}

.nav-links a.active {
    color: #111111;
    font-weight: 700;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hamburger {
    display: none;
}

.page-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 15px 60px 15px;
    width: 100%;
}

.form-container {
    width: 100%;
    max-width: 910px;
    display: flex;
    flex-direction: column;
}

.form-header {
    width: 100%;
    margin-bottom: 35px;
    text-align: center;
}

.form-header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: #111111;
    margin: 0 0 8px 0;
    letter-spacing: -2px;
    line-height: 1;
}

.form-header p {
    color: #4b5563;
    font-size: 1.2rem;
    margin: 0;
}

.input-group { 
    margin-bottom: 28px;
    width: 100%;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #111111;
    text-align: left;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 1.1rem;
    background-color: #fafafa;
    transition: all 0.2s ease;
}

.btn-gradient {
    width: 100%;
    background: linear-gradient(90deg, #184989, #28CABD);
    color: #ffffff;
    padding: 22px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-section {
    background: 
        radial-gradient(circle at 50% 50%, 
            transparent 20%, 
            rgba(30, 118, 147, 0.03) 22%, 
            rgba(30, 118, 147, 0.06) 26%, 
            rgba(30, 118, 147, 0.12) 30%, 
            rgba(30, 118, 147, 0.2) 40%, 
            rgba(30, 118, 147, 0.28) 50%, 
            rgba(30, 118, 147, 0.2) 60%, 
            rgba(30, 118, 147, 0.12) 70%, 
            rgba(30, 118, 147, 0.06) 74%, 
            rgba(30, 118, 147, 0.03) 78%, 
            transparent 80%),
        radial-gradient(circle at 50% 50%, #1a2540 0%, #15003F 100%);
    background-color: #15003F;
    padding: 48px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.footer-nav-column h3,
.footer-contact h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 20px;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    font-size: 1rem;
    font-weight: 400;
}

.footer-nav-links a:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    font-size: 1rem;
    font-weight: 400;
}

.footer-contact a:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-bottom-credit {
    text-align: center;
    margin-top: 70px;
    padding: 0 20px;
}

.footer-bottom-credit p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 32px;
    }

    .footer-nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-nav-column,
    .footer-contact {
        text-align: left;
    }
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease;
    transition: transform 0.8s ease;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 15px;
        position: fixed;
        width: 100%;
        justify-content: space-between;
    }

    .nav-left {
        gap: 1rem;
    }

    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex !important;
    }

    .hamburger {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger span {
        width: 25px;
        height: 2px;
        background-color: #111;
        transition: 0.3s;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-left, 
    .footer-right {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-links,
    .footer-login {
        display: block;
        width: 100%;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
    }

    .footer-nav {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-nav a {
        justify-content: center;
        width: 100%;
    }

    .footer-heading-gradient {
        margin-bottom: 20px;
    }
}