/*
=================================================================
  The Eco Works — Services Section Styles
  File: services.css

  INSTALLATION:
  1. Upload this file into your /css/ folder
  2. Add ONE line to index.html inside <head>,
     after the templatemo_style.css link:

       <link href="css/services.css" rel="stylesheet">
=================================================================
*/

/* ── Section wrapper ─────────────────────────────────────────── */
#templatemo_services {
    background: #f4f9f6;
    float: left;
    width: 100%;
    padding-bottom: 60px;
}

/* Override global h1 for this section only */
#templatemo_services h1 {
    color: #1a3a2a;
    margin-top: 60px;
    margin-bottom: 10px;
}

#templatemo_services .services-subtitle {
    text-align: center;
    font: normal normal normal 16px/26px 'Century Gothic', sans-serif;
    color: #5a7a6a;
    max-width: 640px;
    margin: 0 auto 48px auto;
}

/* ── Card columns — Bootstrap 3 compatible ───────────────────── */
#templatemo_services .service-col {
    margin-bottom: 28px;
}

/* ── Individual card ─────────────────────────────────────────── */
.service-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #d8ede5;
    padding: 28px 24px 24px 24px;
    font-family: 'Century Gothic', sans-serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(29, 158, 117, 0.13);
    border-color: #1D9E75;
}

/* Featured card — green accent bar at top */
.service-card.featured {
    border: 2px solid #1D9E75;
    box-shadow: 0 8px 28px rgba(29, 158, 117, 0.15);
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #1D9E75;
    border-radius: 16px 16px 0 0;
}

/* ── Badges ──────────────────────────────────────────────────── */
.service-badge {
    display: inline-block;
    font: normal normal bold 11px/1em 'Century Gothic', sans-serif;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.badge-popular {
    background-color: #e1f5ee;
    color: #0F6E56;
}

.badge-gov {
    background-color: #e3edf5;
    color: #1a4a6e;
}

.badge-soon {
    background-color: #fef3e0;
    color: #7a4a0a;
}

/* ── Icon circle ─────────────────────────────────────────────── */
.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #e1f5ee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: #1D9E75;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Card title ──────────────────────────────────────────────── */
.service-card .service-title {
    font: normal normal bold 17px/24px 'Century Gothic', sans-serif;
    color: #1a3a2a;
    margin: 0 0 10px 0;
    text-align: left;
}

/* ── Price ───────────────────────────────────────────────────── */
.service-price {
    font: normal normal bold 22px/28px 'Century Gothic', sans-serif;
    color: #1D9E75;
    margin-bottom: 4px;
    text-align: left;
}

.service-price-note {
    font: normal normal normal 12px/18px 'Century Gothic', sans-serif;
    color: #8aaa98;
    margin-bottom: 16px;
    text-align: left;
}

/* ── Description ─────────────────────────────────────────────── */
.service-card .service-desc {
    font: normal normal normal 13px/22px 'Century Gothic', sans-serif;
    color: #4a6a58;
    margin-bottom: 18px;
    flex-grow: 1;
    text-align: left;
}

/* ── Includes list ───────────────────────────────────────────── */
.service-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-top: 1px solid #e0ede7;
    padding-top: 16px;
}

.service-includes li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font: normal normal normal 12px/20px 'Century Gothic', sans-serif;
    color: #4a6a58;
    padding: 4px 0;
    text-align: left;
}

.service-includes li .check {
    color: #1D9E75;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
    line-height: 1;
}

/* ── CTA link ────────────────────────────────────────────────── */
.service-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: normal normal bold 13px/20px 'Century Gothic', sans-serif;
    color: #1D9E75;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-cta-link:hover {
    color: #0F6E56;
    text-decoration: none;
    gap: 10px;
}

.service-cta-link .cta-arrow {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
    display: inline-block;
}

.service-cta-link:hover .cta-arrow {
    transform: translateX(3px);
}

/* ── Bottom CTA banner ───────────────────────────────────────── */
.services-cta-banner {
    background: #1D9E75;
    border-radius: 16px;
    padding: 40px 48px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.services-cta-banner .banner-text h3 {
    font: normal normal bold 20px/28px 'Century Gothic', sans-serif;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-align: left;
}

.services-cta-banner .banner-text p {
    font: normal normal normal 14px/22px 'Century Gothic', sans-serif;
    color: #b8e8d8;
    margin: 0;
    text-align: left;
}

.services-cta-banner .btn-banner {
    display: inline-block;
    background: #ffffff;
    color: #1D9E75;
    font: normal normal bold 14px/20px 'Century Gothic', sans-serif;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.services-cta-banner .btn-banner:hover {
    background: #e1f5ee;
    color: #0F6E56;
    text-decoration: none;
    transform: scale(1.04);
}

/* ── Nav colour override — swap template red for your green ──── */
#templatemo_banner_menu ul li a:hover,
#templatemo_banner_menu ul li a.current {
    background-color: #1D9E75;
    background-image: none;
    color: #ffffff;
}

#templatemo_mobile_menu ul li a {
    background: #1D9E75;
    color: #ffffff;
}

#templatemo_mobile_menu ul li:hover a {
    background: #0F6E56;
    color: #ffffff;
}

#templatemo_banner_menu {
    border-bottom-color: #1D9E75;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
    .services-cta-banner {
        flex-direction: column;
        padding: 32px 24px;
    }
    .services-cta-banner .banner-text h3,
    .services-cta-banner .banner-text p {
        text-align: center;
    }
}

@media (max-width: 767px) {
    #templatemo_services {
        padding-bottom: 40px;
    }
    .service-card {
        padding: 22px 18px 18px 18px;
        margin-bottom: 0;
    }
    .services-cta-banner {
        padding: 28px 20px;
        text-align: center;
    }
}
