/*
Theme Name: Talenta Creative Media
Author: PT. Talenta Creative Media
Version: 2.1.0
Description: Website profil, pembelajaran dan eviden kegiatan PT. Talenta Creative Media.
*/

/* =========================================================
   ROOT / GLOBAL
   ========================================================= */

:root{
    --navy:#062b4c;
    --blue:#42acd0;
    --red:#e51d2a;
    --dark:#13263b;
    --muted:#66758a;
    --line:#e4eaf0;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--dark);
    line-height:1.55;
    background:#fff;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.topbar{
    height:4px;
    background:linear-gradient(
        90deg,
        var(--blue) 0 50%,
        var(--red) 50%
    );
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:#fff;
    border-bottom:1px solid #e8edf2;
    box-shadow:0 2px 12px #0000000d;
}

.nav{
    min-height:78px;
    display:flex;
    align-items:center;
    gap:20px;
}

.brand{
    display:flex;
    align-items:center;
    gap:11px;
    margin-right:auto;
}

.brand img{
    width:62px;
    height:62px;
    object-fit:contain;
}

.brand-title{
    font-weight:800;
    line-height:1.05;
    font-size:20px;
}

.brand-title span{
    color:var(--red);
}

.brand-sub{
    font-size:10px;
    color:#647386;
    letter-spacing:.4px;
}

.menu{
    display:flex;
    align-items:center;
    gap:5px;
}

.menu a{
    padding:11px 13px;
    border-radius:8px;
    font-weight:700;
    font-size:14px;
}

.menu a:hover,
.menu a.active{
    background:var(--red);
    color:#fff;
}

.menu .wa{
    background:var(--red);
    color:#fff;
}

.mobile-toggle{
    display:none;
    border:0;
    background:var(--navy);
    color:#fff;
    border-radius:7px;
    padding:9px 12px;
    font-size:18px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
    min-height:520px;

    /*
     * BACKGROUND FOTO HERO
     *
     * File:
     * assets/images/hero-bg.jpg
     */

    background:
        linear-gradient(
            90deg,
            rgba(2,33,60,.97) 0%,
            rgba(2,33,60,.88) 28%,
            rgba(2,33,60,.66) 48%,
            rgba(2,33,60,.30) 72%,
            rgba(2,33,60,.08) 100%
        ),
        url('assets/images/hero-bg.jpg') center center / cover no-repeat;

    display:flex;
    align-items:center;
    color:#fff;

    position:relative;
    overflow:hidden;
}

.hero-inner{
    padding:80px 0;
    position:relative;
    z-index:2;
}

.kicker{
    font-size:15px;
    letter-spacing:1.2px;
    font-weight:700;
}

.hero h1{
    font-size:45px;
    line-height:1.08;
    margin:12px 0 18px;
    max-width:700px;
    font-weight:800;
}

.hero h1 span{
    color:var(--red);
}

.hero p{
    font-size:18px;
    max-width:640px;
    color:#e8f1f8;
}

.btns{
    display:flex;
    gap:12px;
    margin-top:25px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:13px 21px;
    border-radius:28px;
    font-weight:800;
}

.btn-red{
    background:var(--red);
    color:#fff;
}

.btn-light{
    background:#fff;
    color:var(--navy);
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:-26px;
    position:relative;
    z-index:3;
}

.feature,
.panel,
.card{
    background:#fff;
    border:1px solid var(--line);
    box-shadow:0 6px 20px #0826410d;
    border-radius:12px;
}

.feature{
    padding:21px;
}

.feature-icon{
    font-size:29px;
}

.feature h3{
    margin:7px 0 4px;
    font-size:18px;
}

.feature p{
    margin:0;
    color:var(--muted);
    font-size:14px;
}


/* =========================================================
   SECTION
   ========================================================= */

.section{
    padding:58px 0;
}

.section-head{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:20px;
    margin-bottom:24px;
}

.section-title{
    font-size:30px;
    margin:0;
    font-weight:850;
}

.section-title:before{
    content:"";
    display:inline-block;
    width:6px;
    height:32px;
    background:var(--red);
    border-radius:5px;
    margin-right:12px;
    vertical-align:-5px;
}

.more{
    color:#1375da;
    font-weight:800;
}


/* =========================================================
   PROFILE
   ========================================================= */

.profile-grid{
    display:grid;
    grid-template-columns:1.15fr .75fr 1fr;
    gap:22px;
}

.panel{
    padding:27px;
}

.panel h3{
    margin-top:0;
    font-size:24px;
}

.panel p{
    color:#526275;
}

