/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
:root {
    --nav-bg: #081b33;
    --nav-bg-shrink: #07192b;
    --accent: #ff4d4d;
    --muted: #677285;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    scroll-behavior: smooth;
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* NAVBAR */
#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* ensures left and right are at ends */
    padding: 1rem 2rem;
    background: linear-gradient(90deg, #01c3cc, #2b8ed5, #4b67dc, #6d3ee5);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    transition: padding 0.4s ease, background 0.4s ease;
}

/* Shrink Effect */
#navbar.shrink {
    padding: 0.4rem 2rem;
    /* Smaller padding when scrolled 
    background: linear-gradient(90deg, #01c3cc, #2b8ed5, #4b67dc, #6d3ee5);*/
}

/* Logo + Header Container */
.logo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.2);
}

/* Header Text */
.header-text h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #151d2ad1;
    /* Updated color */
}

.header-text p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fefefe;
    /* Subtitle can stay white for contrast */
}

/* Nav Links — flex-based centering (works with call button in nav-right) */
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    position: static;
    transform: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Right side: quote button + hamburger */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Get a Quote button */
.nav-quote-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #fff;
    color: #0052cc;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.nav-quote-btn:hover {
    background: #0052cc;
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile menu */
#mobileMenu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Hamburger bars */
#mobileMenu span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, width 0.3s ease;
    transform-origin: center;
}

/* X state */
#mobileMenu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#mobileMenu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    width: 0;
}

#mobileMenu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Row 2 — hidden on desktop ───────── */
.mobile-row2 {
    display: none;
}

/* Responsive */
@media screen and (max-width: 900px) {
    #navbar {
        flex-wrap: wrap;
        position: fixed;
        padding: 0.6rem 1rem 0;
        height: auto;
        overflow: visible;
    }

    /* Row 1: logo-header + nav-right sit on first line */
    .logo-header {
        order: 1;
        flex: 1;
    }

    .nav-right {
        order: 2;
        margin-left: auto;
    }

    /* Hide desktop call btn and quote btn from nav-right on mobile */
    .nav-right .nav-call-btn,
    .nav-right .nav-quote-btn {
        display: none !important;
    }

    /* Show hamburger */
    #mobileMenu {
        display: flex;
    }

    /* Row 2: phone + get a quote */
    .mobile-row2 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        order: 3;
        width: 100%;
        padding: 7px 4px 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        gap: 8px;
        margin-top: 6px;
    }

    /* Phone button — left */
    .mobile-call-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 13px;
        background: rgba(255, 255, 255, 0.15);
        border: 1.5px solid rgba(255, 255, 255, 0.6);
        border-radius: 50px;
        color: #fff !important;
        font-weight: 700;
        font-size: 12.5px;
        text-decoration: none;
        white-space: nowrap;
        transition: background 0.2s;
    }

    .mobile-call-btn:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    .mobile-call-btn svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    /* Get a Quote button — right */
    .mobile-quote-btn {
        display: inline-flex;
        align-items: center;
        padding: 6px 16px;
        background: #fff;
        color: #0052cc !important;
        font-weight: 700;
        font-size: 12px;
        border-radius: 50px;
        text-decoration: none;
        white-space: nowrap;
        border: 1.5px solid #fff;
        transition: opacity 0.2s;
    }

    .mobile-quote-btn:hover {
        opacity: 0.9;
    }

    /* Account for taller two-row fixed navbar */
    body {
        padding-top: 110px;
    }

    /* Nav links dropdown — row 4 */
    .nav-links {
        flex-direction: column;
        justify-content: flex-start;
        display: flex !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        width: 100%;
        flex: none;
        gap: 0;
        margin-top: 0;
        order: 4;
        background: #3a55d4;
        padding: 0 14px;
        border-radius: 0 0 14px 14px;
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, visibility 0s linear 0.35s;
    }

    .nav-links li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 2px 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        color: #fff !important;
        font-size: 0.95rem;
        padding: 10px 4px;
        display: block;
        opacity: 1 !important;
    }

    .nav-links a:hover {
        opacity: 0.75 !important;
    }

    .nav-links.show {
        max-height: 600px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 10px 14px 16px;
        transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease, visibility 0s linear 0s;
    }
}

