/* ===================================
   Custom Sections Styles
   Modern & Beautiful UI Design
   =================================== */


/* ===================================
   Service Icons Section
   Modern & Beautiful Design with SVG Icons
   =================================== */

.service-icons-container {
    padding: clamp(1rem, 2vw, 2rem) 0;
}

.service-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    text-decoration: none;
    background: linear-gradient(165deg, #ffffff 0%, #f8f6f6 100%);
    border-radius: 24px;
    padding: clamp(1.25rem, 2.6vw, 2.2rem);
    min-height: 300px;
    box-shadow: 0 10px 30px rgba(25, 25, 25, 0.08);
    border: 1px solid rgba(112, 17, 12, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(220px 120px at -10% -25%, rgba(112, 17, 12, 0.16), transparent 65%),
        radial-gradient(220px 140px at 110% 115%, rgba(138, 52, 47, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.service-icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 38px rgba(112, 17, 12, 0.18);
    border-color: rgba(112, 17, 12, 0.28);
}

.service-icon-box:hover::before {
    opacity: 1;
}

.service-icon-wrapper,
.service-icon-box h3,
.service-arrow {
    position: relative;
    z-index: 1;
}

.service-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-bg {
    width: 112px;
    height: 112px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 25px rgba(20, 20, 20, 0.16);
}

.service-icon-bg::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    height: 45%;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.service-icon-1 {
    background: linear-gradient(145deg, #2a82f0 0%, #2a5bda 100%);
}

.service-icon-2 {
    background: linear-gradient(145deg, #f59f0a 0%, #e9751e 100%);
}

.service-icon-3 {
    background: linear-gradient(145deg, #21a965 0%, #0f8b79 100%);
}

.service-icon-bg svg {
    width: 58px;
    height: 58px;
    stroke: #fff;
    stroke-width: 2.2;
    fill: none;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.35s ease;
}

.service-icon-bg .icon-fill {
    fill: rgba(255, 255, 255, 0.28);
    stroke: none;
}

.service-icon-box:hover .service-icon-bg {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.service-icon-box:hover .service-icon-bg svg {
    transform: scale(1.04);
}

.service-icon-box h3 {
    font-size: clamp(1.15rem, 1.15vw, 1.38rem);
    font-weight: 700;
    color: #16324f;
    text-align: center;
    margin: 0;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.service-icon-box:hover h3 {
    color: #70110c;
}

.service-subtitle {
    font-size: clamp(0.84rem, 0.9vw, 0.94rem);
    font-weight: 500;
    color: #5f6e7d;
    display: block;
    margin-top: 0.45rem;
}

.service-arrow {
    margin-top: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #70110c 0%, #9f3f37 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-arrow i {
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.service-icon-box:hover .service-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Service Icons */
@media (max-width: 991px) {
    .service-icon-box {
        min-height: 275px;
    }
}

@media (max-width: 767px) {
    .service-icons-container {
        padding: 1rem 0;
    }

    .service-icon-box {
        min-height: auto;
        padding: 1.35rem 1.1rem;
        border-radius: 20px;
    }

    .service-icon-wrapper {
        margin-bottom: 0.85rem;
    }

    .service-icon-bg {
        width: 88px;
        height: 88px;
        border-radius: 24px;
    }

    .service-icon-bg svg {
        width: 46px;
        height: 46px;
    }

    .service-icon-box h3 {
        font-size: 1.06rem;
    }

    .service-subtitle {
        font-size: 0.82rem;
        margin-top: 0.3rem;
    }

    /* Mobile has no reliable hover, so keep CTA visible */
    .service-arrow {
        opacity: 1;
        transform: none;
        width: 34px;
        height: 34px;
        margin-top: 0.9rem;
    }
}

@media (hover: none) {
    .service-icon-box:hover {
        transform: none;
    }

    .service-icon-box:hover::before {
        opacity: 0;
    }

    .service-icon-box:hover .service-icon-bg {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-icon-box,
    .service-icon-box::before,
    .service-icon-bg,
    .service-icon-bg svg,
    .service-arrow {
        transition: none;
    }
}

