/* ===== BASE RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Quicksand', sans-serif;
  color: #212529;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
a, span, label, li, p {
  font-family: 'Quicksand', sans-serif;
}

/* ===== COLOURS ===== */
:root {
  --orange: #f76c31;
  --charcoal: #2c2c2c;
  --muted-grey: #6c757d;
  --light-grey: #f8f9fa;
}
.bg-orange { background-color: var(--orange) !important; }
.text-orange { color: var(--orange) !important; }
.bg-charcoal { background-color: var(--charcoal) !important; }
.text-charcoal { color: var(--charcoal) !important; }
.border-orange { border-color: var(--orange) !important; }

.badge.bg-orange {
  background-color: var(--orange) !important;
  padding: 8px 18px;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.badge.bg-orange:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(247, 108, 49, 0.3);
}

/* ===== BUTTONS ===== */
.btn-cta {
  background-color: var(--charcoal);
  color: #fff;
  border: 2px solid var(--charcoal);
  padding: 12px 36px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.btn-cta:hover {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.3);
}

.btn-outline-cta {
  background-color: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-outline-cta:hover {
  background-color: var(--charcoal);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.15);
}

.btn-orange {
  background-color: var(--orange);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-orange:hover {
  background-color: #d95c24;
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(247, 108, 49, 0.3);
}

/* ===== NAVIGATION ===== */
#mainNav {
  background: #fff !important;
  transition: box-shadow 0.4s ease, background-color 0.3s ease !important;
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: #222 !important;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--orange) !important;
}
.dropdown-menu {
  border-radius: 0;
  border-color: var(--muted-grey);
}
.dropdown-item {
  transition: all 0.3s ease;
}
.dropdown-item:hover {
  background-color: var(--orange);
  color: #fff;
}

/* ===== HERO CAROUSEL ===== */
#heroCarousel .carousel-item {
  height: 100vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  position: relative;
}
#heroCarousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
#heroCarousel .carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 750px;
}
#heroCarousel .carousel-caption h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
/* Hero Animations */
.carousel-item.active .carousel-caption h1 {
  animation: fadeInUp 1s ease forwards;
}
.carousel-item.active .carousel-caption .btn-cta {
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  background-color: rgba(44,44,44,0.7);
  padding: 20px;
  border-radius: 50%;
  background-size: 50%;
  transition: all 0.3s ease;
}
#heroCarousel .carousel-control-prev-icon:hover,
#heroCarousel .carousel-control-next-icon:hover {
  background-color: var(--orange);
  transform: scale(1.1);
}
@media (max-width: 768px) {
  #heroCarousel .carousel-item { height: 70vh; }
}

/* ===== ABOUT ===== */
#about .value-item {
  border-color: var(--muted-grey) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#about .value-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--orange) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
#about .value-item i {
  transition: transform 0.4s ease;
}
#about .value-item:hover i {
  transform: scale(1.2) rotate(-5deg);
}
/* Floating image animation */
@keyframes floatY {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}
#about .position-relative img:last-of-type {
  animation: floatY 4s ease-in-out infinite;
  z-index: 2;
}

/* ===== WHY US ===== */
#whyUs .card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
#whyUs .card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* ===== SERVICES ===== */
#services .card {
  border: 1px solid #e9ecef;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  will-change: transform;
}
#services .card:hover {
  transform: translateY(-12px) scale(1.01);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
#services .card-img-top {
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#services .card:hover .card-img-top {
  transform: scale(1.05);
}

/* ===== PRODUCTS ===== */
#products .border-orange {
  border-width: 2px !important;
  transition: all 0.3s ease;
  cursor: default;
}
#products .border-orange:hover {
  background: rgba(247, 108, 49, 0.08);
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* ===== CAPABILITIES ===== */
.counter-box {
  background: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.counter-box:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(247, 108, 49, 0.25);
}
.counter-box:hover .text-charcoal {
  color: #fff !important;
}
.counter-box:hover .text-muted {
  color: rgba(255,255,255,0.8) !important;
}
.counter-box .display-3 {
  font-weight: 700;
  transition: all 0.3s ease;
}
.counter-box:hover .display-3 {
  animation: pulseNumber 1s ease infinite;
}
@keyframes pulseNumber {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== CTA BANNER ===== */
#ctaBanner {
  animation: fadeIn 1.5s ease;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
#ctaBanner .btn-light {
  background: #fff;
  color: var(--charcoal);
  font-weight: 600;
  padding: 14px 45px;
  border: 2px solid #fff;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#ctaBanner .btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER ===== */
#footer a {
  transition: color 0.3s ease;
}
#footer a:hover {
  color: var(--orange) !important;
}
#footer .social-icons a {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#footer .social-icons a:hover {
  transform: translateY(-5px) rotate(360deg);
  background: var(--orange);
  color: #fff !important;
}
#footer ul.list-unstyled a {
  transition: all 0.3s ease;
  display: inline-block;
}
#footer ul.list-unstyled a:hover {
  transform: translateX(8px);
  color: var(--orange) !important;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS (Add these classes to your HTML elements)
   ============================================ */
