/* =====================================================================
   Home page — polish layer
   ===================================================================== */

/* Soft warm gradient (kept from original brand) */
.section1-background {
    background-image: linear-gradient(
        135deg,
        #fcf5ef 0%,
        #fef0e3 60%,
        #ffebd3 100%
    );
}

.section1-leftdiv {
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 10;
}
.section1-leftdiv-image1 { height: 250px; }
.section1-leftdiv-image2 {
    position: absolute;
    bottom: -50px;
    right: -50px;
    height: 250px;
}
.section1-middlediv {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin-bottom: 10%;
}
.section1-rightdiv { display: flex; justify-content: start; z-index: 10; }
.section1-rightdiv-card {
    height: 110px;
    padding: 0 10px;
    background: #f9eedc;
    width: 110px;
    z-index: 2;
    border-radius: 50%;
    font-size: 0.75rem;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    border: 1px solid #cdcdcd;
}
.section1-overlaydivimage {
    position: absolute;
    bottom: 0;
    z-index: 1;
    height: auto;
    right: 20%;
}

.section2-card { position: absolute; top: -100px; z-index: 10; }

.section3-categoryimage {
    position: absolute;
    height: 100px;
    left: 0;
    top: -20px;
}
.section3-card {
    text-transform: uppercase;
    background: #b88e2f;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Service grid (home page Section "Our Services") — toned down */
.col-2 .border-0 .card-body {
    align-items: center;
    display: flex;
    flex-direction: column;
}
.section3-cardimg {
    height: 110px;
    width: 110px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ink-50, #f8f9fb);
    padding: 8px;
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Less "carded" — use clean hover lift instead of heavy shadow on default */
.home-services-grid .card {
    background: transparent !important;
    box-shadow: none !important;
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-services-grid .card .card-body {
    padding: 18px 12px;
    text-align: center;
}
.home-services-grid .card:hover { transform: translateY(-4px); }
.home-services-grid .card:hover .section3-cardimg {
    transform: scale(1.04);
}
.home-services-grid .section-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: var(--ink-800, #1a202c);
    margin-top: 14px !important;
}

/* Hero copy block */
.home-hero h1 {
    font-weight: 700;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ink-900, #0f1419);
    margin-bottom: 18px;
}
.home-hero p,
.home-hero .text-secondary {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink-500, #6c6e76);
}
.home-hero .form-control {
    height: 50px;
}

/* Section titles */
.home-section-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--ink-900, #0f1419);
    margin-bottom: 12px;
}
.home-section-eyebrow {
    color: var(--brand, #d52031);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

/* CTA download card — subtle ambient red glow */
.download-card.secondary-bg-color {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1416 100%) !important;
}

/* Testimonial section heading */
.home-testimonial-title {
    font-weight: 700;
    font-size: clamp(1.6rem, 2.8vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Section rhythm — replaces inline `margin-top: 6rem` */
.home-section {
    padding-top: clamp(56px, 8vw, 96px);
}
.home-section + .home-section { padding-top: clamp(48px, 7vw, 88px); }

.home-button-transparent {
    font-size: 0.75rem;
    background: transparent;
    border-bottom: 2px solid;
    border-radius: 0;
    border-top: 0;
    border-right: 0;
    border-left: 0;
}
.home-button-1 {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 12px;
}

/* Mobile spacing for hero */
@media (max-width: 767.98px) {
    .home-hero { padding-top: 24px !important; }
    .home-hero .card-body { padding: 8px 4px; }
    .hero-img {
        min-height: 280px;
        margin-top: 24px;
    }
}
