@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #1c1c1c;
    color: #fff;
}


html,
body {
    width: 100%;
    overflow-x: hidden;
}


/* ================================================================================================================================= */

/* HERO VIDEO SECTION */

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* VIDEO */

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* OVERLAY */

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.382));
    z-index: 1;
}

/* CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* HEADING */

.hero-content h1 {
    font-size: clamp(40px, 5vw, 90px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.1;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Highlight word */

.hero-content h1 span {
    background: #41866e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* RESPONSIVE */

@media (max-width: 1024px) {

    .hero-content h1 {
        font-size: clamp(36px, 7vw, 70px);
    }

}

@media (max-width: 768px) {

    .video-hero {
        height: 85vh;
    }

    .hero-content h1 {
        font-size: 42px;
    }

}

@media (max-width: 480px) {

    .video-hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 34px;
    }

}

.hero-content h1 {
    animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ========================================================================================================================= */

/* HERO SECTION */

.sensor-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

/* VIDEO */

.sensor-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* OVERLAY */

.sensor-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.552));
    z-index: 2;
}

/* CONTENT */

.sensor-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: #fff;
    animation: heroFade 1.5s ease;
    margin-top: 50px;
}

/* HEADING */

.sensor-hero-content h1 {
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
}

.sensor-hero-content h1 span {
    background: #41866e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SUB HEADING */

.sensor-hero-content h3 {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 400;
    margin-bottom: 20px;
    color: #e2e8f0;
}

/* PARAGRAPH */

.sensor-hero-content p {
    font-size: clamp(15px, 1.2vw, 16px);
    line-height: 1.7;
    margin-bottom: 35px;
    color: #d1d5db;
}


/* ANIMATION */

@keyframes scrollMove {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 12px);
    }
}

@keyframes heroFade {
    0% {
        opacity: 0;
        transform: scale(.9) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width:768px) {

    .sensor-hero {
        height: 90vh;
    }

    .sensor-hero-content {
        padding: 15px;
    }

    .sensor-hero-btn {
        padding: 12px 26px;
        font-size: 15px;
    }

}

@media (max-width:480px) {

    .sensor-hero {
        height: 85vh;
    }

    .sensor-hero-content h1 {
        font-size: 34px;
    }

    .sensor-hero-content h3 {
        font-size: 18px;
    }

    .sensor-hero-content p {
        font-size: 14px;
    }

}

/* ========================================================================================================================= */

.lock-info-section {
    padding: 100px 20px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
}

.lock-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.lock-left {
    flex: 1;
}

.lock-left h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111827;
}

.lock-left h2 span {
    background: #41866e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lock-info-section .desc {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 20px;
    max-width: 570px;
}

.lock-info-interactive {
    margin-top: 16px;
    max-width: 620px;
}

.lock-info-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.lock-chip {
    border: 1px solid rgba(17, 24, 39, 0.12);
    background: #fff;
    color: #111827;
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lock-chip:hover {
    border-color: rgba(65, 134, 110, 0.5);
    transform: translateY(-1px);
}

.lock-chip.active {
    background: #41866e;
    border-color: #41866e;
    color: #fff;
    box-shadow: 0 10px 24px rgba(65, 134, 110, 0.25);
}

.lock-info-detail {
    background: #f6f7f8;
    border: 1px solid rgba(65, 134, 110, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
}

.lock-info-detail h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 6px;
    font-weight: 800;
}

.lock-info-detail p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.lock-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.lock-info-section .circle {
    width: 480px;
    height: 480px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #f3f4f6; /* fallback bg */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.lock-info-section .circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 🔥 no crop */
    object-position: center;
    padding: 40px;         /* spacing inside circle */
}

.lock-info-section .circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(65, 134, 110, .25);
}

.lock-right.lock-right--glow .circle {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 12px rgba(65, 134, 110, 0.14);
}

