/*
Theme Name: Creating Possibilities TV
Theme URI: https://creatingpossibilitiestv.com
Author: CPTV
Description: Custom theme for Creating Possibilities Television Network.
Version: 1.0.0
Text Domain: creatingpossibilitiestv
*/

/* ROOT VARIABLES */

:root {
    --cptv-green: hsl(152.57deg 100% 20.59%);
    --cptv-yellow: hsl(50.79deg 100% 50.2%);
    --cptv-red: hsl(359.53deg 100% 49.8%);
    --cptv-black: #000000;
    --cptv-white: #ffffff;
    --cptv-text: #cccccc;
    --cptv-light: #ffffff;
    --cptv-light-soft: #f4f6f9;
    --cptv-text-dark: #444;
}

body {
    background-color: var(--cptv-black);
    font-family: 'Segoe UI', sans-serif;
}


/* ALTERNATE THEME START */


.cptv-hero {
    background: var(--cptv-black) !important;
}

.cptv-about {
    background: var(--cptv-light) !important;
    color: #111 !important;
}

.cptv-about-text {
    color: var(--cptv-text-dark) !important;
}

.cptv-section-title {
    color: #111 !important;
}

.cptv-shows {
    background: var(--cptv-green) !important;
}

.cptv-impact {
    background: var(--cptv-light-soft) !important;
    color: #111 !important;
}

.cptv-impact-content p {
    color: var(--cptv-text-dark) !important;
}

.cptv-impact-title {
    color: #111 !important;
}

.cptv-stories {
    background: var(--cptv-green) !important;
}

.cptv-cta {
    background: var(--cptv-light) !important;
}

.cptv-cta-title {
    color: #111 !important;
}

.cptv-cta-text {
    color: var(--cptv-text-dark) !important;
}

.cptv-cta::before,
.cptv-cta::after {
    opacity: 0.05 !important;
}

.cptv-footer {
    background: #000 !important;
}

.cptv-show-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.2),
            transparent) !important;
}

.cptv-timeline::before {
    opacity: 0.8 !important;
}

.cptv-link {
    color: var(--cptv-green) !important;
}

.primary-btn {
    background: var(--cptv-yellow) !important;
    color: #000 !important;
}

.secondary-btn {
    border: 1px solid #000 !important;
    color: #000 !important;
}

.secondary-btn:hover {
    background: var(--cptv-red) !important;
    color: #fff !important;
    border-color: var(--cptv-red) !important;
}

/* ALTERNATE THEME END */


/* NAVBAR START */
.cptv-navbar {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    padding: 18px 0;
    transition: 0.3s ease;
}


.navbar-brand img {
    width: 150px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
}

.navbar-nav .nav-link {
    color: var(--cptv-text) !important;
    font-size: 18px;
    margin: 0 14px;
    position: relative;
    transition: 0.3s ease;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: var(--cptv-yellow) !important;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background: var(--cptv-yellow);
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: var(--cptv-yellow) !important;
}

.cptv-btn {
    background: linear-gradient(135deg, var(--cptv-green), var(--cptv-red));
    color: var(--cptv-white);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 16px;
    border: none;
    transition: 0.3s ease;
    font-weight: 600;
}

.cptv-btn:hover {
    background: linear-gradient(135deg, var(--cptv-red), var(--cptv-green));
    transform: translateY(-2px);
}


.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991px) {

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 25px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        margin: 12px 0;
        font-size: 18px;
    }

    .cptv-btn {
        width: 100%;
        margin-top: 15px;
    }
}

/* NAVBAR END */

/* HERO SECTION START */

.cptv-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: var(--cptv-black);
}

.cptv-hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cptv-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.cptv-slide.active {
    opacity: 1;
}

.cptv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
        object-position: top;
}

.cptv-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            var(--cptv-black) 0%,
            rgba(0, 0, 0, 0.25) 50%,
            transparent 100%);
}

