/* index.css — page-specific overrides for index.html
 * (extracted from the inline <style> block in the head). */

      /* Single-page smooth scrolling with sticky-header offset */
      html {
        scroll-behavior: smooth;
      }
      /* Keep anchored sections clear of the fixed navbar when scrolled to */
      section[id] {
        scroll-margin-top: 90px;
      }
      /* Hero background slideshow */
      #home.home_bg {
        position: relative;
        overflow: hidden;
      }
      .hero-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
      }
      /* Dark overlay sits above the slides for readable text */
      #home.home_bg:before {
        z-index: 1;
      }
      .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        opacity: 0;
        /* start slightly zoomed so leaving/entering slides look calm */
        transform: scale(1.05);
        transition: opacity 1.2s ease-in-out;
      }
      /* Active slide fades in AND slowly zooms (Ken Burns) — the animation
       * re-triggers every time site.js re-adds .is-active on slide change. */
      .hero-slide.is-active {
        opacity: 1;
        animation: heroKenBurns 7s ease-out forwards;
      }
      @keyframes heroKenBurns {
        from {
          transform: scale(1.05);
        }
        to {
          transform: scale(1.16);
        }
      }
      /* Prev / next arrow buttons */
      .hero-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        width: 70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        border-radius: 50%;
        /* background: rgba(0, 0, 0, 0.35); */
        background: none;
        color: #fff;
        font-size: 64px;
        line-height: 1;
        cursor: pointer;
        transition:
          background 0.3s ease,
          color 0.3s ease;
      }
      .hero-nav:hover {
        /* background: rgba(0, 0, 0, 0.35); */
        color: #ff7a00;
      }
      .hero-nav span {
        margin-top: -4px;
      }
      .hero-prev {
        left: 20px;
      }
      .hero-next {
        right: 20px;
      }
      /* Slide pagination: the active slide is shown as a solid white bar. */
      .hero-dots {
        position: absolute;
        bottom: 28px;
        left: 50%;
        z-index: 3;
        display: flex;
        gap: 8px;
        transform: translateX(-50%);
      }
      .hero-dot {
        width: 38px;
        height: 4px;
        padding: 0;
        border: 0;
        background: rgba(255, 255, 255, 0.52);
        cursor: pointer;
        transition:
          background 0.25s ease,
          transform 0.25s ease;
      }
      .hero-dot:hover,
      .hero-dot:focus-visible,
      .hero-dot.is-active {
        background: #fff;
      }
      .hero-dot:hover {
        transform: scaleY(1.5);
      }
      .hero-dot:focus-visible {
        outline: 2px solid #ff7a00;
        outline-offset: 4px;
      }
      /* Keep the hero text/content above the slideshow + overlay */
      #home.home_bg .container {
        position: relative;
        z-index: 2;
      }
      .hero-nav {
        z-index: 3;
      }
      /* Per-slide captions: only the active one shows */
      .hero-text {
        position: relative;
        width: 100%;
      }
      .hero-caption {
        display: none;
        opacity: 0;
      }
      .hero-caption.is-active {
        display: block;
        opacity: 1;
      }
      /* Staggered reveal: heading, paragraph, then button slide up + fade in.
       * Because the caption goes display:none -> block on each slide change,
       * these animations replay for every slide. */
      .hero-caption.is-active h2 {
        animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: 0.15s;
      }
      .hero-caption.is-active p {
        animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: 0.4s;
      }
      .hero-caption.is-active .hero-btn {
        animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
        animation-delay: 0.65s;
      }
      @keyframes heroReveal {
        from {
          opacity: 0;
          transform: translateY(34px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      /* Respect users who prefer reduced motion */
      @media (prefers-reduced-motion: reduce) {
        .hero-slide.is-active,
        .hero-caption.is-active h2,
        .hero-caption.is-active p,
        .hero-caption.is-active .hero-btn {
          animation: none;
        }
      }
      /* "Get Start" button (csclao style) */
      .hero-btn {
        display: inline-block;
        margin-top: 30px;
        padding: 10px 32px;
        background: #ff7a00;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-transform: capitalize;
        border: 2px solid transparent;
        border-radius: 2px;
        text-decoration: none !important;
        transition:
          background 0.3s ease,
          border-color 0.3s ease;
      }
      .hero-btn:hover {
        background: none;
        color: #fff;
        border-color: #ff7a00;
      }
      /* Hero quick-action bar (bottom-right of the slideshow) */
      .hero-actions {
        position: absolute;
        right: 60px;
        bottom: 0;
        /* above the .home_bg:before overlay and the slides */
        z-index: 3;
        display: flex;
        background: #fbf5ec;
        /* less padding below: the label's line-height already adds visual space */
        padding: 20px 6px 10px;
      }
      .hero-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* Keep quick-action labels on one line so they sit level. */
        width: 138px;
        padding: 0 10px;
        text-align: center;
        text-decoration: none !important;
        color: #3d3226;
      }
      .hero-action + .hero-action {
        border-left: 1px solid #ff7a00;
      }
      .hero-action-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #ff7a00;
        border-radius: 50%;
        color: #ff7a00;
        font-size: 22px;
        transition:
          background 0.3s ease,
          color 0.3s ease;
      }
      .hero-action-label {
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        transition: color 0.3s ease;
      }
      .hero-action:hover .hero-action-label {
        color: #ff7a00;
      }
      @media (max-width: 991px) {
        /* stop the bar colliding with the next-slide arrow on narrow screens */
        .hero-actions {
          right: 50%;
          transform: translateX(50%);
          padding: 14px 4px 7px;
        }
        .hero-action {
          width: 92px;
          padding: 0 6px;
        }
        .hero-action-icon {
          width: 44px;
          height: 44px;
          font-size: 18px;
        }
        .hero-action-label {
          font-size: 12px;
        }
        .hero-dots {
          /* Keep pagination above the bottom quick-action bar on mobile. */
          bottom: 118px;
        }
        .hero-dot {
          width: 28px;
        }
      }
      /* About Us — two-column (csclao style) */
      .about_us_img img {
        width: 100%;
        box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.35);
      }
      .about_us_content {
        padding-left: 30px;
      }
      .about_us_content p {
        color: #555;
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 14px;
      }
      .about_us_content p strong {
        color: #ff7a00;
      }
      .about_us_list {
        list-style: none;
        padding: 0;
        margin: 0 0 30px 0;
        display: flex;
        flex-wrap: wrap;
      }
      .about_us_list li {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 8px 0;
        color: #333;
        font-size: 16px;
        font-weight: 500;
      }
      .about_us_list li i {
        color: #ff7a00;
        margin-right: 10px;
      }
      /* Reuse the hero button style but sized for content sections */
      .about_us_content .hero-btn {
        margin-top: 0;
      }
      .about_us_content .hero-btn:hover {
        color: #333;
      }
      @media (max-width: 991px) {
        .about_us_content {
          padding-left: 0;
          margin-top: 30px;
        }
        .about_us_list li {
          flex: 0 0 100%;
          max-width: 100%;
        }
      }
      /* Services — card grid */
      .our_services {
        background: #f7f9fb;
      }
      .services_intro {
        max-width: 900px;
        margin: -10px auto 30px;
        text-align: center;
        color: #666;
        font-size: 16px;
        line-height: 28px;
      }
      /* 3x3 Services Grid */
      .services_grid_row {
        display: flex;
        flex-wrap: wrap;
        margin-top: -10px;
      }
      .service_grid_col {
        display: flex;
      }
      .service_box {
        background: #fff;
        text-align: center;
        padding: 36px 22px;
        margin-bottom: 0;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.035);
        border: 1px solid #edf0f5;
        border-radius: 8px;
        transition:
          transform 0.25s ease,
          box-shadow 0.25s ease,
          border-color 0.25s ease;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
      }
      .service_box:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
        border-color: #ffd8bf;
      }
      .service_icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255, 122, 0, 0.1);
        color: #ff7a00;
        font-size: 30px;
        transition:
          background 0.3s ease,
          color 0.3s ease;
      }
      .service_box:hover .service_icon {
        background: #ff7a00;
        color: #fff;
      }
      .service_box h4 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 12px;
        color: #17243c;
      }
      .service_box p {
        color: #5d6778;
        font-size: 13.5px;
        line-height: 24px;
        margin: 0;
      }

      /* Detailed Service Cards */
      .service_card {
        background: #ffffff;
        border: 1px solid #edf0f5;
        border-radius: 8px;
        padding: 30px 24px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.035);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        height: 100%;
        transition:
          transform 0.25s ease,
          box-shadow 0.25s ease,
          border-color 0.25s ease;
      }
      .service_card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
        border-color: #ffd8bf;
      }
      .service_card_icon_wrap {
        flex-shrink: 0;
        width: 54px;
        height: 54px;
        background-color: rgba(255, 122, 0, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 22px;
      }
      .service_card_icon {
        width: 26px;
        height: 26px;
        color: #ff7a00;
        fill: #ff7a00;
        display: block;
      }
      .service_card_content {
        flex: 1;
        min-width: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
      }
      .service_card_content h4 {
        font-family: 'Exo', sans-serif;
        font-size: 19px;
        font-weight: 700;
        color: #17243c;
        line-height: 1.4;
        margin: 0 0 12px 0;
      }
      .service_card_content p {
        font-size: 14px;
        color: #5d6778;
        line-height: 1.65;
        margin: 0 0 20px 0;
      }
      @media (max-width: 767px) {
        .service_card {
          padding: 20px 16px;
          gap: 16px;
        }
        .service_card_icon_wrap {
          width: 38px;
          height: 38px;
        }
        .service_card_icon {
          width: 38px;
          height: 38px;
        }
        .service_card_content h4 {
          font-size: 16px;
        }
        .service_card_content p {
          font-size: 13px;
        }
      }
      /* Our Partners — logo grid */
      .our_partners {
        background: #f7f9fb;
      }
      .partners_grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
      }
      .partner_logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 20px;
        background: #fff;
        border: 1px solid #eef1f5;
        box-shadow:
          0 1px 2px 0 rgba(0, 0, 0, 0.05),
          0 1px 3px 0 rgba(0, 0, 0, 0.06);
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease;
      }
      .partner_logo img {
        max-width: 100%;
        max-height: 60px;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
      }
      .partner_logo:hover {
        transform: translateY(-6px);
        border-color: #ff7a00;
        box-shadow: 0 16px 32px -18px rgba(255, 122, 0, 0.35);
      }
      .partner_logo:hover img {
        transform: scale(1.05);
      }
      @media (max-width: 991px) {
        .partners_grid {
          grid-template-columns: repeat(4, 1fr);
        }
      }
      @media (max-width: 575px) {
        .partners_grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }
      /* Products — alternating (zig-zag) timeline */
      .our_businesses {
        background: #fff;
      }
      .biz-timeline {
        position: relative;
        max-width: 1000px;
        margin: 15px auto 0;
        padding: 10px 0;
      }
      /* Center vertical spine */
      .biz-timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        transform: translateX(-50%);
        background: linear-gradient(180deg, #ffd7b0 0%, #ff7a00 100%);
        border-radius: 3px;
      }
      .biz-tl-item {
        position: relative;
        width: 50%;
        padding: 0 45px 0 0;
        margin-bottom: 30px;
      }
      .biz-tl-item:last-child {
        margin-bottom: 0;
      }
      .biz-tl-item:nth-child(even) {
        left: 50%;
        padding: 0 0 0 45px;
      }
      /* Dot marker on the spine */
      .biz-tl-dot {
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ff7a00;
        border: 4px solid #fff;
        box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.18);
        z-index: 2;
        transition:
          transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.35s ease;
      }
      .biz-tl-item:nth-child(odd) .biz-tl-dot {
        right: -10px;
      }
      .biz-tl-item:nth-child(even) .biz-tl-dot {
        left: -10px;
      }
      .biz-tl-item:hover .biz-tl-dot {
        transform: scale(1.35);
        box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.28);
      }
      /* Card */
      .biz-tl-card {
        position: relative;
        background: #fff;
        border: 1px solid #eef1f5;
        border-radius: 0;
        overflow: hidden;
        box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.28);
        transition:
          transform 0.35s ease,
          box-shadow 0.35s ease;
      }
      .biz-tl-item:hover .biz-tl-card,
      .biz-tl-card:focus-within {
        transform: translateY(-6px);
        box-shadow: 0 26px 45px -20px rgba(0, 0, 0, 0.38);
      }
      /* Whole-card click target (keeps the card visually unchanged) */
      .biz-cardlink {
        position: absolute;
        inset: 0;
        z-index: 3;
        overflow: hidden;
        text-indent: -9999px;
        white-space: nowrap;
      }
      .biz-cardlink:focus-visible {
        outline: 3px solid rgba(255, 122, 0, 0.55);
        outline-offset: 3px;
      }
      /* Caret pointing from the card toward the spine */
      .biz-tl-card::after {
        content: "";
        position: absolute;
        top: 31px;
        border: 9px solid transparent;
      }
      .biz-tl-item:nth-child(odd) .biz-tl-card::after {
        left: 100%;
        border-left-color: #fff;
      }
      .biz-tl-item:nth-child(even) .biz-tl-card::after {
        right: 100%;
        border-right-color: #fff;
      }
      .biz-tl-media {
        position: relative;
        overflow: hidden;
        height: 190px;
      }
      .biz-tl-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
      }
      .biz-tl-item:hover .biz-tl-media img {
        transform: scale(1.08);
      }

      .biz-tl-body {
        padding: 22px 22px 24px;
      }
      .biz-name {
        margin: 0 0 10px;
        font-size: 20px;
        font-weight: 700;
        color: #1d293e;
        transition: color 0.3s ease;
      }
      .biz-tl-item:hover .biz-name {
        color: #ff7a00;
      }
      .biz-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 16px;
        margin-bottom: 14px;
        font-size: 13px;
        color: #8a94a6;
      }
      .biz-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
      }
      .biz-meta i {
        color: #ff7a00;
      }
      .biz-desc {
        margin: 0;
        font-size: 15px;
        line-height: 25px;
        color: #667085;
      }
      /* Collapse to a single-side vertical timeline on tablet / mobile */
      @media (max-width: 991px) {
        .biz-timeline {
          max-width: 640px;
        }
        .biz-timeline::before {
          left: 20px;
        }
        .biz-tl-item,
        .biz-tl-item:nth-child(even) {
          width: 100%;
          left: 0;
          padding: 0 0 0 55px;
        }
        .biz-tl-item:nth-child(odd) .biz-tl-dot,
        .biz-tl-item:nth-child(even) .biz-tl-dot {
          left: 10px;
          right: auto;
        }
        .biz-tl-item:nth-child(odd) .biz-tl-card::after,
        .biz-tl-item:nth-child(even) .biz-tl-card::after {
          left: auto;
          right: 100%;
          border-left-color: transparent;
          border-right-color: #fff;
        }
      }
      @media (max-width: 575px) {
        .biz-tl-body {
          padding: 18px 18px 20px;
        }
      }

      /* ==========================================================================
         Process & Certifications Sections (Matching Site Layout System)
         ========================================================================== */
      .our_certifications {
        background: #ffffff;
        padding: 40px;
      }
      .our_process {
        background: #ffffff;
        padding-top: 15px;
        padding-bottom: 40px;
      }
      .our_process .section-title {
        margin-bottom: 18px;
      }
      .process_wrap,
      .certifications_wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
      }
      .process_img,
      .certifications_img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0;
      }

