/*
Theme Name: Education
*/


/* Top header links style */
.top-header div a {
  position: relative;
  padding: 0 15px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

/* Vertical separator */
.top-header div a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background-color: rgba(255,255,255,0.4);
}

/* Hover effect */
.top-header div a:hover {
  color: #fdbb00 !important;
}

/* Make parent relative */
.menu-item-has-children {
  position: relative;
}

@media (max-width: 991px){

  /* Hide top dark strip */
  .top-header{
    display:none;
  }
 .bg-top .col-md-10{
        width:100% !important;
      max-width:100% !important;
      flex:0 0 100% !important;
      display:block !important;
      text-align:center;
  }

  /* Perfect center alignment */
 
  /* ===== FIRST ROW : COLLEGE NAME ===== */

  .bg-top .row{
    flex-direction:column !important;
    text-align:center;
  }

  .navbar-brand{
    text-align:center !important;
      width:100%;
      margin:0 auto;
      font-size:18px !important;
      line-height:1.4;
  }

   .navbar-brand span {
      display:block !important;
      font-size:12px;
      margin-top:4px;
	     white-space: normal;
      word-break: keep-all;
  }
  /* Remove enquiry from this row */
  .topper{
    display:none;
  }

  /* ===== SECOND ROW : MENU + ENQUIRY ===== */

  #ftco-navbar{
    padding:8px 15px !important;
  }

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

  .navbar-toggler{
    margin:0;
  }

  /* Show enquiry button in navbar */
  #ftco-navbar .mobile-enquiry{
    display:inline-block;
  }
 .bg-top .topper{
    display:none !important;
  }
}
/* Submenu style */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #212529;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 220px;
  display: none;
  border-radius: 4px;
  overflow: hidden;
}

/* Submenu items */
.sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

/* Hover effect */
.sub-menu li a:hover {
  background: #fdbb00;
  color: #000;
}

/* Show on hover (desktop only) */
@media (min-width: 992px) {
  .menu-item-has-children:hover .sub-menu {
    display: block;
  }
}

@media (max-width: 991px) {
  .sub-menu {
    position: static;
    display: none;
    background: #2c3034;
  }

  .menu-item-has-children.active .sub-menu {
    display: block;
  }
}

/* Make slider relative */
.slider-item {
  position: relative;
  overflow: hidden;
}

/* Image control */
.banner-img {
  height: 650px;
  object-fit: cover;
}

/* Overlay dark layer */
.slider-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

/* Content positioning */
.slider-content {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-30%);
  z-index: 2;
  color: #fff;
  align-items: center;
}

@media (max-width: 768px) {
	.person-img{

height:150px;
width:100%;
}
  .banner-img {
    height: 380px;
    object-fit: cover;
  }

  /* Center content perfectly */
  .slider-content {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  /* Heading size control */
  .slider-content h1,
  .slider-content h2 {
    font-size: 22px !important;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  /* Paragraph text */
  .slider-content p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* Button styling */
  .slider-content .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}


.news-section {
    background: #f8f9fa;
}

.marquee-container {
    height: 350px;  
	width:75%; /* Height of scrolling area */
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 2px solid gray;
    padding: 20px 20px;
	margin:10px auto;
}

.marquee-content {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    left: 20px;
    right: 20px;
    animation: scrollUp 10s linear infinite;
}

.marquee-content li {
    padding: 20px 0;
    border-bottom: 2px solid #eee;
    font-size: 16px;
}

/* Bottom to Top Animation */
@keyframes scrollUp {
    0% {
        top: 100%;
    }
    100% {
        top: -100%;
    }
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

 table {
      width: 100%;
      border-collapse: collapse;
    }

    th, td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    th {
      background-color: #f2f2f2;
    }

    tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    tr:hover {
      background-color: #f1f1f1;
    }


.overview-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
}

.table-responsive {
    overflow-x: auto;
}

.message-section{
background:#f3f6fb;
padding:70px 0;
}

.message-box{
background:#fff;
padding:25px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
height:100%;
}

.person-img{
border-radius:8px;
object-fit:cover;
height:220px;
width:100%;
}

.message-box h3{
font-size:20px;
font-weight:600;
margin-bottom:10px;
}

.message-text{
font-size:14px;
line-height:1.7;
}
