/* ========================================

   CREATUBERS GLOBAL STYLES

   ======================================== */



/* Import Bebas Neue Font */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Import Font Awesome */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');



/* Global Reset for Custom Elements */

.creatubers-home {

    width: 100%;

    overflow-x: hidden;

}



/* Restrict full-width container to Home Page ONLY */

.home .container {

    max-width: 100%;

    width: 100%;

    margin: 0;

    padding: 0;

}



/* ========================================

   GLOBAL HEADER STYLES

   ======================================== */

.site-header {

    background-color: #000000;

}



.main-navigation,

.main-navigation ul ul {

    background-color: #000000;

}



.main-navigation a,

.menu-toggle {

    color: #ffffff !important;

}



/* Ensure dropdown arrows are visible */

.main-navigation .dropdown-menu-toggle,

.main-navigation .menu-item-has-children .dropdown-menu-toggle,

.main-navigation .gp-icon,

.main-navigation svg,

#site-navigation .dropdown-menu-toggle,

#site-navigation .menu-item-has-children .dropdown-menu-toggle {

    display: inline-block !important;

    visibility: visible !important;

    opacity: 1 !important;

}



/* Ensure logo is visible globally */

.site-branding,

.site-logo,

.header-widget {

    display: block !important;

}



/* Student area / login link in header */

.ct-student-entry {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 12px;

}



.ct-student-link,

.ct-student-button {

    font-family: 'Bebas Neue', sans-serif;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    font-size: 0.8rem;

}



.ct-student-link {

    color: #f9fafb;

    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

}



.ct-user-profile {

    display: flex;

    align-items: center;

    gap: 12px;

}



.ct-user-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    display: block;

    object-fit: cover;

}



.ct-user-name {

    font-family: 'Bebas Neue', sans-serif;

    font-size: 1rem;

    color: #f9fafb;

    text-transform: none;

    letter-spacing: 0.05em;

}

    text-decoration: none;

    padding: 6px 0;

    opacity: 0.8;

}



.ct-student-link:hover {

    opacity: 1;

}



.ct-student-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 18px;

    border-radius: 999px;

    background: #f97366;

    color: #111827;

    text-decoration: none;

    border: 1px solid #f97366;

    transition: all 0.2s ease;

}



.ct-student-button:hover {

    background: #ffffff;

    border-color: #ffffff;

    color: #111827;

}



/* Login modal */

.ct-login-overlay {

    position: fixed;

    inset: 0;

    background: rgba(15, 23, 42, 0.78);

    display: none;

    align-items: center;

    justify-content: center;

    z-index: 2000;

    padding: 20px;

}



.ct-login-overlay.is-visible {

    display: flex;

}



.ct-login-modal {

    width: 100%;

    max-width: 420px;

    background: #020617;

    border-radius: 18px;

    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.9);

    border: 1px solid rgba(148, 163, 184, 0.4);

    padding: 26px 26px 24px 26px;

    position: relative;

    color: #e5e7eb;

}



.ct-login-title {

    font-size: 1.4rem;

    margin: 0 0 18px 0;

    text-align: left;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}



.ct-login-close {

    position: absolute;

    top: 10px;

    right: 12px;

    background: transparent;

    border: none;

    color: #9ca3af;

    font-size: 1.4rem;

    cursor: pointer;

    padding: 4px;

}



.ct-login-close:hover {

    color: #e5e7eb;

}



.ct-login-modal form p {

    margin-bottom: 14px;

}



.ct-login-modal label {

    display: block;

    font-size: 0.85rem;

    margin-bottom: 4px;

    color: #9ca3af;

}



.ct-login-modal input[type="text"],

.ct-login-modal input[type="password"] {

    width: 100%;

    border-radius: 10px;

    border: 1px solid #1f2937;

    padding: 9px 11px;

    background: #020617;

    color: #f9fafb;

}



.ct-login-modal input[type="text"]:focus,

.ct-login-modal input[type="password"]:focus {

    outline: none;

    border-color: #6366f1;

    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.6);

}



