/* ============================================================
   style.css - Medi Beats Custom Styles
   ============================================================ */

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.loaded {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

.container {
  max-width: 1200px;
}

/* ============================================================
   LOADER
   ============================================================ */
#site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#site-loader .site-loader-inner {
  text-align: center;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

#site-loader .site-loader-inner img {
  width: 80px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
}

#site-loader .loader-text {
  font-size: 1rem;
  color: #166da2;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: #e9ecef;
  border-radius: 4px;
  margin: 15px auto 0;
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #166da2, #d51026);
  border-radius: 4px;
  transition: width 0.3s ease;
}

@keyframes loaderPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

/* ============================================================
   SCROLL ANIMATIONS - REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger:nth-child(1) {
  transition-delay: 0.05s;
}

.reveal-stagger:nth-child(2) {
  transition-delay: 0.12s;
}

.reveal-stagger:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger:nth-child(4) {
  transition-delay: 0.26s;
}

.reveal-stagger:nth-child(5) {
  transition-delay: 0.33s;
}

.reveal-stagger:nth-child(6) {
  transition-delay: 0.40s;
}

.reveal-stagger:nth-child(7) {
  transition-delay: 0.47s;
}

.reveal-stagger:nth-child(8) {
  transition-delay: 0.54s;
}

/* ============================================================
   PARALLAX EFFECT
   ============================================================ */
