/* ============================================================
   ARYSAT TECH â€” Complete Stylesheet v3
   Theme: Navy #0d1b2a | Blue #0076b6 | White #ffffff
   ============================================================ */

/* â”€â”€ Variables â”€â”€ */
:root {
    --navy:       #0d1b2a;
    --navy-mid:   #122033;
    --blue:       #0076b6;
    --blue-light: #0096e0;
    --blue-pale:  #e8f4fd;
    --accent:     #4dd0e1;
    --white:      #ffffff;
    --offwhite:   #f7fafc;
    --gray:       #64748b;
    --gray-light: #e2e8f0;
    --green-wa:   #25D366;
    --font-head:  'Josefin Sans', sans-serif;
    --font-body:  'Inter', sans-serif;
    --radius:     16px;
    --shadow:     0 10px 40px rgba(13,27,42,0.10);
    --shadow-md:  0 20px 50px rgba(13,27,42,0.15);
    --shadow-blue:0 8px 30px rgba(0,118,182,0.25);
    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.35s var(--ease);
    --hdr-h:      76px;
}

/* â”€â”€ Reset â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* â”€â”€ Container â”€â”€ */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}
.section-pad   { padding: 60px 0; }
.bg-offwhite   { background: var(--offwhite); }
.bg-navy       { background: var(--navy); }

/* â”€â”€ Typography helpers â”€â”€ */
.section-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-tag.light { color: rgba(255,255,255,0.65); }
.section-heading {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 18px;
}
.section-heading.white { color: var(--white); }
.text-blue   { color: var(--blue); }
.text-accent { color: var(--accent); }
.section-title-block         { margin-bottom: 60px; }
.section-title-block.center  { text-align: center; }
.section-desc {
    color: var(--gray);
    font-size: 16px;
    max-width: 680px;
    line-height: 1.8;
    margin-top: 6px;
}
.section-title-block.center .section-desc { margin: 6px auto 0; }

/* â”€â”€ Buttons â”€â”€ */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px;
    background: var(--navy); color: var(--white);
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    letter-spacing: 1px; border-radius: 50px; border: 2px solid var(--navy);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13,27,42,0.2);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 34px;
    border: 2px solid var(--navy); color: var(--navy);
    font-family: var(--font-head); font-weight: 600; font-size: 14px;
    border-radius: 50px; transition: var(--transition);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

.btn-accent {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 36px;
    background: var(--accent); color: var(--navy);
    font-family: var(--font-head); font-weight: 700; font-size: 14px;
    border-radius: 50px; border: 2px solid var(--accent);
    transition: var(--transition);
}
.btn-accent:hover { background: white; border-color: white; transform: translateY(-3px); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal="up"]    { transform: translateY(60px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.85); }
[data-reveal].revealed { opacity: 1 !important; transform: none !important; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    height: var(--hdr-h);
}
.site-header.scrolled {
    border-bottom-color: var(--gray-light);
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.site-header.hide { transform: translateY(-100%); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; padding: 0 36px; gap: 20px;
    max-width: 1400px; margin: 0 auto;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
    width: 40px; height: 40px;
    background: var(--navy); color: white;
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
    font-size: 16px; flex-shrink: 0;
    transition: background 0.3s;
}
.logo:hover .logo-icon { background: var(--blue); }
.logo-text {
    font-family: var(--font-head);
    font-size: 17px; font-weight: 700;
    color: var(--navy); letter-spacing: 1px; white-space: nowrap;
}

/* Nav */
.main-nav ul { display: flex; gap: 4px; }
.nav-link {
    font-family: var(--font-head);
    font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px;
    color: var(--navy); padding: 8px 14px; border-radius: 50px;
    transition: color 0.25s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute;
    bottom: 4px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--blue);
    transition: width 0.3s var(--ease); border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width: 55%; }

/* Header right */
.header-right { display: flex; align-items: center; gap: 16px; }
.social-icons { display: flex; gap: 8px; }
.social-icons a {
    width: 33px; height: 33px;
    background: var(--navy); color: white; font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
    transition: background 0.3s;
}
.social-icons a:hover { background: var(--blue); }
.desktop-only { display: flex; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 5px; width: 44px; height: 44px;
    cursor: pointer; z-index: 1100;
    position: relative;
    background: var(--navy);
    border-radius: 10px;
    transition: background 0.3s;
    flex-shrink: 0;
}
.hamburger:hover { background: var(--blue); }
.hamburger span {
    display: block; width: 20px; height: 2px;
    background: white; border-radius: 2px;
    transition: all 0.35s var(--ease); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO SECTION â€” Exact EPS layout
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #fff;
    padding-top: var(--hdr-h);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - var(--hdr-h));
}

.hero-content {
    width: 50%;
    padding-right: 40px;
}

