
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
     width: 100%;
    align-items: center;
    margin: auto;
}
header {
    background: #ffedd5;
    color: #fff;
    padding: 1em 0;
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}
header nav ul {
    list-style: none;
}
header nav ul li {
    display: inline;
    margin-right: 15px;
}
header nav a {
    color: #fff;
    text-decoration: none;
}


.courses, .news {
    padding: 2em 0;
    text-align: center;
}
.courses h2, .news h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
}
.course-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.course-item {
    background: #f4f4f4;
   
    width: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.course-item h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}
.news ul {
    list-style: none;
}
.news li {
    margin: 10px 0;
}
.news a {
    color: #333;
    text-decoration: none;
}
footer {
    background: #333;
    color: #fff;
    padding: 1em;
    text-align: center;
}
footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
footer ul li {
    margin: 0 15px;
}
footer ul a {
    color: #fff;
    text-decoration: none;
}



.banner {
  /*  background-image: url('images/banner.jpg'); /* Path to the image */
  background-color: #fff9ee;
    background-size: contain;
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center;
    padding: 10px 20px; /* Adjust padding as needed */
    text-align: center;
    color: blue; /* Optional: text color */
}
/* Apply `cover` for larger screens */
@media (min-width: 2000px) {
    .banner {
        background-size: cover;
    }
}




.banner h1 {
    font-size: 3em; /* Adjust font size as needed */
    margin: 0;
     color: red;
}
.banner h2 {
    font-size: 2em; /* Adjust font size as needed */
    margin: 0;
    color: #000d59;
}
.banner p {
    font-size: 1.2em; /* Adjust font size as needed */
    margin: 10px 0;
}

.banner .btn {
    background-color: #007bff; /* Button color */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}


    /* style.css */

.site-header {
     background-color: #333333; 
    display: flex;
    align-items: center;
    padding: 5px 10px;
   
}

.site-header .logo {
    max-width: 50px; /* Adjust width as needed */
    height: auto;
}

.site-header nav {
    margin-left: auto; /* Pushes the navigation to the right */
}

.contact-details {
    background-color: #7fff0000 ; /* Semi-transparent white background */
    color: #333; /* Dark text color */
    font-size: 18px; /* Adjust font size */
    text-align: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd; /* Optional: Adds a subtle line below */
    width: 100%; /* Make it span the entire width */
}

/* General Styles for Header */
.site-header {
    background-color: #f8f9fa;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* Nav Links - Default for Large Screens */
.nav-links {
    list-style: none;
    display: flex;
 
}

.nav-links li {
    display: inline-block;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Menu Toggle Button - Hidden by Default */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: background-color 0.3s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute; /* Ensure the menu is positioned relative to the navbar */
        top: 100%; /* Aligns the dropdown just below the navbar */
        right: 0; /* Aligns the menu to the right edge of the screen */
        width: 200px;
        padding: 10px 0; /* Add padding for spacing between items */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        z-index: 1100; /* Ensure the toggle button is above the menu */
    }
}

/* News Ticker Styling */
.news-ticker {
    position: fixed;
    right: 20px;
    top: 300px;
    width: 300px;
    height: 200px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    padding: 10px;
}

.news-ticker h3 {
    font-size: 18px;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
}

.news-ticker-content {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.news-ticker-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: scroll-news 5s linear infinite;
}

.news-ticker-content ul li {
    margin: 10px 0;
}

.news-ticker-content ul li a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.news-ticker-content ul li a:hover {
    text-decoration: underline;
    
}    
    
    
    
/* News Ticker Container */
.news-ticker-container {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 300px;
    z-index: 1000;
}

/* Toggle Button */
.toggle-news-ticker {
    display: none; /* Hidden by default on large screens */
    background-color: #007bff;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.toggle-news-ticker:hover {
    background-color: #0056b3;
}

/* News Ticker */
.news-ticker {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    display: block; /* Visible by default */
}

/* Hidden on small screens */
.news-ticker.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .toggle-news-ticker {
        display: block; /* Show toggle button on small screens */
    }

    .news-ticker {
        display: none; /* Hidden by default on small screens */
    }

    .news-ticker.hidden {
        display: none;
    }
}














    
    
    
    
    
    
    

/* Scrolling Animation */
@keyframes scroll-news {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}
/* Dropdown Container */
.important-links {
    position: relative;
    display: inline-block;
}

/* Dropdown Button */
.dropdown-button {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dropdown Button Hover */
.dropdown-button:hover {
    background-color: #0056b3;
}

/* Dropdown Content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 5px;
    overflow: hidden;
}

/* Dropdown Links */
.dropdown-content a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

/* Hover Effect for Links */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Show Dropdown on Button Hover */
.important-links:hover .dropdown-content {
    display: block;
}
@media (max-width: 768px) {
    .dropdown-content {
        min-width: 100%;
        box-shadow: none;
        position: static;
    }

    .dropdown-button {
        width: 100%;
        text-align: left;
    }
}
