﻿/* =====================================================================
   IBSB NEW THEME  -  "Royal Violet + Sunset Coral"
   ---------------------------------------------------------------------
   USE: purani ibsb-theme.css ki jagah ye file lagayein (sabse last me):
        <link href="css/ibsb-theme-violet.css" rel="stylesheet">
   HTML me koi change nahi.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --ink-950: #12062b;
    --ink-900: #1a0b3d;
    --violet-800: #2e1065;
    --violet-700: #4c1d95;
    --violet-600: #6d28d9;
    --violet-500: #8b5cf6;
    --lilac-100: #f1ebff;
    --lilac-50: #f8f5ff;
    --coral: #ff6b4a;
    --amber: #ffa63d;
    --text-dark: #1f1637;
    --text-body: #5b5473;
    --text-soft: #e4d9ff;
    --grad-main: linear-gradient(135deg, #12062b 0%, #2e1065 55%, #5b21b6 100%);
    --grad-violet: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    --grad-accent: linear-gradient(135deg, #ff6b4a 0%, #ffa63d 100%);
    --glow: radial-gradient(circle at 88% 0%, rgba(255,107,74,.28) 0%, rgba(255,107,74,0) 45%), radial-gradient(circle at 5% 100%, rgba(139,92,246,.35) 0%, rgba(139,92,246,0) 50%);
}

/* ---------- Font (modern look) ---------- */
body,
p, li, a, span, div, input, textarea, button, td,
h1, h2, h3, h4, h5, h6, strong, b, label {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif !important;
}

i.fa, .fa, [class^="fa-"], [class*=" fa-"] {
    font-family: FontAwesome !important;
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--violet-600);
    color: #fff;
}

/* ---------------------------------------------------------------
   1) NAVBAR STRIP (desktop)
---------------------------------------------------------------- */
@media (min-width: 768px) {
    .navbar-main,
    #main-menu .navbar-main {
        background: var(--grad-main) !important;
        border: none !important;
        border-bottom: 3px solid var(--coral) !important;
        box-shadow: 0 8px 22px rgba(46,16,101,.35);
    }

        .navbar-main::before,
        .navbar-main::after {
            background: none !important;
        }

    .navbar-nav li a {
        border-radius: 8px;
        font-weight: 600;
        transition: all .25s ease;
    }

        .navbar-nav li a:hover,
        .dropdown:hover > a {
            background: rgba(255,255,255,.12) !important;
            color: #ffb199 !important;
            transform: translateY(-1px);
        }
}

.dropdown-content {
    background: #fff !important;
    border-radius: 0 0 14px 14px;
    border-top: 3px solid var(--coral);
    box-shadow: 0 16px 34px rgba(46,16,101,.3) !important;
    overflow: hidden;
}

    .dropdown-content li a:hover {
        background: var(--grad-violet) !important;
        color: #fff !important;
        padding-left: 22px !important;
    }

/* ---------- Top bar ---------- */
.top-bar-socials i,
.top-bar-socials .fa,
.top-bar-socials a {
    color: var(--violet-700) !important;
}

#quickBt {
    border: 1.5px solid var(--violet-600) !important;
    border-radius: 30px !important;
    transition: all .3s ease;
}

    #quickBt:hover {
        background: var(--grad-accent) !important;
        border-color: transparent !important;
        box-shadow: 0 8px 18px rgba(255,107,74,.4);
    }

        #quickBt:hover strong,
        #quickBt:hover span {
            color: #fff !important;
        }

/* ---------------------------------------------------------------
   2) HERO
---------------------------------------------------------------- */
.top-left, #down {
    color: var(--violet-800) !important;
    font-weight: 700;
}

#downs {
    color: var(--text-body) !important;
}

    #downs strong {
        color: var(--violet-700);
    }

#readMoreBtn {
    color: var(--coral) !important;
}

#trialBtn, .trial-btn {
    background: var(--grad-accent) !important;
    border: none !important;
    border-radius: 40px !important;
    color: #fff !important;
    padding: 15px 38px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 12px 26px rgba(255,107,74,.45);
    transition: all .3s ease;
}

    #trialBtn:hover, .trial-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 18px 34px rgba(255,107,74,.55);
    }

/* hero icon boxes: violet + coral alternate */
#slide i[style*="#39056e"] {
    background: var(--grad-violet) !important;
}

#slide i[style*="#d179db"] {
    background: var(--grad-accent) !important;
}

#slide i {
    box-shadow: 0 10px 20px rgba(76,29,149,.3);
}

#slide span {
    color: var(--violet-800) !important;
    font-weight: 600;
}

