:root {
    --bg-dark: #1a2038;
    --text-dark: #f2f2f2;
    --card-dark: #2d3447;
    --primary-gradient: linear-gradient(90deg, #4a90e2 0%, #38e8ff 100%);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --bg-light: #e0f7fa;
    --text-light: #212121;
    --card-light: #f5f5f5;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    transition: background-color 0.5s ease, color 0.5s ease;
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

body.light-mode {
    background-color: var(--bg-light);
    color: var(--text-light);
}


header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--card-dark);
}

body.light-mode header {
    border-bottom-color: var(--card-light);
}

header h1 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

body.light-mode #theme-toggle {
    color: var(--text-light);
}

#theme-toggle:hover {
    transform: scale(1.2);
}

.hover-button {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hover-button:hover {
    box-shadow: 0px 0px 25px #e0f7fa, 0 0 30px #1a2038;
    border-radius: 45%;
    transform: scale(1.45);
}


.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    margin-top: 2rem;
    border-top: 2px solid var(--card-dark);
    border-bottom: 2px solid var(--card-dark);
}

body.light-mode .tabs-navigation {
    border-top-color: var(--card-light);
    border-bottom-color: var(--card-light);
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.tab-button.active {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: 2px solid #4a90e2;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.light-mode .tab-button {
    color: var(--text-light);
}

body.light-mode .tab-button.active {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border: 2px solid #38e8ff;
}


.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.profile-pic {
    width: clamp(150px, 20vw, 250px);
    height: clamp(150px, 20vw, 250px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-gradient);
}

.profile-info {
    flex: 1;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1.2em;
}

h2,
h3,
h4 {
    margin: 0.5rem 0;
}

.lists-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.lists-cards {
    background-color: var(--card-dark);
    border-radius: 12px;
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 8px 15px var(--shadow-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lists-cards:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px var(--shadow-dark);
}

body.light-mode .lists-cards {
    background-color: var(--card-light);
    box-shadow: 0 8px 15px var(--shadow-light);
}

.lists-cards h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.lists-cards ul {
    list-style: none;
    padding: 0;
}

.lists-cards li {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}


.contact-card {
    background-color: var(--card-dark);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 15px var(--shadow-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.light-mode .contact-card {
    background-color: var(--card-light);
    box-shadow: 0 8px 15px var(--shadow-light);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px var(--shadow-dark);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    color: #38e8ff;
    transform: translateX(5px);
}

body.light-mode .contact-item {
    color: var(--text-light);
}

body.light-mode .contact-item:hover {
    color: #4f8cff;
}

.contact-item i {
    font-size: 1.3rem;
    color: #4a90e2;
}

footer {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 2px solid var(--card-dark);
}

body.light-mode footer {
    border-top-color: var(--card-light);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    header h1 {
        font-size: 2rem;
    }

    .tab-button {
        font-size: 1rem;
        padding: 8px 15px;
    }

}