.nav-links.active {
    display: flex;
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* HERO */
.hero {
    position: relative;
    height: 80vh;
    background: url('/assets/img/image.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}



/* Darker overlay for maximum contrast */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Darker semi-transparent layer */
    z-index: 1;
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 2;
    /* Ensure text is above overlay */
    color: #ffffff;
    max-width: 900px;
    animation: fadeUp 1s ease forwards;
}

/* Fade-up animation */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heading */
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
    /* Stronger shadow for clarity */
    line-height: 1.2;
    letter-spacing: 1px;
}

/* Paragraph */
.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    /* Shadow improves readability */
    line-height: 1.6;
}

/* Button */
.hero-btn {
    background: #01c3cc;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #01c3cc;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    /* subtle shadow for depth */
}

.hero-btn:hover {
    background: #ffffff;
    color: #01c3cc;
    transform: translateY(-3px) scale(1.05);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

/* SECTIONS */
.section {
    padding: 80px 10%;
}

h2 {
    text-align: center;
    color: var(--nav-bg);
    font-size: 2rem;
    margin-bottom: 12px;
}

.content-center {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--muted);
    line-height: 1.6;
}

/* SERVICES */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 2px;
}

.service-card * {
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(12, 30, 52, 0.06);
    text-align: center;
    will-change: transform, opacity;
    transition: transform .30s ease, box-shadow .25s ease, background .25s ease;
}

/* HOVER EFFECT */
.service-card:hover {
    transform: translateY(-6px);
    background: #f0f6ff;
    box-shadow: 0 12px 35px rgba(12, 30, 52, 0.12);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(120deg, #0052cc, #0b2540, #0052cc);
    background-size: 300% 300%;
    animation: borderMove 4s linear infinite;

    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;

    opacity: 0;
    transition: opacity .35s ease;

    z-index: 0;
    /* keep border behind button */
}

.service-card:hover::before {
    opacity: 1;
}


.service-card img {
    height: 165px;
    margin-bottom: 12px;
}

.service-card h3 {
    color: #173b63;
    margin-bottom: 8px;
}

/* SERVICE BUTTON REFINED */
.service-card .view-details {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #0052cc;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: .25s ease;
}

.service-card .view-details:hover {
    background: #06386e;
    transform: translateY(-2px);
}

.service-card .view-details:active {
    transform: scale(0.98);
}

/* about section */
.about-section {
    padding: 80px 20px;
    background: #ffffff;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0b2540;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-points li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #0b2540;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* TESTIMONIALS */
.testimonial-wrap {
    max-width: 760px;
    margin: 20px auto 0;
    text-align: center;
}

.testimonial-slider {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(12, 30, 52, 0.06);
}

.slide {
    display: none;
    opacity: 0;
    transition: opacity .4s;
    color: var(--muted);
}

.slide.active {
    display: block;
    opacity: 1;
}

.testimonial-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.testimonial-controls button {
    background: #fff;
    border: 1px solid #ddd;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
}

/* Testimonial Dots */
.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--nav-bg);
}

/* CLIENT LOGO CAROUSEL */
.logo-carousel {
    overflow: hidden;
    margin-top: 18px;
    padding: 12px 0;
}

.logo-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: marquee 18s linear infinite;
}

.logo-track img {
    width: 120px;
    filter: grayscale(1) opacity(.8);
}

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

/* CONTACT FORM */


/* ══════════════════════════════════════════════
   FOOTER — Redesigned to match site theme
   Theme: deep navy · teal · blue-purple gradient
   ══════════════════════════════════════════════ */

/* Base reset for old generic footer tag */
footer {
    margin: 0;
    padding: 0;
}

/* ── Wrapper ─────────────────────────────────── */
.site-footer {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #060f1e;
    color: #a8b8cc;
    position: relative;
    overflow: hidden;
}