.cptv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cptv-title span {
    display: block;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    font-size: 70px;

    background: linear-gradient(90deg,
            var(--cptv-yellow),
            var(--cptv-green),
            var(--cptv-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cptv-subtitle {
    font-size: 32px;
    color: var(--cptv-white);
    margin: 20px 0;
    font-weight: 300;
}

.cptv-subtitle span {
    color: var(--cptv-green);
    font-weight: 600;
}

.cptv-desc {
    font-size: 18px;
    color: var(--cptv-text);
    max-width: 600px;
    margin-bottom: 30px;
}

.cptv-btn-primary {
    background: linear-gradient(135deg, var(--cptv-red), var(--cptv-green));
    color: var(--cptv-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.cptv-btn-primary:hover {
    transform: scale(1.05);
    background: var(--cptv-green);
     color: var(--cptv-white);

}

.cptv-btn-outline {
    border: 2px solid var(--cptv-yellow);
    color: var(--cptv-yellow);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.cptv-btn-outline:hover {
    background: var(--cptv-yellow);
    color: var(--cptv-black);
    transform: scale(1.05);
}

.cptv-stats h3 {
    font-size: 40px;
    font-weight: 900;
    color: var(--cptv-yellow);
}

.cptv-stats p {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cptv-stats .border-start,
.cptv-stats .border-end {
    border-color: var(--cptv-green) !important;
}

@media (max-width: 991px) {

    .cptv-title span {
        font-size: 42px;
    }

    .cptv-subtitle {
        font-size: 22px;
    }

    .cptv-desc {
        font-size: 16px;
    }

    .cptv-hero-content {
        padding: 0 20px;
    }
}

/* HERO SECTION END */

/* ABOUT SECTION START */
.cptv-about {
    background: var(--cptv-black);
    color: var(--cptv-white);
    padding: 100px 0;
}

.cptv-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.cptv-section-title span {
    color: var(--cptv-yellow);
}

.cptv-about-text {
    font-size: 16px;
    color: var(--cptv-text);
    margin-bottom: 18px;
    line-height: 1.7;
}

.cptv-about-visual {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.cptv-about-visual img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.cptv-accent-box {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg,
            var(--cptv-green),
            var(--cptv-red));
    bottom: -20px;
    right: -20px;
    border-radius: 20px;
    opacity: 0.8;
}

.cptv-about-visual:hover img {
    transform: scale(1.05);
    transition: 0.5s ease;
}

@media (max-width: 991px) {

    .cptv-section-title {
        font-size: 32px;
    }

    .cptv-about {
        padding: 70px 0;
    }

    .cptv-about-visual {
        margin-top: 30px;
    }
}

/* ABOUT SECTION END */

/* SHOWS SECTION START */

.cptv-shows {
    background: var(--cptv-black);
    padding: 100px 0;
    color: var(--cptv-white);
}

.cptv-section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.cptv-section-header span {
    color: var(--cptv-yellow);
}

.cptv-section-header p {
    color: var(--cptv-text);
    margin-bottom: 50px;
}

.cptv-shows-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.cptv-show-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.cptv-show-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.5s ease;
}

.cptv-show-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.2),
            transparent);
}

.cptv-show-overlay h3 {
    color: var(--cptv-yellow);
    font-size: 20px;
    margin-bottom: 5px;
}

.cptv-show-overlay p {
    font-size: 14px;
    color: var(--cptv-text);
}

.cptv-show-card:hover img {
    transform: scale(1.1);
}

.cptv-show-card:hover .cptv-show-overlay h3 {
    color: var(--cptv-green);
}

@media (max-width: 991px) {
    .cptv-shows-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cptv-shows-grid {
        grid-template-columns: 1fr;
    }

    .cptv-section-header h2 {
        font-size: 30px;
    }
}

/* SHOWS SECTION END */

/* IMPACT SECTION START */

.cptv-impact {
    background: var(--cptv-black);
    color: var(--cptv-white);
}

.cptv-impact-image {
    height: 100%;
    overflow: hidden;
}

.cptv-impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.cptv-impact-image:hover img {
    transform: scale(1.08);
}

.cptv-impact-content {
    padding: 100px 80px;
    max-width: 650px;
}

.cptv-impact-title {
    font-size: 42px;
    margin-bottom: 25px;
    font-weight: 600;
}

.cptv-impact-title span {
    color: var(--cptv-yellow);
}

.cptv-impact-content p {
    color: var(--cptv-text);
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 16px;
}

.cptv-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--cptv-green);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 22px
}

.cptv-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: var(--cptv-red);
    transition: 0.3s;
}

