@import url(style.css);
/* ===========================================================
   CREATIVES PAGE
=========================================================== */

.creatives-page {
    width: 100%;
    overflow: hidden;
    background: #fafafa;
}


/* ===========================================================
   COMMON
=========================================================== */

section {
    padding: 30px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.section-header p {
    color: #777;
    font-size: 15px;
}

.btn-primary-c {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-dark);
    color: #fafafa;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
}

.btn-primary-c:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

.video-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ===========================================================
   HERO
=========================================================== */

.creative-hero {

    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 60px;

    padding-top: 120px;
    padding-bottom: 50px;

    background:
        linear-gradient(135deg, #fff, #eef8f4);

    color: var(--darker-green);

}

.hero-tag {

    display: inline-block;

    padding: 8px 18px;

    background: rgba(255, 255, 255, .1);

    border-radius: 30px;

    margin-bottom: 25px;

    font-size: 14px;

}

.hero-content h1 {

    font-size: 58px;

    line-height: 1.1;

    margin-bottom: 25px;

}

.hero-content p {

    color: var(--darker-green);

    line-height: 1.8;

    max-width: 600px;

    margin-bottom: 35px;

}


/* ===========================================================
   HERO STATS
=========================================================== */

.hero-stats {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.stat-card {

    background: #fff;

    color: #111;

    border-radius: 16px;

    padding: 35px;

    text-align: center;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);

}

.stat-card h2 {

    font-size: 42px;

    margin-bottom: 8px;

}

.stat-card span {

    color: #666;

}


/* ===========================================================
   KPI
=========================================================== */

.creative-kpis {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.kpi-card {

    background: #fff;

    padding: 30px;

    border-radius: 16px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);

    transition: .3s;

}

.kpi-card:hover {

    transform: translateY(-6px);

}

.kpi-card h3 {

    color: #777;

    margin-bottom: 15px;

}

.kpi-card strong {

    font-size: 38px;

    color: #111;

}


/* ===========================================================
   FILTER
=========================================================== */

.creative-filter {

    display: flex;

    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;

}

.creative-filter button {

    border: none;

    background: #fff;

    padding: 12px 26px;

    border-radius: 40px;

    cursor: pointer;

    font-weight: 600;

    transition: .3s;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);

}

.creative-filter button:hover,

.creative-filter .active {

    background: var(--green-dark);

    color: #fff;

}


/* ===========================================================
   MASONRY
=========================================================== */

.masonry-grid {

    columns: 4;

    column-gap: 20px;

}

.gallery-item {

    position: relative;

    margin-bottom: 20px;

    overflow: hidden;

    border-radius: 16px;

    cursor: pointer;

    break-inside: avoid;

    background: #fff;

    transition: .35s;

}

.gallery-item:hover {

    transform: translateY(-6px);

}

.gallery-item img {

    width: 100%;

    display: block;

}

.gallery-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .45);

    display: flex;

    justify-content: center;

    align-items: center;

    color: #fff;

    font-size: 20px;

    opacity: 0;

    transition: .3s;

}

.gallery-item:hover .gallery-overlay {

    opacity: 1;

}


/* ===========================================================
   VIDEO
=========================================================== */

.video-section {

    margin-bottom: 80px;

}

.video-slider {

    display: flex;

    align-items: center;

    gap: 25px;

}

.slider-btn {

    width: 55px;

    height: 55px;

    border: none;

    border-radius: 50%;

    cursor: pointer;

    background: #2F80ED;

    color: #fff;

    font-size: 20px;

}

.video-track {

    display: flex;

    gap: 24px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;

    padding: 10px 2px;

}

.video-track::-webkit-scrollbar {

    display: none;

}

.video-card {

    flex: 0 0 340px;

    border-radius: 18px;

    overflow: hidden;

    background: #fff;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .35s;

    cursor: pointer;

}

.video-card:hover {

    transform: translateY(-6px);

}

.video-preview {

    position: relative;

    height: 220px;

    overflow: hidden;

}

.video-preview video {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.play-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, .20);

    transition: .3s;

}

.play-overlay span {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

}

.video-card:hover .play-overlay {

    opacity: 0;

}

.video-info {

    padding: 20px;

}

.video-info h3 {

    margin-bottom: 8px;

}

