/* Smart Connect - Shared site styles */

:root {
    --brand-blue: #1769e8;
    --brand-blue-hover: #1257c7;
    --brand-cyan: #35d9d0;

    --footer-bg: #111;
    --footer-text: #bbb;
    --footer-link: #999;
    --alternate-bg: #e9eef6;
}


/* =========================================================
   BRAND / NAVBAR
   ========================================================= */

.alternate-bg {
    background: var(--alternate-bg);
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.brand-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.brand-slogan {
    margin-top: 6px;
    color: #aeb5bd;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.navbar .nav-link.quote-btn {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff !important;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    transition: 0.2s;
}

.navbar .nav-link.quote-btn:hover,
.navbar .nav-link.quote-btn:focus {
    background: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: #fff !important;
}

/* Bootstrap primary color aligned with the Smart Connect logo */
.btn-primary {
    --bs-btn-bg: var(--brand-blue);
    --bs-btn-border-color: var(--brand-blue);
    --bs-btn-hover-bg: var(--brand-blue-hover);
    --bs-btn-hover-border-color: var(--brand-blue-hover);
    --bs-btn-active-bg: var(--brand-blue-hover);
    --bs-btn-active-border-color: var(--brand-blue-hover);
}

.text-primary {
    color: var(--brand-blue) !important;
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */

.hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
        url("https://images.unsplash.com/photo-1727434032773-af3cd98375ba?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
    min-height: 45vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.hero-about {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
        url("https://images.unsplash.com/photo-1727434032773-af3cd98375ba?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
    min-height: 45vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.hero-service-area {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
        url("https://images.unsplash.com/photo-1727434032773-af3cd98375ba?auto=format&fit=crop&w=1600&q=80") center / cover no-repeat;
    min-height: 45vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/* =========================================================
   TYPOGRAPHY / SECTION LABELS
   ========================================================= */

.section-title {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--brand-blue);
}

/* =========================================================
   CARDS
   ========================================================= */

.service-card,
.project-card,
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.project-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 185px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.location-card {
    border-radius: 12px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */

.service-block img {
    max-height: 320px;
    object-fit: cover;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: var(--footer-bg);
    color: var(--footer-text);
}

footer a {
    color: var(--footer-link);
}

footer a:hover {
    color: #fff;
}

/* Mobile services slider */
.services-slider {
    display: flex;
    gap: 1rem;

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding-bottom: 0.75rem;

    /* Permite que la última tarjeta también se acomode bien */
    padding-right: 1rem;

    /* Firefox */
    scrollbar-width: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.service-slide {
    flex: 0 0 88%;
    scroll-snap-align: start;
}

.service-slide .card {
    width: 100%;
}



.why-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.why-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.why-card p {
    color: #5f6368;
    line-height: 1.5;
}



/* FREE QUOTE*/
/* Quote / Contact page */

.quote-header {
    background: #f8f9fa;
}

.quote-intro {
    max-width: 720px;
}

.quote-form,
.contact-sidebar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
}

.quote-form .form-label {
    font-weight: 600;
}

.quote-form .form-control,
.quote-form .form-select {
    min-height: 48px;
}

.quote-form textarea.form-control {
    min-height: 150px;
}

.contact-phone {
    font-size: 1.35rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-sidebar hr {
    margin: 1.75rem 0;
    border-color: #e5e7eb;
}

@media (max-width: 767.98px) {

    .quote-header {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .quote-header h1 {
        font-size: 2rem;
    }

    .quote-form,
    .contact-sidebar {
        padding: 1.25rem;
    }

    .quote-form .btn[type="submit"] {
        width: 100%;
    }
}

.quote-section {
    background: #f7f8fa;
    padding-bottom: 4rem;
}

.quote-wrapper {
    margin-top: -55px;
    position: relative;
    z-index: 2;
}

.quote-form,
.contact-sidebar {
    background: #fff;
    border: 1px solid #e4e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}


/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media (max-width: 576px) {
    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 1rem;
    }

    .brand-slogan {
        margin-top: 5px;
        font-size: 0.48rem;
        letter-spacing: 0.14em;
    }

    .hero {
        min-height: auto;
        padding: 2.5rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.15;
        margin-bottom: 1rem;
    }

    .hero .lead {
        font-size: 1rem;
        line-height: 1.45;
    }

    .hero .btn {
        font-size: .95rem;
        padding: .65rem .9rem;
    }
}