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

:root {
    --primary-color: #2F5A45;
    --secondary-color: #4CAF50;
    --accent-color: #8BC34A;
    --text-color: #2F5A45;
    --bg-color: #ffffff;
    --section-bg: #F5F9F6;
    --transition: all 0.3s ease;
    --gradient-start: #2F5A45;
    --gradient-end: #4CAF50;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--section-bg);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

main {
    margin-top: 80px;
}

section {
    padding: 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--bg-color);
}

section:nth-child(even) {
    background-color: var(--section-bg);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--bg-color);
    font-weight: 500;
}

/* Add smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Add responsive container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Add animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

#home {
    text-align: center;
    align-items: center;
    background-image: linear-gradient(
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.5)
    ), url('images/gatorstadium.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Ensure text remains readable over the background */
#home h1 {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#home p {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Center contact information */
#contact p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Ensure about section text is centered */
#about p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center;
}

.about-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(47, 90, 69, 0.2);
    margin-left: 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    flex: 1;
    max-width: 600px;
}

.resume-button {
    margin-top: 1rem;
}

.download-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
}

.download-resume:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 90, 69, 0.2);
}

.download-resume i {
    font-size: 1.1rem;
}

/* Make it responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .profile-image {
        margin-left: 0;
    }
}

#about h2 {
    text-align: center;
    width: 100%;
    position: relative;
    padding-left: 15rem;
   
}

.about-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    flex: 1;
    max-width: 600px;
}

/* Style the contact section */
#contact {
    background: linear-gradient(
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.5)
    ), url('images/gatorstadium.jpeg');
    background-size: cover;
    background-position: center;
    padding: 4rem 2rem;
}

#contact .container {
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 90, 69, 0.1);
    border: 1px solid rgba(47, 90, 69, 0.1);
    max-width: 800px;
    margin: 0;
    /*margin-right: 30rem;
    margin-top: 5rem;*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#contact .container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(47, 90, 69, 0.2);
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-color);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Enhance the about section */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 90, 69, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
    z-index: -1;
}

.about-container {
    position: relative;
    z-index: 1;
}

.profile-image {
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.about-content {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(47, 90, 69, 0.1);
    border: 1px solid rgba(47, 90, 69, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(47, 90, 69, 0.2);
}

.download-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.download-resume:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(47, 90, 69, 0.2);
}

/* Keep it responsive */
@media (max-width: 768px) {
    #contact .container {
        margin: 0 auto;
        margin-left: 2rem;
        margin-right: 2rem;
    }
} 

.coursework {
    margin-top: 3rem;
}

.coursework h3 {
    color: #1f2a37;
    margin-bottom: 0.5rem;
}

.coursework-intro {
    color: #4c4e57;
    margin-bottom: 1.5rem;
    max-width: 640px;
}

.coursework-divider {
    width: 100%;
    height: 1.5rem;
    margin-bottom: 0.5rem;
}

.coursework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.coursework-card {
    background: #f5fbf7;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36, 97, 63, 0.1);
}

.coursework-card h4 {
    margin: 0;
    font-size: 1.1rem;
}

.coursework-card p {
    margin: 0.5rem 0 1rem;
    color: #4c4e57;
    font-size: 0.9rem;
}

.coursework-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.coursework-card li {
    background: rgba(36, 97, 63, 0.12);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1f2a37;
}