.vision{
    background:linear-gradient(
        135deg,
        #fff2f3,
        #fff
    );
}

.mission{
    background:linear-gradient(
        135deg,
        #eef8ff,
        #fff
    );
}

.mission ol{
    padding:0;
    list-style:none;
}

.mission li{
    display:flex;
    gap:12px;
    margin:11px 0;
    font-size:14px;
}

.num{
    min-width:31px;
    height:31px;
    border-radius:50%;
    background:var(--red);
    color:#fff;
    display:grid;
    place-items:center;
    font-weight:800;
}


/* =========================================================
   MODULE + EVIDEN
   ========================================================= */

.modules-eviden{
    display:grid;
    grid-template-columns:1.25fr 1fr;
    gap:26px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.card{
    overflow:hidden;
}

.card-body{
    padding:15px;
}

.card h3{
    font-size:17px;
    line-height:1.2;
    margin:0 0 7px;
}

.card p{
    font-size:13px;
    color:var(--muted);
    margin:0 0 14px;
}

.card-btn{
    display:inline-block;
    background:var(--red);
    color:#fff;
    padding:8px 14px;
    border-radius:6px;
    font-size:12px;
    font-weight:800;
}

.module-icon{
    height:112px;
    background:#eef6fb;
    display:grid;
    place-items:center;
    font-size:43px;
}


/* =========================================================
   GALLERY / EVIDEN
   ========================================================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
}

.photo{
    position:relative;
    border-radius:10px;
    overflow:hidden;
    aspect-ratio:4/3;
    background:#ddd;
    display:block;
    text-decoration:none;
    color:inherit;
}

.photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.photo-caption{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    padding:9px;
    color:#fff;
    background:linear-gradient(
        transparent,
        #000c
    );
    font-size:12px;
    font-weight:700;
}


/* =========================================================
   NOTICE
   ========================================================= */

.notice{
    background:#eef8ff;
    border-left:4px solid var(--blue);
    padding:14px 16px;
    border-radius:8px;
    margin-bottom:18px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact{
    background:var(--navy);
    color:#fff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:35px;
}

.contact p{
    color:#c8d7e5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer{
    background:#031c31;
    color:#cbd8e5;
    padding:24px 0;
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:center;
    font-size:13px;
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.video-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:13px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,.06);
}

.video-frame{
    aspect-ratio:16/9;
    background:#071e33;
    overflow:hidden;
}

.video-frame video,
.video-frame iframe,
.video-frame img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    border:0;
}

.video-placeholder{
    height:100%;
    display:grid;
    place-items:center;
    color:#fff;
    font-size:55px;
}

.video-body{
    padding:16px;
}

.video-body h3{
    margin:0 0 7px;
    font-size:18px;
}

.video-body p{
    color:var(--muted);
    font-size:13px;
    min-height:40px;
}


/* =========================================================
   CARD THUMBNAIL
   ========================================================= */

.card-thumb{
    width:100%;
    height:155px;
    object-fit:cover;
    display:block;
}


/* =========================================================
   SINGLE CONTENT
   ========================================================= */

.single-content{
    max-width:900px;
    margin:auto;
}

.single-featured{
    width:100%;
    max-height:600px;
    object-fit:cover;
    border-radius:14px;
    margin:15px 0;
}

.single-video{
    aspect-ratio:16/9;
    background:#061c30;
    border-radius:14px;
    overflow:hidden;
    margin:15px 0;
}

.single-video video,
.single-video iframe{
    width:100%;
    height:100%;
    border:0;
}

.post-meta{
    color:var(--muted);
}


/* =========================================================
   FREE TEST & POSTEST
   ========================================================= */

.tcm-test-page{
    max-width:1100px;
    margin:0 auto;
    padding:10px 0 30px;
}

.tcm-test-hero{
    background:linear-gradient(
        135deg,
        #062442,
        #0e4c78
    );
    border-radius:18px;
    padding:34px;
    color:#fff;
    margin-bottom:22px;
}

.tcm-test-kicker{
    font-size:13px;
    font-weight:800;
    letter-spacing:1.2px;
    opacity:.9;
}

.tcm-test-hero h1{
    font-size:38px;
    margin:8px 0;
}

.tcm-test-hero p{
    max-width:760px;
    margin:0;
    opacity:.9;
}

.tcm-test-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.tcm-test-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:28px;
    box-shadow:0 8px 25px rgba(10,35,60,.08);
}

.tcm-test-icon{
    font-size:42px;
    margin-bottom:10px;
}

.tcm-test-card h2{
    margin:0 0 8px;
    color:#09284a;
}