/* Mesh gradient background matching navbar palette */
.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 10% 0%, rgba(1, 195, 204, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 100%, rgba(109, 62, 229, 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(43, 142, 213, 0.06) 0%, transparent 70%);
}

/* Dot-grid texture */
.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 26px 26px;
}

/* ── Animated top accent bar ─────────────────── */
.footer-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, #01c3cc, #2b8ed5, #4b67dc, #6d3ee5, #01c3cc);
    background-size: 300% 100%;
    animation: f-shimmer 5s linear infinite;
}

@keyframes f-shimmer {
    to {
        background-position: 300% 0%;
    }
}

/* ── Ambient glow orbs ───────────────────────── */
.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
}

.footer-glow--left {
    background: radial-gradient(circle, rgba(1, 195, 204, 0.12) 0%, transparent 70%);
    top: -120px;
    left: -140px;
}

.footer-glow--right {
    background: radial-gradient(circle, rgba(109, 62, 229, 0.12) 0%, transparent 70%);
    bottom: -120px;
    right: -140px;
}

/* ── Inner grid ──────────────────────────────── */
.footer-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
}

/* ── Brand column ────────────────────────────── */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 1.1rem;
}

.footer-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(1, 195, 204, 0.1);
    border: 1px solid rgba(1, 195, 204, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-logo-wrap img {
    height: 34px;
    width: auto;
}

.footer-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: #e8f0ff;
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #01c3cc;
    margin-top: 2px;
}

.footer-about {
    font-size: 0.84rem;
    line-height: 1.78;
    color: #5a7a9a;
    margin-bottom: 1.2rem;
}

/* Trust badges */
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 1.4rem;
}

.f-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #01c3cc;
    background: rgba(1, 195, 204, 0.08);
    border: 1px solid rgba(1, 195, 204, 0.2);
    border-radius: 100px;
    padding: 4px 11px;
}

.f-badge i {
    font-size: 0.6rem;
}

/* Social icons */
.footer-socials {
    display: flex;
    gap: 8px;
}

.f-social {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a8aaa;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.f-social:hover {
    background: rgba(1, 195, 204, 0.15);
    border-color: rgba(1, 195, 204, 0.4);
    color: #01c3cc;
    transform: translateY(-2px);
}

/* ── Column headings ─────────────────────────── */
.footer-heading {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #e8f0ff;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #01c3cc, #4b67dc);
    border-radius: 2px;
}

/* ── Links ───────────────────────────────────── */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #5a7a9a;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
    color: #01c3cc;
    transform: translateX(4px);
}

.footer-links a i {
    font-size: 0.58rem;
    color: #2b8ed5;
    flex-shrink: 0;
}

/* ── Contact list ────────────────────────────── */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    text-decoration: none;
    color: #5a7a9a;
    transition: color 0.2s;
}

.f-contact-item:hover {
    color: #01c3cc;
}

.f-contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(43, 142, 213, 0.1);
    border: 1px solid rgba(43, 142, 213, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, border-color 0.2s;
}

.f-contact-item:hover .f-contact-icon {
    background: rgba(1, 195, 204, 0.15);
    border-color: rgba(1, 195, 204, 0.4);
}

.f-contact-icon i {
    font-size: 0.8rem;
    color: #2b8ed5;
}

.f-contact-item strong {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #b8ccdd;
    margin-bottom: 2px;
}

.f-contact-item span:last-child {
    font-size: 0.83rem;
    line-height: 1.55;
}

/* ── CTA Button ──────────────────────────────── */
.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #01c3cc, #2b8ed5);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(1, 195, 204, 0.3), 0 2px 8px rgba(43, 142, 213, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(1, 195, 204, 0.45), 0 4px 16px rgba(75, 103, 220, 0.25);
}

.footer-cta:hover::before {
    opacity: 1;
}

/* ── Divider ─────────────────────────────────── */
.footer-divider {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(1, 195, 204, 0.25),
            rgba(75, 103, 220, 0.25),
            transparent);
}

