/* /c:/wamp64/www/bayarzakat/public/assets/css/custom.css */
/* Declare custom color variables */

/* Bombardiro crocodilo */
/* * {
  outline: 1px solid #f00 !important;
} */

:root {
    --custom-primary-text: #6c8f65;
    /* change to your primary color */
    --custom-secondary-text: #385222;
    /* change to your secondary color */
    --custom-primary-bg: #fbf1d6;
    /* change to your tertiary color */
    --custom-secondary-bg: #dee8cd;
    /* change to your quaternary color */
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
.nav-item,
.btn,
.footer-item {
    font-family: 'Stack Sans Text', sans-serif !important;
    letter-spacing: 0.5px !important;
}

.nav-item {
    font-size: 16px !important;
}

.nav-support {
    font-size: 16px !important;
}

/* optional simple utilities */
.text-primary {
    color: var(--custom-primary-text) !important;
}

.text-secondary {
    color: var(--custom-secondary-text) !important;
}

.bg-primary {
    background-color: var(--custom-primary-bg) !important;
}

.bg-secondary {
    background-color: var(--custom-secondary-bg) !important;
}

.header-bg {
    background-color: #fff9e3 !important;
}

a {
    color: var(--custom-primary-text) !important;
}

a:hover {
    color: var(--custom-secondary-text) !important;
}

.topbar {
    padding: 15px 0 !important;
    background-color: var(--custom-primary-bg) !important;
}

.btn-primary-override {
    background-color: var(--custom-primary-text) !important;
    border-color: var(--custom-primary-text) !important;
}

.btn-primary-override:hover {
    background-color: var(--custom-secondary-text) !important;
    border-color: var(--custom-secondary-text) !important;
}

.btn-outline-override {
    background-color: #fff9e3 !important;
    border: 1px solid var(--custom-secondary-text) !important;
}

.btn-outline-override:hover {
    background-color: var(--custom-primary-text) !important;
    border-color: var(--custom-primary-text) !important;
}

.nav-item {
    font-weight: 400 !important;
    padding: 10px 25px !important;
}

.active {
    font-weight: 800 !important;
    font-style: bold !important;
}

.footer {
    background: var(--custom-primary-bg) !important;
}

.footer .footer-item a,
.footer .footer-item p {
    color: var(--custom-primary-text) !important;
    line-height: 30px;
    font-size: 16px;
    transition: 0.5s;
}

.footer .footer-item a:hover {
    color: var(--custom-secondary-text) !important;
}

.footer-title {
    border-left: #385222 4px solid !important;
    padding-left: 20px !important;
    font-size: large !important;
}

.footer-content {
    padding-left: 20px !important;
    padding: 4px 0 !important;
}

.footer-icon {
    border: 0 !important;
}

.footer-hr {
    border-top: 3px solid var(--custom-primary-text) !important;
}

.copyright {
    background-color: var(--custom-primary-bg) !important;
}

.copyright-container {
    border-radius: 15px !important;
    background-color: #fff9e3 !important;
}

.carousel-inner {
    background: #fbf1d6 !important;
}

.carousel-item .carousel-caption {
    background: none !important;
}

/* Default: mobile/tablet - full viewport height */
.carousel-inner {
    height: 100vh !important;
}

/* Desktop/PC: 80vh */
@media (min-width: 992px) {
    .carousel-inner {
        height: 85vh !important;
    }
}

.zakat-card {
    background: #fffbe9;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.zakat-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

.zakat-desc {
    flex-grow: 1;
    /* Makes all descriptions equal height */
    display: flex;
    align-items: start;
    /* Align text at the top */
}

.amil-box {
    background: #eef6df;
    border: 2px solid #d5e2c4;
    border-radius: 30px;
    width: 100%;
}

.amil-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    margin: auto;
}

/* remove default dots */
.owl-dots .owl-dot span {
    width: 20px !important;
    height: 4px !important;
    border-radius: 5px !important;
    background: #c0d3b0 !important;
    opacity: .6;
}

.text-yellow {
    color: #d4a821 !important;
}

.owl-dots .owl-dot.active span {
    background: #9bb78d !important;
    opacity: 1;
}

.owl-stage {
    display: flex;
    align-items: center;
}

/* Position & spacing */
.owl-dots {
    margin-top: 20px !important;
}

/* Dot container */
.owl-dots .owl-dot {
    margin: 0 4px !important;
}

/* Make dots horizontal bars */
.owl-dots .owl-dot span {
    width: 25px !important;
    height: 4px !important;
    border-radius: 5px !important;
    background: #c0d3b0 !important;
    opacity: 0.5;
    transition: 0.3s;
}

/* Active bar */
.owl-dots .owl-dot.active span {
    background: #9bb78d !important;
    opacity: 1;
    width: 30px !important;
    /* slightly longer */
}

.cards-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    position: relative;
    width: 250px;
    height: 180px;
    background: #f5f0e0;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* Top-left corner overlay */
.corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: #56734a;
    border-bottom-right-radius: 100%;
    transition: all 0.5s ease;
    overflow: hidden;
}

