@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --mint-primary: #7CC5A1;
    --mint-accent: #5BB08C;
    --mint-very-light-bg: #F1FAF5;
    --mint-dark: #539174;
    --scaffold-background: #FCFFFE;
    --surface: #FFFFFF;
    --text-primary: #1A2E26;
    --text-secondary: #566D64;
    --text-on-mint: #FFFFFF;
    --border: #E2E9E6;
    --error: #B33A3A;
    --info: #2E8D9C;
    --success: #5BB08C;
    --warning: #E8A547;
    --divider: #E2E9E6;
    --shadow: rgba(26, 46, 38, 0.08);
    --disabled: #CDD7D2;
    --input-background: #F8FBFA;
    --footer-bg: #1A2E26;
}

.text-success {
    color: var(--success) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--scaffold-background);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Bootstrap Theme Overrides */
.bg-white {
    background-color: var(--surface) !important;
    transition: background-color 0.3s ease;
}

.bg-light {
    background-color: var(--mint-very-light-bg) !important;
    transition: background-color 0.3s ease;
}

.text-muted {
    color: var(--text-secondary) !important;
    transition: color 0.3s ease;
}

.text-dark {
    color: var(--text-primary) !important;
    transition: color 0.3s ease;
}

.border-bottom {
    border-bottom-color: var(--border) !important;
    transition: border-color 0.3s ease;
}

.card {
    background-color: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--text-primary) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu {
    background-color: var(--surface) !important;
    border-color: var(--border) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dropdown-item {
    color: var(--text-primary) !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--mint-very-light-bg) !important;
    color: var(--mint-dark) !important;
}

/* navbar.css */

.navbar {
    background-color: var(--surface) !important;
    border-bottom: 1px solid var(--border) !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar-logo {
    height: 60px;
    width: auto;
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--text-primary);
}

.brand-icon span {
    font-size: 13px;
}

.brand-name {
    font-size: 15px;
    color: var(--text-primary);
}

.brand-sub {
    font-size: 9px;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.custom-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link.active {
    color: var(--mint-accent);
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.btn-login {
    border: 1px solid var(--border);
    color: var(--text-primary);
    background: var(--surface);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--mint-accent);
    color: var(--text-on-mint);
    border-color: var(--mint-accent);
}

.btn-demo {
    background: var(--mint-accent);
    border: 1px solid var(--mint-accent);
    color: var(--text-on-mint);
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--mint-dark);
    border-color: var(--mint-dark);
    color: var(--text-on-mint);
}

/* hero */
.hero-section {
    background: var(--mint-very-light-bg);
    transition: background-color 0.3s ease;
}

.hero-section {
    margin-top: 90px !important;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.text-navy {
    color: var(--text-primary);
}

.feature-item {
    gap: 12px;
    transition: all 0.3s ease;
}

.feature-item i {
    font-size: 38px;
    color: var(--mint-accent);
    transition: transform 0.3s ease;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    max-width: 180px;
    color: var(--text-primary);
}

.feature-item:hover i {
    transform: scale(1.1);
}

.btn-outline-custom {
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 12px 24px;
    background: var(--surface);
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--mint-very-light-bg);
    border-color: var(--mint-accent);
    color: var(--mint-dark);
}

/* featured card */
.section-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 700px;
    color: var(--text-secondary);
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
    border-color: var(--mint-accent);
}

.feature-card i {
    color: var(--mint-accent);
}

.feature-card .card-title {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card .card-text {
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-primary-custom {
    color: var(--text-primary);
}

.step-wrapper {
    position: relative;
}

.step-wrapper h6 {
    color: var(--text-primary);
}

.step-wrapper:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(50% + 35px);
    width: calc(100% - 35px);
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--disabled) 0px,
            var(--disabled) 6px,
            transparent 6px,
            transparent 12px);
    z-index: 0;
}

.step-circle {
    width: 70px;
    height: 70px;
    background: var(--mint-accent);
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(91, 176, 140, 0.2);
    position: relative;
    z-index: 1;
}

.step-number {
    color: var(--text-primary);
    border-radius: 50%;
    line-height: 18px;
    margin-bottom: 4px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--mint-very-light-bg);
    border-radius: 12px;
    margin: 0 auto;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--mint-accent);
}

.btn-explore {
    border: 1.5px solid var(--mint-accent);
    color: var(--mint-accent);
    background: transparent;
    padding: 10px 28px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-explore:hover {
    background: var(--mint-accent);
    color: var(--text-on-mint);
}

.pocais-swiper {
    padding: 10px 50px 30px 50px !important;
}

.swiper-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 14px;
    background: var(--surface);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.swiper-card:hover {
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-4px);
    border-color: var(--mint-accent);
}

.swiper-img-wrap {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    background: var(--mint-very-light-bg);
}