.parallax-section {
  background-attachment: fixed !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.site-branding img {
  max-height: 65px;
  width: auto;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: #10242b;
  font-size: 15px;
  padding: 8px 16px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #d51026;
}

.navbar-nav .nav-link.active {
  position: relative;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: #d51026;
  border-radius: 2px;
}

.btn-primary {
  background: #166da2;
  border: none;
  border-radius: 30px;
  padding: 8px 24px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #d51026;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 16, 38, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-primary {
  border: 2px solid #166da2;
  color: #166da2;
  border-radius: 30px;
  font-weight: 600;
  padding: 6px 20px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: #166da2;
  color: #fff;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-header {
  border-bottom: none;
}

.modal-title {
  color: #166da2;
  font-weight: 700;
}

.modal .btn-primary {
  border-radius: 30px;
}

/* ============================================================
   HERO SLIDER - ENHANCED
   ============================================================ */
.hero-slider {
  background: #f0f4f8;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 0;
}

.hero-slider .carousel {
  height: 100vh;
  min-height: 500px;
  max-height: 650px;
  width: 100%;
}

.hero-slider .carousel-inner {
  height: 100%;
  width: 100%;
}

.hero-slider .carousel-item {
  height: 100%;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide {
  height: 100%;
  width: 100%;
  display: flex !important;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slider .carousel-item.active .hero-slide {
  transform: scale(1);
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-slide .content {
  position: relative;
  z-index: 2;
  padding: 50px 0;
  width: 100%;
}

.hero-slide .content h2 {
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
  margin-bottom: 20px;
  margin-left: 3rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroTextIn 1s ease forwards 0.5s;
}

.hero-slider .carousel-item.active .hero-slide .content h2 {
  animation: heroTextIn 1s ease forwards 0.5s;
}

.hero-slide .content h2 span {
  color: #d51026;
  text-shadow: 0 2px 20px rgba(213, 16, 38, 0.3);
}

.hero-slide .content p {
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  margin-left: 4rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextIn 0.8s ease forwards 0.8s;
}

.hero-slider .carousel-item.active .hero-slide .content p {
  animation: heroTextIn 0.8s ease forwards 0.8s;
}

.hero-slide .btn-light {
  border-radius: 30px;
  padding: 12px 35px;
  font-weight: 700;
  background: rgba(22, 109, 162, 0.9);
  color: #fff;
  border: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextIn 0.8s ease forwards 1.1s;
  position: relative;
  overflow: hidden;
}

.hero-slider .carousel-item.active .hero-slide .btn-light {
  animation: heroTextIn 0.8s ease forwards 1.1s;
}

.hero-slide .btn-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.hero-slide .btn-light:hover::before {
  left: 100%;
}

.hero-slide .btn-light:hover {
  background: #d51026;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(213, 16, 38, 0.5);
}

.hero-slide .btn-light i {
  margin-left: 8px;
  transition: transform 0.4s ease;
}

.hero-slide .btn-light:hover i {
  transform: translateX(8px);
}

@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel Controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 55px;
  height: 55px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  opacity: 0;
  transition: all 0.4s ease;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
  opacity: 1;
}

.hero-slider .carousel-control-prev {
  left: 20px;
}

.hero-slider .carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 22px;
  background-size: 40%;
  transition: all 0.4s ease;
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(213, 16, 38, 0.85);
  border-color: #d51026;
}

/* Carousel Indicators */
.hero-slider .carousel-indicators {
  bottom: 30px;
  z-index: 15;
}

.hero-slider .carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 8px;
  border: 2px solid #fff;
  background: transparent;
  transition: all 0.4s ease;
  position: relative;
}

.hero-slider .carousel-indicators button::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.hero-slider .carousel-indicators button.active {
  background: #d51026;
  border-color: #d51026;
}

.hero-slider .carousel-indicators button.active::after {
  border-color: rgba(213, 16, 38, 0.3);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 109, 162, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-section h2 {
  color: #166da2;
  font-weight: 800;
  font-size: 38px;
  border-left: 5px solid #d51026;
  padding-left: 20px;
  position: relative;
}

.about-section h2 span {
  color: #d51026;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

.about-section .about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
  position: relative;
}

.about-section .about-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.about-section .about-image img {
  transition: transform 0.8s ease;
  width: 100%;
  height: auto;
}

.about-section .about-image:hover img {
  transform: scale(1.05);
}

.myButton-asp {
  background: #166da2;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 15px;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.myButton-asp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.myButton-asp:hover::before {
  left: 100%;
}

.myButton-asp:hover {
  background: #d51026;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(213, 16, 38, 0.4);
}

.myButton-asp:active {
  transform: translateY(0);
}

/* ============================================================
   CARD GRID SECTION
   ============================================================ */
.card-grid-section {
  background: #f8f9fa;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.card-grid-section .card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  height: 100%;
  min-height: 250px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  cursor: default;
}

.card-grid-section .card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.card-grid-section .card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  transition: all 0.5s ease;
}

.card-grid-section .card .card-body {
  position: relative;
  z-index: 2;
  padding: 35px 25px;
}

.card-grid-section .card .card-body h3 {
  font-size: 1.7rem;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.card-grid-section .card .card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.card-grid-section .card:hover .card-icon {
  transform: scale(1.2);
  opacity: 1;
}

/* ============================================================
   EDITORIAL BOARD
   ============================================================ */
.editorial-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.editorial-section .row.align-items-center {
  min-height: 320px;
}

#headerText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 30px 0;
}

.editorial-section .section-title {
  color: #166da2;
  font-weight: 800;
  font-size: 35px;
  margin-bottom: 15px;
}

.editorial-section .section-title span {
  color: #d51026;
}

.editorial-section .section-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 auto 30px;
}

.editorial-section .section-divider span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d51026, transparent);
}

.editorial-section .section-divider i {
  color: #d51026;
  font-size: 1.2rem;
}

.editorial-section .section-subtitle {
  color: #444;
  line-height: 1.9;
  font-size: 1rem;
}

.members-grid {
  background: #f1f5ff;
}

.team-members-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 25px 20px 30px;
  text-align: center;
  transition: all 0.5s ease;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.team-members-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #d51026;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.team-members-card:hover::before {
  transform: scaleX(1);
}

.team-members-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-members-card img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}

.team-members-card:hover img {
  border-color: #d51026;
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(213, 16, 38, 0.2);
}

.team-members-card h3 {
  font-size: 1.2rem;
  color: #166da2;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.team-members-card:hover h3 {
  color: #d51026;
}

.team-members-card .designation {
  font-size: 0.9rem;
  color: #d51026;
  font-weight: 600;
}

.team-members-card .location {
  font-size: 0.85rem;
  color: #777;
  margin-top: 3px;
}

