/*
 * author: Awedoo Studio
 * template: Bicolor - Creative Coming Soon Template
 * version: v1.1
 * url: http://themeforest.net/user/awedoo
*/

/**** place custom style at this file ****/

/* Material Colors - https://www.google.ru/design/spec/style/color.html#color-color-palette

    Red         : #F44336;
    Pink        : #E91E63;
    Purple      : #9C27B0;
    Deep Purple : #673AB7;
    Indigo      : #3F51B5;
    Blue        : #2196F3;
    Light Blue  : #03A9F4;
    Dark Blue   : #326394;
    Cyan        : #00BCD4;
    Teal        : #009688;
    Green       : #4CAF50;
    Light Green : #8BC34A;
    Lime        : #CDDC39;
    Yellow      : #FFEB3B;
    Amber       : #FFC107;
    Orange      : #FF9800;
    Deep Orange : #FF5722;
    Brown       : #795548;
    Grey        : #9E9E9E;
    Blue Grey   : #607D8B;

*/

/* Home */

.bg-home,
.bg-home nav:before {
    background-color: #FFEB3B;
    color: #252525;
}

.bg-home *:not(i):not(nav):after,
.bg-home *:not(i):not(nav):before,
.bg-home .btn:hover,
.bg-home .btn-inverse{
    background-color: #252525;
    border-color: #252525;
    color: #FFEB3B;
}

/* Subscribe */

.bg-subscribe,
.bg-subscribe nav:before {
    background-color: #252525;
    color: #ffffff;
}

.bg-subscribe *:not(i):not(nav):after,
.bg-subscribe *:not(i):not(nav):before,
.bg-subscribe .btn:hover,
.bg-subscribe .btn-inverse {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #252525;
}

/* About */

.bg-about,
.bg-about nav:before {
    background-color: #F44336;
    color: #ffffff;
}

.bg-about *:not(i):not(nav):after,
.bg-about *:not(i):not(nav):before {
    background-color: #ffffff;
}

/* Contact */

.bg-contact,
.bg-contact nav:before {
    background-color: #dedede;
    color: #252525;
}

.bg-contact *:not(i):not(nav):after,
.bg-contact *:not(i):not(nav):before,
.bg-contact .btn:hover,
.bg-contact .btn-inverse {
    border-color: #252525;
    background-color: #252525;
    color: #dedede;
}

.bg-contact input,
.bg-contact textarea {
    border-color: #252525;
}

/* Services */

.bg-services,
.bg-services nav:before {
    background-color: #326394;
    color: #ffffff;
}

.bg-services *:not(i):not(nav):after,
.bg-services *:not(i):not(nav):before {
    background-color: #ffffff;
}


.bg-sponsoring,
.bg-sponsoring nav:before {
    background-color: #6064c4;
    color: #ffffff;
}

.bg-sponsoring *:not(i):not(nav):after,
.bg-sponsoring *:not(i):not(nav):before,
.bg-sponsoring .btn:hover,
.bg-sponsoring .btn-inverse{
    background-color: #7479ff;
    border-color: #252525;
    color: #FFEB3B;
}


.bg-legal,
.bg-legal nav:before {
    background-color: #58b05f;
    color: #ffffff;
}

.bg-legal *:not(i):not(nav):after,
.bg-legal *:not(i):not(nav):before {
    background-color: #ffffff;
}

/* Bandeau scrollant affilié */
.affiliate-banner {
    width: 100%;
    min-height: 125px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    margin: 20px 0 15px;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.affiliate-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.affiliate-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.affiliate-sponsor-label {
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 22px;
    flex-shrink: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.affiliate-logo {
    height: 75px;
    width: auto;
    margin: 0 12px 0 0;
    flex-shrink: 0;
    background: white;
    padding: 4px;
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.affiliate-logo-link {
    display: inline-flex;
    align-items: center;
}

.affiliate-logo:hover {
    transform: scale(1.1);
}

/* Icônes réseaux sociaux */
.affiliate-social-icons {
    display: flex;
    align-items: center;
    margin: 0 19px 0 6px;
    flex-shrink: 0;
}

.affiliate-video {
    margin: 0 19px 0 0;
    flex-shrink: 0;
}

.affiliate-video-trigger,
.affiliate-pdf-trigger {
    border: none;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliate-video-trigger img {
    display: block;
    height: 90px;
    width: auto;
}

.affiliate-video-trigger:hover,
.affiliate-video-trigger:focus,
.affiliate-pdf-trigger:hover,
.affiliate-pdf-trigger:focus {
    transform: scale(1.03);
    box-shadow: 0 14px 32px rgba(0,0,0,0.35);
    outline: none;
}

.affiliate-video-trigger:focus,
.affiliate-pdf-trigger:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.55);
}

.affiliate-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 2px solid rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
    color: #ffffff;
}

.affiliate-video-play-icon {
    width: 46%;
    height: 46%;
    display: block;
    pointer-events: none;
    margin-left: 3px;
}

.affiliate-video-play-icon polygon {
    fill: currentColor;
}
.affiliate-video-trigger:hover .affiliate-video-play,
.affiliate-video-trigger:focus .affiliate-video-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.85);
}

