:root {
    --bg-body: #050816;
    --bg-elevated: rgba(15, 23, 42, 0.88);
    --bg-soft: rgba(15, 23, 42, 0.7);
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.12);
    --accent-2: #22c55e;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
    --container-width: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 46%, #000 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8) 80%, transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #22c55e, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}

.brand-initial {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e5e7eb;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.main-nav ul {
    display: flex;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.4rem 0.1rem;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.15rem;
    height: 2px;
    background: linear-gradient(to right, #22c55e, #4f46e5);
    transform-origin: center;
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
    color: #e5e7eb;
}

.main-nav a.is-active {
    color: #e5e7eb;
    font-weight: 500;
}

.main-nav a.is-active::after {
    transform: scaleX(1);
    opacity: 1;
}

.header-cta {
    display: flex;
    align-items: center;
}

.btn {
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.45rem 1.1rem;
    font-size: 0.82rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #22c55e);
    color: #f9fafb;
    box-shadow: 0 9px 25px rgba(15, 23, 42, 0.8);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.9);
}

.btn-ghost,
.btn-ghost-sm {
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost-sm {
    font-size: 0.8rem;
    padding: 0.45rem 0.95rem;
}

.btn-ghost:hover,
.btn-ghost-sm:hover {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.95);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.25rem;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
    margin: 3px 0;
}

/* HERO */

.hero-section {
    padding: 3.5rem 0 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.9rem;
}

.hero-copy h1 {
    font-size: clamp(2.3rem, 3vw, 3rem);
    line-height: 1.1;
    margin: 0 0 1rem;
}

.accent-gradient {
    background: linear-gradient(135deg, #22c55e, #4f46e5);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 32rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.6rem 0 1.9rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    font-size: 0.8rem;
}

.metric-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

.metric-label {
    color: var(--text-muted);
}

/* HERO visual */

.hero-visual {
    position: relative;
}

.glass {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.92));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.hero-card {
    padding: 1.25rem 1.4rem;
    font-size: 0.9rem;
}

.hero-card-lg {
    padding: 1.6rem 1.8rem 1.4rem;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.badge {
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.badge-soft {
    background: rgba(22, 163, 74, 0.12);
    color: #bbf7d0;
}

.badge-pill {
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.6);
    font-size: 0.72rem;
    color: #c7d2fe;
}

.hero-card-title {
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-wave {
    height: 80px;
    border-radius: 16px;
    background: radial-gradient(circle at 15% 15%, rgba(52, 211, 153, 0.4), transparent 55%),
        radial-gradient(circle at 65% 55%, rgba(59, 130, 246, 0.4), transparent 55%),
        radial-gradient(circle at 45% 100%, rgba(244, 63, 94, 0.4), transparent 55%);
    position: relative;
    overflow: hidden;
}

.hero-card-footer {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
}

.dot-green {
    background: #22c55e;
}

.hero-floating-cards {
    position: absolute;
    inset: auto;
    bottom: -1.5rem;
    right: -0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: min(240px, 70vw);
}

/* SECTIONS */

.section {
    padding: 3.5rem 0;
}

.section-emphasis {
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.4), rgba(15, 23, 42, 0.9));
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.section-soft {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), rgba(15, 23, 42, 0.96));
}

.section-cta {
    padding: 3rem 0 3.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GRID HELPERS */

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.3rem 1.35rem 1.4rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.8);
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(79, 70, 229, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover {
    transform: translateY(-4px) translateZ(0);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
    border-color: rgba(129, 140, 248, 0.9);
}

.card:hover::before {
    opacity: 1;
}

/* SERVICES */

.service-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.service-card p {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    margin-bottom: 0.7rem;
    background: radial-gradient(circle at top left, #22c55e, #4f46e5);
}

.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag-list li {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* PRODUCTS SCROLL */

.product-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x mandatory;
}

.product-card {
    scroll-snap-align: start;
}

.product-card h3 {
    margin: 0 0 0.4rem;
}

/* PROCESS */

.process-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
    font-size: 0.88rem;
}

.process-timeline li {
    position: relative;
    padding: 1.1rem 1rem 1rem;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.96);
    border: 1px dashed rgba(148, 163, 184, 0.6);
}

.process-step {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent-2);
    margin-bottom: 0.4rem;
}

/* TESTIMONIALS */

.testimonial-slider {
    max-width: 640px;
    margin: 0 auto;
}