.hero-sub {
    font-family: var(--font-head);
    font-size: 14px; font-weight: 300;
    letter-spacing: 3px; color: #666;
    margin-bottom: 10px; text-transform: uppercase;
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 700; color: var(--navy);
    line-height: 1.0; margin-bottom: 22px;
    text-transform: uppercase; letter-spacing: -1px;
}
.hero-desc {
    font-size: 15px; color: #555;
    max-width: 420px; margin-bottom: 36px; line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-btn {
    display: inline-flex; align-items: center;
    padding: 13px 36px;
    background: var(--navy); color: #fff;
    font-family: var(--font-head); font-weight: 400;
    font-size: 15px; letter-spacing: 0.5px;
    border-radius: 30px; border: 2px solid var(--navy);
    transition: all 0.3s var(--ease);
}
.hero-btn:hover { background: transparent; color: var(--navy); }

.hero-images {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-monitor-wrap {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    width: 580px;
    height: 670px;
    pointer-events: auto;
}
.hero-monitor-img {
    width: 100%; height: 100%;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 0.6s var(--ease);
}
.hero-monitor-wrap:hover .hero-monitor-img { transform: scale(1.02); }
.hero-monitor-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-vr-wrap {
    position: absolute;
    bottom: 10%;
    left: 20px;
    width: 320px;
    height: 370px;
    pointer-events: auto;
}
.hero-vr-bg {
    position: absolute; inset: 0;
    background: var(--blue);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transform: translate(-15px, 15px);
}
.hero-vr-img {
    position: absolute; inset: 0;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    transition: transform 0.6s var(--ease);
}
.hero-vr-wrap:hover .hero-vr-img { transform: scale(1.03); }
.hero-vr-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center; margin-bottom: 80px;
}
.about-row.reverse { direction: rtl; }
.about-row.reverse > * { direction: ltr; }

.about-h3 {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 700; color: var(--navy);
    line-height: 1.25; margin-bottom: 18px;
}
.about-col-text p { color: var(--gray); margin-bottom: 14px; font-size: 15px; }

.about-list { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.about-list li {
    display: flex; align-items: center; gap: 12px;
    font-weight: 500; color: var(--navy); font-size: 14.5px;
}
.about-list i { color: var(--blue); font-size: 17px; flex-shrink: 0; }
.about-col-text .btn-outline { margin-top: 28px; }

.about-img-frame {
    position: relative; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
}
.about-img-frame img { width:100%; height:400px; object-fit:cover; transition: transform 0.6s var(--ease); }
.about-img-frame:hover img { transform: scale(1.04); }

.about-img-badge {
    position: absolute; bottom: 20px; left: 20px;
    background: var(--white); border-radius: 12px;
    padding: 12px 18px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; align-items: center;
}
.badge-num { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--blue); line-height: 1; }
.badge-label { font-size: 11px; color: var(--gray); font-weight: 500; white-space: nowrap; }

.about-img-frame.simple::after {
    content: ''; position: absolute; inset: 0;
    border: 3px solid var(--blue); border-radius: var(--radius);
    transform: translate(10px, 10px); z-index: -1;
}

/* Stats bar */
.stats-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--navy); border-radius: var(--radius);
    padding: 36px 48px; margin-bottom: 80px;
    gap: 20px; box-shadow: 0 20px 50px rgba(13,27,42,0.2);
}
.stat-item { text-align: center; flex: 1; }
.stat-num { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: var(--white); line-height: 1; }
.stat-unit { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--blue); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.stat-divider { width: 1px; height: 55px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-section { position: relative; overflow: hidden; }
.tech-section::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(0,118,182,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 30%, rgba(0,118,182,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.tech-cat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: all 0.4s var(--ease);
    opacity: 0; transform: translateY(30px);
}
.tech-cat.tech-cat--in { opacity: 1; transform: none; }
.tech-cat:hover { background: rgba(255,255,255,0.1); border-color: rgba(0,118,182,0.4); transform: translateY(-4px); }

.tech-cat-title {
    font-family: var(--font-head);
    font-size: 14px; font-weight: 700;
    color: white; margin-bottom: 16px;
    letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px;
}
.tech-cat-title i { color: var(--accent); }

.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    color: rgba(255,255,255,0.85);
    font-size: 12.5px; font-weight: 500;
    transition: all 0.25s;
}
.tech-pill:hover { background: var(--blue); border-color: var(--blue); color: white; transform: scale(1.05); }
.tech-pill i { font-size: 13px; }

/* Marquee */
.tech-marquee-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    margin-top: 10px;
}
.tech-marquee { overflow: hidden; }
.tech-marquee-inner {
    display: flex; gap: 48px; align-items: center;
    width: max-content;
    animation: marquee 22s linear infinite;
}
.tech-marquee-inner:hover { animation-play-state: paused; }
.tech-marquee-inner span {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-head); font-size: 14px; font-weight: 600;
    letter-spacing: 1px; color: rgba(255,255,255,0.55);
    white-space: nowrap; text-transform: uppercase;
    transition: color 0.3s;
}
.tech-marquee-inner span:hover { color: var(--accent); }
.tech-marquee-inner i { font-size: 18px; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES â€” 6 cards, 3Ã—2 grid
   ============================================================ */
.service-section { padding-top: 100px; padding-bottom: 100px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.svc-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px 32px;
    border: 1.5px solid var(--gray-light);
    position: relative; overflow: hidden;
    transition: all 0.4s var(--ease);
    cursor: pointer;
    /* removed opacity 0 */
}

.svc-card::before {
    content: ''; position: absolute;
    bottom: 0; right: 0;
    width: 80px; height: 80px;
    background: var(--blue-pale);
    border-radius: 80px 0 20px 0;
    transition: all 0.4s var(--ease);
}
.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--blue);
}
.svc-card:hover::before {
    width: 100%; height: 100%;
    border-radius: 20px;
    background: var(--navy);
}
.svc-card:hover .svc-card-icon { background: rgba(255,255,255,0.15); color: var(--accent); }
.svc-card:hover h3 { color: white; }
.svc-card:hover p  { color: rgba(255,255,255,0.75); }
.svc-card:hover .svc-link { color: var(--accent); }