.team-members-card .social-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.team-members-card .social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #166da2;
  transition: all 0.3s ease;
  text-decoration: none;
}

.team-members-card .social-links a:hover {
  background: #166da2;
  color: #fff;
  transform: translateY(-3px);
}

/* ============================================================
   MEMBERS SECTION
   ============================================================ */
.members-section {
  background: #f1f5ff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.members-section::before {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(22, 109, 162, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.members-section h2 {
  text-align: center;
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 40px;
  color: #166da2;
}

.members-section h2 span {
  color: #d51026;
}

.member-item {
  text-align: center;
  padding: 15px 10px;
  transition: all 0.4s ease;
  background: #f9f9f9;
  backdrop-filter: blur(4px);
}

.member-item:hover {
  transform: translateY(-6px);
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.member-item img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.5s ease;
}

.member-item:hover img {
  border-color: #d51026;
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(213, 16, 38, 0.15);
}

.member-item h5 {
  font-size: 1.1rem;
  color: #166da2;
  margin-bottom: 2px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.member-item:hover h5 {
  color: #d51026;
}

.member-item .spec {
  font-size: 0.95rem;
  color: #444;
}

.member-item .city {
  font-size: 0.9rem;
  color: #777;
}

/* Member Carousel Controls */
#memberCarousel .carousel-control-prev,
#memberCarousel .carousel-control-next {
  width: auto;
  opacity: 0.7;
  transition: all 0.4s ease;
}

#memberCarousel .carousel-control-prev:hover,
#memberCarousel .carousel-control-next:hover {
  opacity: 1;
}

#memberCarousel .carousel-control-prev-icon,
#memberCarousel .carousel-control-next-icon {
  background-color: #166da2;
  border-radius: 50%;
  padding: 22px;
  background-size: 50%;
  transition: all 0.4s ease;
  width: 55px;
  height: 55px;
  box-shadow: 0 4px 15px rgba(22, 109, 162, 0.3);
}

#memberCarousel .carousel-control-prev-icon:hover,
#memberCarousel .carousel-control-next-icon:hover {
  background-color: #d51026;
  box-shadow: 0 6px 25px rgba(213, 16, 38, 0.4);
}

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonial-section {
  padding: 80px 0 100px;
  background: #ffffff;
  position: relative;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(213, 16, 38, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.testimonial-section h2 {
  text-align: center;
  color: #166da2;
  font-weight: 800;
  font-size: 38px;
  margin-bottom: 50px;
  position: relative;
}

.testimonial-section h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #166da2, #d51026);
  margin: 12px auto 0;
  border-radius: 2px;
}

.testimonial-wrapper {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 15px;
}

.testimonial-card {
  background: #f8f9fa;
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.6s ease;
  border-left: 5px solid #d51026;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.testimonial-card i {
  color: #166da2;
  font-size: 2.8rem;
  margin-bottom: 20px;
  opacity: 0.3;
  display: block;
  transition: all 0.4s ease;
}

.testimonial-card:hover i {
  opacity: 0.6;
}

.testimonial-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 25px;
  text-align: center;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #e9ecef;
}

.testimonial-card .author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid #166da2;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

.testimonial-card:hover .author img {
  border-color: #d51026;
}

.testimonial-card .author .name {
  font-weight: 700;
  color: #166da2;
  margin-bottom: 2px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.testimonial-card:hover .author .name {
  color: #d51026;
}

.testimonial-card .author .role {
  font-size: 0.95rem;
  color: #777;
}

/* Testimonial Carousel Controls */
#testimonialCarousel {
  position: relative;
  padding: 0 70px;
}

#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 55px;
  height: 55px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  transition: all 0.4s ease;
  background: rgba(22, 109, 162, 0.06);
  border-radius: 50%;
}

#testimonialCarousel .carousel-control-prev {
  left: 5px;
}

#testimonialCarousel .carousel-control-next {
  right: 5px;
}

