

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    }
}

.move {
    color: #fff;
    font-size: 12px; /* Adjust font size for better readability */
    background-color: rgb(226, 17, 17);
    border-color: #007bff;
    position: relative;
    animation: pulse 1.5s infinite;
    transition: all 0.3s ease;
    /* border-radius: 50%; */
    width: 8vw; /* Responsive width */
    height: 8vw; /* Responsive height */
    max-width: 70px; /* Ensure button doesn't get too large */
    max-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Center text alignment */
    line-height: 1.2; /* Adjust for better text fit */
}

.move:hover {
    background-color: rgb(226, 17, 17);
    border-color: #004085;
    box-shadow: 0 0 20px rgb(226, 17, 17);
    transform: scale(1.2);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
    .move {
        font-size: 0.6rem; /* Slightly smaller text */
        width: 12vw; /* Larger size for smaller screens */
        max-width: 70px; /* Ensure button doesn't get too large */
        max-height: 35px; /* Limit the size */
        
    }
}

@media screen and (max-width: 480px) {
    .move {
        font-size: 0.8rem; /* Smaller text for extra small screens */
        width: 16vw; /* Larger button size */
        height: 16vw;
        max-width: 40px;
        max-height: 40px;
    }
}


#searchInput {
    display: none;
    width: 0;
    transition: width 0.3s ease, display 0s ease 0.3s;
    }

#searchInput.show {
    display: block;
    width: 200px;
}
 /* Breaking news header */
 .breaking-news {
    background-color: #0098DB;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding: 3px 3px 3px 3px;
    margin-top: 10px;

}

.breaking-news marquee {
    background-color:  #fff;
    color: rgb(226, 17, 17);
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    width: 90%;
}

.breaking-news span {
    margin-left: 8px;
    font-size: 14px;
}


/* General Header Styling */
header {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f8f9fa;
}

/* Prevent horizontal scroll on small screens */
body {
    overflow-x: hidden;
}

/* Main Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center links on desktop */
    align-items: center;
    padding: 10px 15px;
    background-color: #0098DB;
}

/* Navigation Links */
.main-nav a {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #0098DB;
}

/* Dropdown Menu Styling */
.nav-item {
    position: relative;
    margin-right: 15px;
}

/* Dropdown Hidden by Default */
.nav-item .dropdown-menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    min-width: 180px;
    background: white;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    z-index: 1000;
}

/* Show dropdown on hover (Desktop) */
.nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

/* Ensure Dropdown is Clickable (Mobile) */
.nav-item .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: black;
    text-decoration: none;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    /* Adjust dropdown for small screens and tablets */
    .nav-item .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        display: none; /* Hide by default */
        width: 50%; /* Full width of parent container */
        max-width: 50%;
        box-sizing: border-box;
        overflow-y: auto;
        overflow-x: auto; /* Avoid horizontal scroll */
        margin: 0; /* Remove auto margin to prevent centering offset */
    }

    /* Show dropdown when parent is clicked */
    .nav-item.active .dropdown-menu {
        display: block;
    }

    /* Adjust search input */
    #searchInput {
        display: none;
    }

    #searchToggle {
        display: block;
    }
}



@media (max-width: 768px) {
    /* Hide the input field by default on small screens */
    #searchInput {
        display: none;
        font-size: 12px; /* Smaller font size */
        padding: 4px 8px; /* Reduced padding */
    }

    /* Show only the toggle (search icon button) */
    #searchToggle {
        display: block;
        font-size: 14px; /* Smaller icon size */
        padding: 4px; /* Reduce clickable area */
        margin: 0;
    }

    /* If you toggle the input open with JS, you might want this class */
    .show-search #searchInput {
        display: block;
        width: 100%;
    }
}


/* Responsive Styling - Tablets and below */
/* Default (Desktop) Styling */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    font-size: 13px;
    color: #000;
    text-decoration: underline;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1;
  }

  .nav-links .apply-link {
    font-weight: bold;
    color: #0D6D35;
    text-decoration: underline;
    background: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .hide-on-mobile {
    display: none;
  }

  .nav-item-search {
    justify-content: center;
    width: 100%;
  }

  .nav-item-search input {
    width: 100%;
    font-size: 13px;
    padding: 4px 8px;
  }
}
@media (max-width: 768px) {
  .nav-links .apply-link {
    display: none !important;
  }
}





    /* Make search bar visible when toggled */
    #searchInput {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