.swiper-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-card h6 {
    color: var(--text-primary);
}

/* Arrows Position and Styling Only */
.pocais-swiper-prev,
.pocais-swiper-next {
    color: var(--mint-dark) !important;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 40px !important;
    height: 40px !important;
    box-shadow: 0 2px 8px var(--shadow);
    top: 50% !important;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.pocais-swiper-prev {
    left: 5px !important;
}

.pocais-swiper-next {
    right: 5px !important;
}

.pocais-swiper-prev::after,
.pocais-swiper-next::after {
    font-size: 14px !important;
    font-weight: 700;
    color: var(--mint-dark);
    transition: color 0.3s ease !important;
}

.pocais-swiper-prev:hover,
.pocais-swiper-next:hover {
    background: var(--mint-accent) !important;
    border-color: var(--mint-accent) !important;
}

.pocais-swiper-prev:hover::after,
.pocais-swiper-next:hover::after {
    color: var(--text-on-mint) !important;
}

.iso-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-color: var(--mint-accent) !important;
    background-color: var(--surface) !important;
    box-shadow: 0 4px 12px var(--shadow) !important;
}

.iso-text-sm {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--mint-dark) !important;
}

.iso-text-lg {
    font-size: 1.25rem;
    color: var(--mint-dark) !important;
}

/* Icons box ke text ko wrap hone par proper line spacing dene ke liye */
.row-cols-2 .col p {
    line-height: 1.3;
    margin-top: 4px;
}

/* ===== TESTIMONIAL ===== */
.testimonial-swiper {
    position: relative;
    background: var(--mint-very-light-bg);
    height: 87%;
    border-color: var(--border) !important;
}

.testimonial-swiper .swiper-wrapper {
    display: flex !important;
}

.testimonial-swiper .swiper-slide {
    padding: 2rem 3.5rem !important;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--input-background);
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-prev,
.testimonial-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mint-dark);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 6px var(--shadow);
    z-index: 10;
    transition: all 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--mint-accent) !important;
    border-color: var(--mint-accent) !important;
    color: var(--text-on-mint);
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

.testimonial-prev::after {
    content: '\f053';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

.testimonial-next::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
}

/* ===== PRICING ===== */
.pricing-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: var(--surface);
    transition: box-shadow 0.2s;
}

.pricing-card:hover {
    box-shadow: 0 8px 24px var(--shadow);
}

.pricing-popular {
    border: 2px solid var(--mint-accent);
}

.pricing-card-custom {
    border: 1px dashed var(--mint-accent);
    border-radius: 12px;
    background: var(--mint-very-light-bg);
}

.pricing-amount {
    margin: 10px 0;
}

.pricing-amount .dollar {
    color: var(--mint-dark);
    vertical-align: top;
    margin-top: 8px;
}

.pricing-amount .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-amount-custom {
    margin: 18px 0;
    font-size: 1.1rem;
}

.btn-pricing-outline {
    border: 1.5px solid var(--mint-accent);
    color: var(--mint-accent);
    background: transparent;
    font-size: 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-pricing-outline:hover {
    background: var(--mint-accent);
    color: var(--text-on-mint);
}

.btn-pricing-solid {
    background: var(--mint-accent);
    color: var(--text-on-mint);
    font-size: 0.8rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-pricing-solid:hover {
    background: var(--mint-dark);
    color: var(--text-on-mint);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(90deg, var(--mint-dark) 30%, rgba(83, 145, 116, 0.85) 70%, rgba(124, 197, 161, 0.4) 100%),
        url('../images/engineer.avif') no-repeat center right;
    background-size: cover;
}

.btn-cta-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
}

.btn-cta-solid {
    color: var(--mint-dark) !important;
    transition: all 0.3s ease;
}

.btn-cta-solid:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--footer-bg);
    transition: background-color 0.3s ease;
}

.footer-tagline {
    font-size: 9px;
    letter-spacing: 0.02em;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-social {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s, color 0.2s;
}

.footer-social:hover {
    background: var(--mint-accent);
    color: #fff;
    border-color: var(--mint-accent);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   1. Large Screens / Desktops (992px and up)
   ========================================================================== */
@media (min-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-img {
        max-width: 100%;
        height: 70vh;
        object-fit: cover;
    }

    .hero-section {
        text-align: center;
    }
}

/* ==========================================================================
   2. Tablets and Below (991px and down)
   ========================================================================== */
@media (max-width: 991.98px) {
    .step-wrapper:not(:last-child)::after {
        display: none;
    }
}

/* ==========================================================================
   3. Mobiles and Small Tablets (767px and down) - Bootstrap Standard
   ========================================================================== */
@media (max-width: 767.98px) {
    .step-item::after {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-img {
        width: 100%;
        height: auto;
    }
}