/* ========================================
   Page Hero Section with Video Background
   ======================================== */

/* Main Section Container */
.page-hero-section {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
}

/* Video Background Container */
.page-hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Video Element */
.page-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Dark Overlay */
.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    z-index: 2;
}

/* Content Container */
.page-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 3;
}

/* Content Wrapper */
.page-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: page-hero-fade-in 1s ease-out;
}

/* Spacers */
.page-hero-spacer {
    height: 40px;
}

/* Subtitle */
.page-hero-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Main Title */
.page-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 30px 0;
    max-width: 900px;
}

.page-hero-title-text {
    display: block;
}

/* Button Wrapper */
.page-hero-button-wrap {
    margin-top: 10px;
}

/* Button */
.page-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #8B5CF6;
    border: 2px solid #8B5CF6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.page-hero-button:hover {
    background-color: #7C3AED;
    border-color: #7C3AED;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.page-hero-button:hover::before {
    left: 100%;
}

.page-hero-button-text {
    position: relative;
    z-index: 1;
}

.page-hero-button-title {
    display: block;
}

/* Fade In Animation */
@keyframes page-hero-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .page-hero-section {
        height: 500px;
    }
    
    .page-hero-title {
        font-size: 40px;
        max-width: 700px;
    }
    
    .page-hero-spacer {
        height: 30px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .page-hero-section {
        height: 450px;
    }
    
    .page-hero-container {
        padding: 0 15px;
    }
    
    .page-hero-subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 15px;
    }
    
    .page-hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .page-hero-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .page-hero-spacer {
        height: 20px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .page-hero-section {
        height: 400px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .page-hero-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========================================
   How We Can Help Section
   ======================================== */

/* Main Section */
.help-section {
    padding: 60px 0 80px 0;
    background-color: var(--theme-color-bg_color, #F1F9FF);
    position: relative;
}

/* Container */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Grid Layout */
.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ========================================
   Left Column - Title & Description
   ======================================== */

.help-left {
    position: sticky;
    top: 100px;
}

.help-content {
    max-width: 500px;
}

/* Subtitle */
.help-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-color-text_link, #0A42DB);
    margin-bottom: 20px;
}

/* Title */
.help-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--theme-color-text_dark, #010F3C);
    margin: 0 0 20px 0;
}

/* Description */
.help-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--theme-color-text, #828D99);
    margin: 0;
}

/* ========================================
   Right Column - Services List
   ======================================== */

.help-services {
    position: relative;
    padding-left: 0;
}

/* Service Item */
.help-service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation State */
.help-service-item.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.help-service-item:nth-child(1) { transition-delay: 0s; }
.help-service-item:nth-child(2) { transition-delay: 0.1s; }
.help-service-item:nth-child(3) { transition-delay: 0.2s; }
.help-service-item:nth-child(4) { transition-delay: 0.3s; }

