

/* ================== BANNER ================== */
.school-banner{
  width:100%;
  position:relative;
}

.banner-img{
  height:320px;
  width:100%;
}

.carousel-item{
  position:relative;
}

.banner-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  padding:10px;
}

.banner-overlay h1{
  font-size:34px;
  font-weight:700;
  margin-bottom:6px;
}

.banner-overlay p{
  font-size:16px;
}

/* ================== LATEST NEWS SECTION ================== */
.latest-news-section {
  background: linear-gradient(135deg, #073c6d 0%, #0a4a8a 100%);
  padding: 0px 0;
  position: relative;
  overflow: hidden;
}

.latest-news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.news-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: relative;
  min-height: 60px;
}

/* NEWS TITLE */
.news-title {
  background: linear-gradient(135deg, #e1375f 0%, #ff4d7d 100%);
  padding: 10px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(225, 55, 95, 0.3);
  min-width: 140px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.news-title::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* NEWS SLIDER */
.news-slider {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.news-slider-container {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  width: 100%;
}

.news-slide {
  min-width: 100%;
  padding: 0 15px;
  display: flex;
  align-items: center;
  animation: slideIn 0.6s ease-out;
  height: 100%;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-content {
  font-size: 14px;
  font-weight: 400;
  color: white;
  line-height: 1.4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.news-content .badge {
  font-size: 11px;
  padding: 4px 10px;
  font-weight: 600;
  border-radius: 20px;
  animation: badgePulse 2s infinite;
  flex-shrink: 0;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.news-content .badge.bg-danger {
  background: linear-gradient(135deg, #dc3545 0%, #ff4757 100%) !important;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.news-content .badge.bg-warning {
  background: linear-gradient(135deg, #ffc107 0%, #ffd700 100%) !important;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

/* NEWS CONTROLS */
.news-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.control-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.view-all-btn {
  background: white;
  color: #073c6d;
  border: none;
  padding: 6px 18px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.view-all-btn:hover {
  background: #f8f9fa;
  color: #073c6d;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ================== MOBILE ICON BUTTONS ================== */
.mobile-icons{
  display:flex;
  gap:8px;
}

.mobile-icons .icon-btn {
  padding: 8px;
  color: #fcf3f5;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-icons .icon-btn:hover{
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: scale(1.1);
}

/* ================== RESPONSIVE DESIGN ================== */

/* Desktop */
@media (min-width: 1200px) {
  .news-wrapper {
    gap: 20px;
  }
  
  .news-title {
    font-size: 16px;
    min-width: 160px;
    padding: 8px 25px;
  }
  
  .news-content {
    font-size: 18px;
  }
  
  .control-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .banner-img {
    height: 230px;
  }
  
  .top-bar-flex {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .news-wrapper {
    gap: 15px;
    min-height: 55px;
  }
  
  .news-title {
    font-size: 17px;
    min-width: 130px;
    padding: 9px 20px;
  }
  
  .news-content {
    font-size: 15px;
  }
  
  .view-all-btn {
    padding: 5px 15px;
    font-size: 12px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* TOP BAR */
  .top-bar {
    padding: 6px 10px;
  }

  .top-bar-flex {
    flex-wrap: nowrap;
  }

  .top-bar img {
    height: 36px;
  }

  .top-bar .btn {
    border: none;
    padding: 0;
    font-size: 11px;
    background: transparent;
  }

  .top-bar a {
    font-size: 11px;
  }

  /* HIDE TOP RIGHT BUTTONS ON MOBILE */
  .top-bar .d-flex.gap-2 {
    display: none !important;
  }

  /* NAVBAR */
  .navbar {
    padding: 6px 10px;
  }

  .navbar-collapse {
    background: #e1375f;
  }

  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-link {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    font-size: 14px;
  }

  .nav-link:hover {
    background: none;
  }

  /* BANNER */
  .banner-img {
    height: 160px;
  }

  /* LATEST NEWS MOBILE OPTIMIZATION */
  .latest-news-section {
    padding: 12px 0;
  }
  
  .news-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: auto;
  }
  
  .news-title {
    width: 100%;
    margin: 0 auto;
    min-width: auto;
    font-size: 16px;
    padding: 10px 15px;
    order: 1;
  }
  
  .news-slider {
    order: 2;
    height: auto;
    padding: 0;
  }
  
  .news-slide {
    padding: 10px 15px;
    justify-content: center;
    text-align: center;
  }
  
  .news-content {
    font-size: 14px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 6px;
  }
  
  .news-controls {
    order: 3;
    justify-content: right;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .control-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255,255,255,0.3);
  }
  
  .view-all-btn {
    padding: 7px 20px;
    font-size: 13px;
    background: #e1375f;
    color: white;
  }
  
  .view-all-btn:hover {
    background: #ff4d7d;
    color: white;
  }
  
  /* MOBILE ICONS */
  .mobile-icons {
    gap: 6px;
  }
  
  .mobile-icons .icon-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
    padding: 6px;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .news-title {
    font-size: 15px;
    padding: 8px 12px;
  }
  
  .news-content {
    font-size: 16px;
    line-height: 1.3;
  }
  
  .news-content .badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .news-slider {
    min-height: 45px;
  }
  
  .news-slide {
    padding: 8px 12px;
  }
  
  .control-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  
  .view-all-btn {
    padding: 6px 16px;
    font-size: 12px;
  }
  
  .mobile-icons .icon-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* Extra Small Mobile */
@media (max-width: 400px) {
  .news-title {
    font-size: 14px;
    padding: 7px 10px;
  }
  
  .news-content {
    font-size: 15px;
  }
  
  .news-content .badge {
    font-size: 9px;
    padding: 2px 6px;
  }
  
  .control-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  
  .view-all-btn {
    padding: 5px 14px;
    font-size: 11px;
  }
  
  .news-wrapper {
    gap: 10px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .control-btn:hover,
  .view-all-btn:hover,
  .mobile-icons .icon-btn:hover {
    transform: none;
  }
  
  .control-btn:active,
  .view-all-btn:active,
  .mobile-icons .icon-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
  }
  
  .news-slider {
    -webkit-tap-highlight-color: transparent;
  }
}


/* media ======= */

#media{
  padding:40px 0;
  background:#fff;
}

/* Tabs */
.media-tabs{
  display:flex;
  gap:20px;
  border-bottom:2px solid #e5e5e5;
  margin-bottom:25px;
}

.media-tab{
  padding:10px 25px;
  font-weight:600;
  cursor:pointer;
  color:#0b4a8a;
}

.media-tab.active{
  background:#0b4a8a;
  color:#fff;
}

/* Content */
.media-content{display:none;}
.media-content.active{display:block;}

.media-img{
  border:1px solid #ccc;
  padding:6px;
}

.read-more{
  display:inline-block;
  margin-top:15px;
  padding:6px 18px;
  border:1px solid #e1375f;
  color:#e1375f;
  text-decoration:none;
  border-radius:20px;
  font-size:14px;
}

/* Right Blocks */
.quick-view{
  display:flex;
  align-items:center;
  gap:15px;
  background:#f1f4f7;
  padding:15px;
  margin-bottom:15px;
}

.quick-view img{
  width:55px;
}

.quick-view a{
  font-weight:600;
  color:#0b4a8a;
  text-decoration:none;
}

/* Mobile */
@media(max-width:768px){
  .media-tabs{
    flex-direction:column;
    text-align:center;
  }
}

/* about======== */
    

  /* about======== */
  .about-wrap{
    padding:60px 0;
    background:#f9fdff;
    overflow:hidden;
  }
  
  /* ================= TABS ================= */
  .about-tabs{
    display:flex;
    justify-content:space-between;
    border-top:2px solid #ff2b5c;
    margin-bottom:40px;
  }
  
  .tab{
    flex:1;
    text-align:center;
    background:transparent;
    border:none;
    padding:14px 10px;
    font-weight:700;
    color:#1f4c8f;
    position:relative;
    transition:all .3s ease;
    cursor:pointer;
  }
  
  /* Hover effect (inactive only) */
  .tab:not(.active):hover{
    color:white;
    background:#e1375f;
  }
  
  /* Top line animation on hover */
  .tab:not(.active)::before{
    content:'';
    position:absolute;
    top:-2px;
    left:0;
    width:0;
    height:2px;
    background:#e1375f;
    transition:.3s;
  }
  
  .tab:not(.active):hover::before{
    width:100%;
  }
  
  /* Active Tab */
  .tab.active{
    background:#083a6b;
    color:#fff;
  }
  
  /* ================= CONTENT ================= */
  .tab-content{
    display:none;
  }
  
  .tab-content.active{
    display:block;
  }
  
  /* WHO WE ARE Layout - Full width */
  .team-member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
  }
  
  .team-member-card:hover {
    transform: translateY(-5px);
  }
  
  .person-content {
    flex-grow: 1;
    padding: 15px 0;
  }
  
  .person-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #212529;
    margin-bottom: 15px;
    font-family: sans-serif;
    text-align:justify;


  }
  
  .content{
      font-size: 17px;
    line-height: 1.7;
    color: #212529;
    margin-bottom: 15px;
    font-family: sans-serif;
    text-align:justify;

      }
  
  .person-content strong {
    color: #083a6b;
  }
  
  .team-member-card h5 {
    color: #083a6b;
    font-weight: 700;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff2b5c;
    display: inline-block;
    margin: 0 auto;
  }
  
  /* College Description */
  .college-description {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .college-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #5f6f82;
    margin-bottom: 20px;
  }
  
  /* Image Frame */
  .image-frame{
    border:1px solid #cfdff1;
    padding:8px;
    overflow: hidden;
    background: #fff;
  }
  
  .image-frame img{
    width:100%;
    height:280px;
    display:block;
    transition: transform 0.3s ease;
  }
  
  .image-frame:hover img{
    transform: scale(1.03);
  }
  
  /* Button */
  .read-more-btn{
    display:inline-block;
    padding:12px 35px;
    border:2px solid #ff2b5c;
    color:#ff2b5c;
    border-radius:30px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
    margin-top: 10px;
    background: #fff;
  }
  
  .read-more-btn:hover{
    background:#ff2b5c;
    color:#fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 43, 92, 0.3);
  }
  
  /* ================= RIGHT CARDS ================= */
  .info-card{
    background:#e1e9f1;
    padding:18px;
    display:flex;
    align-items:center;
    gap:12px;
    justify-content:space-between;
    margin-bottom:18px;
    transition:.3s;
    cursor:pointer;
    border-radius: 8px;
  }
  
  .info-card:hover{
    background:#083a6b;
    transform: translateX(5px);
  }
  
  .info-card img{
    width:42px;
  }
  
  .info-card span{
    font-weight:700;
    color:#0a3d6f;
    flex:1;
    transition:.3s;
  }
  
  .info-card i{
    font-size:20px;
    color:#0a3d6f;
    transition:.3s;
  }
  
  .info-card:hover span,
  .info-card:hover i{
    color:#fff;
  }
  
  /* ================= WHO WE ARE FULL WIDTH ================= */
  .who-we-are-full .content-container {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .who-we-are-full .sidebar-container {
    display: none !important;
  }
  
  /* ================= MOBILE ================= */
  @media(max-width:768px){
    .about-tabs{
      flex-direction:column;
    }
    
    .tab{
      border-bottom:1px solid #ff2b5c;
    }
    
    .image-frame img{
      height:320px;
    }
    
    .about-wrap{
      padding: 40px 0 0 0;
    }
    
    .team-member-card {
      margin-bottom: 30px;
    }
    
   
    .person-content p {
        font-size: 17px;
      font-family: sans-serif;
      color:#212529;
          text-align:justify;


   }
    
    .content{
         font-size: 17px;
        font-family: sans-serif;
        color:#212529;
            text-align:justify;


    }
        
    }
    .college-description {
      padding: 20px;
    }
    
    .college-description p {
      font-size: 15px;
    }
  
  
  @media(max-width:576px){
    .image-frame img{
      height: 435px;
      object-fit: cover;
    }
    
    .info-card{
      padding: 15px;
    }
    
    .info-card img{
      width: 36px;
    }
    
    .person-content {
      padding: 10px 0;
     
      
    }
    
    .team-member-card h5 {
      font-size: 18px;
    }
  }
  

  /* award ===============*/
  .achievements{
    color:#fff;
    padding:140px 0 80px;
    position:relative;
    background-image: url('image/banner-award.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
  
  }
  

 
  
  
  .top-wave{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:120px;
  }
  
  /* Heading */
  .ach-title{
    text-align:center;
    margin-bottom:50px;
  }
  .ach-title h2{
    font-size:26px;
    font-weight:700;
  }
  .ach-title span{
    display:block;
    width:60px;
    height:3px;
    background:#f4c430;
    margin:8px auto 0;
  }
  
  /* Cards */
  .img-box{
    border:2px solid #fff;
    padding:12px;
    overflow: hidden;
  }
  
  .img-box img{
    width:100%;
    height:220px;
    object-fit:cover;
  
    transform: scale(1.3) translateY(40px);
    animation: imageZoomUp 6s ease-out forwards;
  }
  
  @keyframes imageZoomUp {
    0% {
      transform: scale(1.4) translateY(60px);
    }
    100% {
      transform: scale(1) translateY(0);
    }
  }
  
  
  .ach-card h5{
    margin-top:15px;
    font-weight:700;
  }
  .ach-card p{
    font-size:14px;
  }
  
  /* Responsive */
  @media(max-width:768px){
    .achievements{
      padding-top:120px;
      background-position: center top; /* mobile me thoda upar se crop */

    }
    .img-box img{
      height:220px !important;
    }
  }


  
/* gallary ==================*/
  .gallery-section{
    padding:80px 0;
    background:#f6fbfd;
  }
  
  /* Heading */
  .gallery-heading{
    text-align:center;
    margin-bottom:50px;
  }
  
  .gallery-heading h2{
    font-size:32px;
    font-weight:800;
    color:#083a6b;
    letter-spacing:1px;
  }
  
  .gallery-heading span{
    color:#e1375f;
  }
  
/* Gallery Item */
.gallery-item{
  position:relative;
  overflow:hidden;
  padding:8px;                 /* frame gap */
border:2px solid #dce7f3;    /* light blue border */
border-radius:4px;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.gallery-item img{
  width:100%;
  height:140px;
  object-fit:cover;
  transition:transform .4s ease;
}

  
  
  /* Hover Effect */
  .gallery-item::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(8,58,107,.4);
    opacity:0;
    transition:.4s;
  }
  
  .gallery-item:hover img{
    transform:scale(1.1);
  }
  
  .gallery-item:hover::after{
    opacity:1;
  }
  
  /* Mobile */
  @media(max-width:768px){
    .gallery-heading h2{
      font-size:24px;
    }
    .gallery-item img{
      height:120px;
    }
  }


  /* meal heao====================== */
  .meal-hero{
  width:100%;
  overflow:hidden;
  background-color: #f9fdff;
}

/* LEFT IMAGE */
.meal-image{
  background:url('https://images.unsplash.com/photo-1546069901-eacef0df6022') center/cover no-repeat;
  min-height:420px;
  position:relative;
}

.meal-image .overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
}

.image-content{
  position:absolute;
  bottom:30px;
  left:30px;
  color:#fff;
}

.image-content h2{
  font-weight:800;
  font-size:32px;
}

.image-content p{
  font-size:16px;
  opacity:.9;
}

/* RIGHT CONTENT */
.meal-info{
  background:#f9fdff;
  height:100%;
}

.info-box{
  background:#fff;
  padding:14px 16px;
  border-radius:10px;
  font-weight:500;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.free-tag{
  display:inline-block;
  background:#f4c430;
  padding:10px 22px;
  border-radius:50px;
  font-weight:700;
  color:#000;
}

/* MOBILE RESPONSIVE */
@media(max-width:991px){
  .meal-image{
    min-height:200px;
  }
  .meal-info{
    padding:14px !important;
  }
  .image-content h2{
    font-size:26px;
  }
}


 