@media (max-width: 992px) {
    .lock-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .lock-info-section .desc {
        margin: auto;
    }

    .lock-info-interactive {
        margin: 16px auto 0;
    }

    .lock-info-chips {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .lock-left h2 {
        font-size: 30px;
    }

    .lock-info-section .circle {
        width: 280px;
        height: 280px;
    }

    .lock-info-section .desc {
        font-size: 15px;
        margin-bottom: 30px;
    }
}

/* ================================================================================================================================== */
.smart-appliance-section {
  padding: 80px 6%;
  background: #f5f5f5;
  text-align: center;
}

.smart-title {
  font-size: 38px;
  font-weight: 600;
  color: #111;
  margin-bottom: 60px;
  line-height: 1.3;
}

.smart-title span {
  background: #41866e;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.appliance-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 22px);
  max-width: min(640px, 100%);
  margin: 0 auto;
  justify-items: center;
  align-items: start;
}

.appliance-item {
  background: #efefef;
  height: 90px;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.appliance-item img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.appliance-item:hover {
  transform: translateY(-4px);
  border-color: rgba(65, 134, 110, 0.35);
  background: rgba(65, 134, 110, 0.08);
  box-shadow: 0 16px 40px rgba(65, 134, 110, 0.18);
}

.appliance-item:focus-visible {
  outline: 2px solid #41866e;
  outline-offset: 3px;
}

.appliance-item--active {
  background: rgba(65, 134, 110, 0.14);
  border-color: rgba(65, 134, 110, 0.55);
  box-shadow: 0 18px 50px rgba(65, 134, 110, 0.22);
}

.appliance-detail {
  max-width: 900px;
  margin: 28px auto 0;
  background: #f6f7f8;
  border: 1px solid rgba(65, 134, 110, 0.25);
  border-radius: 18px;
  padding: 18px 18px;
}

.appliance-detail h3 {
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 6px;
  font-weight: 800;
}

.appliance-detail p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 992px) {
  .appliance-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: min(520px, 100%);
  }
}

@media (max-width: 576px) {
  .smart-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .appliance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .appliance-detail {
    margin-top: 18px;
    padding: 16px 14px;
  }
}



/* ==================================================================================================================== */

.product-feature-section {
    padding: 70px 6%;
    background: #f5f5f5;
}

.pf-container {
    max-width: 1200px;
    margin: auto;
}

.pf-main-heading {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
}

.pf-main-heading span {
    background: #41866e;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pf-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
}

.pf-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.pf-title {
    font-size: 26px;
    font-weight: 700;
    color: #000;
}

.pf-desc {
    color: #4b5563;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
    max-width: 520px;
}

.pf-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 12px;
    background: #000;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.3s;
}

.pf-btn:hover {
    background: #41866e;
}

.pf-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.pf-feature-item {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pf-icon {
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
    border-radius: 0;
    display: block;
    box-shadow: none;
}

.pf-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 1;
}

.pf-feature-item p {
    margin-top: 10px;
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.product-feature-section .pf-feature-item {
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.04);
    will-change: transform;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.product-feature-section .pf-feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(65, 134, 110, 0.35);
    box-shadow: 0 16px 40px rgba(65, 134, 110, 0.18);
}

.product-feature-section .pf-feature-item:focus-visible {
    outline: 2px solid #41866e;
    outline-offset: 3px;
}

.product-feature-section .pf-feature-item--active {
    border-color: rgba(65, 134, 110, 0.6);
    box-shadow: 0 18px 55px rgba(65, 134, 110, 0.22);
    background: rgba(65, 134, 110, 0.10);
}

@media (max-width: 992px) {
    .pf-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pf-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .pf-right {
        width: 100%;
        text-align: left;
    }

    .pf-main-heading {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .pf-card {
        padding: 30px 20px;
    }

    .pf-features {
        grid-template-columns: 1fr;
    }

    .pf-main-heading {
        font-size: 24px;
    }
}

/* ========================================================================================================================== */

/* SECTION */

.skroman-smart-curtain-scroll-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


/* VIDEO BACKGROUND */

.skroman-smart-curtain-scroll-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


/* OVERLAY */

.skroman-smart-curtain-scroll-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.65) 40%,
            rgba(0, 0, 0, 0.35) 70%,
            rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}


/* CONTENT CONTAINER */

.skroman-smart-curtain-scroll-container {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 1300px;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;

    z-index: 3;
}


/* LEFT TEXT */

.skroman-smart-curtain-scroll-left-content {
    color: #fff;
}

.skroman-smart-curtain-scroll-left-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.skroman-smart-curtain-scroll-left-content p {
    font-size: 18px;
    color: #ddd;
    line-height: 1.6;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}


/* CENTER SENSOR */


.skroman-smart-curtain-scroll-motion-sensor::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 255, 123, 0.223), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: -1;
}


.skroman-smart-curtain-scroll-motion-sensor {
    text-align: center;
    color: #fff;
    position: relative;
    margin-left: 50px;
}


.skroman-smart-curtain-scroll-motion-sensor img {
    width: 120px;
    margin-bottom: 10px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.6));
}


/* RIGHT MOBILE */

