@import url('https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');

:root {
    --primary-color: #c4da0f;
    --secondary-color: #a3a4a6;
    --curve: 40;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "TikTok Sans", sans-serif;
    background-color: #fef8f8;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: #a3a4a6 !important;
}

.main-banner .carousel-item {
    position: relative;
    height: auto;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .main-banner .carousel-item img {
        object-fit: cover;
        height: 50vh;
    }
    
}

.header-area .logo img {
    max-height: 70px;
}

.carousel-item img {
    transform: scale(1);
    transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.carousel-item.active img {
    transform: scale(1.1);
}

.services .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* background-image: url(../images/service-item-bg.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 20px;
    text-align: center;
    padding: 40px;
}

.carousel-control-prev-icon span,
.carousel-control-next-icon span{
    color: #0a0a0a;
}

.services .item {
    background-color: #e3e3e3;
    color: #646464;
}

.services .item .down-content p {
    color: #646464;
    font-size: 16px;
}

.services .item .icon {
    font-size: 40px;
    background-color: #c4da0f;
    border-radius: 50%;
    padding: 40px;
    width: 60px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.our-courses .section-heading h2{
    text-align: center;
    font-size: 38px;
}

.parallax-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    color: #fff;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background-image: radial-gradient(#ffffff 1.55px, #ffffff 1.55px);
    background-size: 31px 31px;
    background-repeat: repeat;
    z-index: 0;
    opacity: 1;
}

.parallax-section .container {
    position: relative;
    z-index: 1;
    color: #333;
}

.section-heading h2 span {
    color: #c4da0f; /* Accent color */
}

.k-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;
}

.k-card {
    position: relative;
    display: block;
    height: 100%;  
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
}

.k-card__image {      
    width: 100%;
    height: auto;
}

.k-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;      
    border-radius: calc(var(--curve) * 1px);    
    background-color: var(--primary-color);      
    transform: translateY(100%);
    transition: .2s ease-in-out;
}

.k-card:hover .k-card__overlay {
    transform: translateY(0);
}

.k-card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em;
    border-radius: calc(var(--curve) * 1px) 0 0 0;    
    background-color: var(--primary-color);
    transform: translateY(-100%);
    transition: .2s ease-in-out;
}

.k-card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100%;
    right: 0;      
    z-index: 1;
}

.k-card__arc path {
    fill: var(--primary-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}       

.k-card:hover .k-card__header {
    transform: translateY(0);
}

.k-card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;      
    border-radius: 50%;      
}

.k-card__title {
    font-size: 1.2em;
    margin: 0 0 .3em;
    font-weight: 900;
    color: rgb(255, 255, 255);
}

.k-card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: #585858;  
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}    

footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .container p {
    margin: 0;
    font-size: 0.9rem;
    color: white;
}

footer .container .footer-logo {
    max-width: 210px;
    margin-bottom: 2rem;
}

footer .container h6 {
    margin-bottom: 1rem;
    color: #c4da0f;
    font-size: 20px;
    margin-top: 30px
}

footer .container h6::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: #c4da0f;
    margin-top: 0.5rem;
}

footer .container li::before {
    content: "✧";
    color: #fff;
    margin-right: 0.5rem;
    
}

footer .container a {
    color: #c4da0f;
    text-decoration: none;
    font-size: 16px;
}

footer .container a:hover {
    text-decoration: underline;
    color: #8b9b10;
}

footer ul li {
    line-height: 30px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
}
.contact-info i {
    color: #f76c2f;
}

.right-info h6::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 0.6rem;
}

/* social media */
.fab-icon {
    position: absolute;
    top: 18%;
    right: 24%;
}

.floating {
    position: fixed;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50px;
    /* box-shadow: 2px 2px 3px rgba(0, 0, 0, .5); */
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, .5));
    z-index: 100;
    transition: ease .3s;
    text-decoration: none;
}

.floating:hover {
    text-decoration: none;
    color: white;
    transform: scale(1.1);
}

.i-fb {
    background-color: #1877F2;
    bottom: 350px;
    right: 16px;
    font-size: 25px;
}

.i-tt {
    background-color: #181818;
    bottom: 300px;
    right: 16px;
    font-size: 25px;
}

.i-rn {
    background-color: #df1414;
    bottom: 200px;
    right: 16px;
    font-size: 25px;
}

.i-wa {
    background-color: #0cc143;
    bottom: 250px;
    right: 16px;
    font-size: 25px;
}

.i-ig {
    background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
    bottom: 350px;
    right: 16px;
    font-size: 25px;
}

.i-wz {
    bottom: 150px;
    right: 16px;
    font-size: 25px;
    width: 40px;
}