/* ── Bottom bar ──────────────────────────────── */
.footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    font-size: 0.77rem;
    color: #7a95b0;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 960px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem 2rem;
        gap: 2rem;
    }

    .footer-bottom {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 0;
    }
}

/* BOOK NOW BUTTON */
.book-now {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: var(--accent, #400d0b);
    /* fallback color */
    color: #fff;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(210, 77, 37, 0.6), 0 12px 30px rgba(240, 50, 50, 0.2);
    z-index: 1400;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    animation: pulse-glow 2s infinite;
    /* continuous glow */
}

/* Glow animation */
.book-now:hover {
    box-shadow: 0 0 30px rgba(245, 118, 49, 0.8), 0 12px 40px rgba(255, 112, 112, 0.25);
    transform: translateY(-2px);
}

/* Continuous pulsating glow */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(64, 14, 11, 0.6), 0 12px 30px rgba(255, 109, 109, 0.2);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 45, 45, 0.9), 0 12px 40px rgba(250, 61, 61, 0.25);
    }

    100% {
        box-shadow: 0 0 20px rgba(11, 37, 64, 0.6), 0 12px 30px rgba(0, 0, 0, 0.2);
    }
}

/* Ripple span inside button */
.book-now .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Ripple keyframes */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* POPUPS (MODAL + SUCCESS) */
.popup-overlay,
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-box {
    background: #fff;
    padding: 25px;
    width: 90%;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2);
    position: relative;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    cursor: pointer;
}

.popup-btn {
    width: 100%;
    padding: 12px;
    background: var(--nav-bg);
    color: #fff;
    border: none;
    border-radius: 10px;
    margin-top: 15px;
    cursor: pointer;
}

.success-box {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    width: 320px;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: #28c76f;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: auto;
    margin-bottom: 15px;
}

/* ANIMATIONS */
@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.animate-popup {
    animation: popupFly .35s ease forwards;
}

