/* ============================================
   ADVANCED DESIGN ENHANCEMENTS
   Sapient Softwares - sapientsoftwares.com
   ============================================ */

/* =====================
   NAVIGATION CTA BUTTON
======================== */
.nav-cta-btn {
    display: inline-block !important;
    background: linear-gradient(90deg, #03228f 0%, #0e73e4 100%) !important;
    color: #fff !important;
    padding: 10px 22px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-left: 12px !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.nav-cta-btn:hover {
    opacity: 0.88 !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* =====================
   HERO BADGE
======================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50px;
    padding: 9px 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero-badge .badge-dot {
    width: 9px;
    height: 9px;
    background: #4cfa90;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.55; transform: scale(1.35); }
}

/* =====================
   HERO STATS BAR
======================== */
.hero-stats-bar {
    display: flex;
    gap: 44px;
    margin-top: 46px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-stat-item .stat-number {
    display: block;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.hero-stat-item .stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 7px;
    font-weight: 500;
}

/* =====================
   SERVICE CARDS GRID
======================== */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.service-card {
    background: #fff;
    border-radius: 14px;
    padding: 36px 28px 30px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.07);
    border: 1px solid #eef1f8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #03228f 0%, #0e73e4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.service-card:hover::after {
    transform: scaleX(1);
}
.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 52px rgba(3, 34, 143, 0.13);
}
.service-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 13px;
    background: linear-gradient(135deg, #e8f0fe 0%, #c8d9f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 24px;
    color: #03228f;
    transition: background 0.3s ease, color 0.3s ease;
}
.service-card:hover .card-icon {
    background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
    color: #fff;
}
.service-card h3.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #101010;
    margin-bottom: 12px;
    line-height: 1.3;
}
.service-card p.card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.75;
    margin: 0 0 18px;
}
.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0e73e4;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}
.service-card .card-link:hover {
    gap: 11px;
    color: #03228f;
    text-decoration: none;
}

/* =====================
   STATS COUNTER SECTION
======================== */
.ss-stats-section {
    background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.ss-stats-section::before {
    content: '';
    position: absolute;
    top: -50px; right: -80px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    pointer-events: none;
}
.ss-stats-section::after {
    content: '';
    position: absolute;
    bottom: -70px; left: -50px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.045);
    pointer-events: none;
}
.ss-stat-box {
    text-align: center;
    padding: 8px 0;
    position: relative;
}
.ss-stat-box + .ss-stat-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 64px;
    background: rgba(255, 255, 255, 0.22);
}
.ss-stat-box .stat-value {
    display: block;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.ss-stat-box .stat-value .plus {
    font-size: 36px;
    color: rgba(255, 255, 255, 0.75);
}
.ss-stat-box .stat-label {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.76);
    margin-top: 10px;
    font-weight: 500;
}

/* =====================
   FAQ ACCORDION
======================== */
.faq-accordion .faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.055);
    border: 1px solid #eef1f8;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
.faq-accordion .faq-item.active {
    box-shadow: 0 6px 30px rgba(3, 34, 143, 0.1);
}
.faq-accordion .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: #101010;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}
.faq-accordion .faq-question:hover { color: #0e73e4; }
.faq-accordion .faq-item.active .faq-question { color: #03228f; }
.faq-accordion .faq-toggle-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e73e4;
    font-size: 13px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.32s ease, background 0.3s ease, color 0.3s ease;
}
.faq-accordion .faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #03228f 0%, #0e73e4 100%);
    color: #fff;
}
.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s ease;
}
.faq-accordion .faq-item.active .faq-answer {
    max-height: 400px;
}
.faq-accordion .faq-answer-inner {
    margin: 0 24px;
    padding: 16px 0 22px;
    border-top: 1px solid #f0f3fa;
}
.faq-accordion .faq-answer-inner p {
    font-size: 15px;
    color: #555;
    line-height: 1.82;
    margin: 0;
}

/* =====================
   SECTION TITLE ACCENT
======================== */
.sec-title2 .title.testi-title {
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.sec-title2 .title.testi-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #03228f 0%, #0e73e4 100%);
    border-radius: 3px;
}

/* =====================
   PROCESS CARD HOVER
======================== */
.rs-addon-number {
    transition: transform 0.3s ease;
}
.rs-addon-number:hover {
    transform: translateY(-5px);
}

/* =====================
   FEATURE ICON-BOX HOVER
======================== */
.icon-box-area {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.icon-box-area:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.15) !important;
}

/* =====================
   RESPONSIVE
======================== */
@media (max-width: 991px) {
    .service-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats-bar { gap: 26px; }
    .ss-stat-box + .ss-stat-box::before { display: none; }
    .ss-stat-box { padding: 16px 0; }
}
@media (max-width: 767px) {
    .hero-stats-bar { flex-wrap: wrap; gap: 22px; }
    .hero-stat-item .stat-number { font-size: 26px; }
    .ss-stat-box .stat-value { font-size: 40px; }
    .faq-accordion .faq-question { font-size: 15px; padding: 16px 18px; }
    .faq-accordion .faq-answer-inner { margin: 0 18px; }
}
@media (max-width: 575px) {
    .service-cards-grid { grid-template-columns: 1fr; }
    .nav-cta-btn { display: none !important; }
}