.card:hover .corner {
    width: 200px;
    height: 200px;
    border-radius: 0 0 200px 0;
}

/* Hidden content inside corner */
.corner-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s 0.3s;
    /* delay slightly */
    width: 180px;
}

.card:hover .corner-content {
    opacity: 1;
}

.card-body {
    position: relative;
    padding: 20px;
    z-index: 1;
    /* above corner initially */
}

.card-body .icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* cursed section */

.zakat-section {
    background: url("your-background-image.jpg") center/cover no-repeat;
    position: relative;
    padding: 80px 0;
    color: #fff;
    display: flex;
    justify-content: center;
}

.overlay-green {
    position: absolute;
    inset: 0;
    background: rgba(90, 120, 80, 0.85);
    /* green overlay */
    backdrop-filter: blur(3px);
}

.container {
    position: relative;
    z-index: 2;
    /* display: flex; */
    flex-wrap: wrap;
    justify-content: space-between;
}

/* FLEXBOX for the left side (cards) */
.left-side {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    flex: 1;
}

.feature-card {
    background: #fdf6dd;
    border-radius: 25px;
    padding: 30px;
    width: calc(50% - 10px);
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* keep text at bottom */
    position: relative;
    overflow: hidden;
}

/* Mobile: make feature-card 75% width */
@media (max-width: 767px) {
    .feature-card {
        width: 80%;
    }
}

.feature-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -40px;
    left: -40px;
    background: #5a7956;
    border-radius: 50%;
    z-index: 1;
}

.feature-card i {
    position: absolute;
    top: 30px;
    /* adjust to center inside circle */
    left: 30px;
    /* adjust to center inside circle */
    font-size: 32px;
    color: #fff;
    z-index: 2;
    /* above circle */
}

.feature-card p {
    color: #5a7956;
    font-weight: 600;
    margin-top: auto;
    font-size: 16px;
}

/* FLEXBOX for the right side (text content) */
.right-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    max-width: 600px;
    padding: 20px;
}

.right-side p {
    font-size: 16px;
    line-height: 1.6;
}

/* Steps section base */
.zakat-steps {
    background: #f3f6f1;
}

.steps-row {
    gap: 1.5rem;
    align-items: center;
}

/* step box */
.step {
    max-width: 320px;
}

.step-number {
    width: 64px;
    height: 64px;
    font-size: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(34, 64, 34, 0.08);
    font-weight: 700;
}

/* dashed connector for larger screens */
.connector {
    height: 6px;
    flex: 1 1 100%;
    margin: 0 0.75rem;
    background-image: repeating-linear-gradient(to right,
            rgba(0, 0, 0, 0.15) 0,
            rgba(0, 0, 0, 0.15) 8px,
            transparent 8px,
            transparent 18px);
    border-radius: 3px;
    opacity: 0.6;
    max-width: 80px;
}

/* center layout on small screens */
@media (max-width: 767.98px) {
    .step-number {
        width: 56px;
        height: 56px;
    }

    .step {
        margin-bottom: 1rem;
    }
}

/* fine tuning text colors */
.zakat-steps .text-dark {
    color: #244d2a;
}

.zakat-steps .text-muted {
    color: #6b6b6b;
}

.btn-outline-success {
    color: #385222;
    border-color: #385222;
    border-radius: 20px;
    padding: 10px 25px;
}

.btn-outline-success:hover {
    background-color: #6c8f65;
    border-color: #6c8f65;
    color: #fff;
}

/* Testimonials custom styles */
.testimoni-section {
    background: #f7f2e0;
    padding: 4.5rem 0;
    color: #234723;
}

.testimoni-section .section-sub {
    letter-spacing: .12em;
    font-weight: 600;
    color: #2f5d3a;
}

.testimoni-section .section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #5a8b5c;
}

.testimoni-card {
    background: #d6d2c2;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 18px rgba(20, 40, 20, 0.05);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.testimoni-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: .5rem;
}

.testimoni-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2f6d47;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimoni-name {
    margin: 0;
    font-weight: 700;
    color: #2f6d47;
}

.testimoni-source {
    margin: 0;
    font-size: .85rem;
    color: #819a7f;
}

.testimoni-stars {
    color: #f6b23d;
    font-size: .9rem;
}