.video-info p {

    color: #777;

}

.video-actions button {

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: #ffffff;

    color: #222;

    font-size: 20px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .12);

    transition: .3s ease;

}

.video-actions button:hover {

    background: #2F80ED;
    color: #fff;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(47, 128, 237, .35);

}

.video-actions button:active {

    transform: scale(.95);

}

.video-actions button:disabled{

    opacity:.25;

    transform:scale(.9);

}

/* ===========================================================
   PDF
=========================================================== */

.pdf-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

    gap: 30px;

}

.pdf-card {

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);

    transition: .35s;

    cursor: pointer;

}

.pdf-card:hover {

    transform: translateY(-8px);

}

.pdf-preview {

    height: 340px;

    background: #f5f5f5;

    overflow: hidden;

}

.pdf-preview img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}

.pdf-cover {

    height: 260px;

    background: #EEF2FF;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 80px;

}

.pdf-content {

    padding: 22px;

}

.pdf-content h3 {

    margin-bottom: 8px;

}

.pdf-content p {

    color: #777;

    margin-bottom: 20px;

}

.pdf-link {

    color: #2F80ED;

    font-weight: 600;

}

.pdf-content button {

    width: 100%;

    margin-top: 18px;

    border: none;

    padding: 12px;

    border-radius: 8px;

    background: #2F80ED;

    color: #fff;

    cursor: pointer;

}


/* ===========================================================
   CTA
=========================================================== */

.creative-cta {

    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);

    color: #fff;

    text-align: center;

}

.creative-cta h2 {

    font-size: 42px;

    margin-bottom: 20px;

}

.creative-cta p {

    color: #CBD5E1;

    margin-bottom: 35px;

}


/* ===========================================================
   MODAL
=========================================================== */

.creative-modal {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, .92);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 99999;

}

.creative-modal.active {

    display: flex;

}

.modal-body {

    max-width: 90%;

    max-height: 88vh;

}

.modal-body img,

.modal-body video,

.modal-body iframe {

    max-width: 100%;

    max-height: 88vh;

    border-radius: 12px;

}

.close-modal {

    position: absolute;

    right: 35px;

    top: 20px;

    color: #fff;

    font-size: 45px;

    cursor: pointer;

}

.modal-nav {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 60px;

    height: 60px;

    border: none;

    border-radius: 50%;

    background: rgba(255, 255, 255, .15);

    color: #fff;

    cursor: pointer;

}

.prev-modal {

    left: 40px;

}

.next-modal {

    right: 40px;

}


/* ===========================================================
   RESPONSIVE
=========================================================== */

@media(max-width:1200px) {

    .hero-stats {

        grid-template-columns: 1fr 1fr;

    }

    .masonry-grid {

        columns: 3;

    }

}

@media(max-width:991px) {

    .creative-hero {

        grid-template-columns: 1fr;

        text-align: center;

    }

    .hero-content p {

        margin: auto auto 35px;

    }

    .creative-kpis {

        grid-template-columns: repeat(2, 1fr);

    }

    .masonry-grid {

        columns: 2;

    }

}

@media(max-width:768px) {

    section {

        padding: 60px 20px;

    }

    .hero-content h1 {

        font-size: 40px;

    }

    .creative-kpis {

        grid-template-columns: 1fr;

    }

    .hero-stats {

        grid-template-columns: 1fr;

    }

    .masonry-grid {

        columns: 2;

    }

    .video-card {

        min-width: 260px;

    }

    .video-actions {

        display: none;

    }

}

/*=========================================
Featured Creative
=========================================*/

.featured-creative {

    padding: 80px 8%;

    display: grid;

    grid-template-columns: 1fr 1.1fr;

    gap: 50px;

    align-items: center;

}

.featured-tag {

    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: #EEF5FF;

    color: #2F80ED;

    font-size: 14px;

    margin-bottom: 20px;

}

.featured-content h2 {

    font-size: 42px;

    margin-bottom: 20px;

}

.featured-content p {

    color: #666;

    line-height: 1.8;

    margin-bottom: 30px;

}

.featured-image {

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);

}

.featured-image img {

    width: 100%;

    display: block;

    transition: .4s;

}

.featured-image:hover img {

    transform: scale(1.03);

}