.skroman-smart-curtain-scroll-mobile-device {
    justify-self: end;
    width: 240px;
}

.skroman-smart-curtain-scroll-mobile-device img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.6));
}

/* ================= RESPONSIVE ================= */


/* LARGE LAPTOP */

@media (max-width:1200px) {

    .skroman-smart-curtain-scroll-container {
        width: 92%;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .skroman-smart-curtain-scroll-left-content h2 {
        font-size: 40px;
    }

    .skroman-smart-curtain-scroll-left-content p {
        font-size: 17px;
    }

    .skroman-smart-curtain-scroll-mobile-device {
        width: 210px;
    }

    .skroman-smart-curtain-scroll-motion-sensor img {
        width: 100px;
    }

}


/* TABLET */

@media (max-width:992px) {

    .skroman-smart-curtain-scroll-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .skroman-smart-curtain-scroll-left-content {
        order: 1;
    }

    .skroman-smart-curtain-scroll-motion-sensor {
        order: 2;
        margin-left: 0;
    }

    .skroman-smart-curtain-scroll-mobile-device {
        order: 3;
        justify-self: center;
    }

    .skroman-smart-curtain-scroll-left-content h2 {
        font-size: 34px;
    }

    .skroman-smart-curtain-scroll-left-content p {
        font-size: 16px;
    }

}


/* MOBILE */

@media (max-width:768px) {

    .skroman-smart-curtain-scroll-container {
        gap: 35px;
    }

    .skroman-smart-curtain-scroll-left-content h2 {
        font-size: 28px;
    }

    .skroman-smart-curtain-scroll-left-content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .skroman-smart-curtain-scroll-motion-sensor img {
        width: 90px;
    }

    .skroman-smart-curtain-scroll-mobile-device {
        width: 180px;
    }

}


/* SMALL MOBILE */

@media (max-width:480px) {

    .skroman-smart-curtain-scroll-container {
        width: 90%;
        gap: 30px;
    }

    .skroman-smart-curtain-scroll-left-content h2 {
        font-size: 24px;
    }

    .skroman-smart-curtain-scroll-left-content p {
        font-size: 14px;
    }

    .skroman-smart-curtain-scroll-motion-sensor img {
        width: 80px;
    }

    .skroman-smart-curtain-scroll-mobile-device {
        width: 150px;
    }

}

/* ============================================================================================================================= */

.device-intro-section {
    --parallax-x: 0px;
    --parallax-y: 0px;
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: clamp(24px, 5vw, 80px) 6%;
}

.device-intro-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("/assets/images/projects/ir-blaster-human-detector.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.device-intro-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.584));
    pointer-events: none;
}

.device-intro-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(65, 134, 110, 0.12) 50%,
        transparent 100%
    );
    opacity: 0.5;
    pointer-events: none;
}

.device-intro-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.device-intro-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #86efac;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.device-intro-text h2 {
    font-size: clamp(26px, 4.2vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.35);
}

.device-intro-text > p:last-of-type {
    font-size: clamp(15px, 1.9vw, 18px);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

@media (max-width: 992px) {
    .device-intro-section {
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 576px) {
    .device-intro-kicker {
        font-size: 10px;
        letter-spacing: 0.18em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .device-intro-bg {
        transform: none;
        transition: none;
    }
}

/* ======================================================================================================================== */
 /* ================= SECTION ================= */

.ir-section {
  position: relative;
  padding: clamp(70px, 8vw, 108px) clamp(16px, 5vw, 70px);
  background: radial-gradient(circle at 8% 8%, rgba(65, 134, 110, 0.12), transparent 34%), #ffffff;
  overflow: hidden;
  color: #0f172a;
}

.ir-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.ir-container,
.human-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 249, 0.95));
  border: 1px solid rgba(65, 134, 110, 0.22);
  border-radius: clamp(18px, 2.2vw, 26px);
  padding: clamp(18px, 2.6vw, 30px);
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.human-container {
  grid-template-columns: minmax(280px, 44%) minmax(0, 1fr);
}

.ir-content,
.human-content {
  min-width: 0;
}

.ir-kicker,
.human-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(47, 111, 89, 0.92);
}

.ir-content h2,
.human-content h2 {
  font-size: clamp(30px, 3.7vw, 48px);
  margin-bottom: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.18;
}