.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.show {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered Delays */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* Slide Left */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* Slide Right */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-scale.show {
  opacity: 1;
  transform: scale(1);
}
/* ===== PROFILE PAGE SPECIFIC ===== */

/* Banner */
#about-banner {
  background-image: url("/images/about-banner-img.jfif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  min-height: 400px;
  position: relative;
}
#about-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}
#about-banner .container {
  position: relative;
  z-index: 2;
}
#about-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
  content: "/";
}

/* Experience Box */
.experience-box {
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(247, 108, 49, 0.4);
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-12px) translateX(5px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.bento-item {
  background: #fff;
  padding: 30px 24px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}
.bento-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--orange);
}
.bento-item i {
  transition: transform 0.4s ease;
}
.bento-item:hover i {
  transform: scale(1.1) rotate(-3deg);
}
.bento-lg {
  grid-column: span 2;
}
.bento-wide {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-lg, .bento-wide {
    grid-column: span 1;
  }
}
@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TIMELINE (merged from Profile.css) ===== */
.cd-horizontal-timeline {
  opacity: 0;
  margin: 2em auto;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.cd-horizontal-timeline.loaded {
  opacity: 1;
}
.cd-horizontal-timeline .timeline {
  position: relative;
  height: 100px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0 40px;
  overflow: hidden;
}
.cd-horizontal-timeline .events {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 2px;
  background: #dfdfdf;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}
.cd-horizontal-timeline .filling-line {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--orange);
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 1.2rem;
  padding-bottom: 15px;
  color: #fff;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  text-decoration: none;
}
.cd-horizontal-timeline .events a::after {
  content: '';
  position: absolute;
  left: 50%;
  right: auto;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: -5px;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  background-color: #2c2c2c;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.cd-horizontal-timeline .events a.selected::after {
  background-color: var(--orange);
  border-color: var(--orange);
}
.cd-horizontal-timeline .events a.older-event::after {
  border-color: var(--orange);
}
.cd-timeline-navigation a {
  position: absolute;
  z-index: 1;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dfdfdf;
  background: #2c2c2c;
  text-decoration: none;
}
.cd-timeline-navigation a.prev { left: 0; }
.cd-timeline-navigation a.next { right: 0; }
.cd-timeline-navigation a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.cd-timeline-navigation a.inactive {
  cursor: not-allowed;
  opacity: 0.4;
}
.cd-horizontal-timeline .events-content {
  position: relative;
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  transition: height 0.4s;
}
.cd-horizontal-timeline .events-content li {
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  padding: 0 5%;
  opacity: 0;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}
.cd-horizontal-timeline .events-content li.selected {
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-horizontal-timeline .events-content li.enter-right, 
.cd-horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left, 
.cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right, 
.cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.cd-horizontal-timeline .events-content h2 {
  font-weight: bold;
  font-size: 2.5rem;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: #fff;
}
.cd-horizontal-timeline .events-content em {
  display: block;
  font-style: italic;
  margin: 10px auto;
  color: var(--orange);
}
.cd-horizontal-timeline .events-content p {
  font-size: 1.1rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
}
@-webkit-keyframes cd-enter-right {
  0% { opacity: 0; -webkit-transform: translateX(100%); }
  100% { opacity: 1; -webkit-transform: translateX(0%); }
}
@-moz-keyframes cd-enter-right {
  0% { opacity: 0; -moz-transform: translateX(100%); }
  100% { opacity: 1; -moz-transform: translateX(0%); }
}
@keyframes cd-enter-right {
  0% { opacity: 0; transform: translateX(100%); }
  100% { opacity: 1; transform: translateX(0%); }
}
@-webkit-keyframes cd-enter-left {
  0% { opacity: 0; -webkit-transform: translateX(-100%); }
  100% { opacity: 1; -webkit-transform: translateX(0%); }
}
@-moz-keyframes cd-enter-left {
  0% { opacity: 0; -moz-transform: translateX(-100%); }
  100% { opacity: 1; -moz-transform: translateX(0%); }
}
@keyframes cd-enter-left {
  0% { opacity: 0; transform: translateX(-100%); }
  100% { opacity: 1; transform: translateX(0%); }
}
/* ============================================
   VERTICAL TIMELINE (Our Journey)
   ============================================ */
.timeline-vertical {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Vertical line */
.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange), #ff8c5a, var(--orange));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

/* Badge (Year) */
.timeline-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  flex-shrink: 0;
  z-index: 2;
  border: 4px solid var(--charcoal);
  box-shadow: 0 0 0 4px var(--orange);
  transition: all 0.4s ease;
  background: var(--orange);
  position: relative;
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px var(--orange), 0 10px 30px rgba(247, 108, 49, 0.3);
}

/* Content card */
.timeline-content {
  width: calc(50% - 60px);
  margin: 0 30px;
  transition: all 0.4s ease;
  border-left: 4px solid var(--orange);
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: none;
  border-right: 4px solid var(--orange);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.timeline-content h4 {
  font-size: 1.3rem;
}

.timeline-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   RESPONSIVE TIMELINE
   ============================================ */
@media (max-width: 768px) {
  .timeline-vertical::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-left: 70px;
  }

  .timeline-item:nth-child(even) .timeline-content {
    text-align: left !important;
    border-left: 4px solid var(--orange) !important;
    border-right: none !important;
  }

  .timeline-badge {
    width: 60px;
    height: 60px;
    font-size: 0.9rem;
    position: absolute;
    left: 0;
    top: 0;
  }

  .timeline-content {
    width: 100%;
    margin: 20px 0 0 0;
  }
}

@media (max-width: 480px) {
  .timeline-item {
    padding-left: 60px;
  }
  .timeline-badge {
    width: 50px;
    height: 50px;
    font-size: 0.75rem;
  }
  .timeline-content h4 {
    font-size: 1.1rem;
  }
  .timeline-content p {
    font-size: 0.85rem;
  }
}

/* ===== TESTIMONIALS (Swiper) ===== */
.testimonial-slider .swiper-slide {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: all 0.3s ease;
}
.testimonial-slider .swiper-slide:hover {
  border-color: var(--orange);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.8;
}
.swiper-pagination-bullet-active {
  background: var(--orange) !important;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
  #about-banner { height: 40vh; min-height: 300px; }
  #about-banner h1 { font-size: 2.5rem; }
  .experience-box { 
    position: relative !important;
    transform: none !important;
    margin: -30px auto 0 !important;
    width: fit-content;
  }
  .cd-horizontal-timeline .events a { font-size: 0.9rem; }
  .cd-horizontal-timeline .events-content h2 { font-size: 1.8rem; }
}
/* ============================================
   INFRASTRUCTURE PAGE
   ============================================ */

/* Banner */
#infra-banner {
  background-image: url("/images/about-banner-img.jfif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  min-height: 400px;
  position: relative;
}
#infra-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}
#infra-banner .container {
  position: relative;
  z-index: 2;
}
#infra-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
  content: "/";
}

