* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent; /* Make the track invisible */
}

::-webkit-scrollbar-thumb {
    background: rgba(30, 58, 138, 0.3); /* Transparent pinkish color */
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: rgba(30, 58, 138, 0.5); /* Slightly more opaque on hover */
    }

/* Firefox scrollbar */
html {
    scrollbar-color: rgba(30, 58, 138, 0.3) transparent; /* Pinkish thumb, invisible track */
    scrollbar-width: thin;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--primary-gradient);
    min-height: 100vh;
}

/* Header */
header {
    padding: 15px 0;
    background: var(--header-gradient);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-light);
}

nav {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    min-height: 60px;
}

.logo {
    cursor: pointer;
}

    .logo img {
        width: 180px;
        height: auto;
    }

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--nav-link-color);
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
}

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        background: linear-gradient(135deg, #E31837 0%, #1E3A8A 50%, #DC2626 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
    }

        .nav-links a:hover,
        .nav-links a.active {
            background: rgba(227, 24, 55, 0.1);
            -webkit-text-fill-color: #E31837;
        }

/* Profile Picture and Dropdown */
.profile-container {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
}

    .profile-pic:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 12px var(--overlay-light);
    }

    .profile-pic img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-initials {
    color: var(--nav-link-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-medium);
    z-index: 1001;
    min-width: 150px;
}

    .profile-dropdown.active {
        display: block;
    }

    .profile-dropdown a,
    .profile-dropdown button {
        display: block;
        padding: 12px 20px;
        text-decoration: none;
        color: var(--text-dark);
        font-size: 14px;
        font-weight: 500;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .profile-dropdown a:hover,
        .profile-dropdown button:hover {
            background: var(--bg-light);
            color: var(--primary-dark-blue);
        }

/* Login/Signup Section */
.login-signup-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(80px, 12vw, 100px) clamp(20px, 3vw, 30px) clamp(30px, 5vw, 50px);
    min-height: 100vh;
}

.section-content {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.form-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: clamp(30px, 4vw, 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.toggle-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 15px);
    margin-bottom: clamp(20px, 3vw, 30px);
}

.toggle-button {
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 24px);
    font-size: clamp(14px, 1.8vw, 16px);
    font-weight: 600;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .toggle-button.active {
        background: var(--primary-gradient);
        box-shadow: 0 5px 15px rgba(227, 24, 55, 0.4);
        transform: translateY(-2px);
    }

    .toggle-button:hover {
        background: var(--primary-gradient);
        transform: translateY(-2px);
    }

.form-container h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.login-form,
.signup-form {
    display: none;
}

    .login-form.active,
    .signup-form.active {
        display: block;
        animation: fadeIn 0.3s ease-in-out;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: clamp(15px, 2vw, 20px);
}

    .form-group label {
        font-size: clamp(14px, 1.8vw, 16px);
        color: white;
        margin-bottom: 5px;
        font-weight: 500;
    }

    .form-group input,
    .form-group select {
        padding: clamp(10px, 1.5vw, 12px);
        font-size: clamp(12px, 1.5vw, 14px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transition: border-color 0.3s ease, background 0.3s ease;
    }

        .form-group input::placeholder {
            color: #FFFFFF;
            opacity: 0.7;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #E31837;
            background: rgba(255, 255, 255, 0.2);
        }

    .form-group select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#FFFFFF"><path d="M7 10l5 5 5-5H7z"/></svg>') no-repeat right 10px center;
        background-size: 12px;
        padding-right: 30px;
    }

        .form-group select option {
            color: #333;
        }

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .checkbox-group label {
        font-size: clamp(12px, 1.5vw, 14px);
        color: white;
    }

.submit-button {
    padding: clamp(12px, 1.5vw, 15px) clamp(24px, 3vw, 30px);
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

    .submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(227, 24, 55, 0.4);
    }

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

    .forgot-password a {
        color: white;
        text-decoration: none;
        font-size: clamp(12px, 1.5vw, 14px);
        transition: color 0.3s ease;
    }

        .forgot-password a:hover {
            color: white;
        }

        .btn {
            color: white !important;
        }



/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Responsive Design */
@media (max-width: 1400px) {
    .section-content {
        max-width: 1000px;
    }
}

@media (max-width: 1024px) {
    .form-container {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    nav {
        display: flex;
        justify-content: center;
        position: relative;
        align-items: center;
        min-height: 60px;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 1;
        position: relative;
        z-index: 1002;
    }

        .logo img {
            width: 150px;
            height: auto;
        }

    .hamburger {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1003;
    }

    .profile-container {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1003;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        box-shadow: 0 8px 20px var(--shadow-medium);
        border-radius: 8px;
        border-bottom: 2px solid rgba(227, 24, 55, 0.3);
        z-index: 1001;
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            width: 100%;
            text-align: center;
            margin: 10px 0;
        }

        .nav-links a {
            display: block;
            padding: 12px;
            font-size: 16px;
            background: linear-gradient(135deg, #E31837 0%, #1E3A8A 50%, #DC2626 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            border-radius: 10px;
            transition: background 0.3s ease;
            align-items: center;
            font-weight: 600;
        }

            .nav-links a:hover,
            .nav-links a.active {
                background: rgba(227, 24, 55, 0.1);
                -webkit-text-fill-color: #E31837;
            }

    .profile-dropdown {
        top: 60px;
        right: 10px;
    }

    .login-signup-section {
        padding: clamp(70px, 10vw, 90px) clamp(15px, 2vw, 20px) clamp(20px, 4vw, 30px);
    }

    .form-container {
        max-width: 450px;
        padding: clamp(20px, 3vw, 30px);
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 12px;
    }

    .submit-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .toggle-button {
        padding: 8px 16px;
        font-size: 14px;
    }

    .forgot-password a {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .login-signup-section {
        padding: clamp(60px, 9vw, 80px) clamp(10px, 2vw, 15px) clamp(15px, 3vw, 20px);
    }

    .form-container {
        max-width: 100%;
        padding: clamp(15px, 2.5vw, 20px);
    }

    .toggle-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select {
        padding: 8px;
        font-size: 10px;
    }

    .submit-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .toggle-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .forgot-password a {
        font-size: 10px;
    }

    .logo img {
        width: 50px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .form-container {
        max-width: 100%;
        padding: clamp(10px, 2vw, 15px);
    }

    .form-group label {
        font-size: 10px;
    }

    .form-group input,
    .form-group select {
        padding: 6px;
        font-size: 9px;
    }

    .submit-button {
        padding: 6px 12px;
        font-size: 10px;
    }

    .toggle-button {
        padding: 6px 12px;
        font-size: 10px;
    }

    .forgot-password a {
        font-size: 9px;
    }

    .logo img {
        width: 50px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

@media (min-width: 1600px) {
    .section-content {
        max-width: 1400px;
    }

    .form-container {
        max-width: 700px;
    }
}

/* LoginSignup.css */
.modal-body,
.modal-body label,
.modal-body p,
.modal-body .alert,
.modal-body .alert-success,
.modal-body .alert-danger,
.modal-body .form-text {
    color: #000000 !important;
}

    .modal-body .form-control,
    .modal-body select.form-control {
        border: 1px solid #FF69B4 !important;
        border-radius: 4px !important;
        padding: 8px;
    }

        .modal-body .form-control:focus,
        .modal-body select.form-control:focus {
            border-color: #FF69B4 !important;
            box-shadow: 0 0 5px rgba(255, 105, 180, 0.5) !important;
        }
