/* General Styling */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            overflow-x: hidden;
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            background-color: #f4f4f4;
        }

        /* Navbar Styling */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            /*background-color: #ffffff;*/
            padding: 15px 30px;
            background: linear-gradient(0deg, black, #00000069);
        }

        .logo {
            width: 250px;
            height: auto;
        }

        .nav-links {
            list-style: none;
            display: flex;
            gap: 20px;
        }

        .nav-links li a {
            text-decoration: none;
            color: #dbdbdb;
            font-size: 18px;
            padding: 10px 15px;
            transition: color 0.3s ease;
            font-weight: bold;
        }

        .nav-links li a:hover {
            color: #ffffff; /* Light orange effect on hover */
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* About Section Styling */
        .about {
            padding: 40px 15px;
            background: #000000d4;
            text-align: center;
        }

        .about h2 {
            font-size: 36px;
            letter-spacing: 2px;
            color: rgb(255, 255, 255);
            margin-bottom: 20px;
            position: relative;
            text-transform: uppercase;
            display: inline-block;
            padding-bottom: 10px;
        }


        .about h2::after {
            content: '';
            width: 60px;
            height: 4px;
            background-color: #ffffff; /* Highlighted color */
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }


        /* Animation for about section */
        @keyframes slideUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Grid Layout for Projects */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* Display two projects in a row */
            gap: 40px;
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        /* Container for each project */
        .project-container {
            /*background-color: #ffffff;*/
            background: linear-gradient(244deg, #8c8484, #00000000);
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
            padding: 20px;
            overflow: hidden;
        }

        /* Project Header */
        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .project-header h3 {
            font-size: 28px;
            color: #ffffff;
        }

        .project-header span {
            font-size: 18px;
            color: rgb(221, 221, 221);
        }

        /* Carousel Styling */
        .carousel {
            position: relative;
            width: 100%;
            height: 300px;
            overflow: hidden;
            border-radius: 10px;
        }

        .carousel img {
            width: 100%;
            height: 100%;
            object-fit: scale-down;
            position: absolute;
            top: 0;
            left: 100%;
            transition: left 1s ease;
        }

        .carousel img.active {
            left: 0;
        }

        /* Project Details */
        .project-details {
            padding: 20px;
        }

        .project-details p {
            margin-bottom: 10px;
            font-size: 16px;
            line-height: 1.6;
            color: #f3f3f3;
        }

        .project-details .committee, .project-details .sponsors {
            margin-top: 15px;
        }

        .project-details .committee h4, .project-details .sponsors h4 {
            font-size: 20px;
            color: rgb(255, 255, 255);
        }

        .project-details .committee ul, .project-details .sponsors ul {
            list-style: none;
            padding: 0;
        }

        .project-details .committee ul li, .project-details .sponsors ul li {
            font-size: 16px;
            color: #bdbdbd;
        }

        /* Button Styling */
        .button {
            display: inline-block;
            background: linear-gradient(90deg, #ff6347, #d30b0b);
            color: #ffffff;
            padding: 10px 20px;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
            margin-top: 20px;
        }

        .button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        footer{
            background: linear-gradient(31deg, #000000fa, #00000082);
        }

        /* Media Queries */
        @media (max-width: 768px) {

            .navbar {
                flex-direction: column; /* Stack items vertically */
                align-items: center; /* Align items to the start */
                padding: 15px; /* Adjust padding for mobile */
                background: linear-gradient(360deg, black, #00000078);
            }

            .nav-links {
                flex-direction: column; /* Stack links vertically */
                width: 100%; /* Full width for links */
                padding: 0; /* Remove padding */
                text-align-last: center;
            }


            .nav-links li {
                width: 100%; /* Make each link take full width */
                text-align: left; /* Align text to the left */
            }
            
            .nav-links li a {
                padding: 10px; /* Adjust padding for mobile */
                display: block; /* Make links block elements */
            }

            .carousel {
                height: 250px;
            }

            .project-header h3 {
                font-size: 22px;
            }

            .project-header span {
                font-size: 16px;
            }

            .projects-grid {
                grid-template-columns: 1fr; /* One project per row for small screens */
            }

        }