.i-gm {
    bottom: 200px;
    right: 16px;
    font-size: 25px;
    width: 40px;
}

.floating img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.promo-btn {
    background-color: var(--primary-color);
    border-radius: 5px;
    text-align: center;
    padding: 5px 15px;
    animation: pulse 1.5s ease-in-out infinite;
}

.promo-btn a {
    color: #8f8f8f !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.promo-btn a {
    color: rgb(85, 85, 85) !important;
    text-decoration: none;
    font-weight: bold;
}

.promo-btn li {
    padding: 0;
    color: rgb(85, 85, 85) !important;
}

@media screen and (max-width: 768px) {
    
    .promo-btn {
        padding: 0;
    }
    
    .promo-btn li {
        color: rgb(85, 85, 85) !important;
        font-size: 50px;
        background: var(--primary-color) !important;
    }
    
    .header-area .main-nav .nav .promo-btn a {
        background: var(--primary-color) !important;
        color: rgb(85, 85, 85) !important;
    }
    
}

.promo-btn:hover {
    background-color: #a3a4a6;
    color: var(--primary-color);
}

.promo-item .thumb {
    overflow: hidden;  
    position: relative;
    display: block;    
    border-radius: 6px;
}

.promo-item:hover .thumb img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.promo-item .thumb img {
    width: 100%;
    height: 425px;
    object-fit: cover;
}

.promo-item .down-content {
    text-align: center;
}

.promo-item .down-content h4 {
    font-size: 20px;
    margin: 10px 0;
    text-transform: capitalize;
}

.btn-primary {
    background-color: var(--primary-color);
    color: rgb(66, 66, 66);
    font-weight: 600;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #a3a4a6;
    color: var(--primary-color);
}

.btn-primary:focus {
    background-color: #a3a4a6;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-primary:active {
    background-color: #a3a4a6;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    background-color: #a3a4a6;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: none;
}

.map {
    background: white;
}
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 200px;
}

/* Filters and Grid Styles */
.filters ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.filters ul li:hover {
    background-color: #f0f0f0;
}

.filters ul li.active {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}


/* Active state */
.materials-filters li.active-material {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

.project-filters li.active-project {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

.tabby {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.tabby h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.tabby hr {
    border: none;
    border-top: 1px solid #b3b3b3;
    margin: 20px 0;
}

.tabby h4::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
    margin-bottom: 10px;
}

.tabby .filters ul li {
    font-size: 14px;
    text-transform: capitalize;
    padding: 10px;
    font-weight: 500;
    color: var(--secondary-color);
    border: 1px solid #ddd;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}

.thumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.header-area .main-nav .nav li.promo-btn a {
    color: #4d4d4d !important;
}

.filters li.active {
    background-color: #bada55;
    color: #fff;
    cursor: pointer;
}

/* center button */
.reset-filter {
    margin-top: 5px;
    display: block;
    margin: auto;
}

.down-content {
    min-height: 120px;
}


/* ==== Projects item ==== */
.projects-item {
    display: flex;
    flex-direction: column; /* susun thumb + down-content */
    flex: 1 1 auto;         /* fill height parent flex */
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    border: 1px solid #d1d1d1;
    background-color: #fff;
    margin-bottom: 30px;
}

.projects-item:hover {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* ==== Thumbnail ==== */
.projects-item .thumb {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.projects-item .thumb img {
    width: 100%;
    height: 250px; 
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.projects-item:hover .thumb img {
    transform: scale(1.05);
}

/* ==== Down content ==== */
.projects-item .down-content {
    flex-grow: 1;   
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border-radius: 0 0 20px 20px;
    background-color: #fff;
}

/* Titles & descriptions */
.projects-item .down-content h4 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.projects-item .down-content p {
    color: var(--secondary-color, #555);
    font-size: 14px;
    line-height: 21px;
    margin-bottom: 0;
}

/* ==== Responsive adjustments ==== */
@media (max-width: 991px) {
    .projects-item .thumb img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .row .col-md-6 {
        flex: 1 1 100%;
    }
    .projects-item .thumb img {
        height: 200px;
    }
}

@media (max-width: 575px) {
    .projects-item .thumb img {
        height: 180px;
    }
}

.grid {
    display: flex;
    flex-wrap: wrap;  /* supaya tetap responsive */
    margin-left: -15px;
    margin-right: -15px;
}

.grid > .col-lg-4 {
    display: flex;      /* biar column stretch */
    margin-bottom: 30px;
}
.coming {
    text-align: center;
    font-size: 53px;
    color: var(--secondary-color);
}

.coming h2{
    margin-top: 20px;
    font-size: 53px;
}