#testimonialCarousel .carousel-control-prev:hover,
#testimonialCarousel .carousel-control-next:hover {
  opacity: 1;
  background: rgba(22, 109, 162, 0.12);
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon {
  background-color: #166da2;
  border-radius: 50%;
  padding: 22px;
  background-size: 40%;
  width: 45px;
  height: 45px;
  transition: all 0.4s ease;
}

#testimonialCarousel .carousel-control-prev-icon:hover,
#testimonialCarousel .carousel-control-next-icon:hover {
  background-color: #d51026;
}

/* Carousel Indicators */
#testimonialCarousel .carousel-indicators {
  bottom: -55px;
  position: relative;
  margin-top: 35px;
}

#testimonialCarousel .carousel-indicators button {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid #166da2;
  background: transparent;
  transition: all 0.4s ease;
}

#testimonialCarousel .carousel-indicators button.active {
  background: #d51026;
  border-color: #d51026;
}

/* ============================================================
   CONTACT / MAP SECTION
   ============================================================ */
.contact-section {
  background: #166da2;
  color: #ffffff;
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-section h2 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.8rem;
}

.contact-section p {
  opacity: 0.9;
  line-height: 1.8;
}

.contact-section ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.contact-section ul li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.contact-section ul li:hover {
  transform: translateX(5px);
}

.contact-section ul li i {
  width: 26px;
  color: #ffffff;
  opacity: 0.8;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section ul li a:hover {
  color: #d51026;
}

.contact-section iframe {
  border-radius: 16px;
  width: 100%;
  height: 300px;
  border: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.contact-section iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-section {
  background: #166da2;
  color: #ffffff;
  padding: 30px 30px;
  position: relative;
  overflow: hidden;
}

.map-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.map-section iframe {
  border-radius: 16px;
  width: 100%;
  height: 400px;
  border: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
}

.map-section iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #10242b;
  color: #cccccc;
  padding: 50px 0 20px;
}

.footer h4 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #d51026;
  border-radius: 2px;
}

.footer p {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.footer ul li:hover {
  transform: translateX(5px);
}

.footer ul li a {
  color: #cccccc;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer ul li a:hover {
  color: #d51026;
  padding-left: 6px;
}

.footer ul li i {
  width: 20px;
  opacity: 0.7;
}

.footer .bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 35px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer .bottom-bar a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .bottom-bar a:hover {
  color: #d51026;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #166da2;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(22, 109, 162, 0.4);
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background: #d51026;
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(213, 16, 38, 0.5);
}

#scrollToTop:active {
  transform: scale(0.95);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .hero-slider .carousel {
    min-height: 400px;
    max-height: 600px;
  }

  .hero-slide .content h2 {
    font-size: 2.5rem;
    margin-left: 2rem;
  }

  .hero-slide .content p {
    font-size: 1.1rem;
    margin-left: 2.5rem;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    opacity: 1 !important;
    width: 45px;
    height: 45px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 18px;
    width: 40px;
    height: 40px;
  }

  .team-members-card img {
    width: 150px;
    height: 150px;
  }

  #testimonialCarousel {
    padding: 0 50px;
  }

  .testimonial-wrapper {
    max-width: 700px;
  }

  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    width: 45px;
    height: 45px;
  }

  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    width: 35px;
    height: 35px;
    padding: 18px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }

  .page-banner {
    padding: 40px 0;
  }

  .issue-card {
    flex-wrap: wrap;
    gap: 10px;
  }

  .issue-card .issue-number {
    min-width: 80px;
    font-size: 1rem;
  }

  .issue-card .issue-link {
    font-size: 0.85rem;
    padding: 0 10px;
    order: 3;
    flex: 1 1 100%;
    text-align: left;
    padding-left: 0;
  }

  .issue-card .issue-btn {
    margin-left: auto;
  }

  .contactus-info {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero-slider .carousel {
    min-height: 350px;
    max-height: 500px;
  }

  .hero-slide .content h2 {
    font-size: 2rem;
    margin-left: 0;
  }

  .hero-slide .content {
    padding: 30px 0;
  }

  .hero-slide .content p {
    font-size: 1rem;
    margin-left: 0;
  }

  .hero-slide .btn-light {
    padding: 10px 28px;
    font-size: 0.95rem;
  }

  .hero-slider .carousel-control-prev {
    left: 10px;
  }

  .hero-slider .carousel-control-next {
    right: 10px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 14px;
    width: 35px;
    height: 35px;
  }

  .hero-slider .carousel-indicators {
    bottom: 15px;
  }

  .hero-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
  }

  .about-section {
    padding: 50px 0;
  }

  .testimonial-section {
    padding: 50px 0 80px;
  }

  .testimonial-section h2 {
    font-size: 2rem;
    margin-bottom: 35px;
  }

  #testimonialCarousel {
    padding: 0 40px;
  }

  .testimonial-card {
    padding: 30px 25px;
  }

  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .testimonial-card .author img {
    width: 65px;
    height: 65px;
  }

  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }

  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    padding: 15px;
  }

  #testimonialCarousel .carousel-indicators {
    bottom: -45px;
  }

  .member-item img {
    width: 100px;
    height: 100px;
  }

  #memberCarousel .carousel-control-prev-icon,
  #memberCarousel .carousel-control-next-icon {
    width: 40px;
    height: 40px;
    padding: 16px;
  }

  .team-members-card img {
    width: 130px;
    height: 130px;
  }

  .team-members-card h3 {
    font-size: 1rem;
  }

  .team-members-card .designation {
    font-size: 0.8rem;
  }

  .team-members-card .location {
    font-size: 0.75rem;
  }

  #scrollToTop {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner p {
    font-size: 1rem;
  }

  .issues-section {
    padding: 40px 0;
  }

  .stats-issues .number {
    font-size: 2rem;
  }

  .issue-card {
    padding: 16px 18px;
  }

  .issue-card .issue-number {
    min-width: 70px;
    font-size: 0.9rem;
  }

  .issue-card .issue-link {
    font-size: 0.8rem;
  }

  .issue-card .issue-btn {
    padding: 4px 14px;
    font-size: 0.75rem;
  }

  .editorial-section {
    padding: 50px 0;
  }

  .contactus-section {
    padding: 40px 0 30px;
  }

  .contactus-form-wrapper {
    padding: 25px 20px;
  }

  .animate-left,
  .animate-right {
    animation-duration: 0.6s;
  }
}