/* General Header Styling */
header {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #f8f9fa;
}

/* Prevent horizontal scroll on small screens */
body {
    overflow-x: hidden;
}

/* Main Navigation */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center links on desktop */
    align-items: center;
    padding: 10px 15px;
    background-color: #0098DB;
}

/* Navigation Links */
.main-nav a {
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #0098DB;
}

/* Dropdown Menu Styling */
.nav-item {
    position: relative;
    margin-right: 15px;
}

/* Dropdown Hidden by Default */
/* .nav-item .dropdown-menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    min-width: 180px;
    background: white;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    z-index: 1000;
} */

/* Show dropdown on hover (Desktop) */
/* .nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
} */

/* Ensure Dropdown is Clickable (Mobile) */
.nav-item .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: black;
    text-decoration: none;
}



@media (max-width: 576px) {
    /*.main-nav a {*/
    /*    width: 100%;*/
    /*    text-align: left;*/
    /*}*/

    /* Make search bar visible when toggled */
    #searchInput {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
}



.note{
    border-top: 2px solid #0098DB;
}


.btn-blue {
    background-color: #0098DB;
    color: white;
}
.btn-blue:hover{
    color: white;
    background-color: #0D6D35;
}
.btn-green {
    background-color: #0D6D35;
    color: white;
}
.btn-green:hover{
    color: white;
}
.whatsapp-icon {
    position: fixed;
    bottom: 12px;
    right: 12px;
    width: 60px;
    height: 60px;
    background-color: #0D6D35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon img {
    width: 35px;
    height: 35px;
}
/* .carousel styles */

.carousel-inner img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}


/* Add keyframes for zoom-in and zoom-out */
@keyframes zoomInOut {
    0% {
        transform: scale(1); /* Normal size */
    }
    50% {
        transform: scale(1.3); /* Zoom in */
    }
    100% {
        transform: scale(1); /* Zoom out */
    }
}

/* Apply the zoom-in and zoom-out animation */
.carousel-item.active .carousel-zoom {
    animation: zoomInOut 5.0s ease-in-out; /* Animation for active slide */
}

/* Reset inactive items */
.carousel-item:not(.active) .carousel-zoom {
    transform: scale(1); /* Reset to normal size */
    animation: none; /* No animation for inactive slides */
}



.btn-blue {
    background-color: #0098DB ;
    color: white;
    border: none;
}

.btn-blue:hover {
    background-color: #0098DB ;
}

.btn-green {
    background-color: #0D6D35;
    color: white;
    border: none;
}

.btn-green:hover {
    background-color: #0D6D35;
}

    .carousel-caption {
  bottom: 42%;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent background */
  padding: 20px;
  border-radius: 8px;
}

.carousel-caption h1 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #eee;
}

.carousel-caption .btn {
  margin: 5px;
}

/* Responsive text size on smaller screens */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.4rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-caption {
    bottom: 38%;
    padding: 10px;
  }

  .carousel-caption .btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 1.1rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .carousel-caption {
    bottom: 38%;
    padding: 10px;
  }

  .carousel-caption .btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

.btn-blue {
  background-color: #007bff;
  color: white;
  border: none;
}

.btn-blue:hover {
  background-color: #0056b3;
}

.btn-green {
  background-color: #28a745;
  color: white;
  border: none;
}

.btn-green:hover {
  background-color: #1e7e34;
}



/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animations */
.carousel-caption h1 {
  animation: fadeInDown 1s ease-out;
}

.carousel-caption p {
  animation: fadeInUp 1.3s ease-out;
}

.carousel-caption .btn {
  animation: fadeInUp 1.6s ease-out;
}

.carousel-caption h1 {
  animation-delay: 0.2s;
}

.carousel-caption p {
  animation-delay: 0.5s;
}

.carousel-caption .btn:nth-of-type(1) {
  animation-delay: 0.8s;
}
.carousel-caption .btn:nth-of-type(2) {
  animation-delay: 1s;
}
animation-fill-mode: both;