/* Capabilities / Interactive Section */
#working-style .infra-things-con {
  border-left: 3px solid #ccc;
  padding-left: 20px;
}
#working-style .infra-things {
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color: #333;
  font-size: 1.2rem !important;
  border-left: 4px solid transparent;
}
#working-style .infra-things:hover {
  background: rgba(247, 108, 49, 0.08);
  padding-left: 25px;
  color: var(--orange);
}
#working-style .infra-things.active {
  background: rgba(247, 108, 49, 0.12);
  border-left-color: var(--orange);
  color: var(--charcoal);
}
#working-style .infra-things i {
  width: 24px;
  transition: transform 0.3s ease;
}
#working-style .infra-things:hover i {
  transform: scale(1.15);
}
#working-style #paraDesc {
  font-size: 1rem;
  color: #6c757d;
  line-height: 1.8;
}
#working-style #desc {
  list-style: none;
  padding: 0;
}
#working-style #desc .desc-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}
#working-style #desc .desc-item:hover {
  padding-left: 8px;
  color: var(--orange);
}
#working-style #desc .desc-item i {
  color: var(--orange);
  margin-right: 12px;
}

/* Infrastructure Image */
.infra-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.infra-image-wrapper img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.infra-image-wrapper:hover img {
  transform: scale(1.03);
}
.infra-image-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(44, 44, 44, 0.8);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}
.infra-image-wrapper:hover .infra-image-overlay {
  opacity: 1;
  transform: scale(1.1);
}
.infra-image-overlay i {
  font-size: 1.2rem;
}

