/* ============ Tokens ============ */
:root {
    --navy-900: #031428;
    --navy-800: #06203d;
    --navy: #003366;
    --navy-600: #0a4a8a;
    --gold: #ffcc00;
    --gold-600: #e6b800;
    --ink: #1c2733;
    --muted: #5b6b7c;
    --line: #e3e9f0;
    --bg: #f5f8fc;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(3, 20, 40, 0.08);
    --shadow-lg: 0 24px 60px rgba(3, 20, 40, 0.18);
    --head: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    --body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ============ Base ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--body);
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 5%;
    background: rgba(0, 51, 102, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); padding-top: .65rem; padding-bottom: .65rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--head); }
.logo-mark {
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    font-size: 1.05rem;
    padding: .25rem .55rem;
    border-radius: 8px;
    letter-spacing: .5px;
}
.logo-text { font-weight: 700; font-size: 1.35rem; letter-spacing: .2px; }
.logo-img { background: #fff; padding: .3rem .8rem; border-radius: 10px; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.logo-img img { display: block; height: 38px; width: auto; }
.site-header.scrolled .logo-img img { height: 32px; }
footer .logo-img img { height: 46px; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a { position: relative; font-weight: 500; opacity: .92; transition: opacity .2s; }
nav a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
nav a:hover { opacity: 1; }
nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto; transition: transform .3s, opacity .3s; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Ticker ============ */
.announcement-banner {
    display: flex;
    align-items: center;
    background: var(--gold);
    color: var(--navy);
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 3px solid var(--gold-600);
    overflow: hidden;
    position: relative;
    z-index: 5;
}
.announcement-banner strong { font-weight: 800; }
.ticker-label {
    flex-shrink: 0;
    background: var(--navy);
    color: var(--gold);
    font-family: var(--head);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: 1.5px;
    padding: 12px 22px 12px 5%;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    position: relative;
    z-index: 2;
}
.marquee { overflow: hidden; flex: 1; padding: 11px 0; }
.marquee-content {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeScroll 45s linear infinite;
    will-change: transform;
}
.marquee-set { display: inline-flex; align-items: center; }
.marquee .sep { margin: 0 3rem; opacity: .5; }
.announcement-banner:hover .marquee-content { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Hero slider ============ */
.hero-slider {
    position: relative;
    background: var(--navy-900);
    color: #fff;
    overflow: hidden;
}
.slides { display: grid; }
.slide {
    grid-area: 1 / 1;
    position: relative;
    min-height: clamp(560px, 78vh, 760px);
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide-bg {
    position: absolute; inset: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center right;
    transform: scale(1.12);
    transition: transform 7s linear;
}
.slide.active .slide-bg { transform: scale(1.0); }
.slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 20, 40, .96) 0%, rgba(3, 20, 40, .82) 34%, rgba(3, 20, 40, .25) 62%, rgba(3, 20, 40, 0) 80%),
        linear-gradient(0deg, rgba(3, 20, 40, .7) 0%, rgba(3, 20, 40, 0) 30%);
}
.slide-content {
    position: relative; z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 5% 7.5rem;
}
.slide-content > * { max-width: 620px; opacity: 0; transform: translateY(24px); }
.slide.active .slide-content > * { animation: rise .8s var(--ease) forwards; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .12s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .24s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .36s; }
.slide.active .slide-content > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.slide-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 204, 0, .14);
    border: 1px solid rgba(255, 204, 0, .4);
    color: var(--gold);
    font-weight: 600;
    font-size: .9rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(6px);
}
.slide-tag svg { font-size: 1.1rem; }
.slide h1, .slide h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.5px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.accent {
    background: linear-gradient(90deg, #ffd84d, #ffb800);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.slide-sub { font-size: 1.12rem; color: #d3deeb; margin-bottom: 1.6rem; }
.slide-points {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem 1.6rem;
    margin-bottom: 2rem;
}
.slide-points li { display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.slide-points svg {
    font-size: 1.35rem; padding: 4px; border-radius: 50%;
    background: var(--gold); color: var(--navy); stroke-width: 3;
}
.slide-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* controls */
.slider-controls {
    position: absolute; z-index: 3;
    left: 50%; bottom: 3.2rem;
    transform: translateX(-50%);
    width: min(1200px, 100%);
    padding: 0 5%;
    display: flex; align-items: center; gap: 1.2rem;
}
.slider-arrow {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    color: #fff; font-size: 1.2rem; cursor: pointer;
    display: grid; place-items: center;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.slider-arrow.prev svg { transform: rotate(180deg); }
.slider-arrow:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.06); }
.slider-dots { display: flex; gap: 1rem; flex: 1; }
.dot {
    flex: 1; max-width: 170px;
    background: none; border: 0; cursor: pointer; text-align: left;
    color: rgba(255, 255, 255, .6); font: 600 .8rem var(--body);
    letter-spacing: .6px; text-transform: uppercase;
    transition: color .3s;
}
.dot:hover, .dot.active { color: #fff; }
.dot-label { display: block; margin-bottom: .45rem; }
.dot-bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.dot-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.dot.active .dot-bar i { animation: fill 6s linear forwards; }
.is-paused .dot.active .dot-bar i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.5rem;
    font-weight: 600; font-size: .98rem;
    border-radius: 999px; border: 0;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15);
    white-space: nowrap;
}
.btn svg { font-size: 1.1rem; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .22); }
.btn:hover svg { transform: translateX(3px); }
.btn-gold { background: linear-gradient(135deg, #ffd84d, #ffb800); color: var(--navy); box-shadow: 0 10px 30px rgba(255, 184, 0, .35); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .4); box-shadow: none; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-call { background: #007bff; color: #fff; }
.btn-email { background: #ea4335; color: #fff; }
.btn-quote { background: var(--gold); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }

/* ============ CTA card ============ */
.cta-card-wrap { position: relative; z-index: 4; padding: 0 5%; margin-top: -2.2rem; }
.cta-card {
    max-width: 1200px; margin: 0 auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.4rem 1.8rem;
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
    border-top: 4px solid var(--gold);
}
.cta-text strong { display: block; font-family: var(--head); font-size: 1.15rem; color: var(--navy); }
.cta-text span { color: var(--muted); font-size: .92rem; }
.action-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.action-buttons .btn { padding: .75rem 1.25rem; font-size: .95rem; }

/* ============ Sections ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 5.5rem 5%; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.eyebrow {
    display: inline-block;
    font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: var(--navy-600);
    background: rgba(10, 74, 138, .08);
    padding: .35rem .9rem; border-radius: 999px;
    margin-bottom: .9rem;
}
.eyebrow.light { color: var(--gold); background: rgba(255, 204, 0, .12); }
h2.section-title { color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h2.section-title.light { color: #fff; }
.section-lead { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }

.icon-badge {
    width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-600));
    color: var(--gold); font-size: 1.6rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 51, 102, .25);
}

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.about-box {
    background: #fff; padding: 2.2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
.about-box h3 { color: var(--navy); font-size: 1.35rem; margin-bottom: .9rem; }
.about-box p { color: #3d4b5a; }
.about-box p + p { margin-top: .9rem; }

/* Services */
.services-section { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.service-card {
    position: relative; overflow: hidden;
    flex: 1 1 320px; max-width: 370px;
    background: #fff; padding: 2rem 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .8s var(--ease);
}
.service-card::before {
    content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--gold), #ff9f1a);
    transform: scaleX(.25); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.card-num {
    position: absolute; top: 1rem; right: 1.3rem;
    font-family: var(--head); font-weight: 800; font-size: 3rem;
    color: rgba(0, 51, 102, .06); line-height: 1;
    transition: color .35s;
}
.service-card:hover .card-num { color: rgba(255, 184, 0, .22); }
.service-card h3 { color: var(--navy); font-size: 1.25rem; margin-bottom: .3rem; }
.service-card h4 { color: var(--navy-600); font-family: var(--body); font-weight: 600; font-size: .92rem; margin-bottom: .9rem; }
.service-card p { color: #3d4b5a; font-size: .95rem; margin-bottom: 1rem; }
.service-card ul { list-style: none; font-size: .92rem; color: #4a5a6b; }
.service-card li { position: relative; padding-left: 1.3rem; margin: .35rem 0; }
.service-card li::before {
    content: ""; position: absolute; left: 0; top: .6em;
    width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg);
}

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.product-card {
    background: #fff; padding: 1.6rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 4px 14px rgba(3, 20, 40, .05);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .8s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.p-num {
    display: inline-grid; place-items: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(0, 51, 102, .07); color: var(--navy);
    font-family: var(--head); font-weight: 700; font-size: .9rem;
    margin-bottom: .9rem;
    transition: background .3s;
}
.product-card:hover .p-num { background: var(--gold); }
.p-img { margin: -1.6rem -1.5rem 1.1rem; height: 170px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.p-img img { width: 100%; height: 100%; display: block; transition: transform .5s var(--ease); }
.p-img.contain img { object-fit: contain; padding: .8rem; }
.p-img.cover img { object-fit: cover; }
.product-card:hover .p-img img { transform: scale(1.06); }
.product-card h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: .45rem; }
.product-card p { font-size: .92rem; color: var(--muted); }
.download-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Why choose us */
.features {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 204, 0, .12), transparent 40%),
        linear-gradient(135deg, var(--navy-900), var(--navy) 70%, var(--navy-600));
    color: #fff;
}
.features-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.8rem; }
.features-list {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(6px);
}
.features-list h3 { color: var(--gold); font-size: 1.25rem; margin-bottom: 1.2rem; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list svg { font-size: 1.3rem; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--navy); stroke-width: 3; margin-top: .1rem; }
.industry-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.industry-chips span {
    padding: .55rem 1rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
    font-weight: 500; font-size: .92rem;
    transition: background .25s, color .25s, transform .25s;
}
.industry-chips span:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }

/* Footer */
footer { background: var(--navy-900); color: #c3cfdc; padding: 4rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; max-width: 300px; }
.footer-grid h3 { color: var(--gold); margin-bottom: 1.1rem; font-size: 1.1rem; }
.contact-info p { display: flex; gap: .7rem; margin-bottom: .7rem; font-size: .95rem; }
.contact-info svg { color: var(--gold); font-size: 1.15rem; margin-top: .2rem; }
.contact-info a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; }
.contact-info a:hover { color: var(--gold); border-color: var(--gold); }
.legal-info { font-size: .9rem; color: #9fb0c2; }
.legal-info p { margin-bottom: .45rem; }
.legal-info strong { color: #dbe4ee; }
.text-center {
    text-align: center; margin: 3rem auto 0; padding-top: 1.5rem; max-width: 1200px;
    border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; color: #8193a7;
}

/* Floating WhatsApp */
.floating-whatsapp-btn {
    position: fixed; bottom: 28px; right: 28px; z-index: 1000;
    width: 60px; height: 60px; border-radius: 50%;
    display: grid; place-items: center;
    background: #25D366; color: #fff; font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
    transition: transform .3s var(--ease);
}
.floating-whatsapp-btn::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366; animation: ping 2.2s var(--ease) infinite;
}
.floating-whatsapp-btn:hover { transform: scale(1.1); }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .service-card.in:hover { transform: translateY(-8px); }
.js .product-card.in:hover { transform: translateY(-6px); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
    .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; align-items: stretch; text-align: center; }
    .action-buttons { justify-content: center; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--navy);
        max-height: 0; overflow: hidden;
        transition: max-height .4s var(--ease);
    }
    .menu-open nav { max-height: 360px; box-shadow: 0 20px 30px rgba(0, 0, 0, .25); }
    nav ul { flex-direction: column; gap: 0; padding: .5rem 5% 1rem; }
    nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    nav a::after { display: none; }

    .ticker-label { padding-left: 16px; }
    .marquee-content { animation-duration: 35s; }

    .slide { min-height: 0; align-items: flex-start; }
    .slide-bg { bottom: auto; height: 300px; background-position: 90% 75%; }
    .slide::before {
        background: linear-gradient(180deg, rgba(3, 20, 40, 0) 0px, rgba(3, 20, 40, .15) 150px, rgba(3, 20, 40, .92) 280px, var(--navy-900) 320px);
    }
    .slide-content { padding: 240px 20px 7rem; }
    .slide-sub { font-size: 1rem; }
    .slide-points { grid-template-columns: 1fr; gap: .55rem; margin-bottom: 1.5rem; }
    .slide-actions .btn { flex: 1 1 100%; }
    .slider-controls { bottom: 2.6rem; padding: 0 20px; gap: .7rem; }
    .slider-arrow { width: 40px; height: 40px; }
    .slider-dots { gap: .45rem; }
    .dot-label { display: none; }

    .cta-card-wrap { padding: 0 16px; }
    .action-buttons { flex-direction: column; }
    .action-buttons .btn, .download-links .btn { width: 100%; }
    .about-grid { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }
    .container { padding: 4rem 20px; }
    .floating-whatsapp-btn { bottom: 20px; right: 20px; width: 55px; height: 55px; }
}

@media (prefers-reduced-motion: reduce) {
    .slide-bg, .reveal, .slide-content > * { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
    .marquee-content { animation-duration: 90s; }
}
