/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
    padding-top: 120px; /* Adjust this value according to the height of the header */
    padding-bottom: 50px;
    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 {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.navbar 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 a:hover,
.navbar a.active {
    color: #ffb6c1;
    border-bottom: 2px solid #ffb6c1;
}

/* Contact Button Styles */
.contact {
    background: #ffb6c1;
    color: #fff;
    margin-top: 7px;
    margin-right: 20px;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    font-weight: bold;
}

.contact:hover {
    background: #ff709c;
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background: #526190;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer .list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

footer .list li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-social a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #ffb6c1;
}

footer p {
    margin: 10px 0 0;
    font-size: 14px;
}
/* project-section */
/* Project Section Styles */
.projects-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.project-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    max-height: 200px; /* Ensure images don't get too tall */
    object-fit: cover; /* Maintain aspect ratio while covering area */
}

.project-item h3 {
    margin: 15px 0 10px;
    color: #333333;
    font-size: 1.25rem; /* Slightly larger font size for titles */
    font-weight: 600; /* Bold font for titles */
}

.project-item p {
    color: #666666;
    font-size: 0.9rem; /* Slightly smaller font size for descriptions */
}

.project-item .btn-primary {
    background-color: #4a90e2;
    border: none;
    font-weight: 500; /* Slightly bolder font for buttons */
}

.project-item .btn-primary:hover {
    background-color: #357abd;
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Highlight Project Section Title */
#projects h2 {
    font-size: 2.5rem; /* Larger font size for section title */
    color: #333333; /* Dark color for contrast */
    font-weight: 700; /* Bold font weight for emphasis */
    margin-bottom: 40px; /* Extra margin to separate from projects */
    text-align: center; /* Center the title */
    position: relative; /* For pseudo-element positioning */
}

#projects h2::after {
    content: ''; /* Empty content for pseudo-element */
    display: block;
    width: 80px; /* Width of the underline */
    height: 4px; /* Thickness of the underline */
    background-color: #4a90e2; /* Color of the underline */
    margin: 10px auto 0; /* Centered and margin from title */
}

/* end project section */

/* contact section */

/* Contact Section Styles */
#contact {
    background-color: #f8f9fa; /* Same background color as the body */
    padding: 40px 0;
}

#contact h2 {
    font-size: 2rem; /* Adjusted font size for contact section title */
    color: #333333; /* Consistent text color */
    font-weight: 700; /* Bold font weight for emphasis */
    margin-bottom: 30px; /* Space below title */
    text-align: center;
}

#contact .form-label {
    color: #333333; /* Dark color for form labels */
}

#contact .form-control {
    border-radius: 5px; /* Rounded corners for input fields */
    border: 1px solid #ccc; /* Light border color */
}

#contact .form-control:focus {
    border-color: #4a90e2; /* Highlight border color on focus */
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25); /* Focus shadow */
}

#contact .btn-primary {
    background-color: #4a90e2; /* Match the button color with project items */
    border: none;
    font-weight: 500;
}

#contact .btn-primary:hover {
    background-color: #357abd;
}
