/* Affiliate Hero Section */
.affiliate-hero {
    position: relative;
    padding: 150px 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliate-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/Affiliate/Affiliate.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.affiliate-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.affiliate-hero-title {
    font-family: 'Cairo', sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0 0 24px 0;
}

.affiliate-hero-subtitle {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #FFFFFF;
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .affiliate-hero {
        padding: 120px 0;
        min-height: 400px;
    }

    .affiliate-hero-title {
        font-size: 48px;
    }

    .affiliate-hero-subtitle {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .affiliate-hero {
        padding: 100px 0;
        min-height: 350px;
    }

    .affiliate-hero-title {
        font-size: 36px;
    }

    .affiliate-hero-subtitle {
        font-size: 15px;
    }
}

@media screen and (max-width: 480px) {
    .affiliate-hero {
        padding: 80px 0;
        min-height: 300px;
    }

    .affiliate-hero-title {
        font-size: 28px;
    }

    .affiliate-hero-subtitle {
        font-size: 14px;
    }
}

/* Who The Affiliate Program Is For Section */
.affiliate-program-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.affiliate-program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.affiliate-program-title {
    font-family: 'Cairo', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.3;
}

.btn-become-affiliate {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background: #FF6B35;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-become-affiliate:hover {
    background: #ff7a33;
}

.affiliate-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.affiliate-card {
    background: #F5F3F1;
    border-radius: 16px;
    padding: 40px 16px 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 280px;
}

.affiliate-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.affiliate-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.affiliate-card-title {
    font-family: 'Cairo', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

/* Responsive for Affiliate Program Section */
@media screen and (max-width: 968px) {
    .affiliate-program-section {
        padding: 60px 0;
    }

    .affiliate-program-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    .affiliate-program-title {
        font-size: 32px;
    }

    .affiliate-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .affiliate-card {
        padding: 32px 20px;
    }

    .affiliate-card-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .affiliate-program-section {
        padding: 40px 0;
    }

    .affiliate-program-title {
        font-size: 28px;
    }

    .affiliate-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .affiliate-card {
        padding: 28px 20px;
    }

    .btn-become-affiliate {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .affiliate-program-title {
        font-size: 24px;
    }

    .affiliate-card {
        padding: 24px 16px;
    }

    .affiliate-card-icon {
        width: 64px;
        height: 64px;
    }

    .affiliate-card-title {
        font-size: 15px;
    }
}

/* Brand Logos Section */
.brand-logos-section {
    padding: 60px 0;
    background: #FFFFFF;
    overflow: hidden;
}

.brand-logos-slider {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: scroll 30s linear infinite;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
}

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

/* Responsive for Brand Logos */
@media screen and (max-width: 968px) {
    .brand-logos-section {
        padding: 50px 0;
    }

    .brand-logos-slider {
        gap: 60px;
    }

    .brand-logo {
        height: 32px;
    }
}

@media screen and (max-width: 640px) {
    .brand-logos-section {
        padding: 40px 0;
    }

    .brand-logos-slider {
        gap: 40px;
    }

    .brand-logo {
        height: 28px;
    }
}

/* Why Partner With Us Section */
.why-partner-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.why-partner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-partner-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-partner-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: cover;
}

.why-partner-right {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-partner-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.why-partner-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.why-partner-list li {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    padding-left: 32px;
    position: relative;
}

.why-partner-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-size: 20px;
}

.btn-become-partner {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background: #FF6B35;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-become-partner:hover {
    background: #ff7a33;
}

/* Responsive for Why Partner Section */
@media screen and (max-width: 968px) {
    .why-partner-section {
        padding: 60px 0;
    }

    .why-partner-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-partner-title {
        font-size: 36px;
    }

    .why-partner-list li {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .why-partner-section {
        padding: 40px 0;
    }

    .why-partner-right {
        gap: 24px;
    }

    .why-partner-title {
        font-size: 32px;
    }

    .why-partner-list {
        gap: 12px;
    }

    .why-partner-list li {
        font-size: 15px;
        padding-left: 28px;
    }

    .btn-become-partner {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .why-partner-title {
        font-size: 28px;
    }

    .why-partner-list li {
        font-size: 14px;
    }
}

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

.how-it-works-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Images/Affiliate/worksbg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.how-it-works-section .container {
    position: relative;
    z-index: 1;
}

.how-it-works-title {
    font-family: 'Cairo', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 64px 0;
    line-height: 1.2;
}

.how-it-works-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.work-step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
    position: relative;
    width: 280px;
    flex-shrink: 0;
}

.work-step::after {
    content: '';
    position: absolute;
    top: 25%;
    left: 100%;
    width: 40px;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        rgba(255, 255, 255, 0.5) 0,
        rgba(255, 255, 255, 0.5) 4px,
        transparent 4px,
        transparent 8px
    );
    z-index: 10;
}

.work-step:last-child::after {
    display: none;
}

.work-step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.work-step-title {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
}

.btn-apply-now {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    background: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 16px 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.btn-apply-now:hover {
    background: #f0f0f0;
}

/* Responsive for How It Works Section */
@media screen and (max-width: 968px) {
    .how-it-works-section {
        padding: 80px 0;
    }

    .how-it-works-title {
        font-size: 36px;
        margin-bottom: 48px;
    }

    .how-it-works-grid {
        flex-wrap: wrap;
        gap: 24px;
    }

    .work-step {
        padding: 32px 20px;
        width: calc(50% - 12px);
    }

    .work-step::after {
        display: none;
    }

    .work-step-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 640px) {
    .how-it-works-section {
        padding: 60px 0;
    }

    .how-it-works-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .how-it-works-grid {
        flex-direction: column;
        gap: 20px;
    }

    .work-step {
        padding: 28px 20px;
        width: 100%;
    }

    .work-step::after {
        display: none;
    }

    .work-step-icon {
        width: 64px;
        height: 64px;
    }

    .work-step-title {
        font-size: 15px;
    }

    .btn-apply-now {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .how-it-works-title {
        font-size: 28px;
    }

    .work-step {
        padding: 24px 16px;
    }

    .work-step-title {
        font-size: 14px;
    }
}

/* Video Section Styles */
.account-opening-section {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-opening-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1800px;
    height: auto;
    z-index: 1;
    background-repeat: no-repeat;
}

.account-opening-content {
    position: relative;
    z-index: 2;
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.video-thumbnail-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.3s ease;
}

.video-thumbnail-container:hover .play-button-overlay {
    background: transparent;
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.account-video {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
