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

body {
    font-family: 'Ubuntu', sans-serif; /* Set Ubuntu as the default font */
    background-color: #e0f7fa; /* Light pastel blue */
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    background-color: #ffffff; /* White background for the header frame */
    padding: 40px 30px;
    border-radius: 12px; /* Slightly rounded corners */
    border: 2px solid #004c6d; /* Border with a pastel blue tone */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin-bottom: 20px; /* Space between header and the next section */
    text-align: center; /* Center the header content */
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font is used in header */
}

header h1 {
    color: #004c6d; /* Darker pastel blue for the title */
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font for title */
}

header nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    text-decoration: none;
    color: #004c6d;
    font-size: 1.1rem;
    font-weight: bold;
    border: 2px solid #004c6d; /* Blue border around button */
    padding: 10px 20px;
    border-radius: 30px; /* Makes the buttons oval */
    background-color: #f0f8ff; /* Soft pastel blue background for buttons */
    transition: all 0.3s ease; /* Adds a smooth hover effect */
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font for buttons */
}

header nav ul li a:hover {
    background-color: #004c6d; /* Changes button background on hover */
    color: #ffffff; /* White text on hover */
}

/* About Me Styles */
.about {
    background-color: #ffffff; /* White background for the frame */
    padding: 40px 30px;
    text-align: left; /* Align text to the left */
    border-radius: 12px; /* Slightly rounded corners */
    border: 2px solid #004c6d; /* Border with a pastel blue tone */
    margin-top: 20px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Subtle animations for hover effects */
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
}

.about h2 {
    color: #004c6d; /* Darker pastel blue for the title */
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: left; /* Align title to the left */
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333; /* Darker text for contrast */
    text-align: left; /* Align paragraph text to the left */
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
}

/* Education & Certifications Styles */
.education-certifications {
    background-color: #004c6d; /* Dark pastel blue */
    color: #ffffff; /* White text */
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
}

.education-certifications:hover {
    transform: translateY(-5px); /* Subtle lift effect on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.education-certifications h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
}

/* Styles for the unordered list of education and certifications */
.education-list,
.certifications-list {
    list-style-type: disc; /* Adds bullet points (dots) */
    padding-left: 25px; /* Indent the list items */
    margin-bottom: 20px;
}

.education-list li,
.certifications-list li {
    font-size: 1rem;
    font-family: 'Ubuntu', sans-serif; /* Ensure Ubuntu font */
    color: #e0e0e0; /* Light gray text for readability */
    margin-bottom: 12px; /* Adds space between each list item */
    line-height: 1.6; /* Increases readability with better line height */
    position: relative;
    padding-left: 10px;
    transition: color 0.2s ease, transform 0.2s ease; /* Animation for hover effect */
}

.education-list li:hover,
.certifications-list li:hover {
    color: #b3e5fc; /* Light pastel blue on hover */
    transform: translateX(5px); /* Subtle shift on hover */
}

/* Custom dot style for list items */
.education-list li::marker,
.certifications-list li::marker {
    color: #b3e5fc; /* Custom dot color */
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.2s ease;
}

.education-list li:hover::marker,
.certifications-list li:hover::marker {
    color: #ffffff; /* Change dot color on hover */
}

/* Project Section */
.projects {
    padding: 60px 0;
    background-color: #004c6d; /* Dark pastel blue */
    color: white;
    text-align: center;
}

.project-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background-color: #b0e0e6; /* Pastel blue */
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 45%;
}

.project-card h3 {
    color: #004c6d; /* Darker blue */
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 1rem;
    color: #006f8e; /* Medium blue */
    margin-bottom: 10px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.project-description {
    font-size: 1rem;
    color: #006f8e;
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-block;
    background-color: #004c6d; /* Dark pastel blue */
    color: #ffffff; /* White text */
    padding: 10px 20px;
    border-radius: 30px; /* Makes the button oval */
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin-top: 10px; /* Space between chart and button */
}

.learn-more-btn:hover {
    background-color: #006d91; /* Lighter blue on hover */
    transform: translateY(-3px); /* Moves the button up slightly */
}

/* Contact Section */
.contact {
    background-color: #004c6d; /* Dark pastel blue */
    padding: 40px 0;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-links a {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #b0e0e6; /* Lighter pastel blue */
}

/* Footer Styles */
footer {
    background-color: #006f8e; /* Dark pastel blue */
    padding: 20px;
    text-align: center;
    color: white;
    font-size: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hover Effects for Navigation & Buttons */
.nav-btn {
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    background-color: #006f8e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #004c6d;
}

/* ====== Responsive Design for Smaller Screens (Max Width: 768px) ====== */
@media (max-width: 768px) {
    /* Projects layout adjusts to a single-column layout */
    .project-row {
        flex-direction: column;
        align-items: center;
    }

    /* Education and Certifications sections */
    .education-certifications {
        padding: 15px;
    }

    .about h2 {
        font-size: 1.5rem;
    }

    .about p {
        font-size: 1rem;
    }

    .project-card {
        min-width: 90%; /* Full-width for smaller screens */
        margin-bottom: 20px; /* Adds space between cards */
    }

    /* Navbar becomes a vertical menu */
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    /* Smaller header text */
    header h1 {
        font-size: 1.8rem;
    }
}

