  /* Color Palette: Blue & White */
        :root {
            --primary-blue: #004080;
            --secondary-blue: #0073e6;
            --white: #ffffff;
            --light-gray: #f4f4f4;
        }

        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; line-height: 1.6; }

        /* Sticky Navigation */
        header {
            background: var(--primary-blue);
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        nav { display: flex; justify-content: space-around; align-items: center; }
        nav a { color: white; text-decoration: none; font-weight: bold; padding: 10px 15px; }
        nav a:hover { background: var(--secondary-blue); border-radius: 5px; }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1200x500');
            height: 400px;
            background-size: cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
        }

        /* Notice Table */
        .container { padding: 2rem; max-width: 1000px; margin: auto; }
        table { width: 100%; border-collapse: collapse; margin-top: 20px; }
        th, td { border: 1px solid #ddd; padding: 12px; text-align: left; }
        th { background-color: var(--primary-blue); color: white; }
        tr:nth-child(even) { background-color: var(--light-gray); }

        /* Responsive Grid for Courses */
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
        .card { border: 1px solid #ddd; padding: 20px; border-radius: 10px; text-align: center; transition: 0.3s; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/*footer styling start*/
/* Footer Styling */
    .footer {
        background-color: #002b55; /* Darker blue for contrast */
        color: white;
        padding: 40px 0 20px;
        margin-top: 50px;
    }

    .footer-container {
        max-width: 1100px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        padding: 0 20px;
    }

    .footer-col h3 {
        border-bottom: 2px solid var(--secondary-blue);
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .footer-col p {
        font-size: 14px;
        color: #d1d1d1;
    }

    .footer-col ul {
        list-style: none;
        padding: 0;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        color: #d1d1d1;
        text-decoration: none;
        transition: 0.3s;
    }

    .footer-col ul li a:hover {
        color: white;
        padding-left: 5px;
    }

    .social-links a {
        color: white;
        text-decoration: none;
        margin-right: 10px;
        font-weight: bold;
    }

    .footer-bottom {
        text-align: center;
        border-top: 1px solid #444;
        margin-top: 30px;
        padding-top: 20px;
        font-size: 13px;
        color: #bbb;
    }

    /* Mobile Responsive adjustment */
    @media (max-width: 768px) {
        .footer-col {
            text-align: center;
        }
        .footer-col h3 {
            display: inline-block;
        }
    }
/*footer styling end*/
/*NAV BAR LOGO START*/
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px; /* Logo aur text ke beech ki doori */
}

.logo-img {
    height: 50px; /* Logo ki height fix karein */
    width: auto;
    border-radius: 50%; /* Agar logo round chahiye toh */
}

.logo-text {
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    background: var(--secondary-blue);
    border-radius: 5px;
}
/*NAV BAR LOGO END*/



/* Logo aur Nav ka layout setup */
/* General Header Styles */
.main-header {
    background-color: #004080;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffd700; /* Gold color on hover */
}

/* Mobile Hamburger Style */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.4s;
}

/* --- Responsive Media Query --- */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex; /* Mobile par hamburger dikhega */
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 60px; /* Header ki height */
        height: calc(100vh - 60px);
        background-color: #003366;
        width: 100%; /* Pura screen cover karne ke liye */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        
        /* SHURUAT MEIN HIDE KARNE KE LIYE */
        transform: translateX(100%); 
        transition: transform 0.5s ease-in-out;
        z-index: 999;
    }

    /* Jab JavaScript class add karega tab menu dikhega */
    .nav-links.active {
        transform: translateX(0);
    }
    
    /* Hamburger animation (optional) */
    .hamburger.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
}
/*responsive nav bar*/

/*carousel Start*/
.carousel-container {
    position: relative;
    max-width: 100%;
    height: 500px; /* Desktop height */
    overflow: hidden;
    background-color: #333;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Photo stretch nahi hogi */
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: white;
    background: rgba(0, 64, 128, 0.7); /* Primary blue with transparency */
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Controls */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.next-btn { right: 10px; }
.prev-btn { left: 10px; }

.prev-btn:hover, .next-btn:hover { background: var(--primary-blue); }

/* Mobile Height */
@media (max-width: 768px) {
    .carousel-container { height: 300px; }
    .carousel-caption { bottom: 10%; left: 5%; width: 80%; }
    .carousel-caption h2 { font-size: 1.2rem; }
}
/*carousel end*/


/*class active start*/
.active {
  background-color: #4CAF50; /* Green background for active tab */
  color: white;
  font-weight: bold;
}
/*class active end*/

/*dropdwon start*/
/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Menu (Hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff; /* White background for contrast */
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 4px;
    padding: 0;
    list-style: none;
    top: 100%; /* Links ke theek niche khulega */
    left: 0;
}

/* Links inside dropdown */
.dropdown-content li a {
    color: #004080 !important; /* Blue text */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f1f1;
    transition: 0.3s;
}

/* Hover effect on dropdown links */
.dropdown-content li a:hover {
    background-color: #f1f1f1;
    color: #0073e6 !important;
    padding-left: 20px;
}

/* Show dropdown on hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Responsive adjustment */
@media (max-width: 768px) {
    .dropdown-content {
        position: static; /* Mobile par menu ke andar hi dikhega */
        display: none;
        background-color: #003366; /* Darker blue for mobile */
        box-shadow: none;
        width: 100%;
        text-align: center;
    }
    
    .dropdown-content li a {
        color: white !important;
        border-bottom: 1px solid #004080;
    }

    /* Mobile par click ya hover par dikhane ke liye toggle logic ki zaroorat pad sakti hai */
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
/*dropdown end*/