/* TajerPay Custom Styles */

/* Fix navigation alignment */
.navbar-custom .navbar-toggle-item > div {
    align-items: center !important;
}

.navbar-brand img.logo {
    vertical-align: middle;
}

.custom-nav {
    align-items: center !important;
}

.right-area {
    align-items: center !important;
}

/* Hero Banner Gradient Background - Option 7: Three-Way Blend (Charcoal → Teal → Amber) */
.banner-wrapper14 {
    background: linear-gradient(335deg, rgba(44, 58, 60, 0.90) -6.4%, rgba(39, 125, 139, 0.92) 40%, rgba(39, 125, 139, 0.88) 65%, rgba(255, 192, 67, 0.80) 105.26%), #277d8b !important;
}

/* Logo container - set consistent height for alignment */
.partnered-wrapper-style14 {
    align-items: center !important;
}

.partnered-item {
    height: 100px !important;
    min-width: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.partnered-item img {
    max-height: 100px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Smaller size for s1 (Mada) - target by image src */
.partnered-item img[src*="s1.png"] {
    max-height: 70px !important;
}

/* Larger size for s2 (SAMA) - target by image src */
.partnered-item img[src*="s2.png"] {
    max-height: 250px !important;
}

/* Larger size for s6 (Regulatory) - target by image src */
.partnered-item img[src*="s6.png"] {
    max-height: 250px !important;
}

/* Header - transparent initially, sticky on scroll */
.header-section {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* When scrolled - sticky header with background */
.header-section.animated {
    position: fixed !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    animation: fadeInDown 0.5s ease !important;
}

/* Mobile menu - always white background when open */
@media (max-width: 991px) {
    .header-section .navbar-toggle-item {
        background: #ffffff !important;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin-top: 10px;
    }
    
    /* Hamburger menu button - consistent size */
    .navbar-toggle-btn {
        width: 30px !important;
        height: 24px !important;
        position: relative;
    }
    
    .navbar-toggle-btn span {
        height: 2px !important;
        background: #2C3A3C !important;
        transition: all 0.3s ease;
    }
    
    /* When closed - hamburger lines full width */
    .navbar-toggle-btn:not(.open) span {
        width: 100% !important;
    }
}

/* Scroll offset for anchor links to account for sticky header */
html {
    scroll-padding-top: 50px;
}

[id] {
    scroll-margin-top: 50px;
}

/* Banner section - responsive top padding for header overlay */
.banner-section14 {
    margin-top: 0 !important;
}

/* Mobile: Add extra top padding so content doesn't overlap with header */
@media (max-width: 991px) {
    .banner-section14 {
        padding-top: 90px !important;
    }
}

@media (max-width: 767px) {
    .banner-section14 {
        padding-top: 90px !important;
    }
}

@media (max-width: 575px) {
    .banner-section14 {
        padding-top: 80px !important;
    }
}

/* Section 3: Why Choose Us - Replace blue with TajerPay teal */
/* Change icon circle backgrounds from blue to teal */
.choose-items14 .box-style3 {
    background: linear-gradient(135deg, #277d8b 0%, #3a9fad 100%) !important;
}

/* Alternative solid teal if gradient doesn't work */
.choose-section .box-style3 {
    background-color: #277d8b !important;
}

/* Ensure icons stay gold/yellow */
.choose-items14 .icon i {
    color: #FFC043 !important;
}

/* Fix title to be visible - black color */
.choose-section .display-six {
    color: #000000 !important;
}

/* Change badge text and icon from blue to teal */
.choose-section .section-header .p9-clr {
    color: #277d8b !important;
}

.choose-section .section-header img {
    filter: hue-rotate(140deg) !important;
}

/* Section 5: Benefits - Phone animation responsive styles */
/* Tablet: Keep absolute positioning, set width, center horizontally */
@media (max-width: 991px) {
    .unique-feature-section .feature-banking-app .feature-app {
        width: 200px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
    }
}

/* Mobile: Change to static positioning, center the image */
@media (max-width: 767px) {
    .unique-feature-section .feature-banking-app .feature-app {
        position: initial !important;
        width: 200px !important;
        margin: 20px auto 0 !important;
        right: auto !important;
        transform: none !important;
        display: block !important;
    }
    
    .unique-feature-section .feature-banking-app {
        text-align: center !important;
    }
}

/* Smaller mobile: Even smaller image */
@media (max-width: 575px) {
    .unique-feature-section .feature-banking-app .feature-app {
        width: 180px !important;
    }
}

/* Section 6: How It Works - Step number badges */
.section-6-howitworks .step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: #277D8B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* Section 5: Benefits - Decorative wave element adjustments */
/* Desktop: Add padding and scale down slightly (using zoom to preserve animation) */
.unique-feature-section {
    padding-top: 80px !important;
}

.unique-feature-section .feaure-element14 {
    zoom: 0.9 !important;
}

/* Tablet: Add top padding and scale down decorative element */
@media (max-width: 991px) {
    .unique-feature-section {
        padding-top: 80px !important;
    }
    
    .unique-feature-section .feaure-element14 {
        zoom: 0.5 !important;
        opacity: 0.9 !important;
    }
}

/* Mobile: More padding and smaller decorative element */
@media (max-width: 767px) {
    .unique-feature-section {
        padding-top: 80px !important;
    }
    
    .unique-feature-section .feaure-element14 {
        zoom: 0.5 !important;
        opacity: 0.9 !important;
    }
}

/* Smaller mobile: Even more adjustments */
@media (max-width: 575px) {
    .unique-feature-section {
        padding-top: 80px !important;
    }
    
    .unique-feature-section .feaure-element14 {
        zoom: 0.4 !important;
        opacity: 0.9 !important;
    }
}

/* ============================================
   Section 7: TajerPay Advantage
   ============================================ */

/* Remove gap between Section 6 and Section 7 on desktop */
.section-7-advantage {
    margin-top: 0 !important;
}

/* Fix: Prevent icon and text from wrapping to separate lines */
.section-7-advantage .single-item {
    flex-wrap: nowrap !important;
}

.section-7-advantage .single-item .icon-area {
    flex-shrink: 0;
}

.section-7-advantage .single-item .text-area {
    flex: 1;
    min-width: 0;
}

/* Scale down illustration image and position it without affecting row height */
.section-7-advantage .col-lg-5 {
    position: static;
}

.section-7-advantage .img-area {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.section-7-advantage .img-area img {
    transform: scale(0.7);
    transform-origin: bottom center;
    max-width: 100%;
}

/* Reduce section padding */
.section-7-advantage .start-area {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* ============================================
   Section 9: Statistics / Trust Metrics
   ============================================ */

/* Fix odometer animation jerk */
.section-9-statistics .odometer {
    font-variant-numeric: tabular-nums;
}

.section-9-statistics .counters {
    overflow: hidden;
}

.section-9-statistics .odometer-inside {
    display: inline-flex;
}

/* ============================================
   Section 10: Why Saudi SMEs Need TajerPay
   ============================================ */

/* Premium Cards Design */
.section-10-sme-needs .premium-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(44, 58, 60, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.section-10-sme-needs .premium-card:hover {
    border-color: #277D8B;
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(39, 125, 139, 0.15);
}

.section-10-sme-needs .card-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-10-sme-needs .category-tag {
    background: linear-gradient(135deg, #277D8B 0%, #2C3A3C 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-10-sme-needs .quote-icon {
    color: #FFC043;
    font-size: 24px;
}

.section-10-sme-needs .pain-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
    min-height: 80px;
}

.section-10-sme-needs .divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #277D8B, #FFC043);
    margin-bottom: 20px;
    border-radius: 2px;
}

.section-10-sme-needs .solution-text {
    color: #277D8B;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 25px;
}

.section-10-sme-needs .person-name {
    font-weight: 700;
    color: #2C3A3C;
    font-size: 16px;
    margin-bottom: 3px;
}

.section-10-sme-needs .person-details {
    font-size: 13px;
    color: #888;
}

/* CTA Card with Hero Gradient */
.section-10-sme-needs .cta-card {
    background: linear-gradient(335deg, #2C3A3C -6.4%, #277D8B 40%, #FFC043 105.26%) !important;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(44, 58, 60, 0.15);
}

.section-10-sme-needs .cta-card h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 22px;
}

.section-10-sme-needs .cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 15px;
}

.section-10-sme-needs .cta-card .btn-cta {
    background: #ffffff;
    color: #2C3A3C;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.section-10-sme-needs .cta-card .btn-cta:hover {
    background: #FFC043;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Slider Navigation */
.section-10-sme-needs .slide-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2C3A3C;
    background: transparent;
    color: #2C3A3C;
    transition: all 0.3s ease;
}

.section-10-sme-needs .slide-button:hover {
    background: #2C3A3C;
    color: #ffffff;
}

.section-10-sme-needs .slide-button.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Swiper slide height fix */
.section-10-sme-needs .swiper-slide {
    height: auto;
}

.section-10-sme-needs .swiper-wrapper {
    align-items: stretch;
    padding-top: 10px;
    padding-bottom: 10px;
}

.section-10-sme-needs .swiper {
    overflow: visible;
    padding: 10px 0;
}

.section-10-sme-needs .container-fluid {
    overflow: hidden;
}

/* ============================================
   FAQ Section Styling
   ============================================ */

/* Reduce top padding */
.faq-section {
    padding-top: 80px !important;
}

/* Expanded FAQ card with hero gradient */
.accordion-style13 .accordion-single.active {
    background: linear-gradient(335deg, #2C3A3C -6.4%, #277D8B 50%, #FFC043 140%) !important;
    border-radius: 12px;
}

.accordion-style13 .accordion-single.active .accordion-btn {
    color: #ffffff !important;
}

.accordion-style13 .accordion-single.active .content-area .n3-color {
    color: rgba(255, 255, 255, 0.9) !important;
}