#contact-button {
    background: var(--grad-accent) !important;
    color: #fff !important;
}

/* ---------------------------------------------------------------
   3) DARK SECTIONS
---------------------------------------------------------------- */
.erp-industry-section,
.other-services-section,
.erp-steps-section,
section[style*="background: #0B2A6B"] {
    background: var(--glow), var(--grad-main) !important;
}

    .erp-industry-section .section-title,
    .other-services-section .section-title,
    .erp-steps-section .section-title,
    .erp-heading h3,
    section[style*="background: #0B2A6B"] .section-title {
        color: #fff !important;
    }

    .erp-heading p,
    .other-services-section .section-subtitle,
    .erp-steps-section .section-subtitle {
        color: var(--text-soft) !important;
    }

    /* Cards in dark sections */
    .erp-industry-section .erp-card,
    .service-card,
    .step-card {
        background: #fff !important;
        border: none !important;
        border-radius: 20px !important;
        border-top: 4px solid var(--coral) !important;
        box-shadow: 0 16px 36px rgba(0,0,0,.3) !important;
    }

        .erp-industry-section .erp-card:hover,
        .service-card:hover,
        .step-card:hover {
            box-shadow: 0 24px 48px rgba(255,107,74,.35) !important;
        }

        /* card text: readable, left aligned (justify gaps hataye) */
        .erp-card p,
        .service-card p,
        .step-card p {
            color: var(--text-body) !important;
            text-align: left !important;
        }

            .erp-card p a {
                color: var(--violet-600) !important;
            }

        .erp-industry-section .erp-card h4 {
            font-size: 21px !important;
            line-height: 28px !important;
            min-height: 56px;
            color: var(--violet-800) !important;
        }

        .erp-card h3,
        .service-card h3,
        .step-card h3,
        .why-card h3 {
            color: var(--violet-800) !important;
        }

/* icons / step numbers */
.erp-icon, .service-icon, .why-icon, .quote-icon, .client-img {
    background: var(--grad-violet) !important;
    box-shadow: 0 8px 16px rgba(109,40,217,.35);
}

.step-number {
    background: var(--grad-accent) !important;
    box-shadow: 0 8px 16px rgba(255,107,74,.4);
}

/* Small buttons (Learn More etc.) */
.service-btn, .step-btn, .learn-btn, .industry-btn {
    background: var(--grad-violet) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(109,40,217,.35);
}

    .service-btn:hover, .step-btn:hover, .learn-btn:hover, .industry-btn:hover {
        background: var(--grad-accent) !important;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 12px 22px rgba(255,107,74,.45);
    }

/* Main CTA buttons (Request Demo / Contact Us) */
.erp-btn {
    background: var(--grad-accent) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(255,107,74,.4);
}

    .erp-btn:hover {
        background: var(--grad-violet) !important;
        color: #fff !important;
        transform: translateY(-2px);
    }

/* Last CTA section yellow button */
section[style*="background: #0B2A6B"] .btn-warning {
    background: var(--grad-accent) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 40px;
    padding: 14px 40px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(255,107,74,.5);
}

/* ---------------------------------------------------------------
   4) LIGHT SECTIONS
---------------------------------------------------------------- */
.about-section,
.erp-intro-section,
.why-ibsb-section,
.testimonial-section,
.industry-section,
.industry-section[style] {
    background: linear-gradient(180deg, var(--lilac-50) 0%, var(--lilac-100) 100%) !important;
}

    .about-section .section-title,
    .erp-intro-section .section-title,
    .erp-intro-section h2,
    .why-ibsb-section .section-title,
    .testimonial-section .section-title,
    .industry-section .section-title,
    #clients .section-title,
    #faq .section-title {
        color: var(--violet-800) !important;
    }

        .about-section p,
        .erp-intro-section .section-title p,
        .section-subtitle,
        .testimonial-subtitle {
            color: var(--text-body) !important;
        }

    .erp-intro-section .erp-card {
        border-top: 4px solid var(--violet-600) !important;
        border-radius: 20px !important;
    }

.erp-list li i {
    color: var(--coral) !important;
}

.solution-list li i {
    color: var(--violet-600) !important;
}

.why-card {
    border-top: 4px solid var(--coral) !important;
    border-radius: 18px !important;
}

    .why-card:hover {
        box-shadow: 0 20px 40px rgba(109,40,217,.22) !important;
    }

.industry-card .card {
    border: 1px solid #e3d9fb !important;
    border-radius: 14px !important;
}

    .industry-card .card:hover {
        border-color: var(--coral) !important;
        box-shadow: 0 14px 28px rgba(255,107,74,.25) !important;
    }