@media (max-width: 576px) {
  .hero-slider .carousel {
    min-height: 280px;
    max-height: 420px;
  }

  .hero-slide .content h2 {
    font-size: 1.5rem;
  }

  .hero-slide .content h2 br {
    display: none;
  }

  .hero-slide .content p {
    font-size: 0.9rem;
  }

  .hero-slide .btn-light {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    width: 35px;
    height: 35px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 10px;
    width: 28px;
    height: 28px;
    background-size: 30%;
  }

  .testimonial-section {
    padding: 40px 0 70px;
  }

  .testimonial-section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  #testimonialCarousel {
    padding: 0 30px;
  }

  #testimonialCarousel .carousel-control-prev,
  #testimonialCarousel .carousel-control-next {
    width: 35px;
    height: 35px;
  }

  #testimonialCarousel .carousel-control-prev {
    left: -5px;
  }

  #testimonialCarousel .carousel-control-next {
    right: -5px;
  }

  #testimonialCarousel .carousel-control-prev-icon,
  #testimonialCarousel .carousel-control-next-icon {
    width: 25px;
    height: 25px;
    padding: 12px;
    background-size: 30%;
  }

  .testimonial-card {
    padding: 20px 18px;
    border-left-width: 3px;
  }

  .testimonial-card i {
    font-size: 2rem;
  }

  .testimonial-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    text-align: left;
  }

  .testimonial-card .author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-card .author img {
    width: 55px;
    height: 55px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .testimonial-card .author .name {
    font-size: 0.95rem;
  }

  .testimonial-card .author .role {
    font-size: 0.8rem;
  }

  #testimonialCarousel .carousel-indicators {
    bottom: -40px;
  }

  #testimonialCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
  }

  .member-item img {
    width: 80px;
    height: 80px;
  }

  .team-members-card img {
    width: 120px;
    height: 120px;
  }

  .team-members-card {
    padding: 20px 15px 25px;
  }

  .team-members-card h3 {
    font-size: 0.95rem;
  }

  .team-members-card .designation {
    font-size: 0.75rem;
  }

  .team-members-card .location {
    font-size: 0.7rem;
  }

  .card-grid-section .card .card-body h3 {
    font-size: 1.3rem;
  }

  .about-section h2 {
    font-size: 1.8rem;
  }

  #scrollToTop {
    width: 40px;
    height: 40px;
    bottom: 15px;
    right: 15px;
    font-size: 0.9rem;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .page-banner {
    padding: 30px 0;
  }

  .issues-section .section-title {
    font-size: 1.6rem;
  }

  .issues-section .section-divider span {
    width: 30px;
  }

  .stats-issues .number {
    font-size: 1.6rem;
  }

  .stats-issues .icon {
    font-size: 1.5rem;
  }

  .issue-card {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .issue-card .issue-number {
    min-width: auto;
    font-size: 0.85rem;
    width: 100%;
  }

  .issue-card .issue-link {
    font-size: 0.75rem;
    padding: 0;
    word-break: break-all;
  }

  .issue-card .issue-btn {
    width: 100%;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .total-issues-badge {
    font-size: 0.85rem;
    padding: 10px 20px;
  }

  .editorial-section {
    padding: 40px 0;
  }

  .contactus-form-wrapper {
    padding: 20px 15px;
  }

  .contactus-form-wrapper .form-control {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .contactus-form-wrapper .submit-btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-10px);
  }

  40% {
    transform: translateX(10px);
  }

  60% {
    transform: translateX(-8px);
  }

  80% {
    transform: translateX(8px);
  }
}