.tcm-test-card p{
    color:#66758a;
    min-height:50px;
}

.tcm-test-btn{
    display:inline-block;
    background:#ed1c24;
    color:#fff!important;
    text-decoration:none!important;
    padding:12px 18px;
    border-radius:9px;
    font-weight:800;
}

.tcm-test-btn:hover{
    opacity:.9;
}

.tcm-test-disabled{
    display:inline-block;
    background:#e9eef3;
    color:#6d7a87;
    padding:12px 18px;
    border-radius:9px;
    font-weight:700;
}

.tcm-test-home .tcm-test-page{
    padding:0;
}

.tcm-test-home .tcm-test-hero{
    display:none;
}


/* =========================================================
   COMMENTS
   ========================================================= */

.comments-area{
    margin-top:28px;
    padding:28px;
}

.comments-title{
    margin:0 0 20px;
    font-size:1.6rem;
}

.comment-list{
    padding-left:22px;
}

.comment-list li{
    margin:0 0 18px;
}

.comment-list .comment-body{
    padding:16px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
}

.comment-meta{
    font-size:.9rem;
    margin-bottom:10px;
}

.comment-content{
    line-height:1.7;
}

.comment-form p{
    margin:0 0 14px;
}

.comment-form label{
    display:block;
    font-weight:700;
    margin-bottom:7px;
}

.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea{
    width:100%;
    box-sizing:border-box;
    padding:12px 14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font:inherit;
}

.comment-form input[type=submit]{
    border:0;
    border-radius:10px;
    padding:12px 18px;
    font-weight:700;
    cursor:pointer;
    background:#b5121b;
    color:#fff;
}

.comment-notes{
    color:#64748b;
}

.required{
    color:#b5121b;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media(max-width:1000px){

    .menu{
        display:none;
    }

    .mobile-toggle{
        display:block;
    }

    .menu.show{
        display:flex;
        position:absolute;
        left:4%;
        right:4%;
        top:82px;
        background:#fff;
        padding:12px;
        flex-direction:column;
        box-shadow:0 10px 30px #0002;
        border-radius:10px;
    }

    .menu.show a{
        text-align:center;
        width:100%;
    }

    .features{
        grid-template-columns:repeat(2,1fr);
    }

    .profile-grid{
        grid-template-columns:1fr;
    }

    .modules-eviden{
        grid-template-columns:1fr;
    }

    .hero{
        min-height:500px;
        background-position:center center;
    }

    .hero h1{
        font-size:38px;
    }

    .video-grid{
        grid-template-columns:repeat(2,1fr);
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media(max-width:620px){

    .brand img{
        width:50px;
        height:50px;
    }

    .brand-title{
        font-size:16px;
    }

    .brand-sub{
        font-size:8px;
    }

    .hero{
        min-height:560px;

        background:
            linear-gradient(
                90deg,
                rgba(2,33,60,.94),
                rgba(2,33,60,.72)
            ),
            url('assets/images/hero-bg.jpg') center center / cover no-repeat;
    }

    .hero-inner{
        padding:65px 0;
    }

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:15px;
    }

    .features,
    .cards,
    .gallery{
        grid-template-columns:1fr;
    }

    .section{
        padding:42px 0;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .footer-inner{
        flex-direction:column;
        align-items:flex-start;
    }

    .video-grid{
        grid-template-columns:1fr;
    }

    .tcm-test-grid{
        grid-template-columns:1fr;
    }

    .tcm-test-hero h1{
        font-size:30px;
    }
}


/* =========================================================
   EXTRA MOBILE IMPROVEMENT
   ========================================================= */

@media(max-width:480px){

    .hero{
        min-height:600px;
    }

    .hero h1{
        font-size:29px;
    }

    .hero .kicker{
        font-size:12px;
    }

    .hero p{
        font-size:14px;
    }

    .btn{
        width:100%;
    }

    .section-title{
        font-size:25px;
    }
}

/* =========================================================
   MENU PENILAIAN
   ========================================================= */

.penilaian-menu{
    width:100%;
    text-align:center;
    padding:18px 15px;
    background:#031c31;
    border-top:1px solid rgba(255,255,255,.12);
}

.penilaian-menu a{
    display:inline-block;
    background:#e51d2a;
    color:#fff !important;
    padding:12px 28px;
    border-radius:8px;
    font-size:14px;
    font-weight:800;
    text-decoration:none !important;
    transition:.25s ease;
}

.penilaian-menu a:hover{
    background:#c91420;
    transform:translateY(-2px);
}