/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #071c39; /* Dark blue background for animation */
    color: #e0e0e0; /* Light text color */
    scroll-behavior: smooth;
    position: relative;
    overflow: auto; /* Allow scrolling */
    cursor: default; /* Restore the default cursor */
    font-size: 18px; /* Increase base font size */
    line-height: 1.6;
}

h1 {
    font-size: 56px; /* Larger font for main headings */
}

h2 {
    font-size: 36px; /* Larger font for section headings */
}

h3 {
    font-size: 28px; /* Larger font for subheadings */
}

h4 {
    font-size: 22px; /* Larger font for smaller headings */
}

/* Rotating Gradient Animation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.gradient {
    --size: 100vw; /* Cover 80% of the screen width */
    --speed: 5s;
    --easing: cubic-bezier(0.8, 0.2, 0.2, 0.8);

    width: var(--size);
    height: var(--size);
    filter: blur(calc(var(--size) / 5));
    background-image: linear-gradient(hsl(222, 84%, 60%), hsl(164, 79%, 71%));
    animation: rotate var(--speed) var(--easing) alternate infinite; /* Keep rotation */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: fixed; /* Change to fixed to follow the viewport */
    top: auto; /* Reset top position */
    bottom: 0; /* Position at the bottom */
    left: 35%; /* Center horizontally */
    transform: translate(-80%, 20%); /* Adjust for centering */
    z-index: -1; /* Ensure it stays behind content */
    pointer-events: none; /* Ensure the gradient doesn't interfere with mouse events */
    transition: transform 2s ease-out; /* Slower movement transition */
    opacity: 0.9; /* Slightly more visible */
}

@media (min-width: 720px) {
    .gradient {
        --size: 500px;
    }
}

/* Header Styles */
header {
    background-color: #1e1e1e; /* Dark header background */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Adjusted shadow for dark mode */
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    /* background: rgba(30, 30, 30, 0.8); Semi-transparent dark background */
    backdrop-filter: blur(5px); /* Frosted glass effect for the navbar */
    -webkit-backdrop-filter: blur(5px); /* Frosted glass effect for Safari */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); Subtle border */
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 24px;
    cursor: pointer;
}
.navbar .logo {
    font-size: 20px;
    font-weight: 700;
    color: #e0e0e0; /* Light green for logo */
}
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    transition: max-height 0.3s ease-out;
}
.navbar .nav-links li a {
    display: flex;
    align-items: center;
    gap: 10px; /* Add spacing between icon and text */
    text-decoration: none;
    color: #e0e0e0; /* Light text color */
    font-weight: 500;
    transition: color 0.3s;
}
.navbar .nav-links li a i {
    font-size: 18px; /* Adjust icon size */
}
.navbar .nav-links li a:hover {
    color: #81c784; /* Light green on hover */
}
@media (max-width: 1008px) {
    .navbar-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 70%;
        right: 0;
        color: #e0e0e0; /* Light text color */
        background: rgba(255, 255, 255, 0.08); /* Increased opacity for darker effect */
        backdrop-filter: blur(12px); /* Increased blur by 20% */
        -webkit-backdrop-filter: blur(12px); /* Increased blur for Safari */
        border: 1px solid rgba(255, 255, 255, 0.16); /* Adjusted border for consistency */
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        width: 50%;
        max-height: 0;
        overflow: hidden;
        /* border-radius: 0 0 10px 10px; */
    }

    .nav-links.active {
        max-height: 300px; /* Adjust based on the number of links */
    }

    .nav-links li {
        text-align: left;
        padding: 10px 0;
    }
}

/* Hero Section */
.hero {
    /* background: url('path/to/hero-background-dark.jpg') no-repeat center center/cover; Dark mode background */
    height: 100vh;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: #ffffff;
}
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}
.cta-button {
    background-color: #81c784; /* Light green button */
    color: #121212; /* Dark text for contrast */
    padding: 15px 30px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}
.cta-button:hover {
    background-color: #66bb6a; /* Slightly darker green on hover */
    transform: scale(1.05);
}

/* Container Styles */
.container {
    margin-top: 50px;
    padding: 60px 20px;
    text-align: center;
    background-color: #1e1e1e; /* Dark container background */
    color: #e0e0e0; /* Light text color */
    background: rgba(255, 255, 255, 0.08); /* Increased opacity for darker effect */
    backdrop-filter: blur(12px); /* Increased blur by 20% */
    -webkit-backdrop-filter: blur(12px); /* Increased blur for Safari */
    border: 1px solid rgba(255, 255, 255, 0.16); /* Adjusted border for consistency */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Add padding for content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.container,.project-description, header, footer {
    background: rgba(255, 255, 255, 0.08); /* Increased opacity for darker effect */
    backdrop-filter: blur(12px); /* Increased blur by 20% */
    -webkit-backdrop-filter: blur(12px); /* Increased blur for Safari */
    border: 1px solid rgba(255, 255, 255, 0.16); /* Adjusted border for consistency */
    border-radius: 10px; /* Rounded corners */
    /* padding: 20px; Add padding for content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.contributors {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}
.contributor img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s;
}
.contributor img:hover {
    transform: scale(1.1);
}

.contributor-card {
    /* background-color: #1e1e1e; */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contributor-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.contributor-card h3 {
    font-size: 20px;
    color: #81c784;
    margin-bottom: 5px;
}

.contributor-card p {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 10px;
}

.contributor-card .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contributor-card .social-links a {
    color: #81c784;
    font-size: 18px;
    transition: color 0.3s, transform 0.3s;
}

.contributor-card .social-links a:hover {
    color: #66bb6a;
    transform: scale(1.1);
}

.contributor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    background-color: #1e1e1e; /* Dark footer background */
    color: #e0e0e0; /* Light text color */
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.08); /* Increased opacity for darker effect */
    backdrop-filter: blur(12px); /* Increased blur by 20% */
    -webkit-backdrop-filter: blur(12px); /* Increased blur for Safari */
    border: 1px solid rgba(255, 255, 255, 0.16); /* Adjusted border for consistency */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Add padding for content */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Emails Section */
#emails ul li {
    font-size: 16px;
    line-height: 1.8;
}
#emails ul li i {
    font-size: 18px;
    transition: transform 0.3s;
}
#emails ul li i:hover {
    transform: scale(1.2);
}