.ir-content h2 span,
.human-content h2 span,
.as-heading span {
  background: linear-gradient(135deg, #2f6f59, #41866e 50%, #67b893);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.ir-content p,
.human-content p {
  font-size: 16px;
  color: #475569;
  line-height: 1.76;
  margin-bottom: 18px;
}

.ir-features,
.human-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ir-features div,
.human-features div {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 244, 0.94));
  border: 1px solid rgba(65, 134, 110, 0.24);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ir-features div i,
.human-features div i {
  font-size: 14px;
  color: #2f6f59;
}

@media (hover: hover) and (pointer: fine) {
  .ir-features div:hover,
  .human-features div:hover {
    transform: translateY(-3px);
    border-color: rgba(65, 134, 110, 0.45);
    box-shadow: 0 14px 26px rgba(65, 134, 110, 0.15);
  }
}

.ir-image,
.human-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(240px, 32vw, 360px);
  border-radius: 18px;
  background: radial-gradient(ellipse 72% 72% at 50% 40%, rgba(65, 134, 110, 0.12), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(65, 134, 110, 0.22);
}

.ir-image img,
.human-image img {
  width: min(100%, 390px);
  max-height: 320px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(15, 23, 42, 0.2));
  transition: transform .6s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ir-container:hover .ir-image img,
  .human-container:hover .human-image img {
    transform: scale(1.06);
  }
}

.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(65, 134, 110, 0.35);
  transform: translate(-50%, -50%);
  animation: waveAnim 2.2s infinite;
}

@keyframes waveAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

.automation-scenarios-section {
  padding: clamp(54px, 6.5vw, 90px) clamp(12px, 2vw, 16px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border-radius: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(65, 134, 110, 0.22);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.as-container {
  max-width: 1180px;
  margin: auto;
  text-align: center;
}

.as-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  color: rgba(47, 111, 89, 0.9);
}

.as-heading {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #0f172a;
}

.as-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

.as-card {
  background: linear-gradient(160deg, #ffffff, #f3f8f5);
  padding: 24px 18px;
  border-radius: 16px;
  border: 1px solid rgba(65, 134, 110, 0.24);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  opacity: 0;
  transform: translateY(24px);
  position: relative;
  overflow: hidden;
}

.as-card.show {
  opacity: 1;
  transform: translateY(0);
}

.as-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 36%, rgba(101, 183, 152, 0.16) 50%, transparent 64%);
  opacity: 0;
  transition: opacity .35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .as-card:hover {
    transform: translateY(-8px);
    border-color: rgba(65, 134, 110, 0.45);
    box-shadow: 0 18px 34px rgba(65, 134, 110, 0.16);
  }

  .as-card:hover::before {
    opacity: 1;
  }
}

.as-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #f5fffa;
  background: linear-gradient(135deg, #2f6f59, #41866e 56%, #5bb18c);
  box-shadow: 0 12px 22px rgba(65, 134, 110, 0.26);
}

.as-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: #0f172a;
}

.as-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.62;
}

@media(max-width:1100px) {
  .ir-container,
  .human-container {
    grid-template-columns: 1fr;
  }

  .human-container .human-image {
    order: 1;
  }

  .human-container .human-content {
    order: 2;
  }

  .ir-content,
  .human-content {
    text-align: center;
  }

  .ir-features,
  .human-features {
    max-width: 760px;
    margin: 0 auto;
  }

  .as-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:680px) {
  .ir-section {
    padding: 58px 14px;
  }

  .ir-features,
  .human-features {
    grid-template-columns: 1fr;
  }

  .as-grid {
    grid-template-columns: 1fr;
  }

  .as-card {
    padding: 20px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ir-features div,
  .human-features div,
  .ir-image img,
  .human-image img,
  .as-card,
  .as-card::before {
    transition: none !important;
  }

  .wave {
    animation: none;
  }
}

/* ================================================================================================================== */
.smart-scenarios-section {
    position: relative;
    min-height: 100vh; /* Use min-height instead of fixed height */
    background: radial-gradient(circle at 10% 10%, rgba(65, 134, 110, 0.13), transparent 38%), #050505;
    overflow: hidden;
    isolation: isolate;
}

.cards-wrapper {
    position: sticky;
    top: 0;
    min-height: 100vh; /* Keep it sticky, but adjust the height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(72px, 11vh, 120px) 18px clamp(26px, 4vh, 44px);
    z-index: 2;
}

.scenario-card {
    position: absolute;
    width: min(1080px, 100%);
    min-height: clamp(340px, 48vh, 460px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 46%);
    gap: clamp(18px, 3vw, 38px);
    align-items: stretch;
    padding: clamp(18px, 2.5vw, 30px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.10), rgba(14, 14, 14, 0.78));
    border: 1px solid rgba(160, 225, 198, 0.22);
    border-radius: clamp(18px, 2.4vw, 28px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
      0 22px 58px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: transform .9s cubic-bezier(.22, .61, .36, 1), opacity .75s ease;
    opacity: 1;
    transform: translateY(0);
    transform-origin: center top;
    overflow: hidden;
}

.scenario-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, 0.13) 50%, transparent 62%);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}

.scenario-card.active::after {
    opacity: 1;
}

.scenario-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #f2f8f5;
    min-width: 0;
}

.scenario-step {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(143, 223, 188, 0.88);
}

.scenario-text h3 {
    font-size: clamp(24px, 2.6vw, 38px);
    margin-bottom: 14px;
    line-height: 1.2;
    color: #ffffff;
}

.scenario-text p {
    font-size: 16px;
    line-height: 1.72;
    color: rgba(223, 232, 228, 0.92);
    max-width: 58ch;
    margin: 0;
}

.scenario-image {
    position: relative;
    height: 100%;
    min-height: clamp(230px, 34vw, 360px);
    border-radius: 16px;
    overflow: hidden;
    background: #0b1110;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.scenario-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.42));
    z-index: 1;
    pointer-events: none;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    transition: transform .85s ease;
    transform: scale(1.03);
}

.scenario-card.active .scenario-image img {
    transform: scale(1.08);
}

@media(max-width:1000px) {
    .smart-scenarios-section {
        min-height: auto; /* Dynamically adjust height for smaller screens */
    }

    .cards-wrapper {
        padding-top: clamp(78px, 12vh, 120px);
    }

    .scenario-card {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: min(720px, 100%);
    }

    .scenario-image {
        min-height: 240px;
    }

    .scenario-text {
        text-align: center;
        align-items: center;
    }

    .scenario-text p {
        max-width: 100%;
    }
}

