body {
    background-color: #f3f4f6;
}

.hero-section {
    position: relative;
    min-height: 60vh;
    background: radial-gradient(circle at top left, #1d4ed8, #020617);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background-color: rgba(15, 23, 42, 0.85);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-carousel {
    height: 340px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.55);
}

.hero-carousel .carousel-item {
    height: 340px;
}

.hero-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card {
    border: none;
    border-radius: 1rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.3);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.home-feature-card-body {
    display: flex;
    flex-direction: column;
}

.home-feature-title {
    min-height: 3rem;
    line-height: 1.25;
}

.home-feature-description {
    min-height: 4.5rem;
    margin-bottom: 0.5rem;
}

.home-feature-divider {
    margin: 0.35rem 0 0.75rem;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    opacity: 1;
}

.home-feature-bullets {
    text-align: left;
}

.home-feature-bullets li {
    margin-bottom: 0.4rem;
    list-style: none;
    position: relative;
    padding-left: 1.15rem;
}

.home-feature-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316;
    font-weight: 700;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.08);
    box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.2);
}

.feature-icon-svg {
    width: 22px;
    height: 22px;
    display: block;
    margin: 0;
    stroke: #f9fafb;
    stroke-width: 1.6;
    fill: none;
}

.feature-icon-svg path:first-child:not(:only-child) {
    fill: none;
}

.feature-icon-svg--bolt {
    color: #facc15;
    fill: currentColor;
    stroke: none;
}

.home-features-title {
    font-size: clamp(2rem, 2.6vw, 2.45rem);
}

.home-features-subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.navbar {
    position: relative;
    z-index: 1050;
    backdrop-filter: blur(12px);
}

.navbar-dark .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Footer */
.footer-social {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social:hover {
    color: #fff;
    transform: translateY(-2px);
}
.footer-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.footer-help-copy {
    max-width: 560px;
    opacity: 0.95;
    font-size: 1.1rem;
}

.footer-block-title {
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
}

/* Floating social bubbles (bottom-right) */
.social-bubbles {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.social-bubble {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.social-bubble svg {
    width: 1.5rem;
    height: 1.5rem;
}

.social-bubble-wa {
    background: #25d366;
}

.social-bubble-wa:hover {
    background: #20bd5a;
}

.social-bubble-ig {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-bubble-fb {
    background: #1877f2;
}

.social-bubble-fb:hover {
    background: #166fe5;
}

.social-bubble-tt {
    background: #111827;
}

.social-bubble-tt:hover {
    background: #000;
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

.service-card-body {
    padding-bottom: 1.25rem;
}

.service-card {
    overflow: hidden;
    display: grid;
    grid-template-rows: 124px 220px 1fr;
}

.service-card-header {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 1rem !important;
    padding-bottom: 0.75rem !important;
    overflow: hidden;
}

.service-card-title {
    height: 3rem;
    line-height: 1.2;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card-location {
    min-height: 1.25rem;
    margin-bottom: 0;
    margin-top: 0 !important;
}

.service-bullets {
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
    text-align: left;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-bullets li {
    margin-bottom: 0.45rem;
    list-style: none;
    position: relative;
    padding-left: 1.15rem;
}

.service-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316;
    font-weight: 700;
}

.service-description {
    height: 3rem;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.65rem;
    flex: 1 1 auto;
}

.service-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(148, 163, 184, 0.12);
}

.article-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.testimonial-slide-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    min-height: 240px;
    background:
        radial-gradient(circle at 18% 18%, var(--testimonial-tint-1, rgba(148, 163, 184, 0.14)), transparent 46%),
        linear-gradient(20deg, var(--testimonial-tint-2, rgba(148, 163, 184, 0.08)), transparent 45%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.testimonial-slide-card .card-body {
    min-height: 240px;
}

.testimonial-next-btn {
    position: static;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.82);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.testimonial-next-btn .carousel-control-next-icon {
    width: 1rem;
    height: 1rem;
}

.testimonial-stars {
    color: #f59e0b;
    letter-spacing: 0.05rem;
    font-size: 1.05rem;
}

.testimonial-star {
    display: inline-block;
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 48vh;
    }

    .hero-section .hero-overlay {
        top: 0 !important;
        height: 100% !important;
    }

    .hero-section .container {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
        min-height: 48vh;
        display: flex;
        align-items: center;
    }

    .hero-section .container .row {
        width: 100%;
        justify-content: center;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .testimonial-slide-card,
    .testimonial-slide-card .card-body {
        min-height: 210px;
    }

    .article-card-image {
        height: 200px;
    }
}