.svc-card-icon {
    width: 60px; height: 60px;
    background: var(--navy); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    clip-path: polygon(25% 0%,75% 0%,100% 50%,75% 100%,25% 100%,0% 50%);
    margin-bottom: 20px;
    transition: all 0.4s var(--ease);
    position: relative; z-index: 1;
}
.svc-card h3 {
    font-family: var(--font-head);
    font-size: 20px; font-weight: 700;
    color: var(--navy); margin-bottom: 12px;
    line-height: 1.2;
    position: relative; z-index: 1;
    transition: color 0.4s;
}
.svc-card p {
    font-size: 14px; color: var(--gray);
    line-height: 1.75; margin-bottom: 20px;
    position: relative; z-index: 1;
    transition: color 0.4s;
}
.svc-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-head); font-size: 13px; font-weight: 700;
    color: var(--blue); letter-spacing: 0.5px;
    transition: gap 0.3s, color 0.3s;
    position: relative; z-index: 1;
}
.svc-link:hover { gap: 12px; }

/* ============================================================
   PORTFOLIO â€” Monitor mockup
   ============================================================ */
.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.portfolio-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.portfolio-card.reverse { direction: rtl; }
.portfolio-card.reverse > * { direction: ltr; }
.portfolio-card.port-in { opacity: 1; transform: none; }

/* Monitor mockup CSS */
.monitor-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 20px 40px rgba(13,27,42,0.2));
}
.monitor-frame {
    width: 100%;
    background: #1a2535;
    border-radius: 12px 12px 6px 6px;
    padding: 10px 10px 0;
    border: 3px solid #283447;
    position: relative;
}
.monitor-frame::before {
    content: '';
    position: absolute;
    top: -2px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 4px;
    background: #283447; border-radius: 0 0 4px 4px;
}