.industry-icon {
    background: var(--lilac-100) !important;
    color: var(--violet-600) !important;
}

.industry-card:hover .industry-icon {
    background: var(--grad-accent) !important;
    color: #fff !important;
}

.card-title {
    color: var(--violet-800) !important;
}

.client-info h4 {
    color: var(--violet-800) !important;
}

.stars {
    color: var(--amber) !important;
}

.client-logo:hover {
    border-color: var(--coral) !important;
    box-shadow: 0 15px 35px rgba(255,107,74,.3) !important;
}

/* Counter strip */
#new-section {
    background: var(--grad-main) !important;
}

.colorlib-counter {
    color: var(--amber) !important;
    font-weight: 800;
}

/* ---------------------------------------------------------------
   5) MODALS / FORMS
---------------------------------------------------------------- */
#contactModal .modal-header,
#myPopupModal .modal-header,
.modal-header[style*="0B2A6B"],
.modal-header[style*="39056e"] {
    background: var(--grad-main) !important;
    border-bottom: 3px solid var(--coral);
}

#contactModal .modal-content,
#myPopupModal .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 28px 70px rgba(18,6,43,.55);
    overflow: hidden;
}

#contactModal .form-control,
#myPopupModal .form-control {
    border-radius: 12px;
    border: 1px solid #dacffa;
    box-shadow: none;
}

    #contactModal .form-control:focus,
    #myPopupModal .form-control:focus {
        border-color: var(--violet-500);
        box-shadow: 0 0 0 3px rgba(139,92,246,.22);
    }

#contactModal .btn-primary,
#myPopupModal .btn-primary,
#submitBtn {
    background: var(--grad-accent) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700;
}

/* ---------------------------------------------------------------
   6) FAQ
---------------------------------------------------------------- */
#faq {
    background: var(--lilac-50) !important;
}

    #faq .panel-title a {
        color: var(--violet-800) !important;
    }

        #faq .panel-title a:after {
            background: var(--grad-accent) !important;
        }

        #faq .panel-title a:hover {
            background: var(--lilac-100) !important;
        }

/* ---------------------------------------------------------------
   7) FOOTER
---------------------------------------------------------------- */
#footer {
    background: var(--glow), var(--grad-main) !important;
    border-top: none !important;
}

    #footer .footer-bottom {
        border-top: 1px solid rgba(255,255,255,.15) !important;
    }

    #footer .footer-links h4 {
        color: #fff !important;
    }

        #footer .footer-links h4:after {
            background: var(--coral) !important;
        }

    #footer .footer-links ul li a:hover,
    #footer .footer-bottom a:hover {
        color: var(--amber) !important;
    }

/* ---------------------------------------------------------------
   8) FLOATING BUTTONS
---------------------------------------------------------------- */
.floating-buttons a i.fa-phone {
    background: var(--grad-violet);
    color: #fff !important;
    border-radius: 50%;
    padding: 11px 13px;
    font-size: 30px !important;
    box-shadow: 0 8px 18px rgba(109,40,217,.45);
}

/* =====================================================================
   9) HERO BANNER  (gradient banner + glass icon cards)
===================================================================== */
.text {
    position: relative !important;
    height: auto !important;
    min-height: 540px;
    padding: 80px 6% 90px !important;
    background: var(--glow), var(--grad-main) !important;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 20px 40px rgba(46,16,101,.25);
}

@media (min-width: 992px) {
    .text {
        display: grid !important;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
        grid-template-areas: "title icons" "desc icons";
        grid-template-rows: auto auto;
        align-content: center;
        column-gap: 50px;
    }
}

/* decorative glow circles */
.text::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -160px;
    left: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,107,74,.38), rgba(255,107,74,0) 70%);
    pointer-events: none;
}

.text::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    bottom: -220px;
    right: -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.5), rgba(139,92,246,0) 70%);
    pointer-events: none;
}

/* purple splash image -> soft background texture */
.text > img {
    position: absolute !important;
    right: -60px !important;
    bottom: -80px !important;
    left: auto !important;
    top: auto !important;
    width: 52% !important;
    height: auto !important;
    opacity: .16 !important;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Heading */
.text > h1.top-left {
    grid-area: title;
    align-self: end;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    margin: 0 0 18px !important;
    z-index: 2;
}

.text #down {
    color: #fff !important;
    font-size: 40px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

    .text #down::before {
        content: "ERP  \2022  CRM  \2022  CUSTOM SOFTWARE";
        display: block;
        width: fit-content;
        margin-bottom: 16px;
        padding: 7px 16px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 2px;
        color: #ffd6c9;
        background: rgba(255,255,255,.1);
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 30px;
    }