/* Project Description Section */
#project-description h2 {
    text-transform: uppercase;
    color: #81c784;
    font-size: 14px;
    margin-bottom: 10px;
}
#project-description h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
#project-description h3 {
    color: #81c784;
    font-size: 20px;
    margin-bottom: 10px;
}
#project-description p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
}
#project-description ul {
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
    padding-left: 20px;
}
#project-description ul li {
    margin-bottom: 10px;
}
.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
.project-card {
    /* background-color: #1e1e1e; */
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}
.project-card h3 {
    color: #81c784;
    font-size: 20px;
    margin-bottom: 10px;
}
.project-card p {
    font-size: 16px;
    margin-bottom: 10px;
}
.project-card ul {
    padding-left: 20px;
    list-style: disc;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* Network and Ubuntu Section */
#network-ubuntu h2 {
    text-transform: uppercase;
    color: #81c784;
    font-size: 14px;
    margin-bottom: 10px;
}
#network-ubuntu h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
#network-ubuntu p {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 20px;
}
#network-ubuntu .project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}
#network-ubuntu .project-card {
    /* background-color: #1e1e1e; */
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}
#network-ubuntu .project-card h3 {
    color: #81c784;
    font-size: 20px;
    margin-bottom: 10px;
}
#network-ubuntu .project-card p {
    font-size: 16px;
    margin-bottom: 10px;
}
#network-ubuntu .project-card ul {
    padding-left: 20px;
    list-style: disc;
}
#network-ubuntu .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* About the Project Section */
.about-details {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.about-details h3 {
    font-size: 24px;
    color: #81c784;
    margin-bottom: 15px;
}

.about-details p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-details ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.about-details ul li {
    margin-bottom: 10px;
}

.about-details blockquote {
    font-size: 16px;
    font-style: italic;
    color: #81c784;
    border-left: 4px solid #81c784;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
    position: relative;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px; /* Larger font for captions */
    text-align: center;
}

/* Team Section */
.team-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.team-slideshow {
    flex: 1;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px; /* Larger font for captions */
    text-align: center;
}

.team-content {
    flex: 2;
    text-align: left;
    color: #e0e0e0;
    display: none; /* Initially hide all content */
}

.team-content.active {
    display: block; /* Show content when active */
}

.team-content h3 {
    font-size: 32px; /* Larger font for team section heading */
    color: #81c784;
    margin-bottom: 15px;
}

.team-content h4 {
    font-size: 24px; /* Larger font for team member names */
    color: #81c784;
    margin-top: 20px;
    margin-bottom: 10px;
}

.team-content p {
    font-size: 18px; /* Larger font for team descriptions */
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Product Introduction Section */
.product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.product-images {
    flex: 1;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1; /* Ensure square aspect ratio */
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fills the square without distortion */
    border-radius: 10px;
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
}

.caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
}

.product-content {
    flex: 2;
    text-align: left;
    color: #e0e0e0;
}

.product-content h3 {
    font-size: 28px; /* Adjusted font size for section heading */
    color: #81c784;
    margin-bottom: 15px;
}

.product-content h4 {
    font-size: 20px; /* Adjusted font size for subheadings */
    color: #81c784;
    margin-top: 20px;
    margin-bottom: 10px;
}

.product-content p {
    font-size: 16px; /* Adjusted font size for paragraphs */
    line-height: 1.6; /* Slightly reduced line height */
    margin-bottom: 15px;
}

.product-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.product-content ul li {
    font-size: 16px; /* Match paragraph font size */
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .product-layout {
        flex-direction: column; /* Stack images and content vertically */
    }

    .product-images {
        order: -1; /* Move images to the top */
        max-width: 100%; /* Allow images to take full width */
    }

    .product-content {
        margin-top: 20px; /* Add spacing below images */
    }
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    /* max-width: 45%; */
    color: #e0e0e0;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info ul li {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-form-fields {
    flex: 1;
    max-width: 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-fields .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-form-fields label {
    font-size: 16px;
    color: #e0e0e0;
}

.contact-form-fields input,
.contact-form-fields textarea {
    /* width: 97%; */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    /* color: #e0e0e0; */
}

.contact-form-fields input::placeholder,
.contact-form-fields textarea::placeholder {
    color: #aaa;
}

.contact-form-fields button {
    background-color: #81c784;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form-fields button:hover {
    background-color: #81c784;
}

@media (max-width: 768px) {
    .contact-form {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-fields {
        max-width: 100%;
    }
}