/* Quality Cards */
.quality-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid #f0f0f0;
}
.quality-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: var(--orange);
}
.quality-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.quality-card:hover .quality-icon {
  transform: scale(1.1) rotate(-5deg);
}

.quality-text {
  border-left-width: 5px !important;
  border-left-color: var(--orange) !important;
  transition: all 0.3s ease;
}
.quality-text:hover {
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 992px) {
  #working-style .infra-things-con {
    border-left: none;
    padding-left: 0;
  }
  #working-style .infra-things {
    padding: 10px 12px;
    border-left: 3px solid transparent;
  }
  #working-style .infra-things.active {
    border-left-color: var(--orange);
  }
}

@media (max-width: 768px) {
  #infra-banner { height: 40vh; min-height: 300px; }
  #infra-banner h1 { font-size: 2.5rem; }
  #working-style .infra-things {
    font-size: 1rem !important;
    padding: 8px 12px;
  }
  .quality-icon {
    width: 60px;
    height: 60px;
  }
  .quality-icon i {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  #infra-banner h1 { font-size: 2rem; }
  .infra-image-overlay {
    width: 40px;
    height: 40px;
    top: 12px;
    right: 12px;
  }
}
/* ============================================
   PRODUCTS PAGE
   ============================================ */

/* Banner */
#product-banner {
  background-image: url("/images/about-banner-img.jfif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  min-height: 400px;
  position: relative;
}
#product-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}
#product-banner .container {
  position: relative;
  z-index: 2;
}
#product-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
  content: "/";
}

/* Product Cards */
.service-card {
  cursor: pointer;
  position: relative;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover img {
  transform: scale(1.04);
}
.service-card h3 {
  color: #2c2c2c;
  font-size: 1.1rem;
  padding: 16px 20px;
  text-align: center;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  transition: all 0.4s ease;
  position: relative;
}
.service-card h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--orange);
  z-index: -1;
  transition: height 0.4s ease;
}
.service-card:hover h3::before {
  height: 100%;
}
.service-card:hover h3 {
  color: #fff;
}

/* ============================================
   POPUP MODAL
   ============================================ */
.popup-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 1050;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.popup-content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  width: 85%;
  max-width: 900px;
  display: flex;
  align-items: stretch;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.4s ease-in-out;
  overflow: hidden;
}
.popup-content img {
  width: 45%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
}
.popup-content .desc {
  flex: 1;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
  position: relative;
}
.popup-content .desc #exit {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: all 0.3s ease;
  line-height: 1;
}
.popup-content .desc #exit:hover {
  color: var(--orange);
  transform: rotate(90deg);
}
.popup-content .desc h2 {
  font-size: 1.8rem;
  margin-top: 10px;
}
.popup-content .desc p {
  color: #6c757d;
  font-size: 1rem;
  line-height: 1.8;
}
.popup-content .desc .btn-cta {
  align-self: flex-start;
  margin-top: 10px;
}

/* Popup Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 992px) {
  .popup-content {
    flex-direction: column;
    width: 95%;
  }
  .popup-content img {
    width: 100%;
    height: 250px;
    min-height: auto;
  }
  .popup-content .desc {
    padding: 25px;
  }
  .popup-content .desc h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  #product-banner {
    height: 40vh;
    min-height: 300px;
  }
  #product-banner h1 {
    font-size: 2.5rem;
  }
  .service-card img {
    height: 180px;
  }
  .popup-content {
    width: 100%;
    border-radius: 12px;
    margin: 10px;
  }
  .popup-content img {
    height: 180px;
  }
  .popup-content .desc {
    padding: 20px;
    font-size: 14px;
  }
  .popup-content .desc h2 {
    font-size: 1.3rem;
  }
  .popup-content .desc #exit {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  #product-banner h1 {
    font-size: 2rem;
  }
  .service-card img {
    height: 160px;
  }
  .popup-content .desc {
    padding: 16px;
    font-size: 13px;
  }
  .popup-content .desc h2 {
    font-size: 1.1rem;
  }
  .popup-content img {
    height: 150px;
  }
  .popup-content .desc .btn-cta {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}
/* ============================================
   CLIENTS PAGE (FIXED)
   ============================================ */