/* Ensure the table container allows horizontal scrolling */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto; /* Enable horizontal scroll */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 20px; /* Add some spacing at the bottom */
    padding-bottom: 10px; /* Ensure the padding on the bottom */
    border: 1px solid #ddd; /* Light border around the table */
    border-radius: 5px; /* Rounded corners */
}

/* Force the table to always require scrolling on small screens */
.table-responsive table {
    width: 100%;
    min-width: 800px; /* Force a minimum width to make the table scroll */
    table-layout: fixed; /* Fix column widths */
}



/* Table header styling */
.table thead {
    background-color: #0098DB ; /* Burgundy background for the table header */
    color: black; /* White text color */
}

/* Table cell styling */
.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

/* Optional: Fix the header to always stay on top */
.table-responsive thead th {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: black;
}

/* Alternating row colors */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #c8c9c8; /* Light gray for alternating rows */
    text-align: center;
}


@media (max-width: 576px) {
    .card-body {
        min-height: 140px !important; /* Reduce height */
        padding: 1rem !important;     /* Tighter padding */
    }

    .card-body i {
        font-size: 2rem !important;   /* Smaller icons */
    }

    .card-title {
        font-size: 1.2rem !important;   /* Smaller title text */
        margin-top: 0.5rem !important;
    }

    .card-text.view {
        font-size: 1.2rem !important; /* Smaller paragraph text */
    }

    .content-c {
        font-size: 0.85rem !important;
    }
}



/* General Footer Styles */


.footer h4 {
font-size: 1.25rem;
margin-bottom: 1rem;
}

.footer a {
color: white;
transition: color 0.3s ease;
text-decoration: none;
}

.footer {
color: white;
background-color: #333333;
font-size: 14px;
padding-bottom: 15px;
position: relative;
}

.footer .footer-top {
padding-top: 15px;
}

.footer .footer-about .logo {
margin-bottom: 0;
}

.footer .footer-about .logo img {
max-height: 40px;
margin-right: 6px;
}

.footer .footer-about .logo span {
font-size: 26px;
font-weight: 700;
letter-spacing: 1px;
font-family: sans-serif;
color: white;
}

.footer .footer-about p {
font-size: 14px;
font-family: sans-serif;
}

.footer .social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;

border: 1px solid #0098DB, transparent 50%;
font-size: 16px;
color: white;
margin-right: 10px;
transition: 0.3s;

}

.footer .social-links a:hover {
color: #0098DB;
border-color: #0098DB;
}

.footer h4 {
font-size: 16px;
font-weight: bold;
position: relative;
padding-bottom: 12px;
}

.footer .footer-links {
margin-bottom: 30px;
}

.footer .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer .footer-links ul i {
padding-right: 2px;
font-size: 12px;
line-height: 0;
}

.footer .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}

.footer .footer-links ul li:first-child {
padding-top: 0;
}

.footer .footer-links ul a {
color: white;
display: inline-block;
line-height: 1;
}

.footer .footer-links ul a {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  padding-left: 0; /* Initial padding */
  color: inherit;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: #0098DB;
  padding-left: 10px; /* Move slightly to the right */
}

.footer .footer-links ul a::before {
  content: '→'; /* Arrow symbol */
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer .footer-links ul a:hover::before {
  opacity: 1;
  left: -20px; /* Animate the arrow slightly left */
}


.footer .footer-contact p {
margin-bottom: 5px;
}




.footer .copyright {
padding-top: 25px;
padding-bottom: 25px;
background-color: #333333;
color: white;
}

.footer .copyright p {
margin-bottom: 0;

}

.footer .credits {
margin-top: 6px;
font-size: 13px;
}
/* Courses */


.courses-table {
    background-color: #f8f9fa; /* Light background for the section */
    padding: 2rem 0;
    }

.courses-table h2 {
    color: #800000; /* Burgundy color for the header */
    font-weight: bold;
    text-transform: uppercase;
    }


/* # Back to top button */

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #0098DB;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
    }
.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
    }

.back-to-top:hover {
background: #0098DB;
color: #fff;
    }

.back-to-top.active {
visibility: visible;
opacity: 1;
    }
.container{
    padding: 10px;
    
}