/* --- Page Banner --- */
.page-banner {
  background: linear-gradient(135deg, #166da2 0%, #0e4a6e 100%);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(213, 16, 38, 0.05);
  border-radius: 50%;
}

.page-banner .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-banner .breadcrumb-item a:hover {
  color: #fff;
}

.page-banner .breadcrumb-item.active {
  color: #fff;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
  content: "›";
}

.page-banner h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.page-banner h1 span {
  color: #d51026;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}

/* --- About Content --- */
.about-content-section {
  padding: 60px 0;
}

.about-content-section h2 {
  color: #166da2;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-content-section h2 span {
  color: #d51026;
}

.about-content-section p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.about-image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.02);
}

/* --- Specialty Section (centered) --- */
.specialty-section {
  background: #f8f9fa;
  padding: 60px 0;
}

.specialty-section .section-title {
  text-align: center;
  color: #166da2;
  font-weight: 800;
  margin-bottom: 15px;
}

.specialty-section .section-title span {
  color: #d51026;
}

.specialty-section .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}

.specialty-section .row {
  justify-content: center;
}

.specialty-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  will-change: transform, box-shadow;
}

.specialty-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(22, 109, 162, 0.15);
  border-color: rgba(22, 109, 162, 0.2);
}

.specialty-card .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(22, 109, 162, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.specialty-card:hover .icon-wrapper {
  background: #166da2;
  transform: rotate(8deg) scale(1.05);
}

.specialty-card .icon-wrapper i {
  font-size: 1.5rem;
  color: #166da2;
  transition: all 0.3s ease;
}

.specialty-card:hover .icon-wrapper i {
  color: #fff;
}

.specialty-card .icon-wrapper svg {
  font-size: 1.5rem;
  color: #166da2;
  transition: all 0.3s ease;
}

.specialty-card:hover .icon-wrapper svg {
  color: #fff;
}

.specialty-card h5 {
  font-size: 1.1rem;
  color: #166da2;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}

.specialty-card p {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0;
}

/* --- Mission Vision --- */
.mission-vision-section {
  padding: 60px 0;
  background: #ffffff;
}

.mv-card {
  padding: 30px;
  border-radius: 16px;
  background: #f8f9fa;
  height: 100%;
  transition: all 0.4s ease;
  border-left: 4px solid #d51026;
  will-change: transform;
}

.mv-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.mv-card .mv-icon {
  font-size: 2.5rem;
  color: #166da2;
  margin-bottom: 15px;
}

.mv-card h3 {
  color: #166da2;
  font-weight: 700;
  font-size: 1.4rem;
}

.mv-card p {
  color: #555;
  line-height: 1.7;
}

/* --- Issues Section --- */
.issues-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.issues-section .section-title {
  text-align: center;
  color: #166da2;
  font-weight: 800;
  margin-bottom: 10px;
}

.issues-section .section-title span {
  color: #d51026;
}

.issues-section .section-subtitle {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 1rem;
}

.issues-section .section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 40px;
}

.issues-section .section-divider span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d51026, transparent);
}

