:root {
    --panda-black: #333333;
    --panda-white: #f5f5f5;
    --bamboo-green: #4CAF50;
}

/***********************************************************/


/* *********** NAVBAR ******** */



.navbar {
    background-color: var(--panda-white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: static;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--panda-black);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--panda-black);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--bamboo-green);
    color: var(--panda-white);
}
 
/***********************************************************/


/* *********** MAIN PAGE ******** */


body {
    background-color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.profile-card {
    background-color: var(--panda-white);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--bamboo-green);
}

.avatar-container {
    margin: 0;
    padding: 0;
}

.avatar-container .avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    border: 5px solid var(--bamboo-green);
    object-fit: cover;
}

.current-time {
    text-align: center;
    color: var(--panda-black);
    margin: 1rem 0;
    font-size: 0.9rem;
}

h2 {
    text-align: center;
    color: var(--panda-black);
    margin: 1rem 0;
    font-size: 2rem;
}

#bio {
    text-align: center;
    color: var(--panda-black);
    line-height: 1.6;
    margin: 1.5rem 0;
}

.lists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.list-section h3 {
    color: var(--bamboo-green);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 0.5rem 0;
    color: var(--panda-black);
}

.social-section {
    text-align: center;
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-links a {
    color: var(--bamboo-green);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--bamboo-green);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--bamboo-green);
    color: var(--panda-white);
}

.social-links a:focus {
    outline: 2px solid var(--bamboo-green);
    outline-offset: 2px;
}
  

/***********************************************************/


/* *********** CONTACT US ******** */

.contact-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    width: 100%;
    padding: 0;
    flex-direction: column;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    width: 60%;
}

.contact-form {
    background-color: var(--panda-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* max-width: 500px; */
}

.contact-form h2 {
    color: var(--panda-black);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--panda-black);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bamboo-green);
}

#Email:invalid {
    border: 1px solid red;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    display: none;
}

input:invalid + .error-message, textarea:invalid + .error-message {
  display: block;
}

.success-popup {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bamboo-green);
    color: var(--panda-white);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease;
    z-index: 1000;
    text-align: center;
    opacity: 0;
}

.success-popup.show {
    top: 20px;
    opacity: 1;
}

button[type="submit"] {
    background-color: var(--bamboo-green);
    color: var(--panda-white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #3d8b40;
}



/***********************************************************/


/* *********** ABOUT PAGE ******** */

.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    background: linear-gradient(45deg, #f5f5f5 25%, transparent 25%),
                linear-gradient(-45deg, #f5f5f5 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f5f5f5 75%),
                linear-gradient(-45deg, transparent 75%, #f5f5f5 75%);
    background-size: 20px 20px;
    background-color: #ffffff;
}

.about-content {
    background-color: var(--panda-white);
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-content::before {
    content: '🎋';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.1;
    transform: rotate(45deg);
}

.about-content h1 {
    color: var(--panda-black);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    grid-column: 1 / -1;
    position: relative;
    padding-bottom: 1rem;
}

.about-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--bamboo-green);
    border-radius: 2px;
}

.about-section {
    padding: 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    border: 2px solid transparent;
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--bamboo-green);
}

.about-section h2 {
    color: var(--bamboo-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-section[data-testid="test-about-bio"] h2::before { content: '👋'; }
.about-section[data-testid="test-about-goals"] h2::before { content: '🎯'; }
.about-section[data-testid="test-about-confidence"] h2::before { content: '💪'; }
.about-section[data-testid="test-about-future-note"] h2::before { content: '📝'; }
.about-section[data-testid="test-about-extra"] h2::before { content: '💭'; }

.about-section p {
    line-height: 1.8;
    color: var(--panda-black);
    margin: 0;
    position: relative;
    padding-left: 1rem;
}

.about-section p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--bamboo-green);
    border-radius: 3px;
    opacity: 0.5;
}



@media (max-width: 768px) {
    
}

/***********************************************************/


/* *********** RESPONSIVE STYLES ******** */

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .lists-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-card {
        padding: 1.5rem;
        margin: 1rem;
        max-width: 100%;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }

    h2 {
        font-size: 1.5rem;
    }

    #bio {
        font-size: 0.9rem;
        margin: 1rem 0;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links li {
        width: 100%;
        max-width: 200px;
    }

    .social-links a {
        display: block;
        text-align: center;
    }

    .navbar {
        padding: 5px;
        margin-bottom: 32px;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-container {
        padding: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .profile-card {
        padding: 1rem;
        border-radius: 15px;
    }

    .avatar {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .current-time {
        font-size: 0.8rem;
    }

    .list-section h3 {
        font-size: 1.1rem;
    }

    li {
        font-size: 0.9rem;
    }

        .nav-links {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .navbar {
        padding: 1rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-container {
        padding: 0;
        width: 100%;
    }

    .about-container {
        padding: 1rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .about-section {
        padding: 1rem;
    }

    .about-section h2 {
        font-size: 1.25rem;
    }
}

@media (max-height: 700px) {
    body {
        padding: 0 10px 10px 10px 0;
    }

    .profile-card {
        margin: 0;
        border-radius: 0;
    }
}


/***********************************************************/
/***********************************************************/