/* Paragraph */
.text #downs {
    grid-area: desc;
    align-self: start;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    max-width: 580px;
    margin: 0 !important;
    z-index: 2;
    color: var(--text-soft) !important;
    font-size: 17px !important;
    line-height: 30px !important;
}

    .text #downs > br {
        display: none;
    }

    .text #downs strong {
        color: #fff !important;
    }

.text #readMoreBtn {
    display: inline-block;
    margin-left: 6px;
    color: var(--amber) !important;
}

.text #trialSection {
    margin-top: 28px !important;
}

/* Icon grid -> glass cards */
.text .s {
    grid-area: icons;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    z-index: 2;
}

.text #slide {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 12px !important;
}

    .text #slide td {
        background: rgba(255,255,255,.09);
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 18px;
        padding: 16px 6px 12px !important;
        text-align: center;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
        transition: all .3s ease;
    }

        .text #slide td:hover {
            background: rgba(255,255,255,.18);
            transform: translateY(-6px);
            box-shadow: 0 16px 30px rgba(0,0,0,.3);
        }

    .text #slide i {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        margin: 0 auto 10px !important;
        padding: 0 !important;
        font-size: 24px !important;
        border-radius: 14px !important;
    }

        .text #slide i[style*="#39056e"] {
            background: linear-gradient(135deg, #8b5cf6, #6d28d9) !important;
        }

        .text #slide i[style*="#d179db"] {
            background: var(--grad-accent) !important;
        }

    .text #slide span {
        display: block;
        padding: 0 !important;
        color: #fff !important;
        font-size: 13px;
        font-weight: 600;
        white-space: normal;
    }

/* Tablet / Mobile */
@media (max-width: 991px) {
    .text {
        padding: 45px 20px 55px !important;
        border-radius: 0 0 32px 32px;
        min-height: auto;
    }

        .text #down {
            font-size: 28px !important;
        }

        .text #downs {
            font-size: 15px !important;
            line-height: 27px !important;
            max-width: 100%;
        }

        .text .s {
            margin-top: 30px !important;
        }
}

@media (max-width: 767px) {
    .text #slide {
        border-spacing: 6px !important;
    }

        .text #slide td {
            padding: 10px 2px 8px !important;
            border-radius: 12px;
        }

        .text #slide i {
            width: 40px;
            height: 40px;
            font-size: 17px !important;
            border-radius: 10px !important;
        }

        .text #slide span {
            font-size: 10.5px;
        }
}

/* =====================================================================
   10) HERO ICON CARDS - compact (icon aur label ke beech gap kam, cards chhote)
===================================================================== */
.text .s,
.text .s table {
    background: transparent !important;
    box-shadow: none !important;
}

    .text .s::before,
    .text .s::after {
        display: none !important;
    }

@media (min-width: 992px) {
    .text .s {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .text #slide {
        width: 440px !important;
        max-width: 100%;
        table-layout: fixed;
        margin: 0 !important;
        border-spacing: 9px !important;
    }
}

/* <br> hatao -> icon aur text ke beech ka bada gap khatam */
.text #slide td br {
    display: none !important;
}

.text #slide td {
    height: 86px;
    padding: 10px 4px 8px !important;
    vertical-align: middle !important;
    border-radius: 14px;
}

.text #slide i {
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto 5px !important;
    font-size: 18px !important;
    border-radius: 11px !important;
}

.text #slide span {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 991px) {
    .text #slide td {
        height: 78px;
    }
}

@media (max-width: 767px) {
    .text #slide td {
        height: 66px;
        padding: 7px 2px 6px !important;
    }

    .text #slide i {
        width: 32px !important;
        height: 32px !important;
        font-size: 15px !important;
        margin-bottom: 4px !important;
    }

    .text #slide span {
        font-size: 10px !important;
    }
}

/* =====================================================================
   11) FIXES: splash shadow hatao + Read More par icons apni jagah par rahein
===================================================================== */

/* peeche ka halka chaukor "shadow" (splash image ka box) - poora hata diya */
.text > img {
    display: none !important;
}

/* icons hamesha upar se fix, text niche ki taraf expand hoga */
@media (min-width: 992px) {
    .text {
        align-content: start !important;
    }

        .text .s {
            align-self: start !important;
            align-items: flex-start !important;
            margin-top: 24px !important;
        }
}