.issues-section .section-divider i {
  color: #d51026;
  font-size: 1.2rem;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }
}

/* Stats Cards */
.stats-issues {
  background: #ffffff;
  border-radius: 16px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
}

.stats-issues:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22, 109, 162, 0.10);
}

.stats-issues .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #166da2;
  display: block;
  font-family: 'Lato', sans-serif;
}

.stats-issues .label {
  color: #666;
  font-size: 0.9rem;
}

.stats-issues .icon {
  font-size: 2rem;
  color: #d51026;
  margin-bottom: 10px;
  display: block;
}

/* Issue Cards */
.issue-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-left: 4px solid #166da2;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.issue-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.issue-card:hover {
  transform: translateX(6px) !important;
  box-shadow: 0 8px 30px rgba(22, 109, 162, 0.10);
  border-left-color: #d51026;
}

.issue-card.visible:hover {
  transform: translateX(6px) translateY(0) !important;
}

.issue-card .issue-number {
  font-weight: 700;
  color: #166da2;
  font-size: 1.1rem;
  min-width: 100px;
}

.issue-card .issue-number i {
  color: #d51026;
  margin-right: 8px;
}

.issue-card .issue-link {
  color: #166da2;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  word-break: break-all;
  flex: 1;
  padding: 0 15px;
}

.issue-card .issue-link:hover {
  color: #d51026;
}

.issue-card .issue-link i {
  margin-right: 6px;
  font-size: 0.8rem;
}

.issue-card .issue-btn {
  background: #166da2;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.issue-card .issue-btn:hover {
  background: #d51026;
  transform: scale(1.05);
}

.issue-card .issue-btn i {
  margin-right: 5px;
}

