h2,
h3,
h4 {
    font-size: 32px !important;
    font-weight: 700 !important;
}

.topbar {
    background: #e3b21a;
    color: #000;
    font-size: 14px;
    padding: 6px 10px;
    font-weight: 500;
}

header {
    z-index: 1050;
}

.main-navbar {
    background: #ffffff;
    padding: 14px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.navbar-nav .nav-link {
    color: #444;
    font-weight: 500;
    margin: 0 12px;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.btn-zakat {
    background: #f2b705;
    color: #000;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
}

.btn-zakat:hover {
    background: #e0a900;
    color: #000;
}

.login-link {
    color: #444;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    color: #000;
}


@media (max-width:991px) {

    .navbar-nav {
        margin-top: 20px;
    }

    .nav-actions {
        margin-top: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-zakat {
        margin-bottom: 10px;
    }

}

.main-navbar {
    background: #f3f4f6;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: none;
}

.navbar-brand {
    margin-right: 40px;
}

.navbar-nav .nav-link {
    color: #6b7280;
    font-weight: 500;
    font-size: 15px;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #111827;
}

.navbar .dropdown-toggle {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 12px;
}

.nav-actions {
    gap: 14px;
}

.btn-zakat {
    background: #facc15 !important;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(250, 204, 21, 0.35);
}

.btn-zakat:hover {
    background: #fbbf24;
}

.login-link {
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 12px;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-link:hover {
    background: #f9fafb;
}

.hero-section {
    background: #eef2f3;
    padding: 110px 0 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e5eef7;
    color: #2563eb;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #111827;
    line-height: 1.15;
    max-width: 850px;
    margin: auto;
}

.hero-title span {
    display: block;
    color: #2b6cb0;
}

.hero-subtitle {
    margin-top: 18px;
    font-size: 18px;
    color: #3b82f6;
    font-weight: 500;
}

.hero-buttons {
    margin-top: 34px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #facc15 !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600 !important;
    box-shadow: 0 8px 18px rgba(250, 204, 21, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    background: #fbbf24;
}

.btn-hero-secondary {
    background-color: #ffffff !important;
    border: 1px solid #ffffff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-stats-row>div {
    padding: 10px 5px;
}

.hero-stats {
    background: #2b6aa5;
    padding: 40px 0;
    color: white;
}

.hero-stats .title-hero-stats {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-stats p {
    font-size: 13px;
    opacity: 0.8;
}

.zakat-section {
    padding: 50px 0;
    background: #f9fafb;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: #6b7280;
    margin-bottom: 50px;
}

.zakat-grid {
    row-gap: 26px;
}

.zakat-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: 0.25s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.zakat-card i {
    font-size: 30px;
    color: #2b6aa5;
    margin-bottom: 14px;
    display: block;
}

.zakat-card .title-zakat {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 6px;
}

.zakat-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.zakat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.benefit-section {
    padding: 90px 0;
    background: #f2f8f6;
}

.benefit-grid {
    row-gap: 28px;
    justify-content: center;
}

.benefit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: 0.25s;
}

.benefit-card i {
    font-size: 30px;
    color: #2b6aa5;
    margin-bottom: 14px;
    display: block;
}

.benefit-card .title-benefit {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.payment-section {
    text-align: center;
    max-width: 1100px;
    margin: auto;
    padding: 50px 0;
}

.payment-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.subtitle {
    color: #777;
    margin-bottom: 50px;
}

.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.line {
    position: absolute;
    top: 40px;
    left: 5%;
    width: 90%;
    height: 4px;
    background: #2f5d9f;
    z-index: 0;
}

.step {
    width: 22%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.icon {
    width: 70px;
    height: 70px;
    background: #f4b400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: white;
    font-size: 24px;
}

.number {
    margin: 10px 0;
    font-weight: bold;
    color: #333;
}

.step h4 {
    margin: 5px 0;
    font-size: 16px;
}

.step p {
    font-size: 13px;
    color: #777;
}

.carousel-wrapper {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-item-custom {
    padding: 10px;
}

.carousel-item-custom img {
    width: 100%;
    border-radius: 12px;
}

.carousel-item-custom {
    flex: 0 0 25%;
}

@media (max-width: 992px) {
    .carousel-item-custom {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {
    .carousel-item-custom {
        flex: 0 0 100%;
    }
}

.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

.main-footer {
    background: #2b6aa5;
    color: white;
    padding: 70px 0 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #dbe7f5;
    font-size: 14px;
}

.footer-about small {
    color: #c9d9ef;
}

.main-footer h5 {
    color: #ffc107;
    font-weight: 700;
    margin-bottom: 15px;
}

.main-footer h6 {
    color: #ffc107;
    margin-top: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #dbe7f5;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 14px;
    color: #dbe7f5;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #ffffff20;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.footer-bottom {
    font-size: 13px;
    color: #c9d9ef;
}

.footer-bottom a {
    color: #c9d9ef;
    margin-left: 15px;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

.button-wa {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 1000;
    display: block;
    text-align: right;
}

.button-wa a {
    background-color: #facc15;
    color: #000000;
    border-radius: 15px;
    padding: 5px 20px;
}

.button-wa:hover {
    cursor: pointer;
}

.button-wa .popup-cta {
    width: 350px;
    display: none;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    padding-bottom: 10px;
}

#waIcon {
    transition: opacity .4s ease;
}

.button-wa .popup-cta .admin-item {
    background-color: #dddddd;
    margin: 10px;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.button-wa .popup-cta .popup-text {
    text-align: center;
    background-color: #045323;
    color: #ffffff;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

.button-wa .popup-cta .popup-text p {
    font-size: 14px;
}

.button-wa .popup-cta .admin-item span {
    text-align: center;
    display: block;
}

.button-wa .popup-cta .admin-item img {
    width: 50px;
    border-radius: 50%;
}

.button-wa img {
    width: 60px;
}

.button-wa .cta-wa {
    background-color: #045323;
    padding: 5px 0 5px 10px;
    border-radius: 20px;
    color: #ffffff;
    font-weight: 600;
}

@media (max-width:991px) {

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #f3f4f6;
        padding: 20px;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 1050;
    }

    .navbar-collapse.show {
        left: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .mobile-close {
        background: none;
        border: none;
        font-size: 22px;
        cursor: pointer;
    }

    .mobile-menu-title {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #6b7280;
        margin-bottom: 10px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 10px 0;
        margin: 0;
    }

    .mobile-kira-title {
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid #d1d5db;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #6b7280;
    }

    .mobile-zakat-list {
        list-style: none;
        padding: 0;
        margin-top: 10px;
    }

    .mobile-zakat-list li {
        margin-bottom: 12px;
    }

    .mobile-zakat-list a {
        text-decoration: none;
        color: #374151;
        font-size: 16px;
    }

    .benefit-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .benefit-card {
        padding: 24px 18px;
    }

    .benefit-card h5 {
        font-size: 16px;
    }

    .benefit-card p {
        font-size: 13px;
    }
}

@media only screen and (max-width: 768px) {

    h2,
    h3,
    h4 {
        font-size: 22px !important;
    }

    .hero-section {
        padding: 150px 0 90px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats .row {
        row-gap: 25px;
    }

    .hero-stats .col {
        flex: 0 0 50%;
    }

    .hero-stats .col:last-child {
        flex: 0 0 100%;
    }

    .hero-stats .title-hero-stats {
        font-size: 20px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .line {
        display: none;
    }

    .step {
        width: 100%;
        margin-bottom: 30px;
    }

    .payment-section {
        padding: 40px 0 0 0;
    }

    .button-wa {
        right: 0;
    }

    .button-wa a {
        padding: 4px 0 7px 12px;
    }

    .button-wa .popup-cta {
        margin: auto;
        margin-bottom: 10px;
        width: 95%;
    }

    .button-wa .popup-cta .admin-item {
        gap: 7px;
    }

    .button-wa .popup-cta .popup-text {
        padding: 5px;
    }

    .button-wa .popup-cta .popup-text p,
    .button-wa .popup-cta .admin-item span,
    .button-wa span {
        font-size: 12px;
    }

    .button-wa .popup-cta .admin-item img,
    .button-wa img {
        width: 55px;
    }

    .main-footer {
        text-align: left;
    }

    .footer-top>div {
        margin-bottom: 30px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
}

.login-wrapper {
    width: 100%;
    max-width: 380px;
}

.login-card {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.login-card h4 {
    font-size: 20px;
}

.google-btn {
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.google-btn:hover {
    background-color: #f8f9fa;
}

.login-card p {
    line-height: 1.4;
}

.card-custom {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-weight: 600;
    font-size: 16px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
}

.form-control,
.form-select {
    font-size: 14px;
    border-radius: 8px;
}

.info-box {
    background: #f9fafb;
    border-radius: 10px;
    font-size: 13px;
    padding: 15px;
    border: 1px solid #eee;
}

.btn-primary-custom {
    background-color: #f5a623 !important;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px;
}

.btn-primary-custom:hover {
    background-color: #e6951f;
}

.title-main {
    font-weight: 600;
}

.small-text {
    font-size: 13px;
    color: #6c757d;
}

.calculator-wrapper {
    max-width: 1000px;
}

.calculator-header h2 {
    font-size: 28px;
}

.calculator-info {
    font-size: 14px;
}

.calculator-title {
    font-size: 16px;
}

.calculator-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.calculator-card:hover {
    border-color: #0d6efd;
    transform: translateY(-3px);
}

.calculator-icon {
    background: #f1f5f9;
    padding: 12px;
    border-radius: 50%;
    display: inline-block;
    font-size: 18px;
}