/* =========================================================================
   Laptop Care Service Center — Stylesheet
   Design language: a laptop "health checkup" — navy + diagnostic teal,
   with a warm coral call-to-action accent and an EKG/pulse-line motif
   that ties back to the "Care" in the brand name.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
    --navy: #0F2540;
    --navy-light: #16344F;
    --navy-deep: #081A2E;
    --teal: #14B8A6;
    --teal-light: #5EEAD4;
    --coral: #FF7A45;
    --coral-dark: #E8632F;
    --bg: #F7F9FC;
    --surface: #FFFFFF;
    --ink: #16202E;
    --gray: #5C6B7A;
    --gray-light: #A9B4C0;
    --border: #E3E8EF;

    --font-base: 'Poppins', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-sm: 0 4px 14px rgba(15, 37, 64, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 37, 64, 0.10);
    --shadow-lg: 0 24px 60px rgba(15, 37, 64, 0.16);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--ink);
    background-color: var(--bg);
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-base);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.01em;
}

p { color: var(--gray); line-height: 1.75; }

a { text-decoration: none; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--coral);
    display: inline-block;
}

.section {
    padding: 96px 0;
}

.section-sm { padding: 64px 0; }

.section-title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 16px;
}

.section-lede {
    max-width: 640px;
    color: var(--gray);
    font-size: 1.05rem;
}

.bg-navy { background-color: var(--navy); }
.bg-surface-alt { background-color: #EEF3F9; }

/* Reveal-on-scroll animation base state */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn-cta {
    background: var(--coral);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(255, 122, 69, 0.28);
}
.btn-cta:hover {
    background: var(--coral-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 122, 69, 0.36);
}

.btn-outline-teal {
    border: 1.5px solid var(--teal);
    color: var(--teal);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 999px;
    background: transparent;
    transition: all 0.25s ease;
}
.btn-outline-teal:hover {
    background: var(--teal);
    color: #fff;
}

.btn-light-pill {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 999px;
    transition: all 0.25s ease;
}
.btn-light-pill:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* =========================================================================
   Navbar
   ========================================================================= */
.site-header .navbar {
    background: rgba(15, 37, 64, 0.92);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--navy-light));
    color: #fff;
    font-size: 1.1rem;
}

.brand-text {
    color: #fff;
    font-weight: 500;
    font-size: 1.15rem;
}
.brand-text strong { font-weight: 700; color: var(--teal-light); }

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.82);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
}
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: var(--coral);
    border-radius: 2px;
}

/* =========================================================================
   Hero — laptop "health checkup" motif
   ========================================================================= */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
    padding: 150px 0 110px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(94, 234, 212, 0.12) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.14);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: var(--teal-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 4.4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .accent { color: var(--teal-light); }

.hero-lede {
    color: rgba(255,255,255,0.75);
    font-size: 1.08rem;
    max-width: 520px;
    margin-bottom: 34px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 46px;
}
.hero-stats .stat-num {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    display: block;
}
.hero-stats .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    letter-spacing: 0.03em;
}

/* Diagnostic monitor card */
.diagnostic-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    padding: 28px 26px 10px;
    backdrop-filter: blur(6px);
    box-shadow: var(--shadow-lg);
}

.diagnostic-card .diag-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.diag-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-light);
    font-size: 0.82rem;
    font-weight: 600;
}
.diag-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-light);
    box-shadow: 0 0 0 0 rgba(94,234,212,0.7);
    animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(94,234,212,0.55); }
    70% { box-shadow: 0 0 0 10px rgba(94,234,212,0); }
    100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); }
}

.diag-window {
    background: var(--navy-deep);
    border-radius: var(--radius-md);
    padding: 18px 16px 6px;
    overflow: hidden;
}

.pulse-line-svg {
    width: 100%;
    height: 90px;
    display: block;
}
.pulse-line-svg path {
    fill: none;
    stroke: var(--teal-light);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw-pulse 3.2s ease-in-out infinite;
}
@keyframes draw-pulse {
    0%   { stroke-dashoffset: 900; }
    55%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -900; }
}

.diag-metrics {
    display: flex;
    justify-content: space-between;
    padding: 16px 2px 20px;
}
.diag-metrics .metric {
    text-align: left;
}
.diag-metrics .metric-label {
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.diag-metrics .metric-value {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.diag-metrics .metric-value.ok { color: var(--teal-light); }

/* =========================================================================
   Services
   ========================================================================= */

.service-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 0 28px 34px;
    height: 100%;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-image {
    width: calc(100% + 56px);
    height: 210px;
    margin-left: -28px;
    margin-bottom: 24px;
    overflow: hidden;
    background: #EEF3F9;
}

.service-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.06);
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(20,184,166,0.14),
        rgba(15,37,64,0.06)
    );
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.94rem;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {

    .service-card {
        padding: 0 24px 30px;
    }

    .service-image {
        width: calc(100% + 48px);
        height: 200px;
        margin-left: -24px;
    }

}


/* ---------- Mobile ---------- */

