/* home.css — home page sections (gpi-style light/airy) */

/* Hero slider — light gradient overlay, navy text */
.hero { position: relative; min-height: 720px; display: flex; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.15) 100%);
}
.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 767px) {
    .hero-video { display: none; }
}
.hero-overlay-gradient {
    background:
        radial-gradient(900px 420px at 78% 18%, rgba(52,112,122,.10), transparent 60%),
        linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,.95) 55%, rgba(245,247,249,.85) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 1180px; }
.hero-title {
    color: var(--navy);
    font-size: clamp(30px, 4.6vw, 54px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    max-width: 640px;
}
.hero-text {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--text);
    margin: 18px 0 30px;
    max-width: 560px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid var(--red);
    background: #fff;
    color: var(--red);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.hero-arrow:hover { background: var(--red); color: #fff; }
.hero-prev { left: 26px; }
.hero-next { right: 26px; }

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    z-index: 4;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid var(--red);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.hero-dot.is-active { background: var(--red); transform: scale(1.15); }

/* Capability band — light gray, navy text, teal accents */
.capability-band { background: var(--bg-gray); padding: 46px 0; }
.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.capability-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 16px;
    border-left: 3px solid var(--red);
}
.capability-value { font-size: 26px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.capability-label { font-size: 13.5px; color: var(--muted); }

.home-about-title { text-align: center; margin-bottom: 42px; padding-bottom: 0; }
.home-about-title::after { display: none; }
.home-about-media img { border: 3px solid var(--navy); border-radius: 0; }
.home-about-text p { color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.home-about-text .btn { margin-top: 8px; }

@media (max-width: 991px) {
    .hero { min-height: 580px; }
    .hero-arrow { display: none; }
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero { min-height: 500px; }
    .capability-grid { grid-template-columns: 1fr; }
    .capability-value { font-size: 22px; }
}

/* Sector tabs */
.sector-tabs { background: #f4f6f8; }
.sector-panels { position: relative; }
.sector-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 20px 0 64px;
}
.sector-panel.is-active { display: grid; animation: sectorFade .4s ease; }
@keyframes sectorFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sector-icon { display: inline-flex; width: 44px; height: 44px; margin-bottom: 14px; }
.sector-icon svg { width: 100%; height: 100%; }
.sector-title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 300;
    color: var(--navy);
    letter-spacing: -.01em;
}
.sector-title span { font-weight: 700; }
.sector-title-line { display: block; width: 64px; height: 3px; border-radius: 2px; margin: 16px 0 18px; }
.sector-desc { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 480px; }
.sector-media img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: var(--radius);
}

.sector-nav {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--line);
}
.sector-nav-item {
    background: transparent;
    border: 0;
    border-top: 3px solid transparent;
    margin-top: -1px;
    padding: 18px 8px 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    color: var(--muted);
    transition: color .2s, border-color .2s;
}
.sector-nav-icon { display: inline-flex; width: 30px; height: 30px; }
.sector-nav-icon svg { width: 100%; height: 100%; }
.sector-nav-label { font-size: 18px; font-weight: 400; }
.sector-nav-label strong { display: block; font-weight: 700; color: var(--sector-color); }
.sector-nav-item:hover { color: var(--navy); }
.sector-nav-item.is-active { border-top-color: var(--sector-color); color: var(--navy); }
.sector-nav-item.is-active .sector-nav-icon { color: var(--sector-color); }