/* Timeline (Vertical Line) */
.help-service-timeline {
    position: absolute;
    left: 19px;
    top: 50px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--theme-color-bd_color, #CBDEEE) 0%, 
        var(--theme-color-bd_color, #CBDEEE) 100%);
    z-index: 0;
}

/* Hide timeline on last item */
.help-service-item:last-child .help-service-timeline {
    display: none;
}

/* Icon Container */
.help-service-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color-text_link, #0A42DB);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.help-service-icon svg {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Icon Hover Effect */
.help-service-item:hover .help-service-icon {
    color: var(--theme-color-text_hover, #0237C8);
}

.help-service-item:hover .help-service-icon svg {
    transform: scale(1.1);
}

/* Service Content */
.help-service-content {
    flex: 1;
}

/* Service Title */
.help-service-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--theme-color-text_dark, #010F3C);
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
}

.help-service-item:hover .help-service-title {
    color: var(--theme-color-text_link, #0A42DB);
}

/* Service Text */
.help-service-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--theme-color-text, #828D99);
    margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media screen and (max-width: 1024px) {
    .help-section {
        padding: 50px 0 60px 0;
    }

    .help-grid {
        gap: 40px;
    }

    .help-title {
        font-size: 36px;
    }

    .help-left {
        position: relative;
        top: 0;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .help-section {
        padding: 40px 0 50px 0;
    }

    .help-container {
        padding: 0 20px;
    }

    .help-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .help-title {
        font-size: 32px;
    }

    .help-service-item {
        margin-bottom: 35px;
    }

    .help-service-title {
        font-size: 20px;
    }

    .help-service-text {
        font-size: 15px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .help-title {
        font-size: 28px;
    }

    .help-service-icon {
        width: 36px;
        height: 36px;
    }

    .help-service-timeline {
        left: 17px;
    }
}


/* ========================================
   Testimonials Section V2 - Exact Reference Copy
   ======================================== */

/* Section Container */
.testimonials-section-v2 {
    position: relative;
    padding: 120px 0;
    background-color: #ffffff;
}

/* Wrapper */
.testimonials-wrapper {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Flex Row */
.testimonials-flex-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* ========================================
   Left Column - Dark Slider Box
   ======================================== */

.testimonials-col-left {
    flex: 0 0 58%;
    max-width: 58%;
}

.testimonials-slider-box {
    position: relative;
    background: #1f1f1f;
    border-radius: 30px;
    padding: 100px 80px 80px;
    min-height: 700px;
    overflow: hidden;
}

/* Swiper Container */
.testimonials-swiper {
    height: 100%;
}

.testimonials-swiper .swiper-wrapper {
    height: auto;
}

.testimonials-swiper .swiper-slide {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.testimonials-swiper .swiper-slide-active {
    opacity: 1;
}

/* Quote Icon */
.quote-icon {
    width: 60px;
    height: 48px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Slide Text */
.testimonials-swiper .swiper-slide p {
    font-size: 25px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 0 40px 0;
    font-weight: 400;
}

/* Author */
.testimonials-swiper .swiper-slide span {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    display: inline-block;
}

/* ========================================
   Navigation Box - White Rounded Box at Bottom
   ======================================== */

.testimonials-nav-box {
    position: absolute;
    bottom: 0;
    left: 154px;
    background-color: #ffffff;
    border-radius: 25px 25px 0 0;
    width: 136px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 10;
}

/* Corner Decorations */
.testimonials-nav-box::before,
.testimonials-nav-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
}

.testimonials-nav-box::before {
    left: -20px;
    background-image: url(./Images/corner3.png);
}

.testimonials-nav-box::after {
    right: -20px;
    background-image: url(./Images/corner2.png);
}

/* Navigation Buttons */
.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    width: auto;
    height: auto;
    margin: 0 !important;
    color: #1a1a2e;
    font-size: 10px;
    transition: color 0.3s ease;
    cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 10px!important;
    font-weight: 10 !important;
}

.swiper-button-prev::after {
    content: '←';
}

.swiper-button-next::after {
    content: '→';
}

.swiper-button-prev {
    margin-right: 21px !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    color: #8B5CF6;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ========================================
   Right Column - Visual Gradient Box
   ======================================== */

.testimonials-col-right {
    flex: 0 0 calc(42% - 20px);
    max-width: calc(42% - 20px);
}

.testimonials-visual-box {
    position: relative;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 35%, #6366f1 65%, #3b82f6 100%);
    border-radius: 30px;
    min-height: 700px;
    overflow: hidden;
}

/* Background Image */
.testimonials-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

/* Diagonal Wave Pattern Overlay */
.testimonials-visual-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 35px,
        rgba(255, 255, 255, 0.03) 35px,
        rgba(255, 255, 255, 0.03) 70px
    );
    pointer-events: none;
    z-index: 2;
}

/* Overlay Content */
.testimonials-overlay-content {
    position: absolute;
    top: 60px;
    left: 60px;
    right: 40px;
    bottom: 60px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    z-index: 3; 
}

/* Text Area */
.testimonials-text-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonials-badge {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-heading {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.17;
    color: #ffffff;
    margin: 0;
    letter-spacing: -1.5px;
}

/* Counter Box */
.testimonials-counter-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: flex-start; 
}

.counter-display {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    line-height: 1;
}

/* Outline Stroke Effect for Number */
.counter-num {
    font-size: 100px;
    font-weight: 600;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    letter-spacing: 0;
}

.counter-plus {
    font-size: 100px;
    font-weight: 600;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
}

.counter-text {
    font-size: 14px;
    font-weight: 500; 
    line-height: 1.4;
    color: #ffffff;
    max-width: 250px; 
    display: block;
    margin-top: 4px; 
}

/* ========================================
   Responsive Design
   ======================================== */

@media screen and (max-width: 1440px) {
    .testimonials-slider-box {
        padding: 90px 70px 70px;
        min-height: 650px;
    }
    
    .testimonials-visual-box {
        min-height: 650px;
    }
    
    .testimonials-overlay-content {
        top: 75px;
        left: 48px;
        gap: 120px;
    }
    
    .testimonials-heading {
        font-size: 48px;
    }
}

@media screen and (max-width: 1200px) {
    .testimonials-slider-box {
        padding: 80px 60px 60px;
        min-height: 600px;
    }
    
    .testimonials-visual-box {
        min-height: 600px;
    }
    
    .testimonials-swiper .swiper-slide p {
        font-size: 22px;
    }
    
    .testimonials-heading {
        font-size: 45px;
    }
    
    .testimonials-overlay-content {
        gap: 90px;
    }
    
    .testimonials-nav-box {
        left: 100px;
    }
}

@media screen and (max-width: 1024px) {
    .testimonials-flex-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonials-col-left,
    .testimonials-col-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .testimonials-slider-box {
        border-radius: 30px;
        min-height: 550px;
    }
    
    .testimonials-visual-box {
        min-height: 500px;
    }
    
    .testimonials-swiper .swiper-slide p {
        font-size: 20px;
    }
    
    .testimonials-heading {
        font-size: 40px;
    }
    
    .counter-num,
    .counter-plus {
        font-size: 90px;
    }
}

@media screen and (max-width: 768px) {
    .testimonials-section-v2 {
        padding: 80px 0;
    }
    
    .testimonials-wrapper {
        padding: 0 20px;
    }
    
    .testimonials-slider-box {
        padding: 70px 50px 50px;
        min-height: 520px;
    }
    
    .testimonials-visual-box {
        min-height: 450px;
    }
    
    .testimonials-swiper .swiper-slide p {
        font-size: 18px;
    }
    
    .testimonials-heading {
        font-size: 33px;
    }
    
    .testimonials-overlay-content {
        gap: 60px;
        left: 40px;
    }
    
    .counter-num,
    .counter-plus {
        font-size: 80px;
    }
}

@media screen and (max-width: 480px) {
    .testimonials-slider-box {
        padding: 53px 29px 30px;
    }
    
    .testimonials-nav-box {
        left: 45px;
    }
    
    .testimonials-swiper .swiper-slide p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .testimonials-heading {
        font-size: 28px;
    }
    
    .testimonials-overlay-content {
        left: 25px;
        gap: 50px;
    }
    
    .counter-num,
    .counter-plus {
        font-size: 70px;
    }
    
    .counter-text {
        font-size: 18px;
    }
}

/* ========================================
   Special Features Section
   ======================================== */

/* Main Section */
.special-features-section {
    position: relative;
    padding: 100px 0;
    background: #f8f9fb url('./Images/features/bg.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

/* Container */
.special-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Section Header
   ======================================== */

.special-features-header {
    margin-bottom: 60px;
}

/* Subtitle */
.special-features-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6366f1;
    margin: 0 0 20px 0;
}

/* Title */
.special-features-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: #0f1419;
    margin: 0;
    letter-spacing: -1px;
}

/* ========================================
   Features Grid
   ======================================== */

.special-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    margin-top: 60px;
}

/* Feature Item */
.special-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Icon Wrapper */
.special-feature-icon-wrap {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e8e9ff 0%, #f0f1ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.special-feature-item:hover .special-feature-icon-wrap {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #dfe0ff 0%, #e8e9ff 100%);
}

/* Icon Image */
.special-feature-icon-wrap img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ========================================
   Feature Content
   ======================================== */

.special-feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Item Title */
.special-feature-item-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f1419;
    margin: 0;
}

/* Item Description */
.special-feature-item-descr {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Large Desktop */
@media screen and (max-width: 1440px) {
    .special-features-grid {
        gap: 35px 25px;
    }
    
    .special-features-title {
        font-size: 44px;
    }
}

/* Desktop */
@media screen and (max-width: 1200px) {
    .special-features-section {
        padding: 90px 0;
    }
    
    .special-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 25px;
    }
    
    .special-features-title {
        font-size: 40px;
    }
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .special-features-section {
        padding: 80px 0;
    }
    
    .special-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .special-features-title {
        font-size: 36px;
    }
    
    .special-features-header {
        margin-bottom: 50px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .special-features-section {
        padding: 70px 0;
    }
    
    .special-features-container {
        padding: 0 20px;
    }
    
    .special-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px 20px;
        margin-top: 50px;
    }
    
    .special-features-title {
        font-size: 32px;
    }
    
    .special-feature-icon-wrap {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .special-feature-icon-wrap img {
        width: 35px;
        height: 35px;
    }
    
    .special-feature-item-title {
        font-size: 18px;
    }
    
    .special-feature-item-descr {
        font-size: 14px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .special-features-section {
        padding: 60px 0;
    }
    
    .special-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    
    .special-features-title {
        font-size: 28px;
    }
    
    .special-features-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }
    
    .special-feature-icon-wrap {
        width: 75px;
        height: 75px;
    }
    
    .special-feature-item-title {
        font-size: 19px;
    }
}