.testimonial-card {
    text-align: center;
    padding: 1.6rem 1.8rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.testimonial-meta {
    font-size: 0.86rem;
}

.testimonial-name {
    font-weight: 500;
}

/* CTA */

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.8rem 2rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5, #22c55e);
    color: #f9fafb;
}

.cta-inner p {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* FOOTER */

.site-footer {
    margin-top: auto;
    padding: 2.5rem 0 0.75rem;
    background: #020617;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 2rem;
    font-size: 0.85rem;
}

.site-footer h4 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0;
    color: var(--text-muted);
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: #e5e7eb;
}

.footer-contact li + li {
    margin-top: 0.2rem;
}

.footer-social {
    margin-top: 0.9rem;
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.75rem;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    padding: 0.8rem 0 0.4rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hero-visual {
        order: -1;
    }
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .main-nav {
        position: fixed;
        inset: 56px 0 auto;
        background: rgba(15, 23, 42, 0.98);
        border-bottom: 1px solid rgba(148, 163, 184, 0.35);
        transform: translateY(-150%);
        transition: transform 0.18s ease-out;
    }
    .main-nav.open {
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        padding: 0.75rem 1.5rem 1rem;
    }
    .header-cta {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .hero-section {
        padding-top: 2.4rem;
    }
    .grid-4 {
        grid-template-columns: minmax(0, 1fr);
    }
    .process-timeline {
        grid-template-columns: minmax(0, 1fr);
    }
    .cta-inner {
        border-radius: 24px;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* FORCE 2-CARD GRID ON DESKTOP */
.services-grid,
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.5rem;
}

.services-grid > article,
.products-grid > article {
    width: 100%;
}

/* REMOVE strict square sizing so grid works */
.services-grid .card-square,
.products-grid .card-square {
    aspect-ratio: unset !important;
    min-height: 380px; /* optional, keeps size consistent */
}


.service-card-lg,
.product-card-lg {
    display: flex;
    flex-direction: column;
}

.card-footer-row {
    margin-top: auto;
}


/* ---------------------------------- */
/* CONTACT PAGE — refined and final   */
/* ---------------------------------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

/* Floating label fields (UX improved) */
.form-field-floating {
    position: relative;
}
.form-field-floating input,
.form-field-floating textarea,
.form-field-floating select {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.92);
    padding: 1.05rem 0.9rem 0.45rem;
    font-size: 0.88rem;
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field-floating label {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(15,23,42,1) 30%, rgba(15,23,42,0.92) 70%);
    padding: 0 0.25rem;
    transition: 0.18s ease;
}
.form-field-floating input:focus,
.form-field-floating textarea:focus,
.form-field-floating select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.7);
}
.form-field-floating input:not(:placeholder-shown) + label,
.form-field-floating input:focus + label,
.form-field-floating textarea:not(:placeholder-shown) + label,
.form-field-floating textarea:focus + label,
.form-field-floating select:focus + label {
    top: 0.3rem;
    transform: translateY(0);
    font-size: 0.72rem;
    color: var(--accent-2);
}

/* Contact card */
.contact-info-card {
    padding: 1.4rem 1.5rem;
}
.contact-direct li {
    font-size: 0.94rem;
}
.contact-direct li strong {
    color: var(--accent-2);
}

/* FAQ — Accordion */
.accordion {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.3);
}
.accordion-item {
    cursor: pointer;
    padding: 0.75rem 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.7);
    font-size: 0.88rem;
    transition: background 0.2s ease;
}
.accordion-item:hover {
    background: rgba(30, 41, 59, 0.85);
}
.accordion-q { flex: 1; margin-right: 0.6rem; }
.accordion-icon {
    font-size: 1rem;
    transition: transform 0.25s ease;
    font-weight: 600;
}
.accordion-item.is-open .accordion-icon {
    transform: rotate(45deg);
}
.accordion-panel {
    max-height: 0;
    overflow: hidden;
    font-size: 0.82rem;
    padding: 0 0.95rem;
    color: var(--text-muted);
    transition: max-height 0.26s ease, padding-bottom 0.26s ease;
}
.accordion-panel.is-open {
    padding-bottom: 0.7rem;
    max-height: 260px;
}

/* Map card */
.map-card iframe {
    width: 100%;
    height: 260px;
}
.map-card .map-embed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.32);
}

/* Button enhancement on contact page */
.contact-form .btn-primary {
    font-size: 0.92rem;
    padding: 0.75rem 1.6rem;
    margin-top: 0.3rem;
}

/* Mobile tweaks */
@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-info-card,
    .contact-form {
        padding: 1.25rem;
    }
}



