:root {
    --primary: #1C5B7A;
    --primaryDeep: #15445c;
    --secondary: #3C9EC4;
    --light-blue: #E6F2F8;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2D3748;
    line-height: 1.6;
}

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

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 24px;
    font-weight: 600;
    transition: 0.4s all ease-in-out;
}

.btn-primary:hover {
    background-color: var(--primaryDeep);
    border-color: var(--primaryDeep);
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .logo {
        height: 50px;
    }
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: 700;
    padding: 12px 12px !important;
    letter-spacing: 0.2px;
}

.hero-section {
    color: white;
    padding: 8rem 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-img {
    border-radius: 1rem;
    transition: transform 0.4s ease;
    transform: perspective(1000px) rotateY(-5deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.section {
    padding: 6rem 0;
}

@media (max-width: 767px) {
    .section {
        padding: 3rem 0;
    }
}

.section-light {
    background-color: #F8FAFC;
}

.feature-card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s;
    height: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

#pricing.section {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#pricing.section .content {
    position: relative;
    z-index: 3;
}

#pricing.section::before {
    content: '';
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #1c5b7ae3;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
    position: relative;
    height: 100%;
}

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

.pricing-card h5 {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.pricing-card.popular-plan {
    border: 2px solid var(--primary);
}

.pricing-card .popular-badge {
    top: -10px;
    right: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 15px;
    position: absolute;
    border-radius: 20px;
    background-color: var(--primary);
}

.pricing-price {
    font-size: 32px;
    font-weight: bold;
    color: #1C5B7A;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 25px;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}

.feature-list li .text-success {
    margin-right: 10px;
    color: #10B981;
}

.feature-list li .text-danger {
    margin-right: 10px;
    color: #EF4444;
}

.btn-get-started {
    background-color: #1C5B7A;
    color: #fff;
    border: none;
    padding: 12px;
    margin-top: 20px;
    width: 100%;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.btn-get-started:hover {
    background-color: #17435A;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
}

.feature-list li .text-success {
    margin-right: 10px;
    color: #10B981;
}

.feature-list li span {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
}

.feature-list li span.text-success {
    background-color: #198754;
}

.feature-list li span.text-danger {
    background-color: #dc3545;
}

.feature-list li span i {
    color: #ffffff;
    top: 50%;
    left: 50%;
    font-size: 10px;
    position: absolute;
    transform: translate(-50%, -50%);
}

.feature-list li .text-danger {
    margin-right: 10px;
    color: #EF4444;
}

.btn-get-started {
    background-color: #1C5B7A;
    color: #fff;
    border: none;
    padding: 12px;
    margin-top: 20px;
    width: 100%;
    font-weight: 600;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.btn-get-started:hover {
    background-color: #17435A;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.step-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary);
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Timeline */
.howtowork_sec .nav-link {
    width: 100%;
    display: block;
    text-align: left;
    padding: 30px;
    background: #673ab708;
    margin-bottom: 30px;
    border: 1px solid #8f0ae724;
    color: var(--primary);
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.howtowork_sec .tab_icon {
    position: absolute;
    top: -32px;
    left: -29px;
    margin: auto;
    border: 1px solid #ebebeb;
    width: 70px;
    height: 70px;
    border-radius: 50px 50px 50px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    color: var(--primary);
}


.howtowork_sec .nav-pills .nav-link.active,
.howtowork_sec .nav-pills .show>.nav-link {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.howtowork_sec .nav-pills .nav-link.active .tab_icon {
    border: 1px solid var(--primary);
    color: #ffffff;
    background: var(--primary);
}

.howtowork_sec .nav-pills .nav-link.active p {
    color: #ffffff;
}

.howtowork_content h4 {
    font-size: 20px;
    color: #222;
    font-weight: 600;
}

.howtowork_content p {
    font-size: 16px;
}

.howtowork_content .step {
    display: flex;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    border: 1px solid #e7e7e7;
    border-radius: 100px !important;
    background: #fafafa;
    height: 100px;
    max-width: 100px !important;
    width: 100%;
}

.howtowork_img {
    position: sticky;
    top: 130px;
}

@media (min-width: 1200px) {
    .howtowork_img img {
        max-width: 88%;
    }
}

/* Testimonial */
.testimonial-carousel {
    margin: 0 auto;
    max-width: 800px;
}

.testimonial-slide {
    padding: 0 15px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.05);
    margin: 10px;
    height: auto;
}

@media (max-width: 767px) {
    .testimonial-card {
        margin: 0;
        padding: 10px;
    }

    .testimonial-card .lead,
    .testimonial-card h5 {
        font-size: 16px;
    }
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #1C5B7A;
}

/* Slick Carousel Arrows */
.slick-prev:before,
.slick-next:before {
    color: #1C5B7A;
    font-size: 30px;
}

.slick-prev {
    left: -40px;
}

.slick-next {
    right: -40px;
}

/* Slick Dots */
.slick-dots li button:before {
    font-size: 12px;
    color: #1C5B7A;
}

.slick-dots li.slick-active button:before {
    color: #1C5B7A;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.dashboard-img {
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

.nav-pills .nav-link.active {
    background-color: var(--primary);
}

.nav-pills .nav-link {
    color: var(--primary);
}

.form-control{
    box-shadow: none !important;
    outline:  none !important;
}

/* Admin Dashboard */
@media (max-width: 767px) {
    .admin-dashboard .row {
        flex-direction: column-reverse;
    }
}

footer {
    background-color: #1A202C;
    color: white;
}

.footer-link {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.mpesa-logo {
    height: 30px;
    width: auto;
}

.footer-about {
    font-size: 16px;
    font-weight: 100;
    line-height: 28px;
    color: #A0AEC0;
    margin-top: 10px;
}

footer .logo {
    height: auto;
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
}
a {
    text-decoration: none !important;
    color: var(--primary);
}
@media (max-width: 767px) {
    footer h5 {
        font-size: 16px;
        margin-bottom: 8px !important;
    }
}

@media (max-width: 575px) {
    .cta-section .btn,
    .hero-section .btn {
        width: 100%;
    }
}
