
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,600);
@import url(https://fonts.googleapis.com/icon?family=Material+Icons);

.title-text{
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* font-family: var(--secondary-font); */
    color: #000000;

}



.ppp {
    font-family: var(--title-font);
    font-size: 25px !important;        
    line-height: 1.6;      
    color: #333;     
}


#slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 100vh;
  max-height: 675px;
}

#slider ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}

#slider ul li {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: all 1s ease-in-out;
}

#slider ul li.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}

/* ---------- YOUR EXISTING CSS ---------- */
.banner-overlay {
  /* background: rgba(0, 0, 0, 0.45); */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.banner-content {
  color: #fff;
  max-width: 600px;
  text-align: left;
}

.banner-content .title-text {
  font-size: 24px;
  letter-spacing: 2px;
  /* text-transform: uppercase; */
  color: #ffd700;
}

.banner-content h2 {
  font-size: 42px;
  margin: 15px 0;
  line-height: 1.2;
}

.banner-content .text-yellow {
  color: #ffd700;
}

.banner-content .ppp {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
  color: #fff;
}

.banner-content .btn-box a.theme-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #ffd700;
  color: #000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}

.banner-content .btn-box a.theme-btn:hover {
  background-color: #fff;
  color: #000;
}

/* ------------------------------
   LEFT ALIGN
------------------------------ */
#slider ul li.align-left .banner-overlay {
  justify-content: flex-start;
  text-align: left;
  padding-left: 8%;
}

#slider ul li.align-left .banner-content {
  animation: fadeInLeft 1s ease-in-out;
}

/* ------------------------------
   RIGHT ALIGN
------------------------------ */
#slider ul li.align-right .banner-overlay {
  justify-content: flex-end;
  text-align: right;
  padding-right: 8%;
}

#slider ul li.align-right .banner-content {
  animation: fadeInRight 1s ease-in-out;
}

/* ------------------------------
   Animations
------------------------------ */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ------------------------------
   Navigation Arrows
------------------------------ */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 26px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.nav-btn:hover {
  background: rgba(0,0,0,0.7);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* ------------------------------
   Dots
------------------------------ */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.dots span.active {
  background: #ffd700;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (min-width: 1600px) {
  #slider {
    max-height: 850px;
  }
  #slider ul li {
    background-size: cover;
    background-position: center top;
  }
}

/* ✅ Laptops / Tablets Landscape */
@media (max-width: 1200px) {
  #slider {
    height: 80vh;
  }
  #slider ul li {
    background-size: cover;
    background-position: center center;
  }
}

/* ✅ Tablets / Mobiles Landscape */
@media (max-width: 992px) {
  #slider {
    height: 70vh;
  }

  #slider ul li {
    background-size: contain;   /* ✅ Fit entire image */
    background-repeat: no-repeat;
    background-position: top center; /* Keep main subject visible */
  }

  .banner-content h2 { font-size: 30px; }
  .banner-content .ppp { font-size: 14px; }

   .banner-content .title-text{
    font-size: 10px;
}

}


/* ✅ Mobiles Portrait */
@media (max-width: 768px) {
  #slider {
    height: auto;
    aspect-ratio: 16/9; /* ✅ keeps proper proportion */
  }

  #slider ul li {
    position: relative;
    background-size: contain; /* show full image */
    background-position: top center;
    background-repeat: no-repeat;
  }

  #slider ul li.align-left .banner-overlay,
  #slider ul li.align-right .banner-overlay {
    /* justify-content: center; */
    text-align: center;
    padding: 0 5%;
  }

  .banner-content {
    text-align: center;
    max-width: 90%;
    /* background: rgba(0, 0, 0, 0.35); ✅ readable text on bright image */
    padding: 0px;
    border-radius: 8px;
  }
  
  .banner-content .title-text{
    font-size: 10px;
}

  .banner-content h2 { font-size: 15px !important; line-height: 1.0; }
  .banner-content .ppp { font-size: 13px !important; }
}

/* ✅ Extra Small Devices (≤480px) */
@media (max-width: 480px) {
  #slider {
    height: auto;
    aspect-ratio: 4/2.5; /* slightly taller on small screens */
  }

  #slider ul li {
    background-size: contain;
    background-position: center top;
  }

  .banner-content h2 { font-size: 20px; }
  .banner-content .ppp { font-size: 12px; }
}


.icon-box-new {
    background-color: #16254c !important; 
    color: #fff; 
}

/* .icon-box-new:hover {
    background-color: #2ecc71; 
    color: #fff; 
} */



@media (min-width: 1200px) {
  .col-xl-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.working-section .lower-content h3 {
    font-size: 18px;
    font-weight: 600;
}

.news-scroll-section {
    background: #f7f9fc;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

/* Main wrapper */
.news-ticker {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 6px solid #16254c;
    position: relative;
}

/* Label */
.ticker-label {
    flex-shrink: 0;
    background: #16254c;
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

/* Content area */
.ticker-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 40px;
}

/* Each item */
.ticker-item {
    display: none;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    animation: fadeIn 0.5s ease-in-out;
}

.ticker-item.active {
    display: block;
}

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

/* Controls */
.ticker-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.ticker-controls button {
    background: #16254c;
    color: #fff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.ticker-controls button:hover {
    background: #16254c;
}

@media (max-width: 768px) {
    .news-ticker {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 18px;
    }

    .ticker-label {
        margin-right: 0;
        margin-bottom: 12px;
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 5px;
    }

    .ticker-content {
        width: 100%;
        min-height: auto;
    }

    .ticker-item {
        font-size: 15px;
        line-height: 1.5;
    }

    .ticker-controls {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-left: 0;
    }

    .ticker-controls button {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ticker-label {
        font-size: 13px;
        padding: 6px 12px;
    }

    .ticker-item {
        font-size: 14px;
    }

    .news-ticker {
        border-left-width: 4px;
        padding: 12px 15px;
    }
}




.info-three-box-section {
    background: #fff;
    padding: 60px 0;
}

.info-card {
    background: #f9fafc;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.box-title {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #16254c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.info-list li i {
    color: #16254c;
    font-size: 13px;
}

.info-list a {
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}
.info-list a:hover {
    color: #16254c;
}

.event-date {
    color: #ffffff;
    font-weight: 500;
}
.event-sep {
    color: #aaa;
    margin: 0 6px;
}
.event-name {
    flex: 1;
}