body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.8;
    color: #2d3748;
    background-color: #f7fafc;
}

header {
    background-color: #1a365d;
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

nav a {
    margin: 0 20px;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

main {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
}

#hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #e2e8f0;
    margin-bottom: 40px;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #1a365d;
}

#hero button {
    background-color: #3182ce;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: all 0.3s ease;
    font-weight: 500;
}

#hero button:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project {
    border: 1px solid #e2e8f0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project:hover {
    border-color: #3182ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1a365d;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

form input[type="submit"] {
    background-color: #3182ce;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #2c5282;
    transform: translateY(-2px);
}

#about .about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

#about .about-image {
    width: 400px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#about .about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

#about .about-image img:hover {
    transform: scale(1.05);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 30px;
    padding: 20px 0;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    grid-gap: 30px;
    padding: 20px 0;
}

.video-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    #about .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    #about .about-image {
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
    
    .video-container {
        grid-template-columns: 1fr;
    }
    
    #hero h1 {
        font-size: 2em;
    }
}

/* In your style.css */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(156, 162, 218, 0.95); /* Or your preferred color */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 1rem 2rem; /* Consistent padding */
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    color: var(--primary); /* Use your primary color variable */
    text-decoration: none; /* Remove underline from logo link */
    font-size: 1.5rem; /* Adjust font size as needed */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark); /* Use your dark color variable */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary); /* Use your primary color variable */
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Responsive adjustments (optional) */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column; /* Stack logo and links vertically */
        align-items: flex-start; /* Align to the left on smaller screens */
    }

    .nav-links {
        flex-direction: column; /* Stack links vertically */
        margin-top: 1rem; /* Add some space between logo and links */
        gap: 1rem;
        align-items: flex-start;
    }
}
/* In your style.css */
#contact {
    padding: 4rem 2rem; /* Add padding to the section */
    background-color: #f8f9fa; /* Light background for contrast */
}

#contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid  #310d94;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #310d94;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Style the checkbox and label to be inline */
.form-group input[type="checkbox"] {
    display: inline-block;
    width: auto; /* Reset width */
    margin-right: 0.5rem;
    vertical-align: middle;
}

.form-group label[for="newsletter"] {
    display: inline-block;
    margin-bottom: 0; /* Reset margin */
    vertical-align: middle;
}


.skills {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(87, 94, 197, 0.05);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tag::before {
    content: '';
    font-size: 0.8rem;
}
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .skills, .cta-buttons {
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding-top: 5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
}
/* In your style.css or within a <style> tag */
.page-header {
    background-color: #310d94; /* Light background */
    padding: 2rem;
    border-bottom: 1px solid #3a0707; /* Subtle bottom border */
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Align title and breadcrumb */
    align-items: center;
}

.page-title {
    font-size: 2rem;
    margin: 0; /* Remove default margins */
    color: #333; /* Darker text */
}

.breadcrumb {
    display: flex;
    align-items: center;
}

.breadcrumb-link {
    text-decoration: none;
    color: #007bff; /* Blue link color */
    transition: color 0.3s ease; /* Smooth color transition */
}

.breadcrumb-link:hover {
    color: #0056b3; /* Darker blue on hover */
}

.breadcrumb-separator {
    margin: 0 0.5rem; /* Space between links */
    color: #2419c7; /* Gray separator */
}

/* Responsive Styles (Optional) */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column; /* Stack vertically on smaller screens */
        align-items: flex-start;
    }

    .breadcrumb {
        margin-top: 0.5rem; /* Add some space between title and breadcrumb */
    }
}