.ct-login-modal .forgetmenot {

    display: flex;

    align-items: center;

    gap: 6px;

    font-size: 0.85rem;

    color: #9ca3af;

}



/* Center WP core login button inside modal */

.ct-login-modal .login-submit {

    margin-top: 10px;

    text-align: center;

}



.ct-login-modal .login-submit #wp-submit {

    display: inline-block;

    width: auto;

    border-radius: 999px;

    border: none;

    padding: 10px 36px;

    margin: 0 auto;

    background: #f97366;

    color: #111827;

    font-weight: 700;

    cursor: pointer;

    text-transform: uppercase;

    letter-spacing: 0.14em;

}



.ct-login-modal .login-submit #wp-submit:hover {

    background: #fb9f7f;

}



.ct-login-extra {

    margin-top: 10px;

    font-size: 0.85rem;

    text-align: center;

}



.ct-login-extra a {

    color: #a5b4fc;

    text-decoration: none;

}



.ct-login-extra a:hover {

    text-decoration: underline;

}



/* Hide site title and description globally */

.main-title,

.site-description {

    display: none !important;

}



/* Apply Bebas Neue globally to headers and menu */

h1, h2, h3,

.hero-title,

.section-title,

.card-title,

.green-title,

.main-navigation a,

.menu-toggle,

.site-header .menu li a {

    font-family: 'Bebas Neue', sans-serif !important;

    font-weight: 400;

}



/* ========================================

   HOME PAGE SPECIFIC SECTIONS

   ======================================== */



/* HERO SECTION */

.hero-section {

    position: relative;

    width: 100%;

    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06) 0, transparent 55%),

        radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.6) 0, #050816 55%),

        url('https://images.pexels.com/photos/6898853/pexels-photo-6898853.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;

    color: #ffffff;

    overflow: hidden;

}



.hero-section::before {

    content: '';

    position: absolute;

    inset: 0;

    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.2) 0, transparent 50%),

        linear-gradient(120deg, rgba(10, 10, 10, 0.7), rgba(5, 8, 22, 0.95));

}



.hero-inner {

    position: relative;

    z-index: 1;

    max-width: 1400px;

    margin: 0 auto;

    padding: 130px 40px 120px 40px;

}



.hero-content {

    max-width: 780px;

    margin: 0 auto;

    text-align: center;

}



.hero-kicker {

    font-size: 1rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    color: #a0aec0;

    margin-bottom: 16px;

}



.hero-title {

    font-size: 4.5rem;

    font-weight: 400;

    color: #ffffff;

    margin: 0 0 24px 0;

    text-transform: uppercase;

    letter-spacing: 2px;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

    line-height: 1.2;

}



.hero-subtitle {

    font-size: 1.2rem;

    max-width: 720px;

    color: #e2e8f0;

    line-height: 1.7;

    margin: 0 auto 30px auto;

}



.hero-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 14px;

    margin-bottom: 32px;

}



.hero-cta {

    display: inline-block;

    background: #ff6b6b;

    color: #ffffff;

    padding: 18px 45px;

    font-size: 1.2rem;

    font-weight: 700;

    text-decoration: none;

    border-radius: 50px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);

    text-transform: uppercase;

    letter-spacing: 1px;

}



.hero-cta:hover {

    background: #ff5252;

    transform: translateY(-3px);

    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);

    color: #ffffff;

}



.hero-secondary-cta {

    display: inline-block;

    padding: 15px 36px;

    border-radius: 999px;

    border: 1px solid rgba(226, 232, 240, 0.4);

    color: #e2e8f0;

    text-decoration: none;

    font-weight: 600;

    font-size: 0.95rem;

    backdrop-filter: blur(12px);

    background: rgba(15, 23, 42, 0.55);

    transition: all 0.25s ease;

}



.hero-secondary-cta:hover {

    background: rgba(15, 23, 42, 0.85);

    border-color: #ffffff;

    color: #ffffff;

    transform: translateY(-1px);

}



.hero-stats {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    max-width: 620px;

    margin: 0 auto;

}



.hero-stat {

    padding: 12px 18px;

    border-radius: 14px;

    background: rgba(15, 23, 42, 0.76);

    border: 1px solid rgba(148, 163, 184, 0.5);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);

    backdrop-filter: blur(16px);

}