/* ------------------------------- */
/* 🔥 Contact Page Visual Upgrade  */
/* ------------------------------- */

/* Glassmorphic glowing cards */
.contact-form,
.contact-info-card,
.map-card {
    position: relative;
    border-radius: 22px;
    background: rgba(7, 12, 26, 0.65);
    border: 1px solid rgba(129, 140, 248, 0.35);
    backdrop-filter: blur(18px);
    transition: border 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form:hover,
.contact-info-card:hover,
.map-card:hover {
    border-color: rgba(129, 140, 248, 0.75);
    box-shadow: 0 0 22px rgba(99, 102, 241, 0.32);
    transform: translateY(-3px);
}

/* Animated border shimmer */
.contact-form::before,
.contact-info-card::before,
.map-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        130deg,
        rgba(79, 70, 229, 0.65),
        rgba(34, 197, 94, 0.55),
        rgba(79, 70, 229, 0.65)
    );
    background-size: 260% 260%;
    z-index: -1;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form:hover::before,
.contact-info-card:hover::before,
.map-card:hover::before {
    opacity: 1;
    animation: glowBorder 4s linear infinite;
}

@keyframes glowBorder {
    0% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

/* Input field hover + focus glow */
.form-field-floating input,
.form-field-floating textarea,
.form-field-floating select {
    transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.form-field-floating input:hover,
.form-field-floating textarea:hover,
.form-field-floating select:hover {
    border-color: rgba(129,140,248,0.55);
}
.form-field-floating input:focus,
.form-field-floating textarea:focus,
.form-field-floating select:focus {
    box-shadow: 0 0 12px rgba(79, 70, 229, 0.45);
}

/* Neon button hover */
.contact-form .btn-primary {
    transition: transform 0.18s ease, box-shadow 0.25s ease;
}
.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 22px rgba(79, 70, 229, 0.55);
}
.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* Accordion glow improvements */
.accordion-item {
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    transition: background 0.25s ease;
}
.accordion-item:hover {
    background: rgba(37, 51, 85, 0.45);
}
.accordion-panel {
    border-left: 2px solid rgba(79, 70, 229, 0.45);
    padding-left: 0.95rem;
}

/* Map hover pulse */
.map-card .map-embed {
    overflow: hidden;
    border-radius: 20px;
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.map-card:hover .map-embed {
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.45);
    transform: scale(1.01);
}



/* 2-card contact layout (no map version) */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch; /* makes both cards equal height */
}

/* Make both cards stretch nicely */
.contact-form,
.contact-info-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.6rem 1.8rem !important; /* balanced spacing */
}

/* Force inner items to not collapse */
.contact-form > *:last-child,
.contact-info-card > *:last-child {
    margin-top: auto; /* pushes footer/last line to bottom if needed */
}

/* Improve spacing inside contact-info */
.contact-info-card p,
.contact-direct,
.contact-meta {
    margin-bottom: 0.9rem;
}

/* Ensure the button area inside form does not shrink */
.contact-form button {
    margin-top: 1.2rem;
}

/* Mobile stacking */
@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}


.contact-form,
.contact-info-card {
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.18);
}


/* Ensure input typing text stays white */
.form-field-floating input,
.form-field-floating textarea,
.form-field-floating select {
    color: #e5e7eb !important; /* white / light gray */
}

/* When focused OR filled */
.form-field-floating input:focus,
.form-field-floating textarea:focus,
.form-field-floating select:focus {
    color: #ffffff !important;
}


/* FORCE CORRECT CARD GRID ON DESKTOP */
.grid-3,
.services-grid,
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem;
}

/* tablets (2 cards per row) */
@media (max-width: 1024px) {
    .grid-3,
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* mobile (1 card per row) */
@media (max-width: 720px) {
    .grid-3,
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}


.card a {
    pointer-events: auto;
}


/* Fix: CTA buttons should always receive click events even inside cards */
.card a.btn,
.card-footer-row a.btn,
.btn.btn-primary,
.btn.btn-pill {
    pointer-events: auto !important;
    position: relative;
    z-index: 5;
}

/* Fix: Prevent card overlay from blocking clicks */
.card::before {
    pointer-events: none !important;
}




.site-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;  /* remove this if logo isn't circular */
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.8);
}





.testimonial-slider {
  position: relative;
  min-height: 180px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card.is-active {
  opacity: 1;
  position: relative;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1; /* light gray */
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.6;
}

.testimonial-dots button.active {
  background: #6366f1; /* theme accent, tweak if needed */
  opacity: 1;
  transform: scale(1.3);
}