@media(max-width:700px) {
    .smart-scenarios-section {
        min-height: auto; /* Dynamically adjust height for mobile screens */
    }

    .cards-wrapper {
        padding: 90px 10px 20px;
    }

    .scenario-card {
        border-radius: 16px;
        padding: 14px;
        gap: 14px;
    }

    .scenario-text h3 {
        font-size: 24px;
    }

    .scenario-text p {
        font-size: 14px;
    }

    .scenario-image {
        min-height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scenario-card,
    .scenario-card::after,
    .scenario-image img {
        transition: none !important;
    }
}
/* ==================================================================================================================== */

/* ================= SECTION ================= */

.features-section {
    padding: 100px 6%;
    background: #000000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle background glow */

.features-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 150, 0.08), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* ================= HEADER ================= */

.features-header {
    position: relative;
    z-index: 1;
}

.features-header h2 {
    color: #fff;
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.features-header p {
    color: #9aa3ad;
    max-width: 650px;
    margin: auto;
    margin-bottom: 70px;
    font-size: 16px;
    line-height: 1.7;
}

/* ================= GRID ================= */

.features-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* ================= CARD ================= */

.feature-card {
    background: rgba(90, 90, 90, 0.253);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 35px;
    text-align: left;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.6);

    transform: translateY(60px);
    opacity: 0;

    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease,
        border 0.5s ease;
}

/* hover */

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border: 1px solid rgba(0, 255, 150, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 149, 0.074);
}

/* ================= ICON ================= */

.icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;

    background: rgba(0, 255, 150, 0.08);
    border: 1px solid rgba(0, 255, 150, 0.25);

    background: linear-gradient(135deg, #DFF5EA, #71c3a2, #367861);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;

    box-shadow: 0 0 20px rgba(0, 255, 150, 0.25);

    transition: all 0.4s ease;
}


/* icon hover glow */

.feature-card:hover .icon {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(0, 255, 149, 0.141);
    background: rgb(12, 82, 53);

    background: linear-gradient(135deg, #DFF5EA, #71c3a2, #367861);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= TEXT ================= */

.feature-card h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.feature-card p {
    color: #b8c1cc;
    font-size: 15px;
    line-height: 1.7;
}

/* ================= ANIMATION SUPPORT ================= */

.feature-card.show {
    transform: translateY(0);
    opacity: 1;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px) {

    .features-header h2 {
        font-size: 34px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 28px;
    }

}

@media(max-width:500px) {

    .features-header h2 {
        font-size: 28px;
    }

    .features-header p {
        font-size: 14px;
    }

    .icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

}


* {
    scroll-behavior: smooth;
}

.showcase-item,
.product-step,
.feature-card {
    will-change: transform, opacity;
}