.hero-stat-number {

    display: block;

    font-size: 1.4rem;

    font-weight: 800;

    color: #fbbf24;

    margin-bottom: 4px;

}



.hero-stat-label {

    display: block;

    font-size: 0.9rem;

    color: #e2e8f0;

}



/* FEATURE / LEARNING PATH SECTION */

.feature-cards {

    padding: 90px 40px;

    background: radial-gradient(circle at top, #f5f3ff 0, #f8fafc 55%, #edf2f7 100%);

    width: 100%;

}



.section-header {

    max-width: 860px;

    margin: 0 auto 60px auto;

    text-align: left;

}



.section-header-center {

    text-align: center;

}



/* Center "TU CAMINO DENTRO DE CREATUBERS" block on home */

.feature-cards .section-header{

    text-align:center;

}



.section-kicker {

    font-size: 0.9rem;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    color: #a0aec0;

    margin-bottom: 10px;

}



.section-subtitle {

    font-size: 1rem;

    color: #718096;

    margin-top: 16px;

    line-height: 1.7;

}



.cards-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

    margin-top: 20px;

    max-width: 1400px;

    margin-left: auto;

    margin-right: auto;

}



.feature-card {

    background: #ffffff;

    padding: 40px 30px;

    border-radius: 15px;

    text-align: center;

    transition: all 0.3s ease;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    position: relative;

    overflow: hidden;

}



.feature-card::before {

    content: '';

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    height: 5px;

    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);

    transform: scaleX(0);

    transition: transform 0.3s ease;

}



.feature-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);

}



.feature-card:hover::before {

    transform: scaleX(1);

}



.card-icon {

    color: #667eea;

    margin-bottom: 20px;

    transition: all 0.3s ease;

    font-size: 3rem;

    display: flex;

    align-items: center;

    justify-content: center;

}



.card-icon i {

    color: #667eea;

}



.feature-card:hover .card-icon {

    transform: scale(1.1);

    color: #764ba2;

}



.card-title {

    font-size: 1.8rem;

    font-weight: 400;

    color: #2d3748;

    margin: 20px 0 15px 0;

    text-transform: uppercase;

    letter-spacing: 1px;

}



.card-description {

    color: #718096;

    font-size: 1rem;

    line-height: 1.6;

    margin-bottom: 25px;

}



.card-link {

    display: inline-block;

    color: #667eea;

    font-weight: 700;

    text-decoration: none;

    padding: 12px 30px;

    border: 2px solid #667eea;

    border-radius: 25px;

    transition: all 0.3s ease;

}



.card-link:hover {

    background: #667eea;

    color: #ffffff;

    transform: scale(1.05);

}



/* BLOG SECTION */

.blog-section {

    padding: 90px 40px;

    background: #ffffff;

    width: 100%;

}



.blog-section .section-kicker {

    text-align: center;

    margin-bottom: 10px;

}



.blog-section .section-title {

    font-size: 2.4rem;

    font-weight: 400;

    color: #2d3748;

    text-align: center;

    margin-bottom: 20px;

    position: relative;

    padding-bottom: 20px;

}



.blog-section .section-subtitle {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 50px auto;

}



.section-title {

    font-size: 2.4rem;

    font-weight: 400;

    color: #2d3748;

    text-align: center;

    margin-bottom: 50px;

    position: relative;

    padding-bottom: 20px;

}



.section-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 80px;

    height: 4px;

    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);

    border-radius: 2px;

}



.blog-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

    gap: 30px;

    margin-bottom: 40px;

    max-width: 1400px;

    margin-left: auto;

    margin-right: auto;

}



.blog-post {

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: all 0.3s ease;

}



.blog-post:hover {

    transform: translateY(-5px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

}



.post-thumbnail {

    position: relative;

    overflow: hidden;

    height: 225px;

}



.post-thumbnail img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.3s ease;

}



.blog-post:hover .post-thumbnail img {

    transform: scale(1.1);

}



.post-content {

    padding: 25px;

}



