.mt--30 {
    margin-top: 30px !important;
}

.mt--50 {
    margin-top: 50px !important;
}

.mt--100 {
    margin-top: 100px !important;
}

.mb--20 {
  margin-bottom: 20px !important;
}

.project {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}

.lecture-icon {
  font-size: 15px !important;
}

/* Ensure overlay sits above image */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    /* 🔥 REQUIRED */
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    /* 🔥 Prevent click blocking */
    transition: opacity 0.35s ease;
}

.project-img {
    position: relative;
    z-index: 1;
    /* 🔥 REQUIRED */
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

/* Hover effects */
.project:hover .project-img {
    transform: scale(1.1);
}

.project:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transform: scale(0.8);
    transition: transform 0.35s ease;
}

.project:hover .gallery-icon {
    transform: scale(1);
}

.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.services-1 {
    max-width: 900px;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    color: #000;
    transition: transform 0.3s ease;
}

.services-1:hover {
    transform: translateY(-5px);
}

.services-1 .icon {
    font-size: 40px;
    color: #0d6efd;
    margin-bottom: 20px;
    display: inline-block;
}

.services-1 h3 {
    font-weight: 600;
}

.services-1 p {
    font-size: 16px;
    line-height: 1.7;
}

.ftco-hireme .hiremeSwiper {
    padding-bottom: 40px;
}

.ftco-hireme .hiremeSwiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.ftco-hireme .hiremeSwiper .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.ftco-hireme .hiremeSwiper .swiper-pagination-bullet {
    background-color: #a0f669;
    /* green */
    opacity: 0.5;
}

/* Active dot */
.ftco-hireme .hiremeSwiper .swiper-pagination-bullet-active {
    background-color: #a0f669;
    /* green */
    opacity: 1;
}

.services-1:hover .icon,
.services-1:hover .desc,
.services-1:hover .desc h3,
.services-1:hover .desc p {
    color: #fff;
}

.ftco-about .row {
    margin-left: 0;
    margin-right: 0;
}

.block-18 .plus {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    color: #3e64ff;
    line-height: 1;
    vertical-align: middle;
}

.block-18 .plus {
    margin-left: 2px;
}

.block-18 .label {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}


/* ===============================
   HERO NEWS CARD
================================ */

.hero-news {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 22px 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef1ff;
}

/* Header */
.news-label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #3e64ff;
  text-align: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3e64ff3d;
}

.header-label {
    font-size: 16px;
    color: #3e64ff;
    font-weight: 700;
}

/* Viewport (shows multiple items) */
.news-viewport {
  height: calc(6 * 54px);
  overflow: hidden;
  position: relative;
}

/* News list */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  animation: scrollNews 30s linear infinite;
}

/* News item */
.news-list li {
  font-size: 17px;
  line-height: 1.6;
  color: #444;
  padding: 12px 0 12px 22px;
  position: relative;
  border-bottom: 1px solid #f1f3ff;
  min-height: 54px;
  text-align: left;
}

/* Remove last border */
.news-list li:last-child {
  border-bottom: none;
}

/* Accent bullet */
.news-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #3e64ff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 20px;
}

/* Pause animation on hover */
.news-viewport:hover .news-list {
  animation-play-state: paused;
}

.hero-news-icon {
  margin: 45px auto 50px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6ff;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(62, 100, 255, 0.18);
  position: relative;
}

.hero-news-icon i {
  font-size: 35px;
  color: #3e64ff;
}

/* Decorative subtle ring */
.hero-news-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(62, 100, 255, 0.25);
}

.block-18 .text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block-18 .text .number-wrap {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

/* Override theme defaults */
.block-18 .text strong.number {
  display: inline;
}

.block-18 .text .plus {
  font-size: 22px;
  font-weight: 700;
  color: #3e64ff;
}

.hero-desktop {
  display: block;
}

.hero-mobile {
  display: none;
}

@media (max-width: 991px) {
  .hero-desktop {
    display: none !important;
  }

  .hero-mobile {
    display: block;
  }
}

/* ===============================
   MOBILE HERO STYLES
================================ */


.hero-mobile-content {
  padding: 40px 20px;
  background: #ffffff;
}

.hero-mobile h1 {
  font-size: 34px;
  font-weight: 700;
}

.hero-mobile h6 {
  font-size: 16px;
  margin-bottom: 10px;
}

.hero-tagline {
  font-size: 15px;
  margin-bottom: 25px;
}

.hero-mobile .hero-news ul {
  padding-left: 18px;
  text-align: left;
}

/* ===============================
   RESPONSIVE TUNING
================================ */

@media (max-width: 768px) {
  .hero-news-icon {
    width: 70px;
    height: 70px;
  }

  .hero-news-icon i {
    font-size: 32px;
  }
}

/* Smooth vertical scroll */
@keyframes scrollNews {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* ===============================
   RESPONSIVE REFINEMENTS
================================ */

@media (max-width: 992px) {
  .hero-news {
    max-width: 480px;
  }

  .news-viewport {
    height: 140px;
  }
}

@media (max-width: 576px) {
  .hero-news {
    padding: 16px;
    border-radius: 12px;
  }

  .news-label {
    font-size: 12px;
  }

  .news-list li {
    font-size: 14px;
  }
}


/* =========================================
   MOBILE VISUAL POLISH (ADD-ON)
========================================= */

@media (max-width: 991px) {


  /* Constrain width for readability */
  .hero-mobile {
    max-width: 100%;
    margin-top: 100px;
  }

  /* Image with rounded bottom */
  .hero-mobile-image {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    position: relative;
    overflow: hidden;
  }

  /* Soft overlay for contrast */
  .hero-mobile-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.05)
    );
  }

  /* Card-style content */
  .hero-mobile-content {
    margin: -70px 16px 30px;
    padding: 28px 24px 32px;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
  }

  /* Name refinement */
  .hero-mobile h1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 6px;
    color: #0f172a;
  }

  /* Designation */
  .hero-mobile h6 {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  /* Tagline */
  .hero-tagline {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  /* News label with accent */
  .hero-news .news-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2563eb;
    margin-bottom: 12px;
    position: relative;
  }

  .hero-news .news-label::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #2563eb;
    margin: 8px auto 0;
  }

  /* News list styling */
  .hero-news ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .hero-news li {
    font-size: 13.5px;
    line-height: 1.6;
    color: #334155;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
  }

  .hero-news li:last-child {
    border-bottom: none;
  }
}