/* 
 * Homepage New Sections Styles
 * Engage Slide Landing Page
 */

/* ============================================
   Global Spacing Adjustments (balanced)
   ============================================ */
.mt-150 { margin-top: 100px !important; }
.mt-130 { margin-top: 90px !important; }
.mt-100 { margin-top: 80px !important; }
.mt-200 { margin-top: 120px !important; }

@media (max-width: 991px) {
    .md-mt-100 { margin-top: 70px !important; }
    .md-mt-80 { margin-top: 60px !important; }
    .md-mt-70 { margin-top: 50px !important; }
}

/* Section margin bottom for spacing */
.trusted-by-section,
.fancy-feature-ten,
.how-it-works-section,
.use-cases-section,
.fancy-feature-eleven,
.pricing-section-four,
.client-feedback-slider-four {
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .trusted-by-section,
    .fancy-feature-ten,
    .how-it-works-section,
    .use-cases-section,
    .fancy-feature-eleven,
    .pricing-section-four,
    .client-feedback-slider-four {
        margin-bottom: 40px;
    }
}


/* ============================================
   Trusted By Section
   ============================================ */
.trusted-by-section {
    padding: 30px 0;
    overflow: hidden;
}

.trusted-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 25px;
    font-weight: 500;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

.logo-track img {
    height: 50px;
    margin: 0 50px;
    opacity: 0.85;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.logo-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* ============================================
   How It Works Section
   ============================================ */
.how-it-works-section {
    position: relative;
    padding: 70px 0;
}

.how-it-works-section .title-style-six h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF2759;
    margin-bottom: 12px;
    font-weight: 600;
}

.how-it-works-section .title-style-six h2 {
    font-size: 42px;
}

.steps-wrapper {
    position: relative;
    margin-top: 50px;
}

.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF2759 0%, #FF6B35 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(255, 39, 89, 0.25);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 15px auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step-card h4 {
    font-family: 'Recoleta', serif;
    font-size: 20px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.step-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.connector-line {
    display: none;
}

@media (min-width: 992px) {
    .connector-line {
        display: block;
        position: absolute;
        top: 70px;
        left: 18%;
        right: 18%;
        height: 2px;
        background: linear-gradient(90deg, #FF2759, #FF6B35, #FFB840, #3BB0D7);
        z-index: -1;
    }
}


/* ============================================
   Statistics Section
   ============================================ */
.statistics-section {
    padding: 60px 0;
}

.stats-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 45px 30px;
    position: relative;
    overflow: hidden;
}

.stats-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Recoleta', serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-family: 'Recoleta', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
    vertical-align: top;
    margin-left: 2px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .stat-item {
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 30px;
    }
    
    .stat-suffix {
        font-size: 20px;
    }
}


/* ============================================
   Use Cases Section
   ============================================ */
.use-cases-section {
    position: relative;
    padding: 70px 0;
}

.use-cases-section .title-style-six h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF2759;
    margin-bottom: 12px;
    font-weight: 600;
}

.use-cases-section .title-style-six h2 {
    font-size: 42px;
}

.use-case-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 28px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