/* Total Issues Badge */
.total-issues-badge {
  display: inline-block;
  background: linear-gradient(135deg, #166da2, #0e4a6e);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 20px;
}

.total-issues-badge i {
  margin-right: 10px;
}

/* --- AOS overrides (smooth) --- */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* --- responsive for specialty cards --- */
@media (max-width: 992px) {
  .page-banner h1 {
    font-size: 2.2rem;
  }

  .page-banner {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 1.8rem;
  }

  .specialty-card {
    padding: 15px 8px;
  }

  .specialty-card .icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .specialty-card .icon-wrapper i {
    font-size: 1.2rem;
  }

  .specialty-card h5 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-banner h1 {
    font-size: 1.5rem;
  }

  .specialty-card {
    padding: 12px 6px;
  }

  .specialty-card .icon-wrapper {
    width: 44px;
    height: 44px;
  }

  .specialty-card .icon-wrapper i {
    font-size: 1rem;
  }

  .specialty-card h5 {
    font-size: 0.9rem;
  }
}

@media (max-width: 450px) {
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* additional micro-animations */
.fade-float {
  animation: floatUp 0.8s ease-out both;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stagger-children>* {
  animation: floatUp 0.6s ease-out both;
}

/* ============================================================
   ANIMATION CLASSES (Scroll Triggered)
   ============================================================ */
/* Left to Right Animation */
.animate-left-to-right {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-left-to-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Bottom to Top Animation */
.animate-bottom-to-top {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-bottom-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   CONTACT US PAGE - ABOUT US STYLE INHERITANCE + ANIMATIONS
   ============================================================ */
.contactus-section {
  padding: 60px 0 40px;
  background: #ffffff;
}

.contactus-info h3 {
  color: #166da2;
  font-weight: 700;
  margin-bottom: 20px;
}

.contactus-info p {
  color: #555;
  line-height: 1.8;
}

.contactus-info ul {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.contactus-info ul li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  color: #000;
}

.contactus-info ul li i {
  width: 26px;
  color: #166da2;
  margin-top: 3px;
  flex-shrink: 0;
}

.contactus-info ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contactus-info ul li a:hover {
  color: #d51026;
}

.contactus-info ul li.company {
  font-weight: 700;
  font-size: 1.1rem;
  color: #166da2;
}

.contactus-info ul li.location {
  color: #444;
}

/* Contact Form - matching card style */
.contactus-form-wrapper {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 40px;
  border-left: 4px solid #d51026;
  transition: all 0.3s ease;
}

.contactus-form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contactus-form-wrapper .form-label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.contactus-form-wrapper .form-control {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.contactus-form-wrapper .form-control:focus {
  border-color: #166da2;
  box-shadow: 0 0 0 3px rgba(22, 109, 162, 0.1);
}

.contactus-form-wrapper .submit-btn {
  background: #166da2;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.contactus-form-wrapper .submit-btn:hover {
  background: #d51026;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(213, 16, 38, 0.35);
}

/* ===== ANIMATIONS ===== */
/* slide from left */
@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* slide from right */
@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* apply to columns – initially hidden, will be triggered after loader */
.animate-left {
  opacity: 0;
  animation: slideLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-right {
  opacity: 0;
  animation: slideRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* stagger delay (optional) */
.animate-left {
  animation-delay: 0.8s;
}

.animate-right {
  animation-delay: 1s;
}

/* loader & page hidden until ready */
#site-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

#site-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader-inner img {
  max-width: 180px;
}

/* page content initially hidden until loader hides */
#page {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#page.visible {
  opacity: 1;
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #dc3545;
}

.valid-feedback {
  display: none;
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #28a745;
}

.was-validated .form-control:valid~.valid-feedback,
.was-validated .form-control:valid~.valid-tooltip,
.form-control.is-valid~.valid-feedback,
.form-control.is-valid~.valid-tooltip {
  display: block;
}

.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-control:invalid~.invalid-tooltip,
.form-control.is-invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-tooltip {
  display: block;
}

/* ============================================================
       404 NOT FOUND - consistent with Contact Us / About Us style
       =======================================================*/
.error-section {
  padding: 60px 0 40px;
  background: #ffffff;
}

.error-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 50px 40px;
  border-left: 4px solid #d51026;
  /* signature accent like contact form */
  transition: all 0.3s ease;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.error-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.error-card .error-code {
  font-size: 6rem;
  font-weight: 900;
  color: #166da2;
  line-height: 1.1;
  letter-spacing: 4px;
  margin-bottom: 0.25rem;
}

.error-card .error-code span {
  color: #d51026;
}

.error-card .error-icon {
  font-size: 3.5rem;
  color: #166da2;
  margin-bottom: 10px;
}

.error-card h2 {
  font-weight: 700;
  color: #166da2;
  margin: 15px 0 10px;
  font-size: 1.8rem;
}

.error-card p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 20px;
}

.error-card .btn-home {
  background: #166da2;
  color: #fff;
  border: none;
  padding: 14px 44px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.error-card .btn-home:hover {
  background: #d51026;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(213, 16, 38, 0.35);
  color: #fff;
}

.error-card .btn-home i {
  font-size: 1rem;
}

/* responsive */
@media (max-width: 992px) {
  .page-banner h1 {
    font-size: 2.2rem;
  }

  .page-banner {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner p {
    font-size: 1rem;
  }

  .error-section {
    padding: 40px 0 30px;
  }

  .error-card {
    padding: 30px 20px;
  }

  .error-card .error-code {
    font-size: 4.2rem;
  }

  .error-card h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .page-banner h1 {
    font-size: 1.5rem;
  }

  .page-banner {
    padding: 30px 0;
  }

  .error-card {
    padding: 25px 15px;
  }

  .error-card .error-code {
    font-size: 3.2rem;
  }

  .error-card .btn-home {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}