/* Banner */
#client-banner {
  background-image: url("/images/about-banner-img.jfif");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 60vh;
  min-height: 400px;
  position: relative;
}
#client-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}
#client-banner .container {
  position: relative;
  z-index: 2;
}
#client-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.6);
  content: "/";
}

/* Stats */
.stat-item {
  position: relative;
}
.stat-item .display-4 {
  font-weight: 700;
  display: inline-block;
}

/* Floating Badge */
.floating-badge {
  animation: floatY 4s ease-in-out infinite;
  min-width: 120px;
}

/* Industry Cards */
.industry-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}
.industry-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}
.industry-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}
.industry-card:hover .industry-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Infrastructure Icons */
.infra-icon-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}
.infra-icon-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.infra-icon-wrapper {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 108, 49, 0.08);
  border-radius: 50%;
  transition: all 0.4s ease;
}
.infra-icon-card:hover .infra-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
  background: rgba(247, 108, 49, 0.15);
}

/* Logo Grid */
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
}
.logo-item:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: var(--orange);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.logo-item img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(0);
  transition: all 0.3s ease;
}
.logo-item:hover img {
  filter: grayscale(0);
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 992px) {
  .stat-item .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  #client-banner {
    height: 40vh;
    min-height: 300px;
  }
  #client-banner h1 {
    font-size: 2.5rem;
  }
  .stat-item .display-4 {
    font-size: 2rem;
  }
  .floating-badge {
    position: relative !important;
    transform: none !important;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .logo-item {
    height: 80px;
  }
  .logo-item img {
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  #client-banner h1 {
    font-size: 2rem;
  }
  .stat-item .display-4 {
    font-size: 1.8rem;
  }
  .logo-item {
    height: 70px;
  }
  .logo-item img {
    max-height: 40px;
  }
  .infra-icon-wrapper {
    width: 60px;
    height: 60px;
  }
  .infra-icon-wrapper i {
    font-size: 2rem !important;
  }
}
/* ============================================
   QUALITY PAGE
   ============================================ */

/* Banner */
#quality-banner {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('/images/about-banner-img.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    min-height: 400px;
    position: relative;
}
#quality-banner .container {
    position: relative;
    z-index: 2;
}
#quality-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "/";
}

/* Core Section */
.core-section {
    background: #fff;
    padding: 80px 0;
}
.core-section .display-3 {
    font-size: 3.2rem;
    line-height: 1.2;
}

/* Testing Cards */
.testing-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    border: 1px solid #f0f0f0;
}
.testing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--orange);
}
.testing-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.testing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.testing-card:hover .testing-image img {
    transform: scale(1.05);
}
.testing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.testing-card:hover .testing-overlay {
    opacity: 1;
}
.testing-overlay i {
    color: #fff;
    font-size: 2rem;
}
.testing-content {
    padding: 20px 25px;
}
.testing-content h5 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--charcoal);
}
.testing-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Process Section */
.process-section {
    background: #fff;
    padding: 80px 0;
}
.process-stat {
    transition: all 0.3s ease;
}
.process-stat:hover {
    background: var(--orange) !important;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(247, 108, 49, 0.2);
}
.process-stat:hover .text-muted {
    color: rgba(255,255,255,0.8) !important;
}
.process-stat:hover i {
    color: #fff !important;
}
.process-image-wrapper {
    position: relative;
}
.process-floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--orange);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(247, 108, 49, 0.3);
    animation: floatY 3s ease-in-out infinite;
}
.process-floating-badge i {
    font-size: 1.2rem;
}
.process-floating-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Customer Quality Section */
.customer-quality-section {
    background: var(--charcoal);
    padding: 80px 0;
}
.customer-quality-section .text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}
.customer-quality-section ul li {
    font-size: 1rem;
}
.customer-image-wrapper {
    position: relative;
}
.customer-image-wrapper img {
    border: 4px solid rgba(247, 108, 49, 0.2);
}

