  /* ----------- GLOBAL ----------- */
        body {
            margin: 0;
            font-family: 'Merriweather', serif;
            /* transition: background 0.3s, color 0.3s; */
            font-size: 18px;
            line-height: 1.7;
           font-weight: 500;

        }
       h1, h2, h3, h4, h5, h6 {
         font-family: 'Inter', sans-serif;
         font-weight: 700;
        }
        h2{
            font-size: 28px;
        }
        h1{
            font-size: 40px;
        }
        /* ----------- TOP HEADER ----------- */
        .top-header {
            width: 100%;
            height: 45px;
                background: linear-gradient(280deg, #8d0524, #10205a);
            /*background: #8d0524;*/
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 15px;
            font-size: 14px;
        }

        .right-controls {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        /* Language Button */
        .lang-btn {
            background: rgba(255, 255, 255, 0);
            color: #ffffff;
            border: none;
            padding: 5px 12px;
            border-radius: 4px;
            font-weight: bold;
            cursor: pointer;
        }

        /* A+ A- A buttons */
        .acc-btn {
            background: #ffffff00;
            color: #ffffff;
            border: 2px solid #ffffff;
            padding: 1px 5px;

            font-weight: bold;
            cursor: pointer;
        }


        /* Round Theme Button */
        .theme-btn {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            border: 2px solid white;
            background: black;
            cursor: pointer;
        }

        /* Dark Mode */
        .dark-mode {
            background: #111 !important;
            color: white !important;
        }

        .dark-mode .top-header {
            background: #000;
        }
       .dark-mode .iitm-footer {
         background: #000;
       }
         .dark-mode .campus-life{
             background: #000;
             color: white ;
         }
          .dark-mode .list-group-item
          {
           
            color: white !important; 
          }
          .dark-mode .info-card{
             background: #000;
             color: white ;
         }
        .dark-mode .theme-btn {
            background: white;
            border-color: black;
        }
         .dark-mode .campus-life h2{
             color: white ;
            
         }
         .dark-mode .gallery-text{
             color: white ;
         }
        .dark-mode .department-title{
             color: white ;
         }
         .dark-mode .news-header h2{
             color: white ;
         }
         .dark-mode .bg-red
         {   background: #000;
             color: white ;
         }
          .dark-mode .view-all {
             color: white ;
         }
         .dark-mode .feature {
             color: white ;
            border: 2px solid #ffffff;
         }
        /* Toggle Switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 45px;
            height: 22px;
        }

        .switch input {
            display: none;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            background-color: #ccc;
            border-radius: 34px;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            transition: .4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 17px;
            width: 17px;
            bottom: 0.5px;
            background-color: white;
            border-radius: 50%;
            transition: .4s;
        }
               .banner-content {
    position: absolute;
    top: 72%;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 100%;
    background-color:#342d2da1;
    overflow: hidden;
  
}
a:hover{
    color:#001d5f;
}
.banner.item {
    position: relative;
}

.banner-content p {
    font-size: 15px;
    margin: 10px 0;
}

        input:checked+.slider {
            background-color: #9a0020;
        }

        input:checked+.slider:before {
            transform: translateX(22px);
        }

        .slider.round {
            border-radius: 34px;
            border: 2px solid #ffffff;
        }

        /* Mobile Responsive */
        @media (max-width: 576px) {
            .right-controls {
                gap: 5px;
            }

            .acc-btn,
            .lang-btn {
                padding: 4px 8px;
                font-size: 12px;
            }
        }

        /* LEFT CONTROLS SAME DESIGN AS RIGHT */
.left-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Links style same as right buttons */
.left-item {
    color: white;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
  .left-item:hover {
    text-decoration: none;
    color: #ffffff!important;
}
/* Dropdown */
.dropdown {
    position: relative;
}

.drop-btn {
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.drop-menu {
    position: absolute;
    top: 25px;
    left: 0;
    background: white;
    color: black;
    display: none;
    flex-direction: column;
    min-width: 150px;
    border-radius: 4px;
    z-index: 1001;
}

.drop-menu a {
    padding: 8px 12px;
    color: black;
    text-decoration: none;
}

.drop-menu a:hover {
    background: #eee;
}

/* Show dropdown on hover */
.dropdown:hover .drop-menu {
    display: flex;
}
.nav-actions {
    position: relative;
}

.search-input {
    display: none;
    position: absolute;
    top: 9px;
    left: -120px;
    padding: 1px 12px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Optional: make input visible when active */
.nav-actions.active .search-input {
    display: block;
}


/* -------------------------------------------------- */
/* FOOTER                                              */
/* -------------------------------------------------- */
.iitm-footer {
        background: linear-gradient(167deg, #8d0524, #10205a);
    color: white;
    font-family: Arial;
}
.iitm-footer a {
    color: white; text-decoration: none; font-size:16px !important;
}
.iitm-footer a:hover { text-decoration: underline; }

.social-top a {
    color: #5c0b1f;
    background: white;
    padding: 7px 10px;
    border-radius: 50%;
    margin-left: 8px;
    font-size: 14px;
}
.social-top a:hover{
    color:  #fff;
       background: #5c0b1f;
       border: 1px solid #fff;
}
.footer-logo img { 
    filter: brightness(0.95); 
        height: 60px;
    width: 220px;
    object-fit: fill;
}



.footer-dropdown {
    position: relative;
}

.footer-drop-btn {
    color: white;
    cursor: pointer;
    font-size: 14px;
}

.footer-drop-content {
    position: absolute;
    top: 25px;
    left: 0;
    background: #fff;
    color:#8d0524;
    min-width: 180px;
    border-radius: 4px;
    display: none;
    flex-direction: column;
    padding: 8px 0;
    z-index: 5;
}
 header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  background: #fff;
  /*z-index: 9999999;*/

  position: relative;
}

.logo .header-logo {
 width: 400px;
  
}
.logo .mobile-header-logo{
    display: none !important;
}
.logo .scroll-header-logo {
    display: none !important;
    height: 80px;
}
.navbar {
  flex: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-menu .nav-li {
  position: relative;
  font-size: 20px;
      height: 70px;
    line-height: 70px;
}
.nav-menu .sub-li {
  position: relative;
  font-size: 20px;
    height: 40px;
    line-height: 40px;
}
.nav-menu a {
  text-decoration: none;
  color: #000;

}

/* Mega Menu Styling */
.mega-menu {
     display: none;
    position: absolute;
    top: 65px;
    right: -270px;
    background: #ffffff;
    width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    justify-content: space-between;
    z-index: 10;
    border-top: 3px solid #880C24;
}

.mega-column {
  width: 30%;
}

.mega-column h4 {
  color: #880C24;
  font-size: 1rem;
  border-bottom: 2px solid #880C24;
  padding-bottom: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mega-column ul {
  list-style: none;
  padding: 0;
}

.mega-column ul li a {
  display: block;
  padding: 6px 0;
  color:#880C24;
  font-size: 16px;
  text-decoration: none;
}

.mega-column ul li a:hover {
  color: #002451;
}

/* Show Mega Menu on hover (desktop) */
.mega:hover .mega-menu {
  display: flex;
}
@media (max-width: 768px) {
  .mega:hover .mega-menu {
    display: none; /* disable hover for mobile */
  }
  .mega-menu {
    position: static; /* better for mobile stacking */
    width: 100%;
    box-shadow: none;
    padding: 0;
  }
}

/* Actions */
.nav-actions button {
  border: none;
  background: #880C24;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.nav-actions .search-btn {
  background: transparent;
  color: #000;
  font-size: 18px;
}

/* ---------- RESPONSIVE ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  background: #000;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: 0.3s;
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    border-top: 1px solid #ccc;
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    padding: 10px 20px;
  }

  .nav-menu li {
    width: 100%;
  }

  .mega-menu {
    position: static;
    display: none;
    flex-direction: column;
    width: 100%;
    box-shadow: none;
    border-top: none;
    padding: 10px 0;
  }

  .mega.open .mega-menu {
    display: flex;
  }

  .mega-column {
    width: 100%;
  }

  .mega-column h4 {
    font-size: 1rem;
    margin-top: 10px;
  }
}
/*top marquee css*/
 .marquee-container {
            display: flex;
            align-items: center;
            background-color: #8d0525;
            color:#ffffff;
            overflow: hidden;
            width: 100%;
            height: 50px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .marquee-title {
               /*flex: 0 0 150px;*/
             padding: 15px 15px;
            font-weight: bold;
            background-color: #102153;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .marquee-content {
            flex: 1;
            white-space: nowrap;
            overflow: hidden;
            position: relative;
        }

        .marquee-content span {
            display: inline-block;
            padding-left: 100%;
            animation: marquee 25s linear infinite;
            font-size: 18px;
        }

        @keyframes marquee {
            0% {
                transform: translateX(0%);
            }

            100% {
                transform: translateX(-100%);
            }
        }
     .leatest-marquee {
    width: 25px;
    height: 50px;
    background: #102153;      /* any color or gradient you want */
    display: inline-block;
    clip-path: polygon(68% 48%, 1% 0, 0 96%);
}
/* hero section img */
      .slider-img {
    width: 100%;
    height: 600px;
    margin: auto;
    position: relative;
    overflow: hidden; /* hide overflowing images */
}

.list {
    display: flex;
    transition: 0.5s;
    width: 100%;
    position: relative;
    left: 0;
}

.list .item {
    min-width: 100%; /* ensures each item takes full slider width */
    height: 100%;
}

.list .item img {
    width: 100%; /* full width of its parent */
    height: 100%;
    object-fit: cover;
}

.buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
.buttons button {
    width: 50px;
    height: 50px;
    border-radius: 505;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
    border-radius: 50%;
}
.dots{
    position: absolute;
    bottom: 65px;
    color: #fff;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    transition: 1s;
}
.dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 20px;
    border-radius: 20px;
}
.dots li.active {
    width: 30px;
}
@media screen and ( max-width: 768px) { 
    .slider-img {
        height: auto;
    }
    
}
   /* *********** About********** */

.about-first-sec i{
color: #880C24;
}

.about-first-sec img {
  border: 1px dashed #880C24;
  width: 100%;
  height: 465px;
    object-fit: cover;
}

.about-first-sec h3 {
  font-size: 22px;
}
.text{
  padding-bottom: 10x;
}

/* Icon Size */
.about-first-four i {
    font-size: 30px;
    transition: 0.4s ease;
}

/* Main Button Box */
.about-btn {
    border: 2px solid #880C24;
    padding: 10px 12px;
    color: #880C24;
    background: white;
    font-weight: 600;
    margin-left: -6px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
}
/*hover effect*/
.card_img_hover {
  overflow: hidden;
}

.card_img_hover img {
  transition: transform 0.5s ease;
}

.card_img_hover:hover img {
  transform: translateY(-15px);
}
.about-img {
  overflow: hidden;
}

.about-img img {
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: translateY(-15px);
}
/* Hover Effect */
.about-btn:hover {
    background: #880C24;
    color: white;
    box-shadow: 0px 4px 15px rgba(136, 12, 36, 0.4);
    transform: translateY(-5px);
}

/* Hover: Icon Animation */
.about-btn:hover i {
    transform: scale(1.2) rotate(10deg);
    color: #fff;
}

/* Smooth text color transition */
.about-btn .txt {
    transition: 0.4s ease;
}

/* Entrance Animation */
.about-btn {
    animation: fadeSlideUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.txt {
 
    font-size: 12px;
}

/* MAIN 2 COLUMN LAYOUT */
.bg-red {
  background-color: #880C24;
}

/*news section*/
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #880C24;
    padding-bottom: 6px;
    margin-bottom: 20px;
}

.news-header h2 {
    color: #880C24;
}

.view-all {
    font-weight: 700;
    color: #880C24;
    text-decoration: none;
}

/* ----------- LEFT NEWS CARDS ----------- */
.news-card {
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    transition: .3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.news-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.news-card h5 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 17px;
}

.meta {
    font-size: 13px;
    color: #555;
}

/* RIGHT EVENTS */
.right-recent {
    border-left: 2px dashed #bbb;
    padding-left: 20px;
}

.events-list li {
    list-style: none;
    margin-bottom: 18px;
}

.events-list h4 {
    font-size: 18px;
    font-weight: 700;
    color: #880C24;
}

.event-date {
    font-size: 14px;
    color: #333;
}

/* ---------------- Owl Nav Styling (Image ke upar arrows) ---------------- */
.news-carousel {
    position: relative;
}

.news-carousel .owl-nav {
    position: absolute !important;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
     display: flex !important;
    /*pointer-events: none; */
}

.news-carousel .owl-nav button {
    background: rgba(0,0,0,0.5) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 6px !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    width: 30px !important;
    pointer-events: auto;
}

.news-carousel .owl-nav button:hover {
    background: #880C24 !important;
}
.events-list h4:hover {
        color: #001762 !important;
    cursor: pointer;
}
.news-icon{
   font-size:20px;
} 

/* RESPONSIVE */
@media(max-width: 768px) {
    .right-recent {
        border-left: none;
        padding-left: 0;
        margin-top: 30px;
    }
}

/* Course & Learning */
  /* img new */
        .campus-img img {
  width: 100%;
  height: 250px;
  border: 3px solid white;
}

.course-title h2 {
  color: white;
}
.owl-dots{
    display:none!important;
}
.view-btn-white {
    background-color: #ffffff;
    color: #8d0525;
    padding: 10px 20px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.view-btn-white:hover{
     background-color: #002451;
     color:#fff;
}
/* Mobile Small (screen < 576px) */
@media (max-width: 576px) {
    .view-btn-white {
        padding: 7px 14px;
        font-size: 15px;
        width: 100%;          /* Full width on small devices */
        text-align: center;
    }
}
.campus-img h5 {
    color: #fff;
    font-size: 19px;
    text-align: center;
}

.campus-img a {
  text-decoration: none;
}


.campus-img i , .location-icon {
    font-size: 18px;
    font-weight: bold !important;
    rotate: 40deg;
}

.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 {
  color: #ffffff;
  margin: 0;
}
.campus-slider-i{
    color:#ffffff !important;
    font-size:;
    rotate: 0deg !important;
}

.underline-white {
  width: 60px;
  height: 3px;
  background-color: #ffffff;
  margin-top: 6px;
}


/*tender*/
      .info-card {
      background: #d3636324;
      border-radius: 6px;
      padding: 20px;
      box-shadow: inset -4px 9px 21px rgba(0, 0, 0, 0.08);
      height: -webkit-fill-available;
    }

    /* CUSTOM COLORED TAB BUTTONS */
    .tab-btn {
      padding: 6px 14px;
      border-radius: 4px;
      color: #fff;
      
      font-size: 18px;
      font-weight: 500;
      margin-right: 6px;
      border: none;
      cursor: pointer;
    }
    .gallery-text{
        color:#880C24
    }
    .tab-notification {background: #ffffff; color:#8d0525;}
    .tab-vacancies   { background: #ffffff; color:#8d0525; }
    .tab-tenders     { background: #ffffff; color:#8d0525;}
    .tab-important   { background: #8d0525; }
    .btn-danger {background: #8d0525; font-size:18px;}
    .btn-danger:hover{
        background: #000f64;
        color:#fff;
            border: 1px solid #000f64;
    }
    .tab-btn.active {
         outline: 2px solid rgb(116 16 34 / 60%);
    background: #8d0525 !important;
    color:  #ffffff;
    border: 1px solid #8d0525;
     }
    .btn-effect:hover{
         background: #8d0525 !important;
         color:  #ffffff !important;
    }
    .tab-content-box { display: none; }
    .tab-content-box.active { display: block; }
  
    .list-group-item {
      border: none!important;
      font-size: 16px;
      background: #ffffff00;
    }
    .gallery-img {
      width: 100%;
      border-radius: 6px;
    }
      /* Gallery Carousel */
.gallery-carousel .item {
    display: block;
}

.gallery-img {
    width: 100%;
    height: 260px;  /* adjust as needed */
    object-fit: cover;
    border-radius: 6px;
}

/* Optional: navigation buttons */
.gallery-carousel .owl-nav button {
    position: absolute;
    width:30px !important;
    top: 40%;
    border-radius: 50% !important;
    transform: translateY(-50%);
    background: #fff !important;
    color: #880C24 !important;
    border: none;
    padding: 5px 12px;
    font-size: 22px !important;
    border-radius: 4px;
    cursor: pointer;
    margin:30px !important;

}
 .owl-nav :hover{
      background: #880C24;
 }

.gallery-carousel .owl-nav .owl-prev {
    left: -10px;
}

.gallery-carousel .owl-nav .owl-next {
    right: -10px;
}

.gallery-carousel .owl-nav button:hover {
    background:#880C24 !important;
    color: #ffffff !important;
}
/* department section */
  .department-title {

  font-weight: 600;
  color: #880C24;
  margin: 0;
}

.underline {
  width: 60px;
  height: 3px;
  background-color: #880C24;
  margin-top: 6px;
}

/* CARD WRAPPER */
.dept-box {
  padding: 5px;
}

/* Title Above Image */
.dept-title {
  color: #880C24;
  text-transform: uppercase;
  margin-bottom: 10px;
 text-align: center;
  
}

/* Your existing image-box */
.dept-card {
  position: relative;
  overflow: hidden;
  border: 2px solid;
  border-image: linear-gradient(90deg,
      rgb(85, 6, 49) 0%,
      rgb(37 21 219) 75%,
      rgba(147, 17, 173, 0.54) 100%) 1;

  height: 220px;
  width: 100%;
}

.dept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s ease;
}

/* Hover Zoom */
.dept-card:hover img {
  transform: scale(1.1);
}

/* Paragraph */
.dept-desc {
  margin-top: 10px;
  font-size: 15px;
  color: #444;
}
.development-row{
        justify-content: center;
}


/* campus-life  css*/
  .campus-life {
        text-align: center;
        padding: 3rem 6%;
        background-color: #ffffff;
    }

    .campus-life h2 {
        text-align: center;
        margin-bottom: 40px;
        color: #8d0524;
 
    }

    .campus-container {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 2rem;
        align-items: center;
    }

    /* Left Panel */
    .campus-features {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .feature {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.2rem 1.5rem;
        border: 2px solid #8d0524;
        border-radius: 50px;
        color: #8d0524;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }
  .feature:hover {
    background: #8d0524 !important;
    color: #ffffff;
    border-color: #fff;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(17, 125, 57, 0.5);
}
    .feature .num {
        font-size: 1.3rem;
        font-weight: 600;
    }

    .feature .text {
        font-size: 20px;
        font-weight: 500;
        flex: 1;
        text-align: left;
    }

    .feature.active {
        background: #8d0524;
        color: #ffffff;
        border-color: #fff;
        font-weight: 600;
        box-shadow: 0 0 15px rgba(17, 125, 57, 0.5);
    }

    .feature:not(.active):hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Right Panel */
    .campus-gallery {
        position: relative;
        width: 100%;
        height: 450px;
        overflow: hidden;
        border-radius: 10px;
    }

    .campus-gallery img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
        opacity: 0;
        transform: scale(1.05);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .campus-gallery img.active {
        opacity: 1;
        transform: scale(1);
        z-index: 2;
    }

    /* Responsive */
    @media (max-width: 850px) {
        .campus-container {
            grid-template-columns: 1fr;
        }

        .campus-gallery {
            height: 300px;
        }
    }
    
    /*member counter section*/
      .counter-section {
    background: linear-gradient(
        rgba(50, 20, 20, 0.65),
        rgba(50, 20, 20, 0.65)
    ), url('img/banner1.jpg');
    background-size: cover;
    padding: 35px 0;
    color: #fff;
    text-align: center;
}

.counter-section h1 {

    margin-bottom: 35px;
    
}

/* Fixed 4 × 2 Grid */
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 90%;
    margin: auto;
}

.counter-box {
    text-align: center;
    background: #8d052580;
    padding-top: 20px;
}

.icon {
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
}

.counter {

    font-weight: 800;
}

.counter-box p {
    margin-top: 8px;
    font-size: 16px;
    opacity: 0.85;
}

/* Responsive: 2×4 on tablets, 1×8 on phones */
@media (max-width: 900px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 500px) {
    .counter-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


.youtube-title {
    color: #880C24;
    text-align: center;
    margin: 20px 0 15px;
    font-size: 28px;
    font-weight: bold;
}

.video-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* This makes it 16:9 responsive */
    height: 0;
    background: #000 url('img/banner3.jpg') center/cover no-repeat;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-wrapper.playing iframe {
    opacity: 1;
}

/* Play Button - Big & Centered */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: rgba(136, 12, 36, 0.85);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}

/*.play-btn:hover {*/
/*    content: "";*/
/*    border-style: solid;*/
/*    border-width: 20px 0 20px 34px;*/
/*    border-color: transparent transparent transparent white;*/
/*    margin-left: 8px;*/
/*}*/

.video-wrapper.playing .play-btn {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.8);
}

/* footer */
.footer-drop-content a {
    padding: 6px 15px;
    display: block;
    font-size: 13px;
    color: #8d0525;
}

.footer-drop-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    color:#002451;
}

/* Show on hover */
.footer-dropdown:hover .footer-drop-content {
    display: flex;
}

/* Mobile: open on click */
@media(max-width:768px){
    .footer-dropdown:hover .footer-drop-content {
        display: none;
    }
    .footer-drop-btn.active + .footer-drop-content {
        display: flex;
    }
}

  /* Scroll Top Button */
  #scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #880C24;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none; /* hide until scroll */
    z-index: 1000;
  }

  #scroll-top:hover {
    background-color: #880C24;
    transform: scale(1.1);
  }

  #scroll-top.active {
    opacity: 1;
    pointer-events: auto;
  }



  /* responsive  */
  /* ------------------ GLOBAL RESPONSIVE ------------------ */
@media (max-width: 1200px) {
    body {
        font-size: 15px;
    }
}
@media (max-width: 1024px){
 header {
        
        padding: 10px 10px;
    }
}
@media (max-width: 992px) {
    header {
        padding: 10px 20px;
    }
  .header-logo{
      display:none;
  }
     .mobile-header-logo img {
       width: 80px!important;
       
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-actions button {
        padding: 6px 12px;
        font-size: 14px;
    }

    .search-input {
        width: 150px;
        left: -100px;
        top: 35px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .top-header {
        flex-direction: column;
        height: auto;
        padding: 5px 10px;
        gap: 5px;
        font-size: 13px;
    }

    .left-controls, .right-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .left-item, .acc-btn, .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .navbar {
        top: 60px;
    }

    .nav-menu {
        padding: 10px 15px;
    }

    .mega-menu {
        width: 100%;
        padding: 10px 0;
    }

    .mega-column {
        width: 100%;
        margin-bottom: 15px;
    }

    .mega-column h4 {
        font-size: 0.95rem;
    }

    .nav-actions .search-input {
        width: 100%;
        left: 0;
        top: 40px;
        
    }

    /* Footer dropdowns mobile click */
    .footer-drop-content {
        position: static !important;
        display: none;
        flex-direction: column;
        width: 100%;
        background: #880C24;
        padding: 5px 0;
        border-radius: 0;
    }

    .footer-drop-btn.active + .footer-drop-content {
        display: flex;
    }

    .footer-dropdown:hover .footer-drop-content {
        display: none;
    }

    .footer-logo img {
        width: 120px;
        height: auto;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 13px;
    }

    .top-header {
        font-size: 12px;
        padding: 5px 8px;
    }

    .left-controls, .right-controls {
        justify-content: center;
    }

    .left-item, .acc-btn, .lang-btn {
        font-size: 11px;
        padding: 3px 6px;
    }

    header {
        flex-direction: column;
        padding: 10px 10px;
    }

     .mobile-header-logo img {
        height: 80px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-actions {
        width: 100%;
        margin-top: 10px;
        justify-content: center;
    }

    .nav-actions .search-input {
        width: 100%;
        left: 0;
        top: 57px;
        z-index: 999999999;
    }

    .mega-menu {
        padding: 10px 20px;
    }

    .mega-column ul li a {
        font-size: 14px;
        padding: 4px 0;
    }

    /* Footer links stacking */
    .footer-menu {
        flex-direction: column;
        gap: 5px;
    }

    .footer-logo p {
        font-size: 12px;
    }

    .social-top {
        justify-content: center;
    }
}

/* ------------------ Hamburger Menu Toggle (JS intact) ------------------ */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        gap: 0px;
    }
    .hamburger span {
        width: 25px;
        height: 3px;
        background: #000;
        display: block;
        border-radius: 2px;
    }
}



/*scroll header css*/
.scrolled {
    position: fixed !important;
    top: 0 !important;
    width: 100%;
    background: #8d0524;
    color: #ffffff !important;
    z-index: 9999;

}

/* Links inside nav */
.scrolled .nav-menu a {
    color: #fff;
    
}
 .scrolled  .mega-menu {
         top: 50px !important;
       right:-340 !important;
 }
.scrolled .mega-column ul li a {
    color: #8d0524 !important;
    
}

.scrolled .nav-actions .search-btn {
    color: #fff;
}

.scrolled .mega-column ul li a:hover {
   
    color: #002451 !important;
}

/* Logo switch */
.scrolled .scroll-header-logo {
  position: absolute;
    background: #000f65;
    padding: 3px;
    bottom: -30px;
    border-radius: 50%;
    display: block !important;
    left: 140px;
    border: 2px solid #000f66;
}

.scrolled .header-logo {
    display: none !important;
}

/* ------------------------------------ */
/* RESPONSIVE ADJUSTMENTS (ALL DEVICES) */
/* ------------------------------------ */

/* Large Tablets & Small Laptops */
@media (max-width: 1024px) {
    .scrolled { 
        padding: 0 15px;
        display: none;
    }
    .scrolled .scroll-header-logo {
        left: 110px;
        bottom: -25px;
        padding: 2px;
     
    }
}

/* Tablets */
@media (max-width: 768px) {
    .scrolled {
        padding: 0 10px;
        display: none;
    }

    .scrolled .nav-menu a {
        font-size: 14px;
    }

    .scrolled .scroll-header-logo {
        left: 80px;
        bottom: -20px;
        width: 45px;
        height: auto;
        
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .scrolled {
          display: none !important;
        padding: 0 8px;
        display: none;
    }

    .scrolled .nav-menu {
        display: none; /* hides menu if hamburger exists */
    }

    .scrolled .nav-actions .search-btn {
        display:none;
        font-size: 16px;
    }

    .scrolled .scroll-header-logo {
        left: 50%;
        transform: translateX(-50%);
        bottom: -27px;
        padding: 2px;
        width: 60px;
    }
}