.post-title {

    font-size: 1.3rem;

    font-weight: 700;

    margin: 0 0 10px 0;

}



.post-title a {

    color: #2d3748;

    text-decoration: none;

    transition: color 0.3s ease;

}



.post-title a:hover {

    color: #667eea;

}



.post-date {

    color: #a0aec0;

    font-size: 0.9rem;

    margin-bottom: 15px;

}



.post-excerpt {

    color: #718096;

    line-height: 1.6;

    font-size: 0.95rem;

}



.blog-cta {

    text-align: center;

    margin-top: 40px;

}



.btn-secondary {

    display: inline-block;

    background: transparent;

    color: #667eea;

    padding: 15px 40px;

    font-size: 1.1rem;

    font-weight: 700;

    text-decoration: none;

    border: 2px solid #667eea;

    border-radius: 50px;

    transition: all 0.3s ease;

}



.btn-secondary:hover {

    background: #667eea;

    color: #ffffff;

    transform: scale(1.05);

}



/* YOUTUBE SECTION */

.youtube-section {

    padding: 80px 40px;

    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

    color: #ffffff;

    width: 100%;

}



.youtube-section .section-title {

    color: #ffffff;

}



.youtube-section .section-title::after {

    background: #ff0000;

}



.youtube-description {

    text-align: center;

    font-size: 1.2rem;

    color: #cbd5e0;

    margin-bottom: 40px;

}



.youtube-embed {

    max-width: 800px;

    margin: 0 auto 30px auto;

    position: relative;

    padding-bottom: 56.25%;

    height: 0;

    overflow: hidden;

    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

}



.youtube-embed iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border-radius: 12px;

}



.youtube-cta {

    text-align: center;

    margin-top: 40px;

}



.btn-youtube {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    background: #ff0000;

    color: #ffffff;

    padding: 15px 40px;

    font-size: 1.2rem;

    font-weight: 700;

    text-decoration: none;

    border-radius: 50px;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);

}



.btn-youtube:hover {

    background: #cc0000;

    transform: translateY(-3px);

    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);

    color: #ffffff;

}



/* GREEN SECTION */

.green-section {

    padding: 70px 20px;

    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);

    color: #ffffff;

}



.green-content {

    text-align: center;

    max-width: 720px;

    margin: 0 auto;

}



.green-cta {

    display: inline-block;

    margin-top: 22px;

    padding: 13px 32px;

    border-radius: 999px;

    border: 1px solid rgba(255, 255, 255, 0.7);

    color: #0b7a4b;

    background: #ffffff;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.25s ease;

}



.green-cta:hover {

    background: #e6fffa;

    color: #064e3b;

    transform: translateY(-1px);

}



.green-title {

    font-size: 2.2rem;

    font-weight: 400;

    margin-bottom: 15px;

}



.green-description {

    font-size: 1.1rem;

    color: rgba(255, 255, 255, 0.95);

}



/* COMMUNITY SECTION */

.community-section {

    padding: 90px 40px;

    background: #0b1120;

    color: #e2e8f0;

}



.community-layout {

    max-width: 1320px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);

    gap: 50px;

    align-items: center;

}



.community-text .section-title {

    color: #f9fafb;

}



.community-text .section-subtitle {

    color: #cbd5f5;

}



.community-list {

    list-style: none;

    margin: 22px 0 28px 0;

    padding: 0;

}



.community-list li {

    position: relative;

    padding-left: 22px;

    margin-bottom: 10px;

    font-size: 0.98rem;

    color: #e5e7eb;

}



.community-list li::before {

    content: '●';

    position: absolute;

    left: 0;

    top: 2px;

    font-size: 0.7rem;

    color: #22c55e;

}



.community-cta {

    display: inline-block;

    padding: 13px 30px;

    border-radius: 999px;

    background: #22c55e;

    color: #052e16;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.25s ease;

}



.community-cta:hover {

    background: #4ade80;

    transform: translateY(-1px);

}



.community-testimonials {

    display: grid;

    gap: 16px;

}