/* Title bar with dots */
.monitor-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #243044;
    border-radius: 6px 6px 0 0;
    padding: 8px 12px;
    margin-bottom: 0;
}
.m-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
    transition: opacity 0.2s;
}
.m-dot:hover { opacity: 0.7; }
.m-red    { background: #ff5f57; }
.m-yellow { background: #febc2e; }
.m-green  { background: #28c840; }

.m-url-bar {
    flex: 1; margin: 0 10px;
    background: rgba(255,255,255,0.08);
    border-radius: 20px; padding: 4px 12px;
    font-size: 11px; color: rgba(255,255,255,0.5);
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-body);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Screen */
.monitor-screen {
    border-radius: 0 0 2px 2px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    position: relative;
    background: #0d1b2a;
}
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.portfolio-card:hover .monitor-screen:not(.scroll-preview) img { transform: scale(1.04); }

/* Scroll preview for long webpage screenshots */
.monitor-screen.scroll-preview {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0d1b2a;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.monitor-screen.scroll-preview .scroll-preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    transform: translateY(0);
    transition: top 3s ease-in-out, transform 3s ease-in-out;
    will-change: top, transform;
}

/* Slower, smoother scroll speed (11s) on hover, tap, focus, active, touch-active */
.monitor-mockup:hover .monitor-screen.scroll-preview .scroll-preview-img,
.portfolio-card:hover .monitor-screen.scroll-preview .scroll-preview-img,
.monitor-screen.scroll-preview:hover .scroll-preview-img,
.monitor-screen.scroll-preview:focus .scroll-preview-img,
.monitor-screen.scroll-preview:active .scroll-preview-img,
.monitor-screen.scroll-preview.touch-active .scroll-preview-img,
.portfolio-card:active .monitor-screen.scroll-preview .scroll-preview-img {
    top: 100%;
    transform: translateY(-100%);
    transition: top 11s ease-in-out, transform 11s ease-in-out;
}

.scroll-hint-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(13, 27, 42, 0.85);
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(77, 208, 225, 0.3);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.monitor-mockup:hover .scroll-hint-badge,
.portfolio-card:hover .scroll-hint-badge,
.monitor-screen.scroll-preview.touch-active .scroll-hint-badge {
    opacity: 0;
}

.screen-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(13,27,42,0.7) 0%, transparent 50%);
    display: flex; align-items: flex-end; padding: 14px;
}
.screen-overlay span {
    color: white; font-family: var(--font-head);
    font-size: 14px; font-weight: 600; letter-spacing: 1px;
}

/* Stand */
.monitor-stand-neck {
    width: 22px; height: 30px;
    background: #1e2e42;
    margin: 0 auto;
}
.monitor-stand-base {
    width: 120px; height: 10px;
    background: #1e2e42;
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
}

/* Portfolio info */
.portfolio-info { padding: 10px 0; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.p-tag {
    padding: 4px 12px;
    background: var(--blue-pale); color: var(--blue);
    font-size: 12px; font-weight: 600;
    border-radius: 20px; font-family: var(--font-head);
    letter-spacing: 0.5px;
}
.portfolio-info h3 {
    font-family: var(--font-head); font-size: 24px; font-weight: 700;
    color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.portfolio-info p { color: var(--gray); font-size: 15px; line-height: 1.75; margin-bottom: 20px; }

/* ERP mock screen */
.monitor-screen-erp { aspect-ratio: 16/9; background: #f0f4f8; }
.mock-erp { display: flex; height: 100%; }
.mock-erp-sidebar {
    width: 48px; background: var(--navy);
    display: flex; flex-direction: column;
    align-items: center; padding: 10px 6px; gap: 8px; flex-shrink: 0;
}
.mock-erp-logo { width: 28px; height: 28px; background: var(--blue); border-radius: 4px; margin-bottom: 6px; }
.mock-nav-item { width: 28px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; }
.mock-nav-item.active { background: var(--blue); }
.mock-erp-main { flex: 1; display: flex; flex-direction: column; padding: 8px; gap: 6px; overflow: hidden; }
.mock-erp-header { height: 18px; background: white; border-radius: 4px; }
.mock-erp-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
.mock-stat { height: 28px; border-radius: 4px; }
.s1 { background: #3b82f6; }
.s2 { background: #10b981; }
.s3 { background: #f59e0b; }
.s4 { background: #ef4444; }
.mock-erp-chart { flex: 1; background: white; border-radius: 4px; min-height: 30px;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%); }
.mock-erp-table { display: flex; flex-direction: column; gap: 3px; }
.mock-row { height: 8px; background: white; border-radius: 2px; }
.mock-row:nth-child(2) { width: 80%; }
.mock-row:nth-child(3) { width: 60%; }

/* ============================================================
   PROCESS (TIMELINE) SECTION
   ============================================================ */
.process-section {
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
}
.timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 50px; /* space for the track */
}

.timeline-progress-track {
    position: absolute;
    left: 15px; top: 0; bottom: 0;
    width: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}
.timeline-progress-fill {
    position: absolute;
    top: 0; left: 0; width: 100%;
    height: 0%; /* updated by JS */
    background: var(--accent);
    border-radius: 4px;
    box-shadow: 0 0 15px var(--accent);
}
.timeline-pct-bubble {
    position: absolute;
    bottom: -15px; left: -25px;
    width: 54px; height: 30px;
    background: var(--accent);
    color: var(--navy);
    font-family: var(--font-head);
    font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(77,208,225,0.4);
    transition: none; /* smooth following */
}

.timeline-steps {
    display: flex; flex-direction: column; gap: 50px;
}
.t-step {
    position: relative;
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s var(--ease);
    opacity: 0.4;
    transform: translateX(20px);
}
.t-step::before {
    content: ''; position: absolute;
    top: 45px; left: -42px; /* points to the track */
    width: 14px; height: 14px;
    background: var(--navy-mid);
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: all 0.4s var(--ease);
    z-index: 2;
}

/* Active State */
.t-step.active {
    opacity: 1;
    transform: translateX(0);
    background: rgba(255,255,255,0.06);
    border-color: rgba(77,208,225,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.t-step.active::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
}

.t-step-content {
    display: flex; align-items: flex-start; gap: 24px;
}
.t-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--accent); flex-shrink: 0;
    transition: all 0.4s;
}
.t-step.active .t-icon { background: var(--accent); color: var(--navy); }
.t-step h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px; }
.t-step p { color: rgba(255,255,255,0.6); line-height: 1.7; font-size: 14.5px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1.5fr;
    border-radius: 24px; box-shadow: var(--shadow-md); overflow: hidden;
}
.contact-info-panel {
    background: var(--navy); color: white; padding: 50px 38px;
}
.contact-info-panel h3 {
    font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 10px;
}
.contact-info-panel > p { color: rgba(255,255,255,0.65); margin-bottom: 36px; font-size: 14px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.contact-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--accent); flex-shrink: 0;
}
.contact-item strong { display:block; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:3px; }
.contact-item p { color: rgba(255,255,255,0.82); font-size: 14px; }
.contact-socials { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.contact-socials a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 14px; transition: all 0.3s;
}
.contact-socials a:hover { background: var(--blue); border-color: var(--blue); }
.contact-socials a[id="wa-contact"]:hover { background: var(--green-wa); border-color: var(--green-wa); }

.contact-form-panel { padding: 50px 38px; background: white; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--navy); letter-spacing: 0.5px; text-transform: uppercase; }
.form-group input, .form-group textarea {
    padding: 13px 16px; border: 1.5px solid var(--gray-light);
    border-radius: 10px; font-size: 14px; font-family: inherit;
    color: var(--navy); background: var(--offwhite);
    transition: all 0.25s; outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--blue); background: white;
    box-shadow: 0 0 0 4px rgba(0,118,182,0.08);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aab; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: white; }
.footer-top { padding: 76px 0 36px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
    gap: 44px;
}
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo .logo-icon { background: var(--blue); }
.footer-logo span { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: white; letter-spacing: 1px; }
.footer-brand > p { color: rgba(255,255,255,0.55); font-size: 13.5px; line-height: 1.8; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-socials a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.75); font-size: 13px; transition: all 0.3s;
}
.footer-socials a:hover { background: var(--blue); border-color: var(--blue); color: white; }
.footer-socials .wa-green:hover { background: var(--green-wa); border-color: var(--green-wa); }

