/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f8fc;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header Styles */
header {
    background-color: #2c3e50;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#logo-img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0;
    padding: 0;
}

header .logo {
        font-size: 1.5rem;
    font-weight: 600;
    color: #ecf0f1;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #314b64;
    font-weight: bold;
    transition: 0.3s ease;
}

/* Content Section */
#content {
    padding: 50px 20px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 100px 20px;
    background-color: #ecf0f1;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.hero img {
    width: 200px;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease-in-out;
}

.hero img:hover{
    width: 250px;
    transition: 0.5s ease-in-out;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.hero h1 span{
    font-size: 3rem;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

.hero h1 span:hover{
    color: rgb(197, 197, 34);
    font-size: 3.5rem;
    transition: 0.3s ease-in-out;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #34495e;
}

.hero .cta-button {
    background-color: #2980b9;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: #1a5276;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-media a {
    font-size: 1.5rem;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #2980b9;
}

/* About Section */
.about, .skills, .education, .contact {
    background-color: #ffffff;
    padding: 50px 20px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about h2, .skills h2, .education h2,.contact h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about p, .skills ul, .education p, .contact p {
    font-size: 1rem;
    color: #34495e;
}
.about span{
    font-weight: bold;
}

.education #degree{
    font-weight: bold;
}
.education #address , #date{
    font-size: 0.9rem;
}


.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact label {
    font-weight: 500;
    color: #2c3e50;
}

.contact input, .contact textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    padding: 10px 15px;
    background-color: #2980b9;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact button:hover {
    background-color: #1a5276;
}

/* project section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: 0.3s ease-in;
}

.project-card img:hover{
    transform: scale(1.05);
    transition: 0.3s ease-in;
}

.project-card h3 {
    margin-top: 0;
}

.project-link {
    text-decoration: none;
    color: #337ab7;
}

.project-link:hover {
    color: #23527c;
}

.projects .cta-button {
    background-color: #2980b9;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.projects .cta-button:hover {
    background-color: #1a5276;
}


/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 15px 0;
}

footer p {
    margin: 0;
}

/* Responsive Styles */

/* Hide the hamburger menu on desktop screens */
.hamburger {
    display: none; /* Hide by default */
    font-size: 24px;
    color: #ecf0f1;
    cursor: pointer;
}

/* Display the hamburger menu on smaller screens */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show on small screens */
    }

    nav ul {
        flex-direction: column;
        background-color: #2c3e50;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: none; /* Hide the menu by default */
    }

    nav.active ul {
        display: flex; /* Show the menu when toggled */
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        padding: 15px;
    }
    .project-grid{
        display: flex;
        flex-direction: column;
    }
}


/* Larger screens (min-width: 1200px) */
@media (min-width: 1200px) {
    header .logo {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .about h2, .skills h2, .education h2, .work h2, .experience h2, .contact h2 {
        font-size: 2rem;
    }
}
