/* General Reset */
body,
h1,
h2,
h3,
p,
img,
a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* About Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #eaf4fc 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 1s ease-out;
}

/* Profile photo styling (specific) */
.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-right: 3rem;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
    transition: transform var(--transition-speed);
}

.profile-photo:hover {
    transform: scale(1.05);
}


.about-section .info {
    max-width: 600px;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Social Icons Container */
.social-icons {
    display: flex;
    gap: 1.5rem;
    /* Space between icons */
    margin-top: 1.5rem;
}

/* Social Icon Images */
.social-icon {
    width: 32px;
    /* Fixed width */
    height: 32px;
    /* Fixed height */
    object-fit: contain;
    /* Ensure the content fits inside the square */
    background: transparent;
    /* Ensure no background styling is applied */
    transition: transform var(--transition-speed), filter var(--transition-speed);
    opacity: 0.8;
}

/* Hover Effect */
.social-icon:hover {
    transform: translateY(-3px);
    /* Slight lift effect */
    filter: brightness(1.1);
    opacity: 1;
}


/* Quote Container Styling */
.quote-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    font-family: var(--font-main);
    box-shadow: var(--shadow-sm);
    max-width: 500px;
}

.quote-container .quote {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
}

.quote-container .quote-author {
    display: block;
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}


/* Study Section */
.study-section {
    flex: 1;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    animation: slideUp 1s ease-out;
}

.study-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.study-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
    }

    .study-section {
        padding: 2rem 1rem;
    }

    .profile-photo {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .social-icons {
        justify-content: center;
    }

    .quote-container {
        margin: 2rem auto 0;
    }
}