.footer-links-col h4, .footer-contact-col h4 {
    font-family: var(--font-head); font-size: 15px; font-weight: 700;
    color: white; margin-bottom: 18px; letter-spacing: 0.5px;
}
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col li a {
    color: rgba(255,255,255,0.55); font-size: 13.5px;
    display: flex; align-items: center; gap: 8px; transition: all 0.25s;
}
.footer-links-col li a i { font-size: 10px; color: var(--blue); }
.footer-links-col li a:hover { color: white; padding-left: 4px; }

.footer-contact-col p {
    color: rgba(255,255,255,0.55); font-size: 13.5px; margin-bottom: 12px;
    display: flex; align-items: flex-start; gap: 9px; line-height: 1.55;
}
.footer-contact-col p i { color: var(--blue); margin-top: 2px; flex-shrink: 0; }
.wa-link { color: var(--green-wa); font-weight: 500; transition: opacity 0.2s; }
.wa-link:hover { opacity: 0.8; }
.wa-contact-p i { color: var(--green-wa) !important; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.09); padding: 18px 0;
}
.footer-bottom .container {
    display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 13px; }

/* ============================================================
   WHATSAPP FAB
   ============================================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 30px; right: 28px; z-index: 900;
    width: 58px; height: 58px;
    background: var(--green-wa);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: white;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
    animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(37,211,102,0.55);
    animation: none;
}
.wa-fab-tooltip {
    position: absolute;
    right: 70px; top: 50%; transform: translateY(-50%);
    background: var(--navy); color: white;
    font-family: var(--font-head); font-size: 12px; font-weight: 600;
    padding: 7px 14px; border-radius: 30px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity 0.25s, right 0.25s;
    letter-spacing: 0.5px;
}
.wa-fab-tooltip::after {
    content: ''; position: absolute;
    left: 100%; top: 50%; transform: translateY(-50%);
    border: 6px solid transparent; border-left-color: var(--navy);
}
.whatsapp-fab:hover .wa-fab-tooltip { opacity: 1; right: 76px; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
    50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.70), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION â€” Home centered
   ============================================================ */
.mobile-bottom-nav {
    display: none; /* shown only on mobile via media query */
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 990;
    background: white;
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.09);
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}
.mbn-item {
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-end;
    gap: 3px; padding: 10px 6px 8px;
    color: #94a3b8;
    font-size: 9.5px; font-family: var(--font-head);
    font-weight: 600; letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.25s; position: relative;
}
.mbn-item i { font-size: 19px; transition: transform 0.25s var(--ease-spring); }
.mbn-item.active { color: var(--blue); }
.mbn-item.active i { transform: scale(1.15); }
.mbn-item.active::before {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 28px; height: 3px;
    background: var(--blue); border-radius: 0 0 3px 3px;
}

/* Center Home bubble */
.mbn-center {
    padding-bottom: 6px;
    justify-content: flex-end;
    margin-top: -22px;
}
.mbn-center-bubble {
    width: 54px; height: 54px;
    background: var(--navy);
    border-radius: 50%; border: 4px solid white;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: white;
    box-shadow: 0 4px 16px rgba(13,27,42,0.25);
    transition: all 0.3s var(--ease-spring);
    margin-bottom: 2px;
}
.mbn-center.active .mbn-center-bubble { background: var(--blue); transform: scale(1.08); }
.mbn-center::before { display: none; } /* no top bar for center item */

/* ============================================================
   PAGE HEADER (For Portfolio, etc.)
   ============================================================ */
.page-header {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   PROJECT DETAILS PAGE
   ============================================================ */
.project-hero {
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ph-content { max-width: 800px; margin: 0 auto 50px; }
.ph-title {
    font-family: var(--font-head);
    font-size: 52px; font-weight: 800; line-height: 1.1;
    margin-bottom: 24px;
}
.ph-desc {
    font-size: 18px; color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border-radius: 20px;
    background: white;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-top: -80px; /* pull up over the hero */
    position: relative; z-index: 10;
}
.pi-block h4 {
    font-family: var(--font-head);
    font-size: 14px; color: var(--gray);
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 8px;
}
.pi-block p, .pi-block a {
    font-size: 16px; font-weight: 600; color: var(--navy);
}
.pi-link { color: var(--blue); text-decoration: underline; }
.pi-link:hover { color: var(--blue-light); }

.project-article { max-width: 900px; margin: 0 auto; }
.article-section { margin-bottom: 60px; }
.article-section:last-child { margin-bottom: 0; }
.article-section h2 {
    font-family: var(--font-head);
    font-size: 32px; font-weight: 800;
    margin-bottom: 20px;
}
.article-section p {
    font-size: 16px; color: var(--navy-mid);
    line-height: 1.8; margin-bottom: 20px;
}
.article-image-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px;
}
.img-ph {
    background: var(--offwhite);
    border-radius: 16px;
    height: 300px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--gray); font-size: 40px;
    border: 2px dashed var(--gray-light);
}
.img-ph span { font-size: 14px; margin-top: 10px; font-family: var(--font-head); font-weight: 600; }

