
  .page-title {
    text-align: center;
    padding: 32px 16px 8px;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
  }
  .page-sub {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 28px;
  }

.wrap {
    position: relative;
    min-height: 750px;
    max-width: 870px;
    margin: 0 auto; 
}

.img-container {
  position: absolute;     /* ← removed from flow completely */
  left: 50%;
  top: 20px;
  transform: translateX(-50%);   /* ← always perfectly centred */
  width: 300px;
}
  .body-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
  }
  #dots-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
  }

  .dot {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #ff7070, #cc2200);
    border: 2.5px solid rgba(255,255,255,0.75);
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 5px rgba(220,50,50,0.22), 0 0 14px rgba(220,50,50,0.4);
    animation: pulse 2.2s infinite ease-in-out;
  }
  .dot:hover, .dot.active {
    background: radial-gradient(circle at 38% 32%, #66ffaa, #00aa44);
    box-shadow: 0 0 0 7px rgba(0,180,80,0.22), 0 0 18px rgba(0,180,80,0.5);
    animation: none;
    transform: scale(1.28);
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(220,50,50,0.22), 0 0 14px rgba(220,50,50,0.4); }
    50%       { box-shadow: 0 0 0 11px rgba(220,50,50,0.08), 0 0 22px rgba(220,50,50,0.5); }
  }

  .cards-left {
  position: absolute;     /* ← removed from flow, can't affect image */
  left: 0;
  top: 20px;
  width: 220px;
}

.cards-right {
  position: absolute;     /* ← same fix */
  right: 0;
  top: 20px;
  width: 220px;
}

  .card {
    background: #ffffff;
    border: 1.5px solid #e4e8ee;
    border-radius: 14px;
    padding: 11px 13px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-top:20px;
  }
  .card:hover, .card.active {
    border-color: #00aa44;
    box-shadow: 0 4px 20px rgba(0,150,60,0.15);
  }
  .card-header {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
  }
  .card-title {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.6px;
    text-transform: capitalize;
    line-height: 16px;
}
  .card-quote {
    font-size: 11px;
    color: #666;
    font-style: italic;
    margin-top: 3px;
    line-height: 1.4;
  }
  .card-desc {
    font-size: 11px;
    color: #444;
    line-height: 1.55;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.3s ease;
  }
  .card:hover .card-desc, .card.active .card-desc {
    max-height: 160px;
    opacity: 1;
    margin-top: 8px;
  }
  .read-more {
    display: inline-block;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 10.5px;
    font-weight: 600;
    color: #007733;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: max-height 0.4s ease 0.05s, opacity 0.35s ease 0.05s, margin-top 0.3s ease, color 0.2s;
  }
  .card:hover .read-more, .card.active .read-more {
    max-height: 40px;
    opacity: 1;
    margin-top: 5px;
  }
  .read-more:hover { color: #004d22; text-decoration: underline; }

  /* SVG connector lines */
  #lines-svg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 3;
  }

  /* Responsive */
  @media (max-width: 780px) {
    .wrap { flex-direction: column; align-items: center; }
    .cards-left, .cards-right { width: 100%; max-width: 315px; }
    .img-container { width: 260px; }
    #lines-svg { display: none; }
    .card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    letter-spacing: 0.6px;
    text-transform: capitalize;
    line-height: 20px;
}
.card-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.55;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.3s ease;
}
  }
  
  
/*========banner section ==========*/
  .hero.hero-slider-layout .hero-slide {
    position: relative;
    padding: 295px 0 90px;
    min-height: 100vh;
}
.hero-list {
    position: relative;
    border-top: 1px solid var(--dark-divider-color);
    margin-top: 180px;
    padding: 60px 0 0;
    z-index: 1;
}
.hero-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
}



/* Tablet */
@media (max-width: 1024px) {

    .wrap{
        transform: scale(0.85);
        transform-origin: top center;
        min-height: 650px;
    }

}

/* Mobile */
@media (max-width: 768px) {

    .pain-section{
        overflow-x: hidden;
    }

    .wrap{
        width: 870px; /* keep original design width */
        transform: scale(0.55);
        transform-origin: top center;
        margin-left: calc((870px - 100vw) / -2);
        min-height: 430px;
    }

    #lines-svg{
        display:block;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .wrap{
        transform: scale(0.42);
        min-height: 330px;
    }

}

@media (max-width: 768px) {

  /* Hide everything except the h1 tagline */
  .hero-content .section-title h3,
  .hero-content .section-title p,
   
  .hero-list,
  .hero-client-box {
    display: none !important;
  }

  /* Keep h1 visible and left-aligned */
  .hero-content .section-title h1 {
    display: block !important;
    text-align: left;
    font-size: 22px;       /* Adjust size to your liking */
    line-height: 1.3;
    margin: 0;
  }

  /* Make section-title take full width */
  .hero-content .section-title {
    width: 100%;
    padding: 0 0px;
  }

  /* Ensure hero content is properly aligned */
  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  /* Make sure the banner image covers properly on mobile */
  .hero-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
.hero.hero-slider-layout .hero-slide {
    position: relative;
    padding: 130px 0 10px;
    min-height: 35vh;
}
.section-title {
        margin-bottom: 14px;
    }
    .intro-video-box {
        background-position: right center;
        padding: 0px 15px 0px;
        display: none;
    }
}
header.main-header {
    position: relative;
    border-bottom: 0px solid var(--dark-divider-color);
    z-index: 100;
}
.hero.hero-slider-layout .hero-pagination {
        padding-left: 15px;
        bottom: 8px;
    }


    .vision-mission-content1 {
    width: 100%;
}

/* ── Gallery Slider ── */
.about-gallery-wrap {
    margin-top: 52px;
}
.about-gallery-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.about-gallery-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--primary-color, #c8a96e);
    border-radius: 2px;
    flex-shrink: 0;
}
.about-gallery-label h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color, #c8a96e);
    margin: 0;
}

.gallery-slider-outer {
    position: relative;
}

/* slides */
.gallery-swiper .swiper-slide {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
}
.gallery-swiper .swiper-slide figure {
    margin: 0;
    width: 100%;
    height: 100%;
}
.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.92);
}
.gallery-swiper .swiper-slide:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* caption overlay */
.gallery-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-swiper .swiper-slide:hover .gallery-slide-caption {
    opacity: 1;
}

/* custom nav arrows */
.gallery-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
}
.gallery-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
    flex-shrink: 0;
}
.gallery-arrow:hover {
    background: var(--primary-color, #c8a96e);
    border-color: var(--primary-color, #c8a96e);
}
.gallery-arrow:hover svg path {
    stroke: #fff;
}
.gallery-arrow:active { transform: scale(0.93); }
.gallery-arrow svg {
    width: 16px; height: 16px;
    display: block;
}
.gallery-arrow svg path {
    stroke: #555;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s;
}

/* pagination dots */
.gallery-pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto; /* pushes dots left, arrows right */
}
.gallery-pagination .swiper-pagination-bullet {
    width: 6px; height: 6px;
    background: #ccc;
    border-radius: 50%;
    opacity: 1;
    transition: width 0.3s, background 0.3s;
    cursor: pointer;
}
.gallery-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 3px;
    background: var(--primary-color, #c8a96e);
}