* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    background-color: #ff0000;
    color: white;
    padding: 10px 20px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
    text-decoration: none;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 155px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff0000;
}

.nav-links a.active {
    color: #ff0000;
}

nav .btn {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 7px;
    padding: 12px 22px;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

nav .btn:hover {
    background-color: #fffb00;
    color: rgb(0, 0, 0);
}

nav .btn a {
    text-decoration: none;
    color: inherit;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #ff0000;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop-down-second {
    position: relative;
}

.drop-down-menu-second {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.drop-down-menu-second li {
    padding: 0;
}

.drop-down-menu-second a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    transition: all 0.3s;
}

.drop-down-menu-second a:hover {
    background-color: #f5f5f5;
    color: #ff0000;
    padding-left: 25px;
}

.drop-down-second:hover .drop-down-menu-second {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-main {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.profile-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-form {
    flex: 1;
    background-color: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.profile-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff0000;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff0000;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.divider {
    height: 1px;
    background-color: #eee;
    margin: 30px 0;
}

.profile-info {
    margin-bottom: 30px;
}

.profile-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-info {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.remove-avatar-btn {
    background-color: transparent;
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-avatar-btn:hover {
    background-color: #ff0000;
    color: white;
}

.settings-section {
    margin-bottom: 30px;
}

.form-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-top: 30px;
}

.btn-cancel,
.btn-save {
    padding: 12px 35px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-cancel {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-cancel:hover {
    background-color: #e0e0e0;
}

.btn-save {
    background-color: #ff0000;
    color: white;
}

.btn-save:hover {
    background-color: #cc0000;
}

.avatar-section {
    width: 400px;
    background-color: white;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-container {
    text-align: center;
}

.avatar-placeholder {
    width: 250px;
    height: 250px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 3px dashed #ddd;
    cursor: pointer;
    transition: border-color 0.3s;
}

.avatar-placeholder:hover {
    border-color: #ff0000;
}

.avatar-icon {
    font-size: 80px;
    opacity: 0.5;
}

.avatar-instruction {
    margin-top: 20px;
}

.avatar-instruction p {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

.avatar-instruction .small-text {
    font-size: 14px;
    color: #888;
}

.footer {
    background: #2a2a2a;
    padding: 15px 0;
    text-align: center;
    margin-top: 60px;
}

.footer-info {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
    font-size: 20px;
}

.footer-info p {
    margin: 25px 0;
}

.footer-info .info {
    font-size: 16px;
    color: #ffffff;
    margin-top: 25px;
}

@media (max-width: 1024px) {
    .profile-main {
        padding: 0 20px;
        margin: 30px auto;
    }

    .profile-container {
        gap: 30px;
    }

    .profile-form {
        padding: 30px;
    }

    .profile-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .form-row {
        gap: 15px;
    }

    .avatar-section {
        width: 350px;
        padding: 30px;
    }

    .avatar-placeholder {
        width: 200px;
        height: 200px;
    }

    .avatar-icon {
        font-size: 60px;
    }

    .footer-info {
        padding: 0 30px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .profile-main {
        padding: 0 15px;
        margin: 20px auto;
    }

    .profile-container {
        flex-direction: column;
        gap: 20px;
    }

    .profile-form {
        padding: 20px;
        width: 100%;
        order: 2;
    }

    .avatar-section {
        width: 100%;
        padding: 25px;
        order: 1;
    }

    .profile-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
        width: 100%;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 16px;
    }

    .avatar-placeholder {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .avatar-icon {
        font-size: 50px;
    }

    .avatar-instruction p {
        font-size: 16px;
    }

    .avatar-instruction .small-text {
        font-size: 14px;
    }

    .profile-info h3 {
        font-size: 20px;
    }

    .remove-avatar-btn {
        width: 100%;
        padding: 10px;
    }

    .divider {
        margin: 20px 0;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .footer {
        margin-top: 40px;
    }

    .footer-info {
        padding: 0 20px;
        font-size: 16px;
    }

    .footer-info p {
        margin: 15px 0;
    }

    .footer-info .info {
        font-size: 14px;
    }
}
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: none;
}

.burger-btn:hover {
    background-color: transparent;
    transform: none;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

@media screen and (max-width: 767px) {
    .burger-btn {
        display: flex;
        position: absolute;
        right: 30px;
        top: 26%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 25px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-links a {
        padding: 15px 0;
        text-align: left;
        font-size: 18px;
    }

    .dropdown-menu,
    .drop-down-menu-second {
        position: static;
        display: none;
        background-color: #f9f9f9;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-menu,
    .drop-down-second:hover .drop-down-menu-second {
        display: none;
    }

    .dropdown.active .dropdown-menu,
    .drop-down-second.active .drop-down-menu-second {
        display: block;
    }

    .dropdown-menu a,
    .drop-down-menu-second a {
        padding: 12px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu a:last-child,
    .drop-down-menu-second a:last-child {
        border-bottom: none;
    }

    .dropdown > a,
    .drop-down-second > a {
        position: relative;
        padding-right: 30px;
    }

    .dropdown > a::after,
    .drop-down-second > a::after {
        content: '›';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        font-size: 20px;
        transition: transform 0.3s;
    }

    .dropdown.active > a::after,
    .drop-down-second.active > a::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 10px;
        padding: 15px;
        text-align: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .nav-container {
        position: relative;
    }

    .logo {
        margin: 0px 240px 0 0;
        font-size: 20px;
        padding: 8px 15px;
        letter-spacing: 2px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .burger-btn {
        display: none;
    }
}