.testimonial-card {

    padding: 20px 22px;

    border-radius: 20px;

    background: radial-gradient(circle at top left, rgba(248, 250, 252, 0.15) 0, rgba(15, 23, 42, 0.98) 55%);

    border: 1px solid rgba(148, 163, 184, 0.35);

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);

}



.testimonial-quote {

    font-size: 0.98rem;

    line-height: 1.7;

    margin-bottom: 8px;

}



.testimonial-author {

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    color: #9ca3af;

}



/* TRUST SECTION */

.trust-section {

    padding: 80px 40px 70px 40px;

    background: #f9fafb;

}



.trust-inner {

    max-width: 1100px;

    margin: 0 auto;

    text-align: center;

}



.trust-logos {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 14px;

    margin-top: 28px;

}



.trust-logo {

    padding: 10px 22px;

    border-radius: 999px;

    border: 1px solid #e5e7eb;

    background: #ffffff;

    font-size: 0.9rem;

    font-weight: 600;

    color: #4b5563;

}



/* RESPONSIVE DESIGN */



/* Tablets */

@media (max-width: 768px) {

    .hero-inner {

        padding: 90px 20px 90px 20px;

    }



    .hero-title {

        font-size: 2.4rem;

    }



    .hero-subtitle {

        font-size: 1.05rem;

    }



    .hero-actions {

        flex-direction: column;

        align-items: center;

    }



    .hero-stats {

        grid-template-columns: 1fr 1fr;

    }



    .cards-grid {

        grid-template-columns: 1fr;

    }



    .blog-grid {

        grid-template-columns: 1fr;

    }



    .section-title {

        font-size: 2rem;

    }



    .card-title {

        font-size: 1.5rem;

    }



    .community-layout {

        grid-template-columns: 1fr;

    }



    .community-section {

        padding: 70px 20px;

    }



    .trust-section {

        padding: 60px 20px 50px 20px;

    }

}



/* Mobile */

@media (max-width: 480px) {

    .hero-title {

        font-size: 1.9rem;

        letter-spacing: 1px;

    }



    .hero-cta {

        font-size: 0.9rem;

        padding: 12px 25px;

    }



    .feature-cards,

    .blog-section,

    .youtube-section,

    .community-section {

        padding: 50px 20px;

    }



    .section-title {

        font-size: 1.6rem;

    }



    .card-title {

        font-size: 1.3rem;

    }



    .green-title {

        font-size: 1.6rem;

    }



    .green-description {

        font-size: 1rem;

    }



    .hero-stats {

        grid-template-columns: 1fr;

    }

}



/* ANIMATIONS */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }



    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.hero-content,

.feature-card,

.blog-post {

    animation: fadeInUp 0.6s ease-out;

}



.feature-card:nth-child(2) {

    animation-delay: 0.1s;

}



.feature-card:nth-child(3) {

    animation-delay: 0.2s;

}



/* Hide old home content */

.home #content > main,

.home #content > main > article,

.home .inside-article,

.home .entry-content,

.home .sidebar,

.home aside.sidebar,

.home .widget-area,

.home #secondary,

.home #tertiary,

.home .featured-image {

    display: none !important;

}



/* Hide large logos and old content elements on home - but NOT blog posts */

.home .entry-content img[width]:not(.blog-post img):not(.post-thumbnail img),

.home .entry-content img[height]:not(.blog-post img):not(.post-thumbnail img),

.home .inside-article img:not(.blog-post img):not(.post-thumbnail img),

.home article:not(.blog-post) img,

.home .wp-block-image:not(.blog-post .wp-block-image),

.home figure:not(.blog-post figure),

.home .aligncenter img:not(.blog-post img),

.home .alignleft img:not(.blog-post img),

.home .alignright img:not(.blog-post img) {

    display: none !important;

}



/* Hide any large blue squares or logo containers */

.home [style*="background"] img:not(.site-logo img):not(.header-image):not(.main-navigation img):not(.dropdown-menu-toggle img),

.home div[style*="width"][style*="height"]:not(.site-logo):not(.main-navigation):not(.dropdown-menu-toggle),

.home .wp-block-group,

.home .wp-block-columns {

    display: none !important;

}

