/* body {
        font-family: 'Hahmlet', serif;
     
    }
    *p{
      font-size: 18px;
    } */
/* ===== Top Bar ===== */
.top-bar {
  background-color: #7a0019;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .online-course{
    display: none;
  }
}

.top-bar .right-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.accessibility button {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  margin-left: 4px;
  padding: 2px 8px;
  cursor: pointer;
}

.accessibility .active {
  background: #fff;
  color: #7a0019;
  font-weight: bold;
}

.access-btn {
  background-color: #7a0019;
  border: 1px solid #fff;
  padding: 3px 8px;
  cursor: pointer;
}

/* ===== Main Header ===== */
.main-header {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  border-bottom: 1px solid #ccc;
  position: relative;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Tablet (for example up to 1024px width) */
@media only screen and (max-width: 1024px) {
  .logo img {
    max-width: 150px;
  }
}

/* Phone (for example up to 767px width) */
@media only screen and (max-width: 767px) {
  .logo img {
    max-width: 100px;
  }
}

.logo img {
  width: 300px;
}

.logo-text h2 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0;
  color: #222;
}

/* ===== Navbar ===== */
.navbar {
  flex: 1;
  text-align: center;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 25px;
  position: relative;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 8px 5px;
  display: inline-block;
}

.nav-menu li a:hover {
  color: #7a0019;
}

/* ===== Dropdown Menu ===== */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-width: 380px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.dropdown ul{
  padding-left:0px ;
}

.dropdown li {
  display: block;
  /* padding: 8px 15px; */
}

.dropdown li a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.dropdown li a:hover {
  color: #7a0019;
}

.nav-menu li:hover .dropdown {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-btn {
  background-color: #7a0019;
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #a02030;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #7a0019;
  transition: 0.3s;
}

/* ===== Mobile Menu ===== */
@media (max-width: 900px) {
  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ccc;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }

  .navbar.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    text-align: left;
    gap: 10px;
    padding: 20px;
  }

  .dropdown {
    position: static;
    display: none;
    border: none;
    box-shadow: none;
    background: #f9f9f9;
  }

  .nav-menu li:hover .dropdown {
    display: block;
  }

  .hamburger {
    display: flex;
  }
}

/* ===== Slider ===== */
.slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 500px;
  position: relative;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Text right-bottom */
.slide-text {
  position: absolute;
  bottom: 30px;
  right: 40px;
  color: white;
  max-width: 400px;
  text-align: right;
}

.slide-text h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.slide-text p {
  font-size: 15px;
  margin-bottom: 10px;
}

/* Apply Button bottom-left */
.apply-btn {
  position: absolute;
  bottom: 30px;
  left: 40px;
  background-color: #7a0019;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.apply-btn:hover {
  background-color: #a02030;
}

/* Arrows */
.slider-nav span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.slider-nav .prev {
  left: 20px;
}

.slider-nav .next {
  right: 20px;
}

/* Dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #7a0019;
}

/* *********** About********** */

.about-first-sec i{
color: #7a0019;
}

.about-first-sec img {
  border: 1px dashed #880C24;
  width: 100%;
}

.about-first-sec h3 {
  font-size: 24px;
}

/* .about-first-sec i{
    color: #880C24;
    font-size: 20px;
    font-weight: 600;
} */
 .about-first-four i{
  font-size: 30px;
 }
.about-first-four button {
  border: 2px solid #880C24;
  padding: 15px 9px;
  color: #880C24;
  background: white;
  font-weight: 600;
}

.bg-red {
  background-color: #880C24;
}


/* **********Online Course********** */
.online-course {
  padding: 30px;
}

.online-course-i i {
  padding: 5px;
  border-radius: 50%;
  background-color: white;
  font-size: 15px;
  font-weight: 800;
  color: #880C24;
  border: 1px solid #003B5C;
}

.online-course h6 {
  color: white;
}


/* *****News & Updates***** */
.news-sec img {
  width: 100%;
}

.news-below-text {
  position: relative;
    margin-top: -40px;
    margin-left: 30px;
    margin-right: 39px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    border: 1px solid #880C24;
    width: 470px;
}
.text-sm{
  font-size: 11px;
  color: #555;
  padding-bottom: 10px;
}
.news-below-text-small{
position: relative;
    margin-top: -35px;
    margin-left: 16px;
    margin-right: 39px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    border: 1px solid #880C24;
    width: 230px;
}
.new-text{
  position: relative;
  margin-top: -40px;
  background-color: white;
  margin-left: 10px;
  margin-right: 10px !important;
  padding: 5px;
  border: 1px solid #880C24;
}
.new-text p{
  font-size: 11px;
  font-weight: 500;
}
.duration{
  font-size: 10px;
  color: grey;
}


/* Choose your Course & Learning */
.course-section {
  width: 90%;
  max-width: 1100px;
  margin: 50px auto;
  text-align: center;
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.course-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #800000;
  margin-top: 6px;
}

.view-btn {
  background-color: #800000;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.view-btn:hover {
  background-color: #a00000;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.course-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: scale(1.03);
}

.course-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  filter: brightness(80%);
  transition: filter 0.3s ease;
}

.course-card:hover img {
  filter: brightness(60%);
}

.course-card .course-name {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 6px 12px;
  font-weight: 500;
}

.campus-img img {
  width: 100%;
  height: 250px;
  border: 3px solid white;
}

.course-title h2 {
  color: white;
}

.campus-img h5 {
  color: #fff;
  font-size: 25px;
}

.campus-img a {
  text-decoration: none;
}

.campus-img i {
  font-size: 18px;
  font-weight: 700;
}