/* PDF Icon Styles */
.affiliate-pdf-icon-container {
    width: 160px;
    height: 90px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: visible;
}

.affiliate-pdf-icon {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.affiliate-pdf-trigger:hover .affiliate-pdf-icon,
.affiliate-pdf-trigger:focus .affiliate-pdf-icon {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.affiliate-social-link {
    color: white;
    font-size: 35px;
    margin: 0 4px;
    padding: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.affiliate-social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: scale(1.1);
}

.affiliate-social-link:focus {
    color: white;
    text-decoration: none;
}

/* Couleurs spécifiques par réseau */
.affiliate-social-link:hover .fa-globe {
    color: #4CAF50;
}

.affiliate-social-link:hover .fa-twitter {
    color: #1DA1F2;
}

.affiliate-social-link:hover .fa-instagram {
    color: #E4405F;
}

.affiliate-social-link:hover .fa-linkedin {
    color: #0077B5;
}

/* Container du texte défilant */
.affiliate-text-container {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.affiliate-main-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.affiliate-main-link:hover,
.affiliate-main-link:focus {
    text-decoration: none;
    color: inherit;
}

.affiliate-text {
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    animation: scroll-left 22.22s linear infinite;
    animation-delay: 0s;
    animation-play-state: running;
    animation-fill-mode: both;
    display: inline-block;
    padding: 19px 0;
    padding-right: 45vw;
    transform: translateX(0);
}


/* CTA à droite */
.affiliate-cta {
    margin: 0 19px;
    flex-shrink: 0;
}

.affiliate-cta a {
    color: white;
    font-size: 20px;
    opacity: 0.7;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    padding: 6px;
}

.affiliate-cta a:hover {
    opacity: 1;
    transform: translateX(3px);
    color: white;
    text-decoration: none;
}

.affiliate-cta a:focus {
    color: white;
    text-decoration: none;
}

.sponsor-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 30, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    z-index: 2500;
}

.sponsor-video-overlay.is-visible {
    display: flex;
}

body.sponsor-video-open {
    overflow: hidden;
}

.sponsor-video-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.55);
    overflow: hidden;
}

.sponsor-video-player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    background: #000000;
}

.sponsor-video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.sponsor-video-close:hover,
.sponsor-video-close:focus {
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
    outline: none;
}

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

/* Pause animation au hover du bandeau */
.affiliate-banner:hover .affiliate-text {
    animation-play-state: paused;
}