.next-project-nav {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   RESPONSIVE â€” TABLET 1024px
   ============================================================ */
@media (max-width: 1024px) {
    .hero-monitor-wrap {
        width: 480px; height: 554px;
        right: -30px;
    }
    .hero-vr-wrap {
        width: 260px; height: 300px;
        bottom: 15%; left: 0;
    }
    .hero-content { width: 55%; padding-right: 20px; }

    .tech-categories { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-row { gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .process-inner { gap: 50px; }
    .process-diagram { width: 320px; height: 320px; }
    .pn-circle { width: 56px; height: 56px; font-size: 20px; }
    .portfolio-card { gap: 40px; }
    .project-info-grid { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
}

/* ============================================================
   RESPONSIVE â€” MOBILE 768px
   ============================================================ */
@media (max-width: 768px) {
    :root { --hdr-h: 66px; }

    /* â”€â”€ Header â”€â”€ */
    .desktop-only { display: none !important; }
    .hamburger { display: none !important; }
    .header-inner { padding: 0 18px; }

    /* Standard dropdown mobile nav */
    .main-nav {
        position: absolute;
        top: var(--hdr-h);
        left: 0; right: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
        flex-direction: column;
        z-index: 999;
        border-top: 1px solid var(--gray-light);
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0; text-align: left;
    }
    .main-nav .nav-link {
        color: var(--navy);
        font-size: 16px; font-weight: 600;
        padding: 16px 24px; display: block;
        border-bottom: 1px solid var(--gray-light);
        border-radius: 0;
        letter-spacing: 1px;
    }
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active { background: var(--offwhite); color: var(--blue); padding-left: 32px; }
    .main-nav .nav-link::after { display: none; }

    /* â”€â”€ Hero â”€â”€ */
    .hero-section {
        flex-direction: column;
        align-items: flex-start;
        padding-top: var(--hdr-h);
    }
    .hero-bg { opacity: 0.2; }
    .hero-container {
        align-items: flex-start;
        padding-top: 120px;
        min-height: auto;
    }
    .hero-content { width: 100%; padding-right: 0; text-align: left; }
    
    .hero-images {
        position: relative;
        width: 100%;
        height: 400px;
        top: auto; right: auto;
        margin-top: 30px;
    }
    .hero-monitor-wrap {
        top: 0; right: -10px;
        transform: none;
        width: 320px; height: 370px;
    }
    .hero-vr-wrap {
        bottom: 20px; left: 10px;
        width: 200px; height: 230px;
    }

    /* â”€â”€ Reveal animations: shorter distance for mobile â”€â”€ */
    [data-reveal="up"]   { transform: translateY(35px); }
    [data-reveal="left"] { transform: translateX(-35px); }
    [data-reveal="right"]{ transform: translateX(35px); }

    /* â”€â”€ About â”€â”€ */
    .section-pad { padding: 64px 0; }
    .about-row, .about-row.reverse {
        grid-template-columns: 1fr; direction: ltr; gap: 32px;
    }
    .about-img-frame img { height: 260px; }
    .stats-bar { flex-direction: column; gap: 24px; padding: 28px 20px; }
    .stat-divider { width: 80%; height: 1px; margin: 0 auto; }
    .stat-num { font-size: 38px; }

    /* â”€â”€ Tech Stack â”€â”€ */
    .tech-categories { grid-template-columns: 1fr; gap: 16px; }
    .tech-marquee-inner { animation-duration: 14s; }

    /* â”€â”€ Services â”€â”€ */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .svc-card { padding: 28px 22px; }

    /* â”€â”€ Portfolio & Projects â”€â”€ */
    .portfolio-card, .portfolio-card.reverse {
        grid-template-columns: 1fr; direction: ltr; gap: 24px;
    }
    .portfolio-info h3 { font-size: 19px; }
    
    .ph-title { font-size: 36px; }
    .project-info-grid { grid-template-columns: 1fr; gap: 20px; padding: 24px; margin-top: -20px; }
    .article-image-grid { grid-template-columns: 1fr; }
    .img-ph { height: 200px; }

    /* â”€â”€ Process (Timeline) â”€â”€ */
    .timeline-wrapper { padding-left: 40px; margin: 40px auto 0; }
    .timeline-progress-track { left: 5px; }
    .timeline-pct-bubble { left: -35px; width: 44px; height: 24px; font-size: 11px; }
    .t-step { padding: 20px; }
    .t-step::before { left: -42px; top: 35px; }
    .t-step-content { flex-direction: column; gap: 16px; }
    .t-step h3 { font-size: 19px; }

    /* â”€â”€ Contact â”€â”€ */
    .contact-wrapper { grid-template-columns: 1fr; }
    .contact-info-panel, .contact-form-panel { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }

    /* â”€â”€ Footer â”€â”€ */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .footer-brand .footer-logo { justify-content: center; }
    .footer-socials { justify-content: center; }
    .footer-links-col li a { justify-content: center; }
    .footer-contact-col p { justify-content: center; }
    .footer-bottom .container { flex-direction: column; gap: 6px; text-align: center; }
    .footer-top { padding: 60px 0 28px; }
    .site-footer { padding-bottom: 80px; }

    /* â”€â”€ WhatsApp FAB â€” move above mobile nav â”€â”€ */
    .whatsapp-fab { bottom: 96px; right: 18px; width: 52px; height: 52px; font-size: 24px; }
    .wa-fab-tooltip { display: none; }

    /* â”€â”€ Mobile bottom nav â”€â”€ */
    .mobile-bottom-nav { display: grid; }
    body { padding-bottom: 68px; }
}

/* ============================================================
   RESPONSIVE â€” SMALL MOBILE 480px
   ============================================================ */
@media (max-width: 480px) {
    .hero-title { font-size: 30px; letter-spacing: -0.5px; }
    .section-heading { font-size: 26px; }
    .header-inner { padding: 0 14px; }
    .logo-text { font-size: 14px; }
    .logo-icon { width: 34px; height: 34px; font-size: 13px; }
    
    .hero-images { height: 300px; }
    .hero-monitor-wrap { width: 240px; height: 277px; right: -20px; }
    .hero-vr-wrap { width: 160px; height: 184px; bottom: 10px; }
    .container { padding: 0 16px; }
    .stats-bar { padding: 22px 16px; }
    .svc-card { padding: 24px 18px; }
    .tech-cat { padding: 18px 16px; }
}
/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonial-section {
    --testimonial-primary: var(--blue);
    --testimonial-btn: rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    padding: 50px 0;
    background: var(--offwhite);
}

.t-slider {
    width: min(90vw, 700px);
    height: 300px;
    list-style-type: none;
    display: flex;
    transition: transform 1.25s;
    margin: 0; padding: 0;
}

.t-item {
    position: relative;
    min-width: 100%;
    height: inherit;
    display: flex;
    align-items: center;
}

.t-item .t-testimonial {
    width: 65%;
    padding: 2rem;
    padding-right: 5rem;
    background-color: var(--testimonial-primary);
    color: white;
    border-radius: 0.75rem;
    font: 100 0.9rem/1.6 var(--font-body);
    opacity: 0;
    transform: translateX(125px);
}

.t-item .t-testimonial p {
    transform: translateY(20px);
    opacity: 0;
    margin-bottom: 0;
}

.t-item .t-testimonial p:nth-of-type(1) {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-head);
    margin-bottom: 15px;
}

.t-item .t-testimonial p:nth-of-type(2) {
    font-style: italic;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.t-item .t-testimonial p:nth-of-type(3) {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

.t-item .t-image {
    position: absolute;
    right: 0;
    z-index: 10;
    width: 250px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    transform: translateX(-25px);
}

.t-item.animation .t-image { animation: t-image 1.25s ease-out forwards; }
.t-item.animation .t-testimonial { animation: t-testimonial 1s ease-out forwards; }
.t-item.animation .t-testimonial p:nth-of-type(1) { animation: t-content 1s forwards 0.75s; }
.t-item.animation .t-testimonial p:nth-of-type(2) { animation: t-content 1s forwards 1s; }
.t-item.animation .t-testimonial p:nth-of-type(3) { animation: t-content 1s forwards 1.25s; }

@keyframes t-image { 100% { transform: translateX(0); } }
@keyframes t-testimonial { 50% { opacity: 1; } 100% { opacity: 1; transform: translateX(0); } }
@keyframes t-content { 100% { opacity: 1; transform: translateY(0); } }

.t-nav { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.t-btn {
    width: 12px; height: 12px; border-radius: 12px; border: none;
    background-color: var(--testimonial-btn);
    cursor: pointer; transition: width 0.3s, background 0.3s;
}
.t-btn.expand { width: 30px; background-color: var(--navy); }

@media (max-width: 768px) {
    .t-item { flex-direction: column-reverse; justify-content: center; }
    .t-item .t-testimonial { width: 90%; padding: 1.5rem; transform: translateY(50px); z-index: 20; position: relative; margin-top: -60px; }
    .t-item .t-image { position: relative; width: 180px; transform: translateY(-20px); right: auto; margin: 0 auto; }
}
/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-container { display: flex; flex-direction: column; gap: 15px; margin-top: 40px; }
.faq-item { border-radius: 8px; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.05); overflow: hidden; border: 1px solid rgba(0,0,0,0.05); }
.faq-btn { width: 100%; text-align: left; padding: 20px 24px; background: none; border: none; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s; }
.faq-btn:hover { color: var(--blue); }
.faq-btn i { transition: transform 0.3s; color: var(--blue); }
.faq-btn[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #fafafa; }
.faq-content p { padding: 0 24px 20px 24px; margin: 0; color: #555; line-height: 1.6; }

/* ============================================================
   NEW USER TESTIMONIAL SLIDER
   ============================================================ */
.ts-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: transparent;
  overflow: hidden;
  margin: 40px auto;
  border-radius: 20px;
}
.ts-slider {
  list-style-type: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
}
.ts-item {
  width: 250px;
  height: 350px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.3);
  transition: transform 0.1s, left 0.75s, top 0.75s, width 0.75s, height 0.75s, border-radius 0.75s;
  overflow: hidden;
}

.ts-item:nth-child(1), .ts-item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.ts-item:nth-child(3) { left: 50%; }
.ts-item:nth-child(4) { left: calc(50% + 270px); }
.ts-item:nth-child(5) { left: calc(50% + 540px); }
.ts-item:nth-child(6) { left: calc(50% + 810px); opacity: 0; }
.ts-item:nth-child(n+7) { left: calc(50% + 1080px); opacity: 0; }

.ts-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.ts-item:nth-child(1)::before, .ts-item:nth-child(2)::before {
  background: rgba(0,0,0,0.6);
}

.ts-testimonial {
  position: absolute;
  top: 50%;
  left: 100px;
  transform: translateY(-50%);
  font-family: var(--font-body);
  color: white;
  z-index: 2;
  display: none;
  background: rgba(0,0,0,0.4);
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  border-left: 4px solid var(--accent);
}
.ts-testimonial p:first-child {
  font-size: 24px;
  font-family: var(--font-head);
  margin-bottom: 20px;
  font-weight: 600;
}

.ts-item:nth-child(2) .ts-testimonial {
  display: block;
  animation: ts-show 1s ease-in-out 1 forwards;
}

@keyframes ts-show {
  0% { opacity: 0; transform: translateY(calc(-50% + 50px)); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(-50%); filter: blur(0); }
}

.ts-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 15px;
}

.ts-nav .ts-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.ts-nav .ts-btn:hover {
  background: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
  .ts-testimonial { left: 0; right: 0; margin: 0 auto; padding: 20px; width: 90%; text-align: center; }
  .ts-item:nth-child(n+3) { opacity: 0 !important; pointer-events: none; }
}





.about-cards-container {
    display: flex; gap: 20px; margin-top: 30px; flex-direction: column;
}
.about-vision-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px; padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    display: flex; flex-direction: column; gap: 10px;
    position: relative; overflow: hidden;
    flex: 1;
}
.about-vision-card:hover {
    transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,118,182,0.15);
}
.about-vision-card::before {
    content:''; position: absolute; top:0; left:0; width: 4px; height: 100%; background: var(--accent);
}
.about-vision-card.core-val::before { background: var(--blue); }
.av-icon { width: 45px; height: 45px; border-radius: 50%; background: rgba(0,210,255,0.15); color: var(--accent); display:flex; align-items:center; justify-content:center; font-size: 20px; }
.about-vision-card.core-val .av-icon { background: rgba(0,118,182,0.15); color: var(--blue); }
.about-vision-card h4 { font-family: var(--font-head); font-size: 20px; color: var(--navy); margin: 0;}
.about-vision-card p { font-size: 15px; color: var(--gray); line-height: 1.6; margin: 0; }

@media(min-width: 768px) {
    .about-cards-container { flex-direction: row; }
}

@media (max-width: 768px) { .hero-section { padding-top: 120px !important; } .section-pad { padding: 40px 0 !important; } }

/* About Floating Animation */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.about-col-img {
    animation: floatAnim 6s ease-in-out infinite;
    position: relative;
}
.about-col-img::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    animation: shadowAnim 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes shadowAnim {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(0.85); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* ========== PRELOADER STYLES ========== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--navy);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}
.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
}
.loader-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--blue);
    border-bottom-color: var(--accent);
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.loader-spinner::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 4px solid transparent;
    border-left-color: var(--accent);
    border-right-color: var(--blue);
    border-radius: 50%;
    opacity: 0.8;
    animation: spin-reverse 2s linear infinite;
}
.loader-logo {
    z-index: 10;
    width: 90px;
    height: auto;
    animation: pulse-logo 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 118, 182, 0.4));
}
.loader-logo img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes spin-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}
@keyframes pulse-logo {
    0%, 100% { transform: scale(0.92); opacity: 0.85; }
    50% { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 0 25px rgba(77, 208, 225, 0.6)); }
}