@keyframes popupFly {
    from {
        transform: translateY(30px) scale(.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.animate-success {
    animation: successPop .45s cubic-bezier(.17, .67, .38, 1.23) forwards;
}

@keyframes successPop {
    0% {
        transform: scale(.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width:900px) {
    .hero h1 {
        font-size: 2rem;
    }

    .logo-track img {
        width: 90px;
    }
}

/* ===== PREMIUM FLIP CARD ===== */
.premium-card {
    perspective: 1200px;
}

.flip-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform .6s;
    transform-style: preserve-3d;
}

.premium-card:hover .flip-inner {
    transform: rotateY(180deg);
}

/* FRONT + BACK */
.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 8px 30px rgba(12, 30, 52, 0.06);
}

.flip-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0b2540, #173b63);
    color: #fff;
    text-align: center;
}

/* work process */
.work-process {
    padding: 50px 20px;
    text-align: center;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.work-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.work-item p {
    margin-top: 10px;
    font-weight: 600;
}

/* Service vehicle */
.service-vehicle {
    padding: 50px 20px;
    background: #f7faff;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vehicle-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/*how we work*/
.how-we-work img {
    width: 100%;
    max-width: 320px;
    /* perfect professional size */
    height: 220px;
    /* consistent height */
    object-fit: cover;
    /* crops nicely, no distortion */
    border-radius: 12px;
    /* smooth modern look */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    display: block;
}

/* Button Loader */
/* Button with loader */
.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s ease;
}

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success message under contact form */
.success-msg {
    margin-top: 12px;
    padding: 12px;
    background: #e8fcee;
    border-left: 4px solid #27ae60;
    color: #1f7c45;
    border-radius: 6px;
    display: none;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*floating call*/
.floating-call {
    position: fixed;
    left: 20px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #01c3cc, #2b8ed5, #4b67dc, #6d3ee5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    animation: floatPulse 3s infinite ease-in-out;
    overflow: visible;
}

.call-icon {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* Hover effect */
.floating-call:hover {
    transform: scale(1.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Outer glow halo */
.floating-call::before {
    content: "";
    position: absolute;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: radial-gradient(rgba(109, 62, 229, 0.25), transparent);
    animation: glowPulse 2.5s infinite ease-in-out;
    z-index: -1;
}

/* Ripple wave animation */
.floating-call::after {
    content: "";
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 2px solid rgba(109, 62, 229, 0.4);
    animation: ripple 2.8s infinite ease-out;
    z-index: -2;
}

/* Animations */
@keyframes glowPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes floatPulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* SVG icon */
.icon-svg {
    width: 28px;
    /* adjust as needed */
    height: 28px;
    color: #0b2540;
    /* outline color (matches brand) */
    stroke: currentColor;
    /* ensures stroke uses the color property */
}

/* Contact items */
.f-contact-items {
    color: #060f1e;
    text-decoration: none;
    font-weight: 500;
    margin-top: 2px;
    transition: 0.3s ease;
    display: inline-block;
}

.f-contact-items:hover {
    color: #007bff;
    text-decoration: underline;
}

/* ===== DROPDOWN MENU ===== */
.has-dropdown {
    position: relative;
}

/* Main dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    /* padding-top = invisible hover bridge across the gap */
    padding-top: 10px;
    min-width: 220px;
    list-style: none;
    z-index: 2000;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding-bottom: 8px;
}

/* Invisible bridge that extends hover area into the gap above the dropdown */
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

@keyframes dropFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop: hover opens dropdown */
@media (min-width: 901px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
        animation: dropFade 0.2s ease forwards;
    }
}

/* Both desktop + mobile: .open class opens dropdown */
.has-dropdown.open .dropdown-menu {
    display: block;
    animation: dropFade 0.2s ease forwards;
}

.dropdown-menu>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: #0b2540;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.dropdown-menu>li>a:hover {
    background: linear-gradient(90deg, #01c3cc22, #4b67dc22);
    color: #0052cc;
    opacity: 1;
}

/* Arrow indicators */
.dropdown-toggle .arrow {
    font-size: 0.7rem;
    margin-left: 4px;
}

.has-submenu>a .arrow {
    font-size: 0.65rem;
}

/* Submenu */
.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 8px 0;
    z-index: 2100;
    animation: dropFade 0.2s ease forwards;
}

/* Desktop: hover opens submenu */
@media (min-width: 901px) {
    .has-submenu:hover .submenu {
        display: block;
    }
}

/* Both: .open class opens submenu */
.has-submenu.open .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 9px 18px;
    color: #0b2540;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.submenu li a:hover {
    background: linear-gradient(90deg, #01c3cc22, #4b67dc22);
    color: #0052cc;
    opacity: 1;
}

/* Divider between service groups */
.dropdown-menu>li+li {
    border-top: 1px solid #eef0f5;
}

/* ===== MOBILE DROPDOWN ===== */
@media (max-width: 900px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.07);
        padding: 0;
        padding-top: 0;
        /* reset bridge on mobile */
        animation: none;
        border-left: 2px solid rgba(255, 255, 255, 0.2);
        margin: 4px 0 4px 10px;
    }

    .has-dropdown::after {
        display: none;
        /* no bridge needed on mobile */
    }

    .dropdown-menu>li>a {
        color: #fff;
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .dropdown-menu>li>a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 0;
        animation: none;
        border-left: 2px solid rgba(255, 255, 255, 0.15);
        margin: 2px 0 2px 12px;
    }

    .submenu li a {
        color: #dde4f0;
        font-size: 0.82rem;
        padding: 7px 14px;
    }

    .submenu li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    .dropdown-menu>li+li {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* On mobile tap to toggle */
    .has-dropdown>a,
    .has-submenu>a {
        cursor: pointer;
    }
}


.repair-gallery {
    padding: 80px 5%;
}

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

.gallery-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    transition: 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.gallery-content {
    padding: 20px;
}

.gallery-content h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.gallery-content p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 260px;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item img {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 260px;
    }
}

.featured-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
}

.nav-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.nav-call-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
    transform: translateY(-2px);
}

.nav-call-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}