:root {
    --primary: #043927;
    --secondary: #ACE1AF;
    --accent: #c5c6d6;
    --text-light: #f5f5f5;
    --text-dark: #191919;
    --muted: #bbb;

    --bg-dark: rgba(4,57,39,0.95);
}

/* GLOBAL */
h2 {
    color: var(--primary) !important; 
    font-weight: 600;
}
p {
    color: var(--accent) !important; 
    line-height: 1.6;
}

a {
    color: var(--secondary); /* #ACE1AF */
    text-decoration: none;
    transition: 0.3s ease;
}


/* ================= FEATURE ================= */
.feature .container {
    background: var(--bg-dark);
    padding: 30px 15px;
}

.feature .card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: 0.3s ease;
    will-change: transform;
    box-shadow: rgba(27, 98, 18, 0.25) 0px 4px 5px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.feature .card:hover {
    transform: translateY(-5px);
}

/* TAG */
.feature .card .tag {
    position: absolute;
    top: 18px;
    left: -45px;
    transform: rotate(-45deg);
    padding: 6px 50px;
    font-size: 12px;
    font-weight: 700;
    color: #800000;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* .feature .card .tag ul li {
    color: var(--muted) !important;
} */

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


.hero .info {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.hero .info li {
    list-style: none;
    font-size: 13px;
    padding: 4px 10px;
    color: var(--secondary);
}

/* ================= SERVICE CARD ================= */
.service_card {
    background: var(--primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--secondary);
}

/* IMAGE */
.service_img_box {
    overflow: hidden;
}

.service_img_box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

/* FIX flicker */
.service_card:hover img {
    transform: scale(1.08);
}

/* CONTENT */
.service_card_content {
    padding: 16px;
    flex-grow: 1;
}

.service_card_content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-light);
}

.service_card_content small {
    color: var(--muted);
}

/* ================= TESTIMONIAL ================= */
.testimonial_card {
    background: var(--primary);
    border-radius: 14px;
    padding: 20px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.testimonial_card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.testimonial_message {
    color: var(--secondary);
}

.name {
    color: var(--accent);
}

/* ================= FAQ ================= */
.faq {
    max-width: 800px;
    margin: auto;
}

.faq-item {
    background: var(--primary);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    /* border: 1px solid transparent; */
    transition: 0.3s;
}


.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ARROW */
.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    transition: 0.3s;
}

/* ANSWER FIX */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0,0,0,0.1);
}

.faq-answer p {
    padding: 20px;
    color: var(--muted);
}

/* ACTIVE */
.faq-item.active .faq-answer {
    max-height: 300px; /* fallback */
}

.faq-item.active .arrow {
    transform: rotate(-135deg);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .service_img_box img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .service_img_box img {
        height: 150px;
    }

    .faq-question {
        font-size: 15px;
    }
}

.custom_card {
    background: #043927;
    border-radius: 16px;
    padding: 2px;
    position: relative;
    /* overflow: hidden; */
}

.custom_card-body {
    background: #043927;
    border-radius: 14px;
    padding: 30px 20px 20px 20px;
    color: #f5f5f5;
    position: relative;
    min-height: 200px;
    max-height: 100%;
}

.custom_card-body .nums {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 45px;
    height: 45px;
    background: #ACE1AF;
    color: #043927;
    
    font-weight: 600;
    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
}

.custom_card-body h4 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px !important;
    color: #f5f5f5;
}

.custom_card-body p {
    font-size: 14px;
    color: #dcdcdc;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .custom_card-body {
        padding: 25px 15px 15px 15px;
    }

    .custom_card-body h4 {
        font-size: 18px;
        margin-top: 35px;
    }

    .custom_card-body p {
        font-size: 13px;
    }

    .custom_card-body span {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
        top: 12px;
        left: 12px;
    }
}

/* ===============================
   Base Input Styling (White UI)
================================= */
form .form-control,
form select.form-control,
form textarea.form-control {
    background: #ffffff;
    color: #212529;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;

    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

/* ===============================
   Hover
================================= */
form .form-control:hover,
form select.form-control:hover,
form textarea.form-control:hover {
    border-color: #ACE1AF;
}

/* ===============================
   Focus State
================================= */
form .form-control:focus,
form select.form-control:focus,
form textarea.form-control:focus {
    background: #ffffff;
    border-color: #ACE1AF;
    color: #212529;
    outline: none;

    box-shadow: 0 0 0 3px rgba(172, 225, 175, 0.2);
}

/* ===============================
   Placeholder
================================= */
form .form-control::placeholder,
form textarea.form-control::placeholder {
    color: #9aa0a6;
}

/* ===============================
   Select Styling
================================= */
form select.form-control {
    background-color: #ffffff;
    color: #212529;
}

/* Dropdown options */
form select.form-control option {
    background: #ffffff;
    color: #212529;
}

/* ===============================
   Autofill Fix
================================= */
form input:-webkit-autofill,
form input:-webkit-autofill:hover,
form input:-webkit-autofill:focus,
form textarea:-webkit-autofill {
    -webkit-text-fill-color: #212529 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ===============================
   Invalid State
================================= */
form .form-control.is-invalid,
form select.form-control.is-invalid,
form textarea.form-control.is-invalid {
    border-color: #dc3545;
    background: #fff;
}

/* ===============================
   Label
================================= */
form .form-label {
    color: #212529;
    font-weight: 500;
    margin-bottom: 6px;
}

/* ===============================
   Disabled Input
================================= */
form .form-control:disabled,
form select.form-control:disabled,
form textarea.form-control:disabled {
    background: #f1f3f5;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Feature Card */
.feature-card {
    border: 1px solid #e6f4ea;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.feature-card:hover {
    border-color: #fff;
}

/* Title */
.feature-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 5px;
}


#dynamic-features {
    margin-top: 10px;
}