/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.hero {
    background-color: #007BFF;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.cta {
    background-color: white;
    color: #007BFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

section {
    padding: 50px 20px;
    text-align: center;
}

.projects {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.project {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}

.project img {
    width: 100%;
}

/* Contact Form Styles */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-group label {
    font-size: 1.1em;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fff;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007BFF;
}

.submit-btn {
    background-color: #007BFF;
    color: white;
    padding: 12px 25px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}

#status-message {
    margin-top: 20px;
    font-size: 1.1em;
}

#status-message .success {
    color: #28a745;
}

#status-message .error {
    color: #dc3545;
}
/* General Layout for Sticky Footer */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure content grows to fill available space */
main {
    flex: 1;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: static;
    bottom: 0;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* Links in Footer */
.footer-right a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1em;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: #fff;
}

/* Copyright Text */
footer p {
    margin: 0;
    font-size: 0.9em;
    color: #aaa;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
        margin: 10px 0;
    }

    .footer-right a {
        display: block;
        margin: 5px 0;
    }
}
/* Enhanced Button Styles */
button, .cta {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover, .cta:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Testimonial Section */
.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .footer-container {
        flex-direction: column;
    }
}
/* General Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Introduction Section */
#introduction {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

/* Skills Section */
#skills {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.skill {
    background-color: #007BFF;
    color: white;
    padding: 20px;
    border-radius: 5px;
}

/* Projects Preview Section */
#projects-preview {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.projects {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.project-card {
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.project-card img {
    width: 100%;
}

.project-card h3 {
    margin: 10px;
}

/* Testimonials Section */
#testimonials {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

blockquote {
    font-style: italic;
    margin: 20px auto;
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects {
        flex-direction: column;
    }
}

/* About Section Styles */
.about-section {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.profile-image {
    flex: 1;
    margin-right: 20px;
}

.profile-image img {
    width: 200px; /* Adjust size as needed */
    border-radius: 50%; /* Circle the image */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bio {
    flex: 2;
    text-align: left; /* Align text to the left for better readability */
}

.bio h3 {
    font-size: 2em;
    margin-bottom: 15px;
}

.bio p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
}

/* Skills Section */
.skills {
    margin-top: 30px;
}

.skills h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.skills ul {
    list-style: none;
    padding: 0;
    text-align: left; /* Align text to the left */
    margin: 0 auto; /* Center the list */
    max-width: 600px; /* Limit width */
}

.skills li {
    font-size: 1.1em;
    padding: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack on smaller screens */
        align-items: center;
    }

    .profile-image {
        margin: 0 0 20px 0; /* Margin below the image */
    }
}