/* Responsive pour le bandeau */
@media only screen and (max-width: 768px) {
    .affiliate-banner {
        min-height: 112px;
        margin-bottom: 13px;
        padding: 16px 18px;
    }

    .affiliate-content {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .affiliate-video {
        margin: 6px 0 0;
    }

    .affiliate-video-trigger img {
        height: 80px;
    }

    .affiliate-pdf-icon-container {
        width: 140px;
        height: 80px;
    }

    .affiliate-pdf-icon {
        width: 80px;
        height: 80px;
    }

    .affiliate-video-play {
        width: 48px;
        height: 48px;
    }

    .affiliate-sponsor-label {
        font-size: 23px;
        margin: 0 16px;
        align-items: center;
        text-align: center;
    }

    .affiliate-logo {
        height: 62px;
        margin: 0 10px 0 0;
    }

    .affiliate-social-icons {
        margin: 0 13px 0 4px;
    }

    .affiliate-social-link {
        font-size: 30px;
        width: 50px;
        height: 50px;
        margin: 0 3px;
    }

    .affiliate-text {
        font-size: 32px;
        padding-right: 45vw;
    }

    .affiliate-cta a {
        font-size: 18px;
    }
}

@media only screen and (max-width: 480px) {
    .affiliate-banner {
        min-height: 100px;
        border-radius: 5px;
        padding: 14px 16px;
    }

    .affiliate-content {
        gap: 8px;
    }

    .affiliate-video {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 8px 0 0;
    }

    .affiliate-video-trigger img {
        height: 72px;
    }

    .affiliate-pdf-icon-container {
        width: 130px;
        height: 72px;
    }

    .affiliate-pdf-icon {
        width: 72px;
        height: 72px;
    }

    .affiliate-video-play {
        width: 44px;
        height: 44px;
    }

    .affiliate-sponsor-label {
        font-size: 21px;
        margin: 0 12px;
        align-items: center;
        text-align: center;
    }

    .affiliate-logo {
        height: 56px;
        margin: 0 8px 0 0;
    }

    .affiliate-social-icons {
        margin: 0 10px 0 3px;
    }

    .affiliate-social-link {
        font-size: 28px;
        width: 46px;
        height: 46px;
        margin: 0 2px;
    }

    .affiliate-text {
        font-size: 30px;
        padding-right: 60vw;
    }

    .affiliate-cta a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 320px) {
    .affiliate-video {
        margin: 6px auto 0;
    }

    .affiliate-video-trigger img {
        height: 64px;
    }

    .affiliate-pdf-icon-container {
        width: 120px;
        height: 64px;
    }

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

    .affiliate-text {
        padding-right: 80vw;
    }

    .affiliate-video-play {
        width: 40px;
        height: 40px;
    }

    .affiliate-sponsor-label {
        font-size: 18px;
        margin: 0 10px;
        align-items: center;
        text-align: center;
    }

    .affiliate-logo {
        height: 50px;
        margin: 0 5px 0 0;
    }

    .affiliate-social-icons {
        margin: 0 8px 0 3px;
    }

    .affiliate-social-link {
        font-size: 24px;
        width: 40px;
        height: 40px;
        margin: 0 2px;
    }
}

/* Couleur spécifique pour X (ex-Twitter) */
.affiliate-social-link:hover .fa-times {
    color: #000000; /* Noir pour X */
}

/* Alternative avec X personnalisé */
.affiliate-x-link .x-icon {
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.affiliate-x-link:hover .x-icon {
    color: #000000;
}

/* Responsive pour X */
@media only screen and (max-width: 768px) {
    .affiliate-x-link .x-icon {
        font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .affiliate-x-link .x-icon {
        font-size: 11px;
    }
}

@media only screen and (max-width: 320px) {
    .affiliate-x-link .x-icon {
        font-size: 10px;
    }
}
/* Align founder announcement directly under the main menu across slides */
.slides-wrap {
    vertical-align: top;
}

.slide-item .section-title {
    margin-top: 0;
}

#awd-site-content {
    top: 100px;
}

@media only screen and (max-width: 1200px) {
    #awd-site-content {
        top: 90px;
    }
}

@media only screen and (max-width: 992px) {
    #awd-site-content {
        top: 80px;
    }
}

@media only screen and (max-width: 768px) {
    #awd-site-content {
        top: 70px;
    }
}

@media only screen and (max-width: 480px) {
    #awd-site-content {
        top: 60px;
    }
}

@media only screen and (max-width: 320px) {
    #awd-site-content {
        top: 50px;
    }
}

/* PDF Overlay Styles */
.sponsor-pdf-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 30, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    z-index: 2500;
}

.sponsor-pdf-overlay.is-visible {
    display: flex;
}

body.sponsor-pdf-open {
    overflow: hidden;
}

.sponsor-pdf-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.55);
    overflow: hidden;
}

.sponsor-pdf-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.65);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.sponsor-pdf-close:hover,
.sponsor-pdf-close:focus {
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
    outline: none;
}

.sponsor-pdf-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.sponsor-pdf-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 60px;
}

.sponsor-pdf-page {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    height: auto;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #ffffff;
}

.sponsor-pdf-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    background: rgba(0,0,0,0.7);
    padding: 15px 25px;
    border-radius: 8px;
    display: none;
}

.sponsor-pdf-loading.active {
    display: block;
}

.sponsor-pdf-counter {
    margin-top: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

.sponsor-pdf-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.sponsor-pdf-nav:hover,
.sponsor-pdf-nav:focus {
    background: rgba(255,255,255,0.25);
    transform: translateY(-50%) scale(1.1);
    outline: none;
}

.sponsor-pdf-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.sponsor-pdf-prev {
    left: 10px;
}

.sponsor-pdf-next {
    right: 10px;
}

/* Responsive PDF */
@media only screen and (max-width: 768px) {
    .sponsor-pdf-viewer {
        padding: 15px 50px;
    }

    .sponsor-pdf-page {
        max-height: 65vh;
    }

    .sponsor-pdf-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .sponsor-pdf-counter {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media only screen and (max-width: 480px) {
    .sponsor-pdf-viewer {
        padding: 10px 40px;
    }

    .sponsor-pdf-page {
        max-height: 60vh;
    }

    .sponsor-pdf-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .sponsor-pdf-prev {
        left: 5px;
    }

    .sponsor-pdf-next {
        right: 5px;
    }
}
