/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding-top: 70px;
    scroll-behavior: smooth;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #99adf1, #c6a6f3);
    color: #fff;
    padding: 15px 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo Styles */
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.logo .span {
    color: #ffb6c1;
}

/* Navbar Styles */
.navbar-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.navbar-nav a {
    color: #fff;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #ffb6c1;
    border-bottom: 2px solid #ffb6c1;
}

/* Projects Section */
.projects-section {
    padding: 50px 20px;
    background-color: #f7f9fc;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #526190;
}

/* Project Container Styles */
.project-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background-color: #7e7979; /* Background color for the container */
    padding: 20px; /* Added padding inside the container */
    border-radius: 10px; /* Rounded corners for the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow for container */
}

.project-item {
    width: 100%;
    max-width: 280px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-item h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
}

.project-item p {
    margin: 0;
    color: #666;
}

.project-item:hover {
    transform: translateY(-5px);
    background-color: #e8efff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Contact Section Styles */
.contact-section {
    padding: 30px 20px;
    background-color: #c3ddd6; /* Updated background color */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto; /* Centered section with automatic horizontal margins */
    max-width: 600px; /* Set a max-width to ensure it doesn't stretch too wide */
}

.contact-section h2 {
    margin-bottom: 30px;
    color: #333333; /* Updated header color */
    font-size: 30px;
    text-align: center;
}

.contact-section form {
    max-width: 100%;
    margin: 0 auto;
}

.contact-section .form-label {
    color: #333333; /* Updated label color */
}

.contact-section .btn-primary {
    background-color: #4a90e2; /* Updated button background color */
    border: none;
    color: #fff; /* Button text color */
}

.contact-section .btn-primary:hover {
    background-color: #357abd; /* Updated button hover color */
}

/* Footer Styles */
footer {
    background: #526190;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Footer List Styles */
footer .list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .list li {
    display: inline;
}

footer .list a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

footer .list a:hover {
    color: #ffb6c1;
}

/* Footer Social Icons Styles */
.footer-social {
    margin: 20px 0;
}

.footer-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffb6c1;
}

/* Footer Copyright Styles */
.footer .copyright {
    margin-top: 20px;
    font-size: 0.9rem;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

    .navbar-collapse {
        background: linear-gradient(135deg, #99adf1, #c6a6f3);
        padding: 20px;
    }

    .contact {
        margin-top: 15px;
    }
}