.cptv-link:hover::after {
    width: 100%;
}

@media (max-width: 991px) {

    .cptv-impact-content {
        padding: 60px 25px;
    }

    .cptv-impact-title {
        font-size: 30px;
    }

    .cptv-impact-image {
        height: 300px;
    }
}

/* IMPACT SECTION END */

/* STORY SECTION START */
.cptv-stories {
    background: var(--cptv-black);
    color: var(--cptv-white);
    padding: 120px 0;
}

.cptv-stories-header h2 {
    font-size: 44px;
    margin-bottom: 10px;
    font-weight: 600;
}

.cptv-stories-header span {
    color: var(--cptv-yellow);
}

.cptv-stories-header p {
    color: var(--cptv-text);
    margin-bottom: 80px;
    font-size: 16px;
}

.cptv-timeline {
    position: relative;
}

.cptv-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(var(--cptv-green),
            var(--cptv-yellow),
            var(--cptv-red));
    transform: translateX(-50%);
}

.cptv-story {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.cptv-story.reverse {
    flex-direction: row-reverse;
}

.cptv-story-image {
    width: 50%;
    padding: 20px;
}

.cptv-story-image img {
    width: 100%;
    border-radius: 20px;
    transition: 0.6s ease;
}

.cptv-story-content {
    width: 50%;
    padding: 20px 40px;
    position: relative;
}

.cptv-story-content h3 {
    font-size: 30px;
    margin-bottom: 15px;
    color: var(--cptv-yellow);
}

.cptv-story-content p {
       color: var(--cptv-text);
    line-height: 1.5;
    font-size: 20px;
}

.cptv-story-line {
    display: block;
    width: 60px;
    height: 2px;
    background: var(--cptv-green);
    margin-top: 20px;
}

.cptv-story:hover img {
    transform: scale(1.05);
}

@media (max-width: 991px) {

    .cptv-timeline::before {
        left: 10px;
    }

    .cptv-story,
    .cptv-story.reverse {
        flex-direction: column;
    }

    .cptv-story-image,
    .cptv-story-content {
        width: 100%;
        padding: 10px;
    }

    .cptv-story-content {
        padding-left: 20px;
    }
}

/* STORY SECTION END */

/* CTA SECTION START */
.cptv-cta {
    background: radial-gradient(circle at top, #111 0%, #000 100%);
    padding: 140px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cptv-cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(var(--cptv-yellow), transparent 70%);
    top: -150px;
    left: -150px;
    opacity: 0.08;
}

.cptv-cta::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(var(--cptv-green), transparent 70%);
    bottom: -150px;
    right: -150px;
    opacity: 0.08;
}

.cptv-cta-title {
    font-size: 46px;
    color: var(--cptv-white);
    margin-bottom: 25px;
    font-weight: 600;
}

.cptv-cta-title span {
    color: var(--cptv-yellow);
}

.cptv-cta-text {
    max-width: 750px;
    margin: 0 auto 40px;
    color: var(--cptv-text);
    font-size: 17px;
    line-height: 1.8;
}

.cptv-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cptv-btn {
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.4s ease;
    position: relative;
}

.primary-btn {
    background: var(--cptv-yellow);
    color: #000;
}

.primary-btn:hover {
    background: var(--cptv-green);
    color: #000;
}

.secondary-btn {
    border: 1px solid var(--cptv-white);
    color: var(--cptv-white);
    background: transparent;
}

.secondary-btn:hover {
    background: var(--cptv-red);
    border-color: var(--cptv-red);
}

.cptv-btn:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {

    .cptv-cta-title {
        font-size: 32px;
    }

    .cptv-cta {
        padding: 90px 20px;
    }

}

/* CTA SECTION END */

/* contact-form css start */
    .cptv-cta {
    padding: 100px 0;
    background: #111827;
    color: #fff;
}

.cptv-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.cptv-cta-content {
    flex: 1;
    max-width: 650px;
}

.cptv-cta-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.cptv-cta-title span {
    color: #f4b400;
}

.cptv-cta-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cptv-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Form */
.cptv-contact-form {
    width: 420px;
    flex-shrink: 0;
}

.cptv-contact-form form {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.cptv-contact-form input,
.cptv-contact-form select,
.cptv-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

.cptv-contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.cptv-contact-form input:focus,
.cptv-contact-form select:focus,
.cptv-contact-form textarea:focus {
    border-color: #f4b400;
}

.cptv-submit-btn {
    width: 100%;
    padding: 15px;
    background: #f4b400;
    color: #111827;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.cptv-submit-btn:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {

    .cptv-cta-wrapper {
        flex-direction: column;
    }

    .cptv-contact-form {
        width: 100%;
        max-width: 100%;
    }

    .cptv-cta-title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {

    .cptv-cta {
        padding: 70px 0;
    }

    .cptv-cta-title {
        font-size: 30px;
    }

    .cptv-contact-form form {
        padding: 25px;
    }
}
 
/* FOOTER START */
.cptv-footer {
    background: #000;
    color: var(--cptv-text);
    padding: 90px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cptv-footer-brand img {
    width: 150px;
    background-color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.cptv-footer-brand p {
    line-height: 1.7;
    font-size: 17px;
}

.cptv-footer h4 {
    color: var(--cptv-white);
    margin-bottom: 20px;
    font-size: 22px;
}

.cptv-footer-links ul {
    list-style: none;
    padding: 0;
}

.cptv-footer-links li {
    margin-bottom: 10px;
    font-size: 16px;
}

.cptv-footer-links a {
    color: var(--cptv-text);
    text-decoration: none;
    transition: 0.3s;
}

.cptv-footer-links a:hover {
    color: var(--cptv-yellow);
    padding-left: 5px;
    font-weight: 600;
}

.cptv-footer-contact p {
    margin-bottom: 10px;
    font-size: 14px;
}

.cptv-footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cptv-footer-bottom p {
    font-size: 16px;
    color: #777;
}

.cptv-footer-social a {
    color: #fff;
    margin-right: 8px;
    font-size: 20px;
    transition: .3s;
}

.cptv-footer-social a:hover {
    font-size: 22px;
    color: var(--cptv-yellow);
}

@media (max-width: 768px) {

    .cptv-footer {
        text-align: center;
    }

    .cptv-footer-brand {
        margin-bottom: 30px;
    }

}

/* FOOTER END */

/* VIDEO SECTION START */

.cptv-videos {
    background: var(--cptv-green);
    padding: 80px 0;
    color: var(--cptv-white);
}

.cptv-videos .cptv-section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.cptv-videos .cptv-section-header span {
    color: var(--cptv-yellow);
}

.cptv-videos .cptv-section-header p {
    color: var(--cptv-text);
    margin-bottom: 60px;
}

.cptv-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cptv-video-card {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s ease;
    position: relative;
}

.cptv-video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.cptv-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 */
    overflow: hidden;
}

.cptv-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cptv-video-content {
    padding: 20px;
}

.cptv-video-content h3 {
    font-size: 20px;
    color: var(--cptv-yellow);
    margin-bottom: 10px;
    transition: 0.3s;
}

.cptv-video-content p {
    font-size: 14px;
    color: var(--cptv-text);
    line-height: 1.6;
}

.cptv-video-card:hover h3 {
    color: var(--cptv-green);
}

.cptv-video-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cptv-green), var(--cptv-red));
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

.cptv-video-card:hover::before {
    opacity: 0.08;
}


@media (max-width: 991px) {
    .cptv-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cptv-video-grid {
        grid-template-columns: 1fr;
    }

    .cptv-videos {
        padding: 80px 0;
    }

    .cptv-videos .cptv-section-header h2 {
        font-size: 30px;
    }
}

/* VIDEO SECTION END */