/* Banner section */
.scholarship-banner {
  position: relative;
  background: url('https://images.unsplash.com/photo-1529070538774-1843cb3265df?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 250px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Dark overlay */
.scholarship-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 23, 23, 0.6);
  z-index: 1;
}

/* Text content */
.scholarship-banner .content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.scholarship-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.scholarship-banner p {
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.underline-white {
  width: 60px;
  height: 3px;
  background-color: white;
  margin-top: 6px;
}

.view-btn-white {
  background-color: white;
  color: #800000;
  padding: 10px 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

/* Button styling */
.btn {
  display: inline-block;
  background: #9b1b30;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.3s ease;
}

.btn span {
  margin-left: 6px;
  transition: margin-left 0.3s;
}

.btn:hover {
  background: #7f1527;
}

.btn:hover span {
  margin-left: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  .scholarship-banner {
    height: 300px;
  }

  .scholarship-banner h2 {
    font-size: 1.6rem;
  }

  .scholarship-banner p {
    font-size: 0.9rem;
  }
}



/* Events & Activities */
.events {
  border: 2px solid #7f1527;
}

.events-sec-div img {
  width: 100%;

}



/* Events and activities */
.events-section {
  /* padding: 60px 5%; */
  background-color: #fff;
  border: 2px solid #7f1527;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

.events-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 50px;
}

/* Left side list */
.events-list {
  flex: 1;
  padding: 20px;
}

.event {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.event:last-child {
  border-bottom: none;
}

.number {
  font-size: 80px;
  font-weight: bold;
  color: #d3d3d3;
  margin-right: 25px;
  line-height: 1;
}

.details h3 {
  font-size: 1.2rem;
  color: #222;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 6px;
}

.details p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* Right side image */
.image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .events-container {
    flex-direction: column;
  }

  .image-container {
    margin-top: 30px;
  }

  .number {
    font-size: 2.5rem;
  }
}

/* footer */

.footer-sec {
  position: relative;
  background: url('./images/footer.jpg') center/cover no-repeat;
  color: #fff;
  padding-top: 60px;
  overflow: hidden;
}

/* Overlay */
.footer-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 28, 28, 0.92);
  z-index: 0;
}

.footer-div-first {
  border: 2px solid #7f1527;
  position: relative;
  background: #fff;
  color: #7a1414;
  /* max-width: 800px; */
}

.sub h5 {
  font-weight: 700;
}

.subscribe-box {
  display: flex;
  /* justify-content: center;  */
  align-items: center;
  text-align: center;
}

.subscribe input {
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  padding: 10px 30px;
  font-size: 13px;
  border: none;
}

.subscribe ::placeholder {
  font-size: 11px;
}

.subscribe button {
  background-color: #800000;
  color: #fff;
  padding: 10px 25px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-div-sec {
  position: relative;
}

.social-media {
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  margin: 2px;

}

.footer-link li {
  text-decoration: none;
}

.links li {
  text-decoration: none;
}

.links ul {
  list-style-type: none;
  padding-left: 5px;
}

.links li {
  margin-top: 10px;
}

.links h4 {
  margin-bottom: 20px;
  text-transform: capitalize;
}

.footer-sec a {
  color: white;
}

/* slider logo */
  .logo-sec {
          
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            /* padding: 40px 20px; */
        }
        
        .container-logo {
           
            width: 100%;
            padding: 30px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }
        
        /* h2 {
            text-align: center;
            padding: 20px;
            font-size: 2.5rem;
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        h2:after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: #fdbb2d;
            margin: 10px auto;
            border-radius: 2px;
        } */
        
        /* Slider Container */
        .partner-slider-container {
            position: relative;
            width: 100%;
            overflow: hidden;
        }
        
        .partner-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        
        .partner-slide {
            flex: 0 0 auto;
            width: calc(100% / 6);
            padding: 0 15px;
            transition: all 0.3s ease;
        }
        
        .partner-slide img {
          border: 2px solid #7a0019;
            width: 100%;
            border-radius: 50%;
            /* filter: grayscale(100%); */
            transition: all 0.3s ease;
            padding: 10px;
            background: rgba(255, 255, 255, 0.9);
            /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
        }
        
        /* Navigation Buttons */
        .partner-nav {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .partner-nav-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin: 0 10px;
            cursor: pointer;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        
        .partner-nav-btn:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.1);
        }
        
        /* Dots Indicator */
        .partner-dots {
            display: flex;
            justify-content: center;
            margin: 20px 0 0;
            padding: 0;
            list-style: none;
        }
        
        .partner-dots li {
            margin: 0 5px;
        }
        
        .partner-dots li button {
            display: block;
            width: 12px;
            height: 12px;
            padding: 0;
            border: none;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            text-indent: -9999px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .partner-dots li.active button {
            background-color: #fff;
        }
        
        /* Responsive */
        @media (max-width: 1024px) {
            .partner-slide {
                width: calc(100% / 5);
            }
        }
        
        @media (max-width: 768px) {
            h2 {
                font-size: 2rem;
            }
            
            .container {
                padding: 20px;
            }
            
            .partner-slide {
                width: calc(100% / 4);
            }
        }
        
        @media (max-width: 600px) {
            .partner-slide {
                width: calc(100% / 3);
            }
        }
        
        @media (max-width: 480px) {
            h2 {
                font-size: 1.8rem;
            }
            
            .partner-slide {
                width: calc(100% / 2);
                padding: 0 10px;
            }
        }
        
        @media (max-width: 360px) {
            .partner-slide {
                width: 100%;
            }
        }