.use-case-card.education::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.use-case-card.business::before {
    background: linear-gradient(90deg, #FF2759, #FF6B35);
}

.use-case-card.events::before {
    background: linear-gradient(90deg, #3BB0D7, #00d4aa);
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.use-case-card .card-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.use-case-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.use-case-card:hover .card-image img {
    transform: scale(1.05);
}

.use-case-card h3 {
    font-family: 'Recoleta', serif;
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.use-case-card > p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.use-case-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.use-case-list li {
    font-size: 13px;
    color: #555;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.use-case-list li i {
    color: #00d4aa;
    margin-right: 10px;
    font-size: 11px;
}

.learn-more-link {
    font-size: 14px;
    font-weight: 600;
    color: #FF2759;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.learn-more-link i {
    margin-left: 6px;
    transition: transform 0.3s ease;
    font-size: 12px;
}

.learn-more-link:hover {
    color: #e01e4a;
}

.learn-more-link:hover i {
    transform: translateX(4px);
}


/* ============================================
   Integration Section
   ============================================ */
.integration-section {
    padding: 70px 0;
}

.integration-section .title-style-six h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FF2759;
    margin-bottom: 12px;
    font-weight: 600;
}

.integration-section .title-style-six h2 {
    font-size: 42px;
}

.integration-section .sub-text {
    font-size: 16px;
    color: #666;
    max-width: 550px;
    margin: 0 auto;
}

.integration-grid {
    padding: 15px 0;
    margin-top: 40px;
}

.integration-grid .row {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.integration-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 15px;
    height: 100%;
}

.integration-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.integration-item img {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    object-fit: contain;
}

.integration-item span {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}


/* ============================================
   Pricing Section Fixes
   ============================================ */
.pricing-nav-three {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 40px 0 60px !important;
}

.pricing-nav-three .nav-item {
    flex-shrink: 0;
}

.pricing-nav-three .nav-item .nav-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0 20px;
}

.save-badge {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.pr-table-wrapper .price span {
    font-size: 14px;
    color: #888;
    font-weight: normal;
}

.pr-feature li strong {
    color: #FF2759;
}

@media (max-width: 480px) {
    .pricing-nav-three .nav-item .nav-link {
        min-width: 100px;
        padding: 0 12px;
        font-size: 14px !important;
        line-height: 48px !important;
    }
    
    .save-badge {
        font-size: 9px;
        padding: 3px 6px;
        margin-left: 5px;
    }
}


/* ============================================
   Testimonials Section Enhancements
   ============================================ */
.client-feedback-slider-four .sub-text {
    font-size: 16px;
    color: #666;
}

.client-feedback-slider-four .inner-container {
    padding: 50px 0;
}


/* ============================================
   Final CTA Section
   ============================================ */
.final-cta-section {
    padding: 40px 0 60px;
}

.cta-wrapper {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 50px 45px;
    position: relative;
    overflow: hidden;
}

.cta-wrapper::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 39, 89, 0.25), rgba(255, 107, 53, 0.15));
    border-radius: 50%;
    filter: blur(50px);
}

.cta-wrapper::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25), rgba(118, 75, 162, 0.15));
    border-radius: 50%;
    filter: blur(50px);
}

.cta-title {
    font-size: 34px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-title span {
    color: #FF2759;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FF2759 0%, #FF6B35 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(255, 39, 89, 0.25);
}

.cta-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 39, 89, 0.35);
    color: #fff;
}

.cta-button:hover i {
    transform: translateX(4px);
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.cta-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
}

.cta-shape.shape-one {
    top: 15px;
    right: 18%;
    width: 50px;
}

.cta-shape.shape-two {
    bottom: 15px;
    left: 25%;
    width: 60px;
}

@media (max-width: 991px) {
    .cta-wrapper {
        padding: 40px 25px;
        text-align: center;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-wrapper .text-lg-right {
        text-align: center !important;
        margin-top: 25px;
    }
}


/* ============================================
   Feature Section Spacing Fix
   ============================================ */
.fancy-feature-ten {
    margin-top: 80px !important;
}

.fancy-feature-ten .bg-wrapper {
    padding: 60px 0 70px;
}

.fancy-feature-eleven {
    margin-top: 80px !important;
}


/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 1199px) {
    .step-card {
        padding: 28px 20px;
    }
    
    .use-case-card {
        padding: 28px 24px;
    }
}

@media (max-width: 991px) {
    .how-it-works-section,
    .use-cases-section,
    .integration-section {
        padding: 40px 0;
    }
    
    .step-card,
    .use-case-card {
        margin-bottom: 25px;
    }
    
    .stats-wrapper {
        padding: 35px 20px;
    }
    
    .steps-wrapper {
        margin-top: 35px;
    }
}

@media (max-width: 767px) {
    .logo-track img {
        height: 36px;
        margin: 0 30px;
    }
    
    .step-card h4 {
        font-size: 18px;
    }
    
    .use-case-card h3 {
        font-size: 20px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 12px 26px;
        font-size: 15px;
    }
    
    .how-it-works-section .title-style-six h2,
    .use-cases-section .title-style-six h2,
    .integration-section .title-style-six h2 {
        font-size: 32px;
    }
}

@media (max-width: 575px) {
    .stat-number {
        font-size: 28px;
    }
    
    .stat-suffix {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .step-card {
        padding: 25px 18px;
    }
    
    .use-case-card .card-image {
        height: 120px;
    }
}