@media (max-width: 991px) {
    .sector-panel { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
    .sector-nav { display: flex; overflow-x: auto; scrollbar-width: none; }
    .sector-nav::-webkit-scrollbar { display: none; }
    .sector-nav-item { flex: 0 0 auto; padding: 14px 16px 12px; }
}

/* References marquee */
.home-references { padding-bottom: 64px; }
.ref-marquee {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ref-marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    padding: 6px 28px;
    animation: refMarquee 45s linear infinite;
}
.ref-marquee:hover .ref-marquee-track { animation-play-state: paused; }
@keyframes refMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ref-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ref-logo img {
    height: 46px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .25s, opacity .25s;
}
.ref-logo img:hover { filter: none; opacity: 1; }

@media (max-width: 600px) {
    .ref-logo img { height: 36px; max-width: 100px; }
    .ref-marquee-track { gap: 36px; }
}

.home-category-group { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.home-category-group .cat-card { border: 0; border-radius: 0; box-shadow: none; }
.home-category-group .cat-card:hover { transform: none; }
.home-category-links { list-style: none; padding: 0; margin: 0; }
.home-category-links li { border-top: 1px solid var(--line); }
.home-category-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 22px; min-height: 48px; color: var(--navy); font-size: 15px; line-height: 1.4; }
.home-category-links a:hover, .home-category-links a:focus-visible { background: var(--bg-gray); color: var(--red); }
.home-category-links span { color: var(--red); }

/* Video hero text and translucent backdrop */
.hero-video-overlay { background: linear-gradient(90deg, rgba(16,35,52,.55), rgba(16,35,52,.30)); }
.hero-video-content { padding-top: 48px; padding-bottom: 48px; }
.hero-video-content .hero-title { color: #fff; max-width: 850px; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; letter-spacing: 0; }
.hero-video-content .hero-text { color: #fff; max-width: 760px; line-height: 1.6; margin: 18px 0 26px; }
.hero-discover { display: inline-flex; align-items: center; gap: 22px; color: #fff; font-size: 17px; font-weight: 600; min-height: 48px; text-decoration: none; }
.hero-discover-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 24px; transition: background .2s; }
.hero-discover:hover, .hero-discover:focus-visible { color: #fff; text-decoration: none; }
.hero-discover:hover .hero-discover-arrow { background: rgba(255,255,255,.16); }
[dir="rtl"] .hero-discover-arrow { transform: rotate(180deg); }
@media (max-width: 767px) { .hero-video-overlay { background: rgba(16,35,52,.48); } .hero-video-content .hero-title { font-size: 28px; } .hero-discover { font-size: 16px; gap: 14px; } }

/* Integrated company introduction */
.home-about { background: #fff; }
.home-about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.home-about-media { align-self: center; overflow: hidden; border-radius: 20px; }
.home-about-media img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.home-about-eyebrow { display: block; color: var(--red); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.home-about-title { text-align: start; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; color: var(--navy); margin: 0 0 24px; padding: 0; }
.home-about-text .home-about-lead { font-size: 17px; color: var(--navy); }
.home-about-text p { font-size: 15px; line-height: 1.75; }
.home-about-text .btn { display: inline-flex; align-items: center; gap: 18px; }
.home-about-facts { margin-top: 32px; padding: 28px 18px; border-radius: 14px; background: var(--bg-gray); gap: 0; }
.home-about-facts .capability-item { border-inline-start: 0; border-inline-end: 1px solid var(--line); padding: 4px 22px; gap: 7px; }
.home-about-facts .capability-item:last-child { border-inline-end: 0; }
.home-about-facts .capability-value { font-size: 23px; }
@media (max-width: 991px) { .home-about-layout { grid-template-columns: 1fr; gap: 30px; }  .home-about-facts { grid-template-columns: repeat(2,1fr); row-gap: 24px; } .home-about-facts .capability-item:nth-child(2) { border-inline-end: 0; } }
@media (max-width: 575px) { .home-about-layout { gap: 24px; } .home-about-media { border-radius: 12px; }  .home-about-facts { padding: 22px 10px; } .home-about-facts .capability-item { padding: 0 12px; } .home-about-facts .capability-value { font-size: 18px; } .home-about-facts .capability-label { font-size: 12px; } }

.home-certificates { margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--line); }
.home-certificates > h2 { color: var(--navy); font-size: 22px; font-weight: 700; margin-bottom: 30px; }
.home-certificate-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 28px; }
.home-certificate { text-align: center; color: var(--navy); padding: 8px; border-radius: 8px; }
.home-certificate img { display: block; height: 160px; width: 100%; object-fit: contain; margin-bottom: 20px; transition: transform .2s; }
.home-certificate h3 { font-size: 17px; line-height: 1.4; font-weight: 600; }
.home-certificate-more { text-align: center; margin-top: 32px; }
.home-certificate-more a { display: inline-flex; align-items: center; gap: 20px; color: var(--navy); font-weight: 600; min-height: 48px; }
.home-certificate-more span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--red); font-size: 23px; }
@media (max-width: 991px) { .home-certificate-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 575px) { .home-certificate-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; } .home-certificate img { height: 140px; } .home-certificate h3 { font-size: 15px; } .home-certificate:nth-child(n+5) { display: none; } }
