/* =========================================
GOOGLE FONT & VARIABLES
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0D6EFD;
    --primary-dark: #0056D6;
    --black: #111111;
    --text: #555555;
    --white: #ffffff;
    --bg: #F8FBFF;
    --border: #E6ECF5;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all .3s ease;
}

/* =========================================
RESET & GLOBAL NAVIGATION SPACING FIXES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Universal anchor jump fix */
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.7;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

section {
    padding: 40px 8% 40px !important;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
}

.section-title span {
    display: inline-block;
    background: rgba(13,110,253,0.08);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: var(--text);
}

.error-msg {
    color: red;
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

/* =========================================
BUTTONS
========================================= */
.btn-primary, .btn-secondary, .header-demo-btn, .service-btn, .submit-btn {
    border: none;
    cursor: pointer;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-align: center;
}

.btn-primary, .header-demo-btn, .service-btn, .submit-btn {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover, .header-demo-btn:hover, .service-btn:hover, .submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(13,110,253,0.30);
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #fff;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

/* =========================================
HEADER & DESKTOP NAVIGATION
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo {
    height: 150px !important; 
    width: auto;
    object-fit: contain;
    filter: contrast(1.1) drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.1));
    transition: var(--transition);
}

.navbar {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar a {
    color: var(--black);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary);
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar a:hover::after, .navbar a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.open .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.menu-toggle.open .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.mobile-only { display: none; }
.desktop-only { display: block; }
.mobile-nav-btn { display: none; }

/* =========================================
HERO SECTION
========================================= */
.hero {
    min-height: 92vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 120px 8% 40px !important; 
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    color: var(--text);
    margin-bottom: 25px;
    font-size: 17px;
}

.hero-badge {
    display: inline-block;
    background: #eef5ff;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.hero-points div { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.hero-points i { color: var(--primary); }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 35px; }
.hero-trust { display: flex; gap: 40px; }
.hero-trust h3 { color: var(--primary); font-size: 32px; font-weight: 800; }
.hero-image img { border-radius: 30px; box-shadow: var(--shadow); max-height: 480px; width: 100%; object-fit: cover; animation: floating 5s ease-in-out infinite; }

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* =========================================
GLOBAL SLIDER FRAMEWORK (DESKTOP)
========================================= */
.services-slider-wrapper, .process-slider-wrapper, .industry-slider-wrapper, .testimonial-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding: 0 40px;
}

.services-slider, .process-slider, .industry-slider, .testimonial-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    flex: 1;
    padding: 15px 5px;
}

.services-slider::-webkit-scrollbar, .process-slider::-webkit-scrollbar, .industry-slider::-webkit-scrollbar, .testimonial-slider::-webkit-scrollbar {
    display: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-arrow:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.08);
}

.left-arrow, .process-left-arrow, .industry-left-arrow, .left-testimonial { left: -15px; }
.right-arrow, .process-right-arrow, .industry-right-arrow, .right-testimonial { right: -15px; }

.pain-card, .service-card, .why-card, .industry-card, .process-card, .contact-card, .testimonial-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.service-card, .industry-card, .process-card, .testimonial-card {
    min-width: calc((100% - 50px) / 3) !important;
    max-width: calc((100% - 50px) / 3) !important;
    width: calc((100% - 50px) / 3) !important;
    flex-shrink: 0;
}

/* PAIN POINTS */
.pain-points { background: var(--bg); }
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.pain-card { padding-bottom: 25px; }
.pain-card img { height: 220px; object-fit: cover; }
.pain-card h3 { padding: 25px 25px 10px; font-size: 22px; font-weight: 700; }
.pain-card p { padding: 0 25px; color: var(--text); }