.contact-info {
    font-size: 16px;
    
}
.contact-info p strong{
    color: #0098DB;
}
.contact-info p {
    color: black;
}
.contact-info .icon {
    margin-right: 10px;
    color: #dc3545;
}
.form-container {
    max-width: 600px;
    margin: 0 auto;
}
.btn-submit {
    background-color: #0098DB;
    color: white;
    font-weight: bold;
}
.btn-submit:hover{
    color: black;
    background-color: #25D366;
}

/* Custom Styling to Match the Design */
.notices-section {
border: 2px solid #0098DB;
border-radius: 8px;
overflow: hidden;
}

.notices-header {
background-color: #0098DB;
color: white;
padding: 15px;
text-align: center;
font-weight: bold;
font-size: 1.5rem;
}

.notices-item {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-left: 4px solid red;
    margin: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: black;
    }

.notices-item:hover {
    
    border-bottom: solid #0098DB 2px;
    transform: scale(0.99); /* Zoom-out effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    background-color: #f8f9fa; /* Slight background change */
}

.notices-item-date {
font-size: 0.9rem;
color: red;
display: flex;
align-items: center;
}

.notices-item-date i {
margin-right: 5px;
}

.notices-footer {
text-align: center;
padding: 10px;
font-weight: bold;
}

.notices-footer a {
color: red;
text-decoration: none;
}
.notices-footer a:hover{
    color: #0098DB;
}
.notices-footer a:hover {
text-decoration: underline;
}
.notices-item a {
    text-decoration: none;
    }
.notices-item a:hover {
    text-decoration: underline;
}
.view{
    font-size: 1rem;
    color: white;
    text-decoration: none;
}
.program-card {
    background-color: white; /* Purple background */
    color: black;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px #0098DB;
}

.program-card h5 {
    font-weight: bold;
    margin-bottom: 15px;
}
.program-card li{
    color: black;
}

.program-card ul {
    padding-left: 20px;
}

.program-card a {
    color: red; /* Gold color for links */
    text-decoration: none;
}

.program-card a:hover {
    color: #0098DB;
    text-decoration: underline;
}


.card-img-top {
    max-height: 400px;
    object-fit: cover;
}

.card-img-top-news {
    height: 200px;
    object-fit: cover; 
    width: 100%; 
    display: block; 
}


.card-admin {
    height: 100%; /* Ensure the card takes the full height of its container */
    display: flex; /* Enable flexbox for alignment */
    flex-direction: column; /* Stack elements vertically */
}

.card-img-top-admin {
    height: 220px; /* Set a fixed height for the image */
    width: 100%; /* Make the image take up the full width */
    object-fit: contain; /* Ensure the full image is visible and scaled proportionally */
    background-color: #f8f9fa; /* Optional: Add a background color for better presentation */
    border-bottom: 1px solid #ddd; 
}

.card-body-admin {
    flex-grow: 1; /* Ensure the card body stretches to fill the remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}



.principal-message img {
    max-height: 200px;
    object-fit: cover;
}

form .mb-3 {
    margin-bottom: 1.5rem; 
}

form label {
    font-weight: bold; 
}

form .form-select,
form .form-control {
    width: 100%;
}


.department-image {
    width: 100%; 
    height: 300px;
    object-fit: cover; 
  }

.row.align-items-start {
    align-items: flex-start !important;
}


.jobs-section {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f9f9f9;
}

.jobs-section h2 {
    color: #0098DB;
    margin-bottom: 20px;
}

/* Ensure the row and columns behave properly */
.row {
    display: flex;
    flex-wrap: wrap; /* Wrap items to the next row when needed */
  }
  
  .d-flex {
    display: flex;
  }
  


.job-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
    border-left: 6px solid #0098DB;
    height: 100%;
}
.job-card:hover{
    border: 2px solid red;
}
.job-card p {
    margin: 0;
    margin-bottom: 10px;
    color: #333;
}

.btn_download {
    align-self: flex-end;
    text-decoration: none;
    color: #28a745;
    font-weight: bold;
}

.btn_download:hover {
    text-decoration: underline;
    color: #007bff;
}


.gallery-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 4px 8px rgba(9, 69, 199, 0.2);
    width: 100%;
    height: auto;
    z-index: 1; /* Default stack order */
  }
  
 /* Default hover effect for larger screens */