/* ========== FORM VALIDATION STYLES ========== */
input:invalid:focus, textarea:invalid:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

/* ========== FOOTER LEGAL & BOTTOM FLEX ========== */
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    transition: color 0.3s;
}
.footer-legal a:hover {
    color: var(--blue-light);
}

/* ========== CAREERS PAGE STYLES ========== */
.careers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.career-culture-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}
.career-culture-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 118, 182, 0.3);
}
.ccc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--blue-pale);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
}
.career-culture-card h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.career-culture-card p {
    font-size: 14.5px;
    color: var(--gray);
    line-height: 1.65;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}
.job-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-light);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.job-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-md);
}
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.job-title-group h3 {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}
.job-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-head);
    background: var(--blue-pale);
    color: var(--blue);
}
.job-badge.accent {
    background: rgba(77, 208, 225, 0.15);
    color: #00838f;
}
.job-desc {
    font-size: 15px;
    color: var(--navy-mid);
    line-height: 1.7;
    margin-bottom: 20px;
}
.job-requirements {
    background: var(--offwhite);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.job-requirements h4 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.job-requirements ul {
    list-style: disc;
    padding-left: 20px;
}
.job-requirements li {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 4px;
}

.spontaneous-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
    text-align: center;
    margin-top: 60px;
    box-shadow: var(--shadow-md);
}
.spontaneous-box h3 {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}
.spontaneous-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto 24px;
}