.testimoni-quote {
    margin-top: .75rem;
    font-size: .95rem;
    color: #435b42;
    line-height: 1.5;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .testimoni-section .section-title {
        font-size: 2.75rem;
    }
}

/* Stats styles (Bootstrap 5 compatible) */
.stats-section {
    background: #e6f0d8;
}

/* Align and size */
.stat-item {
    min-width: 160px;
}

/* Number style */
.stat-value {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    color: #3f6f42;
    /* dark green */
    letter-spacing: -1px;
}

/* small plus sign */
.stat-plus {
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 2px;
    color: #3f6f42;
    font-weight: 700;
}

/* label style */
.stat-label {
    text-transform: uppercase;
    font-size: 12px;
    color: #6e8a68;
    /* muted green */
    margin-top: 6px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* vertical divider used on md+ screens */
.stat-divider {
    width: 4px;
    height: 100px;
    background: rgba(87, 115, 56, 0.15);
    /* subtle pale divider */
    border-radius: 1px;
    align-self: center;
}

/* responsive tweaks */
@media (max-width: 767.98px) {
    .stat-value {
        font-size: 36px;
    }

    .stat-item {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }
}

.img-opacity-75 {
    opacity: 0.75 !important;
}

.img-opacity-50 {
    opacity: 0.50 !important;
}

/* Custom FAQ theme */
.faq-section {
    background: linear-gradient(180deg, rgba(230, 240, 216, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
}

.faq-accordion .accordion-item {
    background: transparent;
}

.faq-toggle {
    background: rgba(255, 255, 255, 0.9);
    color: #2c6b2e;
    font-weight: 600;
    border: 1px solid rgba(44, 107, 46, 0.12);
    box-shadow: none;
    transition: all .25s ease;
    position: relative;
}

.faq-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 107, 46, 0.06);
}

/* Remove default caret */
.faq-toggle::after {
    display: none;
}

/* Custom plus/minus indicator */
.faq-toggle::before {
    content: "+";
    font-weight: 700;
    color: #2c6b2e;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #f3f6f1;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* When expanded show minus */
.faq-toggle:not(.collapsed)::before {
    content: "−";
    background: #2c6b2e;
    color: #fff;
    border-color: rgba(44, 107, 46, 0.12);
}

.accordion-body {
    color: #495057;
    line-height: 1.6;
}

/* Rounded content area look */
.accordion-collapse .accordion-body {
    border: 1px solid rgba(44, 107, 46, 0.06);
}

/* Responsive spacing */
@media (max-width: 576px) {
    .faq-toggle::before {
        right: 12px;
        width: 32px;
        height: 32px;
    }

    .faq-toggle {
        padding-right: 56px;
    }
}

.accordion-button:not(.collapsed) {
    color: #2c6b2e;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #385222;
}

.hero {
    background: #6f8c6f;
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: visible;
    /* allows image to overflow */
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 128, 0, 0.4);
    /* hijau + opacity */
    mix-blend-mode: multiply;
    /* optional */
    pointer-events: none;
}

.step-wrapper {
    background: #e6f0d6;
    /* same light green bg */
    padding: 20px 0;
    font-family: Arial, sans-serif;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #4c6b4c;
    margin-bottom: 10px;
}

.step-bars {
    display: flex;
    gap: 20px;
    align-items: center;
}

.step-bar {
    flex: 1;
    height: 10px;
    background: #c3d4a5;
    /* light green (inactive) */
    border-radius: 20px;
}

.step-bar.active {
    background: #4f6f4f;
    /* dark green (active) */
}

.form-label {
    font-size: 16px;
    font-weight: 400;
    color: var(--custom-secondary-text);
    margin-bottom: 10px;
}

.form-control {
    border: 0;
    color: var(--custom-secondary-text);
    padding: 15px;
}

.form-control:focus {
    color: var(--custom-secondary-text);
    background-color: #fff;
    border-color: var(--custom-secondary-text);
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--custom-primary-text);
}

.form-select {
    border: 0;
    color: var(--custom-secondary-text);
    padding: 15px;
}

.form-select:focus {
    color: var(--custom-secondary-text);
    background-color: #fff;
    border-color: var(--custom-secondary-text);
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--custom-primary-text);
}

.zakat-total {
    font-size: 24px;
    font-weight: 400;
    color: var(--custom-secondary-text);
    margin-bottom: 10px;
}

.ok-img {
    width: 380px;
    margin-top: -60px;
    /* pull image OUTSIDE top */
}

.nav-link:hover,
.nav-link:focus {
    color: var(--custom-secondary-text);
}

.nav-link {
    color: var(--custom-secondary-text);
}