.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #32CD32;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    
}

body {
    background-color: #002147;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.navbar-nav .nav-link {
    transition: 0.3s;
    font-size: 18px; 
    color: white !important;
    margin-right: 20px;
   
}

.navbar-nav .nav-link:hover {
    color: #32CD32 !important;
    transition: color 0.3s ease-in-out; 
}

.ud-hero {
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    
}

.ud-hero h1 {
    color: #002366;
    font-size: 2.5rem;
    font-weight: bold;
}

.ud-hero i {
    color: #32CD32;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 15px;
}

.ud-hero p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 15px;
    color: #333;
}

#faq {
    background-color: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-container h2 {
    font-size: 2rem;
    color: #002366;
    margin-bottom: 20px;
}

.faq-list details {
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.faq-list summary {
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    color: #32CD32;
    padding: 10px 0;
    transition: color 0.3s ease-in-out;
}

.faq-list summary:hover {
    color: #228B22;
}

.faq-list p {
    color: #555;
    font-size: 1rem;
    padding-top: 10px;
}

.faq-list details[open] summary {
    color: #228B22;
    font-size: 1.3rem;
}

.button {
    background-color: #32CD32;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    background-color: #228B22;
}
#internship {
    background-color: #f8f9fa;
    padding: 40px 20px;
    text-align: center;
}

#internship h2 {
    font-size: 2rem;
    color: #002147;
    margin-bottom: 20px;
}

.internship-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: #444;
    padding-bottom: 20px;
}

.internship-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.internship-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.internship-card h4 {
    color: #002147;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.internship-card ul {
    list-style: none;
    padding: 0;
}

.internship-card li {
    padding: 5px 0;
    color: #555;
}

.internship-card:hover {
    transform: scale(1.05);
}

button {
    background-color: #002147;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #004080;
}

#contact {
    background-color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

#contact h2 {
    color: #002147;
}

#contact span {
    font-size: 1.2rem;
    color: #444;
}

#contact a {
    color: #32CD32;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

#contact a:hover {
    color: #228B22;
}

footer {
    background-color: #002147;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-container {
        padding: 0 15px;
    }

    .faq-container h2 {
        font-size: 1.8rem;
    }

    .faq-list summary {
        font-size: 1.1rem;
    }
    
.navbar-toggler {
    border: none;
}

.toggler-icon {
    background-color: white;
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: 0.3s;
}

.navbar-collapse {
    background-color: #32CD32; /* Green */
    padding: 15px;
    position: fixed;
    top: 56px; /* Adjust to navbar height */
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Hide navbar when collapsed */
.navbar-collapse.collapsing,
.navbar-collapse.show {
    display: block;
}

.navbar-collapse:not(.show) {
    display: none;
}

.navbar-nav .nav-link {
   margin-right: 5px;
   font-size: 16px; 
}
}