/* Extracted page styles: index.html (block 1) */
    #header-container .header { margin-top: 0 !important; top: 0 !important; }
    * { box-sizing: border-box; }
     body {
      font-family: 'Vazirmatn', Tahoma, sans-serif;
      margin: 0; padding: 0;
      direction: rtl; text-align: right;
      color: #334155; background: #ffffff; /* <--- این خط مشکل‌ساز است */
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { text-decoration: none; color: inherit; }
    button { font-family: inherit; }
    .container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

    /* Hero: blue and white Lottie layout */
    :root { --hero-blue: #1769d2; --hero-blue-dark: #104c9d; --hero-ink: #173453; --hero-muted: #61758b; --hero-pale: #eef6ff; }
    .hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6rem) 1.5rem 2.4rem; color: #edf5ff; background: radial-gradient(ellipse at 12% 18%, rgba(58,119,190,.28) 0%, transparent 38%), radial-gradient(ellipse at 88% 82%, rgba(5,92,145,.25) 0%, transparent 35%), linear-gradient(135deg, #52779d 0%, #3e638a 52%, #5d82a7 100%); }
    .hero::before { content: ''; position: absolute; width: 420px; height: 420px; top: -300px; left: 8%; border-radius: 50%; background: #e4f0ff; }
    .hero__layout { position: relative; width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
    .hero__content { max-width: 540px; }
    .hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; padding: .48rem .9rem; border: 1px solid #dceafd; border-radius: 999px; color: #1769d2; background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(36,91,150,.07); font-size: .82rem; font-weight: 800; letter-spacing: -.01em; }
    .hero__eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4c9af1; box-shadow: 0 0 0 4px #d9eaff; }
    .hero__title { max-width: 100%; margin: 0 0 1.35rem; color: #f7fbff; font-size: clamp(2.45rem, 4.8vw, 3.85rem); font-weight: 950; line-height: 1.38; letter-spacing: -.035em; }
    .hero__title-accent { display: block; width: 100%; color: #fff; background: none; text-align: right; line-height: 1.08; }
    .hero__title-accent::after { content: ""; display: block; width: 100%; height: 3px; margin: .15rem 0 0 auto; border-radius: 999px; background: #8ac7ff; }
    .hero__title br { display: none; }
    .hero__title-line { display: inline-block; white-space: nowrap; font-size: clamp(1rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
    .hero__description { max-width: 500px; margin: 0 0 1.7rem; padding: 1.1rem 1.2rem; border: 1px solid rgba(213,231,250,.95); border-right: 5px solid #4b9be8; border-radius: 18px; color: #294967; background: linear-gradient(145deg, #ffffff 0%, #edf6ff 100%); box-shadow: 0 16px 36px rgba(13,43,74,.2); backdrop-filter: blur(10px); font-size: clamp(1rem, 1.22vw, 1.12rem); line-height: 2; transition: transform .2s ease, box-shadow .2s ease; }
    .hero__description:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(31,74,122,.18); }
    .hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
    .hero__button { min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .7rem 1.15rem; border-radius: 10px; font-weight: 800; transition: transform .2s, background .2s, box-shadow .2s; }
    .hero__button:hover { transform: translateY(-2px); }
    .hero__button--primary { color: #fff; background: var(--hero-blue); box-shadow: 0 9px 22px rgba(23,105,210,.18); }
    .hero__button--primary:hover { background: var(--hero-blue-dark); }
    .hero__button--secondary { color: var(--hero-blue-dark); border: 1px solid #cbdcf0; background: #fff; }
    .hero__button--secondary:hover { background: #f1f7ff; }
    .hero__button svg { width: 18px; height: 18px; }
    .hero__trust { display: flex; align-items: center; gap: .55rem; margin-top: 1.2rem; color: #71849a; font-size: .82rem; }
    .hero__trust-mark { display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: #fff; background: #3988df; font-size: .75rem; }
    .hero__visual { position: relative; top: 12px; display: grid; place-items: center; min-height: 390px; border: 1px solid #e6effa; border-radius: 26px; background: radial-gradient(circle at 50% 45%, #c8dcf2 0%, #a9c7e5 68%, #8eafd1 100%); box-shadow: 0 20px 55px rgba(36,91,150,.08); }
    .hero__visual::before, .hero__visual::after { content: ''; position: absolute; border: 1px solid rgba(54,132,218,.12); border-radius: 50%; pointer-events: none; }
    .hero__visual::before { width: 290px; height: 290px; transform: translateY(-22px); }
    .hero__visual::after { width: 350px; height: 350px; transform: translateY(-22px); }
    .hero__animation { position: relative; z-index: 1; width: min(82%, 350px); height: 350px; }
    .hero__animation dotlottie-wc { display: block; width: 100%; height: 100%; }
    .hero__animation--art { width: min(92%, 560px); height: 310px; }
    .hero__animation--art img { display: block; width: 100%; height: 100%; object-fit: contain; }
    .hero__animation-label { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border: 1px solid #e5edf7; border-radius: 12px; color: var(--hero-ink); background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(40,82,126,.09); }
    .hero__animation-label i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--hero-blue); background: #eaf3ff; font-style: normal; }
    .hero__animation-label strong { display: block; font-size: .78rem; }
    .hero__animation-label span { display: block; margin-top: .1rem; color: #7a8da2; font-size: .67rem; }
    .hero__proof { position: relative; box-sizing: border-box; width: 100vw; margin: 2.4rem calc(50% - 50vw) -2.4rem; padding: 1rem 1.25rem 2.8rem; border-top: 1px solid rgba(255,255,255,.2); overflow: hidden; background: #123f68; direction: ltr; }
    .proof-slider { display: flex; width: max-content; direction: ltr; }
    .proof-track { display: flex; flex: 0 0 auto; align-items: center; gap: .8rem; padding: 0 .4rem; direction: ltr; will-change: transform; }
    .proof-item { display: flex; flex: 0 0 auto; align-items: center; gap: .55rem; padding: .62rem .95rem; border: 1px solid #d8e7f5; border-radius: 999px; color: #174b78; background: #fff; box-shadow: 0 5px 16px rgba(36,91,150,.05); font-size: .84rem; font-weight: 700; white-space: nowrap; direction: rtl; transition: border-color .2s, color .2s, box-shadow .2s; }
    .proof-item span { color: #174b78; font-size: 1rem; }
    .proof-item:hover { border-color: #3f8bd0; color: #123f68; background: #fff; box-shadow: 0 10px 22px rgba(15,55,95,.24); }
    @media (max-width: 850px) { .hero__title { margin-inline: auto; } .hero__description { margin-inline: auto; text-align: right; } .hero__layout { grid-template-columns: 1fr; gap: 2rem; } .hero__content { max-width: 680px; margin: 0 auto; text-align: center; } .hero__actions, .hero__trust { justify-content: center; } .hero__visual { width: min(100%, 620px); min-height: 350px; margin: 0 auto; } }
    @media (max-width: 520px) { .hero::before { display: none; } .hero { padding: 1.25rem 1rem 1.5rem; } .hero__layout { gap: 1.25rem; } .hero__title { display: block; margin: 0 0 1.15rem; padding: 0; border: 0; border-radius: 0; color: #fff; background: none; box-shadow: none; text-align: right; font-size: 1rem; } .hero__title br { display: none; } .hero__title-accent { display: block; width: 100%; margin: 0 0 .5rem auto; text-align: right; padding: 0; color: #fff; background: none; font-size: clamp(1.7rem, 7.4vw, 2rem); line-height: 1.25; letter-spacing: 0; } .hero__title-accent::after { content: ""; display: block; width: 100%; height: 3px; margin: .4rem 0 0 auto; border-radius: 999px; background: #8ac7ff; } .hero__title-line { display: block; max-width: none; margin: 0 0 0 auto; font-size: clamp(.78rem, 4vw, 1.05rem); line-height: 1.65; letter-spacing: -.035em; white-space: nowrap; } .hero__visual { top: 0; width: 100%; height: 320px; min-height: 320px; overflow: hidden; border-radius: 18px; } .hero__animation--art { width: 94%; height: 300px; } .hero__visual::before { width: 220px; height: 220px; transform: translateY(-14px); } .hero__visual::after { width: 270px; height: 270px; transform: translateY(-14px); } .hero__animation { height: 300px; } .hero__animation-label { right: .55rem; bottom: .55rem; padding: .55rem .7rem; } .hero__proof { margin-top: 1.25rem; margin-bottom: -1.5rem; } .proof-item { font-size: .76rem; } }
    /* ============================================
       MAIN PAGE SECTIONS STYLES
       ============================================ */
    .boxes-section { padding: 100px 0; background: linear-gradient(180deg, #edf5ff 0%, #f8fbff 100%); color: #334155; }
    .section-title { text-align: center; margin-bottom: 60px; }
    .section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #1e3a8a; font-weight: 900; margin-bottom: 1rem; line-height: 1.3; }
    .section-title p { color: #64748b; font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; }
    
    .boxes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
    .service-box { position: relative; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(31,72,119,.10); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border: 1px solid #dce9f8; display: flex; flex-direction: column; }
    .service-box:hover, .service-box:focus-within { transform: translateY(-7px); border-color: #8bbcf0; box-shadow: 0 20px 40px rgba(30,80,140,.18); }
    .service-img { position: relative; width: 100%; height: 220px; overflow: hidden; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
    .service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,43,76,.18)); pointer-events: none; }
    .service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .service-box:hover .service-img img { transform: scale(1.08); }
    .service-content { padding: 1.65rem 1.55rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
    .service-content h3 { color: #123b70; padding: 0 0 .75rem; border: 0; border-bottom: 1px solid #e8f0fa; font-size: 1.28rem; font-weight: 800; line-height: 1.55; margin-bottom: .85rem; }
    .service-content p { color: #64748b; font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.5rem; flex: 1; }
    .service-content p strong { color: #245b91; }

    .service-more-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: auto; padding: .68rem 1.05rem; border: 1px solid #2468b4; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2874c8, #18549a); font-weight: 700; font-size: .88rem; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; width: fit-content; box-shadow: 0 5px 12px rgba(36,104,180,.18); }
    .service-more-link::after { content: none; }
    .service-more-link:hover { color: #fff; border-color: #123f78; background: linear-gradient(135deg, #1d5fa9, #123f78); box-shadow: 0 7px 16px rgba(36,104,180,.26); }
    
    .service-more-link svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
    .service-more-link:hover svg { transform: translateX(-3px); }

    .about-section { padding: 100px 0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); color: #334155; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
    .about-text h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #1e3a8a; font-weight: 900; margin-bottom: 1.5rem; line-height: 1.3; }
    .about-text h2 span { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .about-text p { color: #475569; font-size: 1.05rem; line-height: 2; margin-bottom: 1.25rem; }
    .about-text .lead { font-size: 1.15rem; color: #334155; }
    .about-text .support-note { background: rgba(59, 130, 246, 0.08); padding: 1rem 1.5rem; border-radius: 12px; border-right: 4px solid #3b82f6; margin: 1.5rem 0; }
    .about-text .cities { color: #1e3a8a; font-weight: 700; }
    .btn-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
    .btn { padding: 1rem 2rem; border-radius: 12px; font-size: 1rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.6rem; transition: all 0.3s ease; cursor: pointer; font-family: inherit; border: none; }
    .btn-primary { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3); }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4); }
    .btn-outline { background: transparent; color: #1e3a8a; border: 2px solid #3b82f6; }
    .btn-outline:hover { background: #3b82f6; color: white; transform: translateY(-3px); }

    .pi-industries-section { padding: 100px 0; background: #ffffff; position: relative; overflow: hidden; color: #334155; }
    .pi-industries-section::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%); border-radius: 50%; }
    .pi-industries-section::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%); border-radius: 50%; }
    .pi-industries-section .container { position: relative; z-index: 1; }
    .pi-industries-title { text-align: center; margin-bottom: 60px; }
    .pi-industries-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #1e3a8a; font-weight: 900; margin-bottom: 1rem; line-height: 1.3; }
    .pi-industries-title h2 span { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .pi-industries-title p { color: #64748b; font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }
    .pi-industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .pi-industry-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(31,72,119,.10); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border: 1px solid #dce9f8; position: relative; display: flex; flex-direction: column; }
    .pi-industry-card::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #18549a, #58a0ed); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; z-index: 1; }
    .pi-industry-card:hover { transform: translateY(-7px); border-color: #8bbcf0; box-shadow: 0 20px 40px rgba(30,80,140,.18); }
    .pi-industry-card:hover::before { transform: scaleX(1); }
    .pi-industry-image { width: 100%; height: 280px; overflow: hidden; position: relative; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); }
    .pi-industry-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; }
    .pi-industry-card:hover .pi-industry-image img { transform: scale(1.1); }
    .pi-industry-icon-badge { position: absolute; top: 15px; right: 15px; width: 55px; height: 55px; background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(251, 191, 36, 0.4); z-index: 2; }
    .pi-industry-icon-badge svg { width: 28px; height: 28px; color: #1e3a8a; }
    .pi-industry-content { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
    .pi-industry-content h3 { font-size: 1.35rem; color: #1e3a8a; font-weight: 800; margin-bottom: 0.75rem; }
    .pi-industry-content p { color: #64748b; font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }
    .pi-industry-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
    .pi-industry-feature-tag { background: rgba(59, 130, 246, 0.08); color: #1e3a8a; padding: 0.4rem 0.85rem; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(59, 130, 246, 0.15); }
    .pi-btn-whatsapp { width: fit-content; max-width: 100%; padding: 0.55rem 0.9rem; background: #f0fbf4; color: #168447 !important; border: 1px solid #b9e8ca; border-radius: 999px; font-size: 0.86rem; font-weight: 700; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; position: relative; margin-top: auto; box-shadow: 0 3px 10px rgba(22, 132, 71, 0.08); }
    .pi-btn-whatsapp:hover { color: #10703b !important; background: #e4f8eb; border-color: #76ce96; box-shadow: 0 6px 14px rgba(22, 132, 71, 0.14); }
    .pi-btn-whatsapp svg { width: 18px; height: 18px; flex: 0 0 18px; transition: transform .2s ease; }
    .pi-btn-whatsapp:hover svg { transform: scale(1.04); }

    .why-us-section { padding: 100px 0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); color: #334155; }
    .features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .feature-card { background: #fff; padding: 2.5rem 2rem; border-radius: 24px; text-align: center; box-shadow: 0 10px 28px rgba(31,72,119,.10); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border: 1px solid #dce9f8; }
    .feature-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(30,80,140,.18); border-color: #8bbcf0; }
    .feature-card > div:first-child { font-size: 3rem; margin-bottom: 1rem; }
    .feature-card h3 { color: #1e3a8a; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.75rem; }
    .feature-card p { color: #64748b; font-size: 0.95rem; line-height: 1.8; }

    .latest-videos-section { padding: 100px 0; background: #ffffff; color: #334155; }
    .videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .video-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(31,72,119,.10); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border: 1px solid #dce9f8; }
    .video-card:hover { transform: translateY(-7px); border-color: #8bbcf0; box-shadow: 0 20px 40px rgba(30,80,140,.18); }
    .video-thumbnail { position: relative; width: 100%; height: 240px; overflow: hidden; cursor: pointer; background: #1e3a8a; }
    .video-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .video-card:hover .video-thumbnail img { transform: scale(1.08); }
    .video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(30, 58, 138, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%); display: flex; align-items: center; justify-content: center; transition: background 0.3s ease; }
    .video-thumbnail:hover .video-overlay { background: linear-gradient(135deg, rgba(30, 58, 138, 0.5) 0%, rgba(6, 182, 212, 0.5) 100%); }
    .play-btn { width: 70px; height: 70px; background: rgba(255, 255, 255, 0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #1e3a8a; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
    .video-thumbnail:hover .play-btn { transform: scale(1.15); background: #fbbf24; color: #1e3a8a; }
    .play-btn svg { width: 32px; height: 32px; }
    .video-duration { position: absolute; bottom: 15px; left: 15px; background: rgba(0, 0, 0, 0.8); color: white; padding: 0.35rem 0.75rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600; backdrop-filter: blur(10px); }
    .video-content { padding: 1.5rem; }
    .video-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; color: #64748b; }
    .video-category { background: rgba(59, 130, 246, 0.1); color: #1e3a8a; padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: 600; }
    .video-date { display: flex; align-items: center; gap: 0.3rem; }
    .video-title { color: #1e3a8a; font-size: 1.15rem; font-weight: 800; margin-bottom: 0.75rem; line-height: 1.5; }
    .video-description { color: #64748b; font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.25rem; }
    .watch-btn { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 10px; font-family: inherit; font-weight: 700; font-size: 0.95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; }
    .watch-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3); }

    .testimonials-section { padding: 100px 0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); color: #334155; }
    .section-header { text-align: center; margin-bottom: 60px; }
    .section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: #1e3a8a; font-weight: 900; margin-bottom: 1rem; line-height: 1.3; }
    .section-header p { color: #64748b; font-size: 1.1rem; max-width: 700px; margin: 0 auto; line-height: 1.8; }
    .testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .testimonial-box { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(31,72,119,.10); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; border: 1px solid #dce9f8; }
    .testimonial-box:hover { transform: translateY(-7px); border-color: #8bbcf0; box-shadow: 0 20px 40px rgba(30,80,140,.18); }
    .video-container { position: relative; width: 100%; padding-bottom: 56.25%; background: #1e3a8a; }
    .video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
    .testimonial-content { padding: 1.5rem; }
    .testimonial-text { color: #475569; font-size: 1rem; line-height: 1.9; margin-bottom: 1.25rem; min-height: 80px; }
    .testimonial-author { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(30, 58, 138, 0.1); }
    .author-avatar { width: 50px; height: 50px; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
    .author-avatar.logo { font-size: 0.7rem; letter-spacing: 1px; }
    .author-info h4 { color: #1e3a8a; font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem 0; }
    .author-info span { display: block; color: #fbbf24; font-size: 0.9rem; }
    .author-info span[itemprop="itemReviewed"] { color: #64748b; font-size: 0.85rem; margin-top: 0.25rem; }

    .video-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9998; display: none; align-items: center; justify-content: center; padding: 1rem; }
    .video-modal.active { display: flex; }
    .video-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 14, 39, 0.85); backdrop-filter: blur(10px); }
    .video-modal-content { position: relative; background: white; border-radius: 20px; max-width: 900px; width: 100%; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); z-index: 1; }
    .video-modal-close { position: absolute; top: 1rem; left: 1rem; width: 40px; height: 40px; background: rgba(0, 0, 0, 0.6); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; z-index: 10; transition: all 0.3s ease; }
    .video-modal-close:hover { background: rgba(0, 0, 0, 0.8); transform: rotate(90deg); }
    .video-modal-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; }
    .video-modal-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
    .video-modal-title { padding: 1.25rem 1.5rem; margin: 0; color: #1e3a8a; font-size: 1.15rem; font-weight: 700; }

    .pi-order-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 1rem; }
    .pi-order-modal.active { display: flex; animation: piFadeInOrder 0.3s ease; }
    @keyframes piFadeInOrder { from { opacity: 0; } to { opacity: 1; } }
    .pi-order-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 14, 39, 0.75); backdrop-filter: blur(8px); }
    .pi-order-modal-content { position: relative; background: white; border-radius: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); animation: piSlideUpOrder 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 1; }
    @keyframes piSlideUpOrder { from { opacity: 0; transform: translateY(40px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
    .pi-order-modal-header { padding: 2rem 2rem 1.5rem; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white; position: relative; border-radius: 24px 24px 0 0; overflow: hidden; }
    .pi-order-modal-header::before { content: ''; position: absolute; top: -50%; right: -20%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); border-radius: 50%; }
    .pi-order-modal-header-content { position: relative; z-index: 1; }
    .pi-order-modal-header .pi-modal-icon { width: 60px; height: 60px; background: white; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }
    .pi-order-modal-header .pi-modal-icon svg { width: 32px; height: 32px; color: #25D366; }
    .pi-order-modal-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
    .pi-order-modal-header p { font-size: 0.95rem; opacity: 0.95; line-height: 1.6; }
    .pi-whatsapp-notice { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border-radius: 10px; font-size: 0.85rem; border: 1px solid rgba(255, 255, 255, 0.2); }
    .pi-whatsapp-notice svg { width: 18px; height: 18px; flex-shrink: 0; }
    .pi-order-modal-close { position: absolute; top: 1.25rem; left: 1.25rem; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; transition: all 0.3s ease; z-index: 2; }
    .pi-order-modal-close:hover { background: rgba(255, 255, 255, 0.25); transform: rotate(90deg); }
    .pi-order-form { padding: 2rem; }
    .pi-form-group { margin-bottom: 1.5rem; }
    .pi-form-group label { display: block; color: #1e3a8a; font-weight: 700; margin-bottom: 0.6rem; font-size: 0.95rem; }
    .pi-form-group label .pi-required { color: #dc2626; margin-right: 0.25rem; }
    .pi-form-control { width: 100%; padding: 0.9rem 1.1rem; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 1rem; font-family: inherit; background: #f8fafc; color: #1e293b; transition: all 0.3s ease; box-sizing: border-box; }
    .pi-form-control:focus { outline: none; border-color: #25D366; background: white; box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15); }
    .pi-form-control::placeholder { color: #94a3b8; }
    textarea.pi-form-control { resize: vertical; min-height: 110px; line-height: 1.7; }
    .pi-form-hint { font-size: 0.85rem; color: #64748b; margin-top: 0.4rem; }
    .pi-form-submit-btn { width: 100%; padding: 1.1rem; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); color: white !important; border: none; border-radius: 12px; font-size: 1.1rem; font-weight: 800; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); margin-top: 0.5rem; }
    .pi-form-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5); }
    .pi-form-submit-btn svg { width: 22px; height: 22px; }
    .pi-form-success { display: none; text-align: center; padding: 3rem 2rem; }
    .pi-form-success.show { display: block; animation: piFadeInOrder 0.5s ease; }
    .pi-form-success .pi-success-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3); animation: piSuccessPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
    @keyframes piSuccessPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
    .pi-form-success .pi-success-icon svg { width: 40px; height: 40px; color: white; }
    .pi-form-success h3 { color: #1e3a8a; font-size: 1.5rem; margin-bottom: 0.75rem; font-weight: 800; }
    .pi-form-success p { color: #64748b; line-height: 1.8; margin-bottom: 1.5rem; }
    .pi-close-success-btn { padding: 0.75rem 2rem; background: #25D366; color: white; border: none; border-radius: 10px; font-family: inherit; font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
    .pi-close-success-btn:hover { background: #128C7E; }

    .fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
    .fade-up.show { opacity: 1; transform: translateY(0); }

    @media (max-width: 1024px) {
      .boxes-grid, .pi-industries-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
      .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    }
    @media (max-width: 768px) {
      .boxes-section, .about-section, .pi-industries-section, .why-us-section, .latest-videos-section, .testimonials-section { padding: 60px 0; }
      .boxes-grid, .pi-industries-grid, .features-grid, .videos-grid, .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
      .pi-industry-image { height: 240px; }
      .pi-order-modal-content { max-height: 95vh; border-radius: 20px; }
      .pi-order-modal-header { padding: 1.5rem; }
      .pi-order-form { padding: 1.5rem; }
    }
    @media (max-width: 480px) {
      .pi-industries-title h2, .section-title h2, .section-header h2 { font-size: 1.5rem; }
      .pi-order-modal-header h3 { font-size: 1.25rem; }
    }
  


/* Extracted inline style from index.html */
#codex-extracted-style-f6013a00-001 { width:100%;height:auto;border-radius:20px;box-shadow:0 10px 30px rgba(30,58,138,0.12);transition:transform 0.3s ease;display:block; }


/* Extracted inline style from index.html */
#codex-extracted-style-f6013a00-002 { text-align:center;margin-bottom:50px; }


/* Extracted inline style from index.html */
#codex-extracted-style-f6013a00-003 { color:#64748b;margin-top:15px; }

/* Home service boxes: four columns on laptop, two on mobile */
@media (min-width: 769px) {
  .boxes-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .boxes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

@media (max-width: 768px) { .boxes-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }


/* Unboxed home service items: preserve content, remove card framing. */
.service-box,
.service-box:hover,
.service-box:focus-within {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  overflow: visible;
}
.service-img { border-radius: 0; }
.service-content { padding-inline: 0; }

/* Dark-blue outline for the unboxed home service items */
.service-box,
.service-box:hover,
.service-box:focus-within {
  border: 1px solid #123b70;
  background: transparent;
  box-shadow: none;
}

.service-box { border-radius: 8px; }
.service-img { border-radius: 8px 8px 0 0; overflow: hidden; }


.service-content { padding: 1.1rem 1rem 1.3rem; }


/* Match the remaining home-page cards to the service-box treatment. */
.pi-industry-card,
.pi-industry-card:hover,
.feature-card,
.feature-card:hover,
.video-card,
.video-card:hover,
.testimonial-box,
.testimonial-box:hover {
  border: 1px solid #123b70;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.pi-industry-card::before { display: none; }
.pi-industry-content,
.feature-card,
.video-content,
.testimonial-content { padding: 1.1rem 1rem 1.3rem; }

/* Latest Pi Plus items: four cards across on desktop, readable single column on mobile. */
@media (min-width: 769px) {
  .videos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
@media (max-width: 768px) {
  .videos-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* Align video action buttons along the bottom of each card row. */
.latest-videos-section .video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.latest-videos-section .video-content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.latest-videos-section .watch-btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Justify the two introductory paragraphs in the homepage About section. */
.about-text > p:not(.support-note) { text-align: justify; }