@media (max-width: 767.98px) {

    .service-card {
        padding: 0 24px 30px;
    }

    .service-image {
        width: calc(100% + 48px);
        height: 200px;
        margin-left: -24px;
    }

    .service-card-no-image {
        padding-top: 30px;
    }

}

/* Process steps (Home + Services) */
.process-step {
    position: relative;
    padding-left: 0;
}
.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--teal-light);
    font-weight: 700;
    margin-bottom: 16px;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; }

/* =========================================================================
   About page
   ========================================================================= */
.about-photo-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(150deg, var(--navy), var(--navy-light));
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.about-photo-block i {
    font-size: 6rem;
    color: rgba(255,255,255,0.18);
}
.about-badge {
    position: absolute;
    bottom: -22px;
    right: -18px;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
    text-align: center;
}
.about-badge .num { font-size: 1.8rem; font-weight: 800; color: var(--coral); display: block; }
.about-badge .lbl { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.04em; }

.mv-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 32px;
    height: 100%;
    border-top: 4px solid var(--teal);
    box-shadow: var(--shadow-sm);
}
.mv-card.vision { border-top-color: var(--coral); }
.mv-card .mv-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(20,184,166,0.12); color: var(--teal);
    font-size: 1.3rem; margin-bottom: 18px;
}
.mv-card.vision .mv-icon { background: rgba(255,122,69,0.12); color: var(--coral); }

.value-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.value-item:last-child { border-bottom: none; }
.value-item i { color: var(--teal); font-size: 1.2rem; margin-top: 3px; }
.value-item h5 { font-size: 1rem; margin-bottom: 4px; }
.value-item p { font-size: 0.9rem; margin-bottom: 0; }

/* Team */
.team-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
    height: 190px;
    background: linear-gradient(150deg, var(--navy-light), var(--navy));
    display: flex; align-items: center; justify-content: center;
}
.team-avatar i { font-size: 3.4rem; color: rgba(255,255,255,0.35); }
.team-card .team-body { padding: 20px; }
.team-card h5 { font-size: 1.02rem; margin-bottom: 2px; }
.team-card .role { color: var(--teal); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* =========================================================================
   Contact page
   ========================================================================= */
.contact-info-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    height: 100%;
}
.contact-info-card h3 { color: #fff; }
.contact-info-card p.section-lede { color: rgba(255,255,255,0.65); }

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 26px;
}
.contact-detail .ci-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(20,184,166,0.18);
    color: var(--teal-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-detail h6 { color: #fff; font-size: 0.9rem; margin-bottom: 4px; }
.contact-detail p, .contact-detail a { color: rgba(255,255,255,0.68); font-size: 0.92rem; margin-bottom: 0; }
.contact-detail a:hover { color: var(--teal-light); }

.contact-form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ink);
}
.form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 0.94rem;
}
.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20,184,166,0.15);
}
.was-validated .form-control:invalid, .form-control.is-invalid {
    border-color: #E5484D;
}
.invalid-feedback { font-size: 0.8rem; }

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.map-wrapper iframe {
    width: 100%;
    height: 340px;
    border: 0;
    display: block;
    filter: grayscale(15%);
}

.alert-success-custom {
    background: rgba(20,184,166,0.1);
    border: 1px solid rgba(20,184,166,0.35);
    color: #0B7566;
    border-radius: var(--radius-sm);
}
.alert-error-custom {
    background: rgba(229,72,77,0.08);
    border: 1px solid rgba(229,72,77,0.3);
    color: #B4242A;
    border-radius: var(--radius-sm);
}

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
    background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-light));
    border-radius: var(--radius-lg);
    padding: 56px;
    position: relative;
    overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.68); margin-bottom: 0; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.65);
    padding: 72px 0 26px;
    position: relative;
}
.footer-pulse {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--teal), var(--coral), transparent);
    background-size: 200% 100%;
    animation: pulse-sweep 5s linear infinite;
}
@keyframes pulse-sweep {
    0% { background-position: 0% 0; }
    100% { background-position: -200% 0; }
}
.footer-brand .brand-text { color: #fff; }
.footer-text { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-heading {
    color: #fff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a { color: rgba(255,255,255,0.62); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--teal-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--teal-light); margin-top: 4px; width: 14px; }

.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}
.social-links a:hover { background: var(--teal); transform: translateY(-3px); }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 22px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}
.footer-credit i { color: var(--coral); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--coral);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--coral-dark); }

/* =========================================================================
   Responsive tweaks
   ========================================================================= */
@media (max-width: 991.98px) {
    .site-header .navbar { background: var(--navy); }
    .navbar-collapse { padding-top: 14px; }
    .hero { padding: 130px 0 70px; text-align: center; }
    .hero-lede { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .diagnostic-card { margin-top: 46px; }
}

@media (max-width: 767.98px) {
    .section { padding: 70px 0; }
    .cta-band { padding: 40px 24px; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .about-badge { position: static; margin-top: -30px; display: inline-block; }
}