/* Policy Section */
.policy-section {
    background: #fff;
    padding: 80px 0;
}
.policy-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}
.policy-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.policy-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.policy-card:hover .policy-icon {
    transform: scale(1.1) rotate(-5deg);
}
.policy-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
}
.policy-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}
.closing-statement {
    border-left-width: 6px !important;
    transition: all 0.3s ease;
}
.closing-statement:hover {
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.closing-statement .lead {
    font-size: 1.1rem;
}

/* Certificates Section */
.certificates-section {
    background: var(--light-grey);
    padding: 80px 0;
}
.certificate-item {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 12px;
    overflow: hidden;
}
.certificate-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.certificate-item img {
    width: 100%;
    height: auto;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.certificate-item:hover img {
    border-color: var(--orange);
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 992px) {
    .core-section .display-3 {
        font-size: 2.5rem;
    }
    .testing-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    #quality-banner {
        height: 40vh;
        min-height: 300px;
    }
    #quality-banner h1 {
        font-size: 2.5rem;
    }
    .core-section .display-3 {
        font-size: 2rem;
    }
    .testing-image {
        height: 160px;
    }
    .process-floating-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 15px;
        width: fit-content;
    }
    .customer-image-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    #quality-banner h1 {
        font-size: 2rem;
    }
    .core-section .display-3 {
        font-size: 1.6rem;
    }
    .testing-image {
        height: 140px;
    }
    .policy-icon {
        width: 60px;
        height: 60px;
    }
    .policy-icon i {
        font-size: 1.5rem !important;
    }
}
/* ============================================
   BLOGS PAGE
   ============================================ */

/* Banner */
#blogs-banner {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('/images/about-banner-img.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    min-height: 400px;
    position: relative;
}
#blogs-banner .container {
    position: relative;
    z-index: 2;
}
#blogs-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
    content: "/";
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

/* Blog Cards */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    border-color: var(--orange);
}
.blog-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
    flex-shrink: 0;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}
.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--orange);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-card-body {
    padding: 25px 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card-meta i {
    margin-right: 6px;
    color: var(--orange);
}
.blog-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.blog-card:hover .blog-card-body h3 {
    color: var(--orange);
}
.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
}
.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}
.blog-card-footer .read-more {
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}
.blog-card-footer .read-more i {
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-footer .read-more i {
    transform: translateX(5px);
}
.blog-card-footer .author {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.blog-card-footer .author i {
    color: var(--orange);
    margin-right: 5px;
}

/* ============================================
   BLOG MODAL
   ============================================ */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.blog-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.blog-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}
.blog-modal-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    animation: modalSlideUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
}
.blog-modal-content::-webkit-scrollbar {
    width: 6px;
}
.blog-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.blog-modal-content::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 10px;
}
.blog-modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: rgba(44,44,44,0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
}
.blog-modal-close:hover {
    background: var(--orange);
    color: #fff;
    transform: rotate(90deg);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Body */
.modal-blog-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}
.modal-blog-meta {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.modal-blog-meta i {
    color: var(--orange);
    margin-right: 6px;
}
.modal-blog-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--charcoal);
}
.modal-blog-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.9;
}
.modal-blog-content p {
    margin-bottom: 18px;
}
.modal-blog-content h4 {
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--charcoal);
}
.modal-blog-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.modal-blog-content ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #555;
}
.modal-blog-content ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}
.modal-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}
.modal-blog-tags span {
    background: var(--light-grey);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}
.modal-blog-tags span:hover {
    background: var(--orange);
    color: #fff;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 992px) {
    .blog-card-image {
        height: 190px;
    }
}

@media (max-width: 768px) {
    #blogs-banner {
        height: 40vh;
        min-height: 300px;
    }
    #blogs-banner h1 {
        font-size: 2.5rem;
    }
    .blog-card-image {
        height: 170px;
    }
    .blog-modal-content {
        padding: 25px;
        max-height: 95vh;
    }
    .modal-blog-image {
        height: 200px;
    }
    .modal-blog-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    #blogs-banner h1 {
        font-size: 2rem;
    }
    .blog-card-image {
        height: 150px;
    }
    .blog-card-body h3 {
        font-size: 1rem;
    }
    .blog-modal-content {
        padding: 20px;
    }
    .modal-blog-image {
        height: 160px;
    }
    .modal-blog-title {
        font-size: 1.2rem;
    }
    .modal-blog-meta {
        font-size: 0.8rem;
        gap: 15px;
        flex-wrap: wrap;
    }
}