.gallery-item:hover {
    transform: scale(1.8); /* Zoom-out effect */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    z-index: 10; /* Bring to foreground */
    cursor: pointer;
  }
  
  /* Smaller screens: Reduce the scale to avoid overflow */
  @media (max-width: 576px) {
    .gallery-item:hover {
      transform: scale(1.05); /* Smaller zoom on small screens */
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
    }
  }
  
  /* Larger screens */
  @media (min-width: 768px) {
    .gallery-item:hover {
      transform: scale(1.3); 
      box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }
  }
  
  
  .gallery-image {
    width: 100%; 
    height: 300px; 
    object-fit: cover; /* Maintain aspect ratio and crop if necessary */
  }

  
  .card-body {
    text-align: start;
    padding: 10px;
  }

  .gallery-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
  }

  .gallery-description {
    text-align: center;
    margin-bottom: 30px;
  }


  .card-news {
    border: none;
    border-radius: 8px;
    background-color: #1c1c1e; /* Dark mode background */
    color: #ffffff; /* Text color */
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: 700;
  }
  
  .text-muted {
    color: #a6a6a6 !important; /* Muted text color */
  }
  
  .card-news .mb-3 p {
    margin-bottom: 0.25rem;
  }

  
  .card-news:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    transition: transform 0.2s ease;
  }
  
  .card-news .float-end {
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  hr {
    border-color: #2c2c2e; /* Lighter border for dark mode */
  }

  .form-label {
    font-weight: bold;
  }

  .form-check-label {
    font-size: 14px;
    color: #495057;
  }

  

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-control, .form-check-input {
    border-radius: .375rem;
  }

  .container {
    max-width: 100%;
    margin-top: 30px;
  }
 
  .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
  }

  .btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
  }

  .shadow-lg {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Improve responsiveness */
  @media (max-width: 768px) {
    .col-md-4 {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  .text-danger-files{
    align-items: center;
    text-align: center;
    color: red;
  }

.department-meassage{
    
    background: transparent;
}

/* Ensure all cards have the same height */
.gallery-item {
    display: flex;
    flex-direction: column; 
    height: 100%; 
    border: 1px solid #ddd; 
}

/* Set a fixed height for images, but make sure they maintain aspect ratio */
.gallery-image {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
}


.card-body-image {
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the text and span stay at the top and bottom */
}

/* Optional: Styling for the card body */
.card-body-image .card-text {
    margin-bottom: 10px; /* Space between the text and title */
}

.card-body-image span {
    margin-top: auto; /* Push the title text to the bottom */
}

/* Optional: Adjust spacing on smaller screens */
@media (max-width: 767px) {
    .gallery-image {
        height: 150px; /* Reduce image height for smaller screens */
    }
}

.card-header {
    background: linear-gradient(45deg, #0098DB, #0098DB);
    color: white;
}
.card-body p {
    font-size: 1rem;
    color: #555;
}
button.btn-primary {
    background-color: #0098DB;
    border: none;
    transition: background-color 0.3s ease;
}
button.btn-primary:hover {
    background-color: #0098DB;
}


/* General Dropdown Styling */
.nav-item .dropdown-menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
    z-index: 1000;
    overflow-y: auto; /* Enable scrolling */
}

.nav-item {
    margin-right: 15px;
}

/* Show dropdowns on hover */
.nav-item:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    
}

/* Adjust for About Us dropdown menu */
.nav-item.about .dropdown-menu {
    position: absolute;
    top: 70%; /* Position just below the parent item */
    left: 70px; /* Align with the left margin */
    right: 70px; /* Align with the right margin */
    margin: 0;
    padding: 0;
    z-index: 1000; /* Ensure dropdown is on top */
    display: none; /* Initially hide */
    max-height: 450px; /* Set a fixed height for the dropdown */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
}

/* Show dropdown on hover */
.nav-item.about:hover .dropdown-menu {
    display: block;
    max-height: 450px; /* Ensure the dropdown retains the fixed height when visible */
    overflow-y: auto; /* Keep scrolling enabled */
}


/* Adjust for About Us dropdown menu */
.nav-item.applicant .dropdown-menu {
    position: absolute;
    top: 70%; /* Position just below the parent item */
    left: 170px; /* Align with the left margin */
    right: 170px; /* Align with the right margin */
    margin: 0;
    padding: 0;
    z-index: 1000; /* Ensure dropdown is on top */
    display: none; /* Initially hide */
}

/* Show dropdown on hover */
.nav-item.applicant:hover .dropdown-menu {
    display: block;
}

/* Adjust for About Us dropdown menu */
.nav-item.resources .dropdown-menu {
    position: absolute;
    top: 70%; /* Position just below the parent item */
    left: 170px; /* Align with the left margin */
    right: 170px; /* Align with the right margin */
    margin: 0;
    padding: 0;
    z-index: 1000; /* Ensure dropdown is on top */
    display: none; /* Initially hide */
}

/* Show dropdown on hover */
.nav-item.resources:hover .dropdown-menu {
    display: block;
}


/* Adjust for About Us dropdown menu */
.nav-item.download .dropdown-menu {
    position: absolute;
    top: 70%; 
    left: 170px;
    right: 80px; 
    margin: 0;
    padding: 0;
    z-index: 1000;
    display: none; 
}


/* Adjust spacing for nav links */
.nav-link {
    color: black;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-link:hover {
    color: #0098DB;
    border-bottom: 3px solid #0098DB;
}

.dropdown-header {
    color: #0D6D35;
    font-size: 1.1rem;
    
}

/* Increase spacing of dropdown items */
.dropdown-item {
    padding: 2px 10px; /* Adjust padding for more space between items */
    font-size: 15px; /* Increase font size for readability */
    color: black;
    font-weight: 500;
}

/* Show dropdown on hover */
.nav-item.download:hover .dropdown-menu {
    display: block;
}

/* Dropdown item hover effect */
.dropdown-item:hover {
    background-color: #0098DB;
    color: white;
}


/* Ensure all columns are the same size */
.dropdown-menu .container .row {
    display: flex;
    justify-content: space-between; /* Distribute columns evenly */
    margin: 0;
}

/* Each column should take an equal amount of space */
.dropdown-menu .container .row .col-md-2,
.dropdown-menu .container .row .col-md-3 {
    flex: 1; /* Make columns of equal size */
    padding: 0 2px; /* Add some padding inside */
    border-right: 2px solid #ddd; /* Add vertical lines between columns */
}

/* Remove right border on last column */
.dropdown-menu .container .row .col-md-3:last-child,
.dropdown-menu .container .row .col-md-2:last-child {
    border-right: none;
}

/* Optional: Adjust header margins to add spacing between the title and items */
.dropdown-header {
    margin-bottom: 10px;
}

/* Fixing potential overflow/overlap on small screens */
@media (max-width: 767px) {
    .dropdown-menu .container .row {
        flex-direction: column;
        align-items: stretch;
    }

    .dropdown-menu .container .row .col-md-2,
    .dropdown-menu .container .row .col-md-3 {
        padding: 10px 0;
    }
}

/* Responsive styles for small screens and tablets */
@media (max-width: 991px) {
    .nav-item {
        margin-right: 5px;
    }

    .dropdown-menu {
        position: absolute;
        width: 100%;
        left: 0;
        right: 0;
        visibility: visible;
        opacity: 0;
        display: none;
        margin-top: 5px;
        padding: 10px;
        border: 1px solid #ddd;
        background-color: white;
        max-height: 400px; /* Limit dropdown height */
        overflow-y: auto; /* Enable scrolling */
        transition: opacity 0.3s ease-in-out;
    }
    .show {
        display: block !important;
        visibility: visible;
        opacity: 1;
    }
    .dropdown-item {
        padding: 10px 15px;
        font-size: 14px;
    }

    .dropdown-header {
        font-size: 1rem;
        text-align: left;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 10px;
    }

    .dropdown-menu .container {
        padding: 0;
    }

    .dropdown-menu .container .row {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-menu .container .row .col-md-2,
    .dropdown-menu .container .row .col-md-3 {
        flex: unset;
        width: 100%;
        padding: 10px 0;
        border-right: none;
    }

    /* Optional: Add toggle arrows */
    .nav-item .dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 8px 10px;
    }

    .dropdown-toggle::after {
        content: '\25BC';
        float: right;
    }
}

/* Custom Dropdown Container */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Toggle */
.custom-dropdown-toggle {
    display: inline-block;
    padding: 10px 15px;
    background-color: white;
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.custom-dropdown-toggle:hover {
    background-color: none;
}

/* Dropdown Menu */
.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 1000;
}

/* Show dropdown on hover */
.custom-dropdown:hover .custom-dropdown-menu {
    display: block;
}

/* Logout Styling */
.custom-dropdown-item.logout {
    color: #d9534f;
    font-weight: bold;
}

.custom-dropdown-item.logout:hover {
    color: #c9302c;
}

/* Show Menu on Hover */
.custom-dropdown:hover .custom-dropdown-menu {
    display: block;
}
/* Divider */
.custom-dropdown-divider {
    height: 1px;
    margin: 5px 0;
    background-color: #ddd;
}

/* examination section styling */
.section {
    background-color: #ffffe0; 
    border: 1px solid #f9f9f9; 
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #007bff; /* Dark red color */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accessibility-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d60617; /* Dark red background */
    color: #fff;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.accessibility-icon:hover {
    background-color: #56ff47; /* Lighter red on hover */
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #25D366;
    color: white;
}

table td, table th {
  white-space: normal !important;
  word-wrap: break-word;
}


.member {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.member img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-right: 15px;
}
.member h6 {
    margin: 0;
    font-size: 1rem;
}
.member p {
    margin: 0;
    font-size: 0.9rem;
}

/* Increase the spacing between the member divs */


/* Ensure the right section aligns with the left section */
.member-styles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}


/* Optional: Add some padding to the right section to make the content look more aligned */
.member-styles .member {
    padding-top: 10px;
    padding-bottom: 10px;
}

.gallery-hover-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.overlay-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s ease;
}

.gallery-hover-container:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-hover-container:hover .overlay-text {
  opacity: 1;
}


.tab-btn {
  flex: 1;
  background-color: #f8f9fa;
  border: none;
  padding: 10px 15px;
  font-weight: 600;
  cursor: pointer;
  color: #555;
  border-radius: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  background-color: #e9ecef;
  color: #0d6efd;
}

.tab-btn.active {
  background-color: #ffffff;
  color: #0d6efd;
  border-bottom: 3px solid #0d6efd;
}

.tab-content-custom {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.tab-content-custom.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Optional: Responsive tweaks */
@media (max-width: 576px) {
  .tab-btn {
    font-size: 14px;
    padding: 8px;
  }
}


.custom-divider {
  position: relative;
  text-align: center;
  margin: 13px 10px;
}

.custom-divider .line {
  border: none;
  border-top: 4px solid #0098DB; 
  margin: 0;
}

.custom-divider .divider-logo {
  position: absolute;
  top: -16px; /* adjust vertically */
  left: 50%;
  transform: translateX(-50%);
  background: #fff; /* match your page background */
  padding: 0 10px;
  border-radius: 50%;
}

.custom-divider .divider-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}


.partner-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partner-carousel {
  display: flex;
  gap: 40px;
  animation: scroll-horizontal 10s linear infinite;
}

.partner-carousel-wrapper:hover .partner-carousel {
  animation-play-state: paused; /* ⏸ Pause on hover */
}

.partner-logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.05);
}

/* Keyframes for horizontal scroll */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .partner-carousel {
    gap: 20px;
  }

  .partner-logo img {
    max-height: 50px;
  }
}


/* Popup background */
.intake-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* dark transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

/* Show popup */
.intake-popup.active {
  opacity: 1;
  visibility: visible;
}

/* Card content */
.popup-content {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  animation: popupFadeUp 0.5s ease forwards;
}

/* Entrance animation */
@keyframes popupFadeUp {
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Close button */
.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.close-popup:hover {
  color: #333;
}

.news-date {
  font-size: 0.85rem;
  color: #6c757d; /* Bootstrap secondary */
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-style: italic;
}

.notices-item-courses{
  justify-content: flex-start !important;
  text-align: left;
}

.scroll-box {
  height: 300px;
  overflow: hidden;
  position: relative;
}

#scrollContent {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .courses-top{
    margin-top: 10px;
  }
}