/* SOLUTION */
.solution-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    background: #fff;
}
.solution-image img { border-radius: 30px; box-shadow: var(--shadow); max-height: 480px; object-fit: cover; }
.solution-content h2 { font-size: 44px; margin: 15px 0 25px; line-height: 1.2; }
.solution-item { display: flex; gap: 18px; margin-bottom: 25px; }
.solution-item i { width: 50px; height: 50px; background: #eef5ff; color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; font-size: 18px; }
.solution-item h4 { font-size: 20px; margin-bottom: 5px; }
.solution-item p { color: var(--text); }

.services-section, .process-section, .testimonials-section { background: var(--bg); }
.industries-section { background: #fff; }

.service-card img, .industry-card img { height: 220px; object-fit: cover; }
.service-content, .industry-card h3 { padding: 25px; }
.service-content h3 { font-size: 24px; margin-bottom: 10px; }
.service-content p, .industry-card p { color: var(--text); margin-bottom: 20px; }

/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-card { text-align: center; padding: 40px 30px; }
.why-card i { width: 80px; height: 80px; border-radius: 50%; background: #eef5ff; color: var(--primary); display: flex; justify-content: center; align-items: center; margin: auto; margin-bottom: 25px; font-size: 32px; }
.why-card h3 { font-size: 24px; margin-bottom: 12px; }
.why-card p { color: var(--text); }

/* PROCESS CARDS */
.process-card { padding: 35px; text-align: center; }
.process-number { width: 75px; height: 75px; margin: auto; margin-bottom: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; font-size: 24px; font-weight: 700; display: flex; justify-content: center; align-items: center; }
.process-card h3 { font-size: 24px; margin-bottom: 10px; }
.process-card p { color: var(--text); }

/* TRUST SECTION */
.trust-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; background: var(--bg); }
.trust-content h2 { font-size: 44px; margin: 15px 0 20px; line-height: 1.2; }
.trust-content p { color: var(--text); margin-bottom: 25px; }
.trust-content ul { margin-bottom: 35px; }
.trust-content li { margin-bottom: 12px; color: var(--text); position: relative; padding-left: 30px; }
.trust-content li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.trust-image img { border-radius: 30px; box-shadow: var(--shadow); max-height: 480px; object-fit: cover; }

/* TESTIMONIALS CARDS */
.testimonial-card { text-align: center; padding: 35px 25px; }
.testimonial-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: auto; margin-bottom: 20px; border: 4px solid #eef5ff; }
.testimonial-card h3 { font-size: 22px; margin-bottom: 5px; }
.testimonial-card span { color: var(--text); font-size: 14px; }
.stars { color: #ffc107; font-size: 22px; margin: 15px 0; }
.testimonial-card p { color: var(--text); }

/* FAQ */
.faq-container { max-width: 900px; margin: auto; }
.faq-item { margin-bottom: 20px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.faq-question { width: 100%; border: none; background: #fff; padding: 22px 25px; text-align: left; cursor: pointer; font-size: 18px; font-weight: 600; position: relative; transition: var(--transition); }
.faq-question:hover { background: #f8fbff; }
.faq-question::after { content: "+"; position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--primary); font-weight: 700; }
.faq-item.active .faq-question::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; background: #f8fbff; }
.faq-answer p { padding: 20px 25px; color: var(--text); }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.contact-card { text-align: center; padding: 35px 25px; }
.contact-card i { font-size: 40px; color: var(--primary); margin-bottom: 20px; }
.contact-card h3 { margin-bottom: 10px; }
.contact-card p { color: var(--text); }

/* FOOTER */
.footer { background: #111111; color: #fff; text-align: center; }
.footer-container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 35px; padding: 60px 8% 30px; }
.footer-logo { display: flex; flex-direction: column; align-items: center; max-width: 750px; margin: 0 auto; }
.footer-logo img { width: 200px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-desc { color: #d6d6d6; font-size: 15px; margin-bottom: 12px; }
.footer-link-line { display: block; margin-top: 5px; }
.footer-link-line a { color: var(--primary); font-weight: 700; font-size: 16px; text-decoration: underline; transition: var(--transition); }
.footer-link-line a:hover { color: var(--primary-dark); }
.footer-links h3 { margin-bottom: 15px; font-size: 18px; color: #fff; }
.footer-links ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #ccc; font-weight: 500; transition: var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-social-wrapper h3 { margin-bottom: 15px; font-size: 18px; }
.social-icons { display: flex; justify-content: center; gap: 15px; }
.social-icons a { width: 45px; height: 45px; border-radius: 50%; background: #222; color: #fff; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); }
.footer-bottom { text-align: center; border-top: 1px solid #222; padding: 20px; color: #666; font-size: 14px; }

/* POPUP CONFIG */
.popup-overlay, .thankyou-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.65); display: none; justify-content: center; align-items: center; z-index: 9999; padding: 20px; }
.popup-container, .thankyou-box { background: #fff; width: 100%; max-width: 650px; border-radius: 25px; padding: 40px; position: relative; max-height: 90vh; overflow-y: auto; }
.close-popup { position: absolute; top: 15px; right: 20px; border: none; background: none; font-size: 35px; cursor: pointer; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 10px; font-family: 'Poppins', sans-serif; }
.phone-group { display: flex !important; gap: 10px !important; flex-direction: row !important; width: 100% !important; align-items: center !important; }
.country-code { width: 90px !important; text-align: center; font-weight: 600; background: #f8fbff; flex-shrink: 0 !important; }
.phone-number { flex: 1 !important; display: block !important; width: 100% !important; }
.thankyou-box { max-width: 500px; text-align: center; }
.thankyou-box i { color: #28a745; font-size: 70px; margin-bottom: 20px; }

/* FLOATING WIDGET BUBBLES */
.floating-whatsapp, .floating-call { position: fixed; width: 44px; height: 44px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; color: #fff; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,.15); transition: var(--transition); }
.floating-whatsapp { right: 20px; bottom: 80px; background: #25D366; }
.floating-call { right: 20px; bottom: 20px; background: var(--primary); }

/* PRICING CONFIGS */
.plans-section { background: #ffffff; }
.plan-toggle-container { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 25px; }
.toggle-label { font-size: 16px; font-weight: 600; color: var(--text); transition: var(--transition); }
.toggle-label.active { color: var(--primary); }
.save-badge { background: #eef5ff; color: var(--primary); font-size: 12px; padding: 3px 8px; border-radius: 10px; margin-left: 4px; }
.switch { position: relative; display: inline-block; width: 70px; height: 36px; flex-shrink: 0; }
.switch input { opacity: 0 !important; width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; }
.toggle-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 36px; }
.toggle-slider:before { position: absolute; content: ""; height: 28px; width: 28px; left: 4px; top: 50%; transform: translateY(-50%); background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.15); }
input:checked + .toggle-slider { background-color: #28a745; } 
input:checked + .toggle-slider:before { transform: translate(34px, -50%); }
.plans-grid { display: flex; justify-content: center; gap: 40px; max-width: 1000px; margin: 30px auto 0; }
.plan-card { background: #fff; border: 3px solid #e2e8f0; border-radius: 25px; padding: 45px 35px; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease-in-out; width: 100%; max-width: 460px; }
.plan-card#monthly-card.active-card { border-color: #0D6EFD !important; box-shadow: 0 15px 30px rgba(13,110,253,0.12); transform: scale(1.02); }
.plan-card#yearly-card.active-card { border-color: #28a745 !important; box-shadow: 0 15px 30px rgba(40,167,69,0.12); transform: scale(1.02); }
.plan-badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary); background: #eef5ff; padding: 6px 16px; border-radius: 30px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.elite-badge { background: rgba(40,167,69,0.1); color: #28a745; }
.plan-price { font-size: 46px; font-weight: 800; color: var(--black); line-height: 1.1; margin-bottom: 15px; }
.plan-price span { font-size: 16px; font-weight: 500; color: var(--text); }
.plan-desc { color: var(--text); font-size: 15px; margin-bottom: 30px; }
.plan-features { margin-bottom: 35px; display: flex; flex-direction: column; gap: 15px; }
.plan-features li { display: flex; align-items: center; gap: 12px; color: #444; font-size: 15px; font-weight: 500; }
.plan-features i { color: var(--primary); font-size: 16px; }
#yearly-card .plan-features i { color: #28a745; }
.plan-btn { width: 100%; border-radius: 15px; }

/* =========================================
🟢 PERFECT MOBILE RESPONSIVE ENGINE
========================================= */
@media(max-width: 1200px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 992px) {
    .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; text-align: center; }
    .hero-points, .hero-buttons, .hero-trust { justify-content: center; }
    .hero-content h1 { font-size: 42px; }
    .section-title h2 { font-size: 34px; }
    .solution-section, .trust-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px; 
    }
    section { 
        padding: 40px 4% 40px !important; 
    }
    
    .mobile-only { display: block; }
    .desktop-only { display: none; }

    .header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 12px !important; /* Enhanced spacing boundaries */
        height: 80px !important;
        background: #ffffff !important;
        position: fixed !important;
        top: 0; left: 0; width: 100%;
        z-index: 1000 !important;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    }

    .menu-toggle { display: flex !important; }
    .logo { height: 52px !important; width: auto !important; }
    
    /* ✅ FIXED: Enhanced text rendering configurations prevent text cutoffs */
    .mobile-header-btn { 
        padding: 6px 10px !important; 
        font-size: 11px !important; 
        border-radius: 20px !important;
        white-space: nowrap !important;
        display: block !important;
    }

    .navbar {
        position: absolute !important;
        top: 80px !important; left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 15px 0 !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
        display: none !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    .navbar.active { display: flex !important; }
    .navbar a { display: block !important; padding: 12px 25px !important; width: 100% !important; border-bottom: 1px solid #f1f5f9; text-align: left; }
    .navbar a::after { display: none !important; }
    .mobile-nav-btn { display: block !important; width: calc(100% - 50px) !important; margin: 15px 25px !important; }

    .services-slider-wrapper, .process-slider-wrapper, .industry-slider-wrapper, .testimonial-wrapper {
        padding: 0 24px !important;
    }
    .slider-arrow {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 12px !important;
    }
    .left-arrow, .process-left-arrow, .industry-left-arrow, .left-testimonial { left: -8px !important; }
    .right-arrow, .process-right-arrow, .industry-right-arrow, .right-testimonial { right: -8px !important; }

    .services-slider, .process-slider, .industry-slider, .testimonial-slider {
        gap: 16px !important;
        padding: 10px 0 !important;
    }

    .service-card, .process-card, .testimonial-card, .industry-card {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .why-card { padding: 20px 10px !important; border-radius: 15px !important; }
    .why-card i { width: 48px !important; height: 48px !important; font-size: 20px !important; margin-bottom: 12px !important; }
    .why-card h3 { font-size: 15px !important; }
    .why-card p { font-size: 12px !important; line-height: 1.4 !important; }

    /* ✅ FIXED: Stack layout configuration engine explicitly targets phone matrices */
    /* ✅ FIXED: Force absolute vertical column stack layout so cards sit purely one below another */
    .plans-grid {
        display: flex !important;
        flex-direction: column !important; /* Changes layout from horizontal row to true vertical column */
        gap: 25px !important;             /* Comfortable breathing room between the stacked cards */
        padding: 20px 0 !important;
        width: 100% !important;
        align-items: center !important;
    }
    .plan-card {
        width: 100% !important;            /* Lets each card take up the full crisp mobile viewport width */
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 35px 25px !important;     /* Restores beautiful interior padding */
    }
    .plan-price { font-size: 38px !important; }

    .hero { padding: 110px 4% 30px !important; display: flex !important; flex-direction: column !important; gap: 20px !important; }
    .hero-image img { max-height: 300px !important; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .footer-container { padding: 40px 6% 20px !important; gap: 25px !important; }
    .footer-links ul { flex-direction: column !important; gap: 12px !important; }
}