/* ============================
   MOBILE MENU ITEM ANIMATION
   ============================ */

.menu-item {
    padding: 10px 0;
    position: relative;
    transition: color 0.25s ease;
    display: inline-block; 
    width: fit-content;    
}

/* hover */
.menu-item:hover {
    color: #d97706;
}

/* active text */
.menu-item.active {
    color: #d97706;
    font-weight: 600;
}

/* underline active */
.menu-item.active::after {
    content: "";
    position: absolute;
    left: 0;                      
    bottom: -2px;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
    border-radius: 2px;
    animation: mobileActiveLine 0.45s ease-out forwards;
    box-shadow: 0 0 8px rgba(217,119,6,0.4);
}

/* animasi underline */
@keyframes mobileActiveLine {
    0%   { width: 0%; opacity: 0; }
    50%  { width: 65%; opacity: 1; }
    100% { width: 100%; opacity: 1; }
}

/* Premium CTA Button */
.cta-wa {
    background: linear-gradient(135deg, #0BA360, #27d13bff);
    box-shadow: 0 8px 18px rgba(0, 150, 80, 0.25);
    border: 2px solid transparent;
    transition: all .35s ease;
    transform: translateY(0);
}

.cta-wa:hover {
    transform: translateY(-4px) scale(1.04);
    background: linear-gradient(135deg, #0CC16A, #4CD79D);
    box-shadow: 0 12px 30px rgba(0, 180, 90, 0.35);
    border-color: rgba(255,255,255,0.3);
}

/* Button active press */
.cta-wa:active {
    transform: scale(0.98);
}





/* add di namecheap */

.header-shrink {
    transform: scale(0.9);
    transition: all 0.3s ease;
}

/* Menambah padding pada container header */
header {
    padding: 20px 40px; /* Adjust the padding values as needed */
}

/* Menambah ukuran font menu di desktop */
@media (min-width: 768px) {
    header nav a {
        font-size: 1.125rem; /* Membesarkan ukuran font, bisa disesuaikan */
        font-weight: 600;    /* Membuat teks lebih tebal */
    }
}

/* Efek menu saat halaman di-scroll */
header.scroll-active {
    background-color: rgba(255, 255, 255, 0.9); /* Transparan putih */
    backdrop-filter: blur(10px); /* Efek blur */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Shadow agar lebih terlihat */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* Style menu */
header nav a {
    transition: color 0.3s;
}

/* Efek perubahan warna teks menu saat scroll */
header.scroll-active nav a {
    color: #333; /* Warna teks berubah saat scroll */
}

#megaGallery {
    backdrop-filter: blur(12px);
}

.footer-link {
    transition: 0.3s ease;
}
.footer-link:hover {
    color: #ff7b00;
    padding-left: 4px;
}

/* Underline hover animation */
.hover-underline {
    position: relative;
    padding-bottom: 2px;
}

.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #ff7b00;
    transition: width .32s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Smooth color hover */
.footer-mini {
    transition: color .3s ease, transform .3s ease;
}

.footer-mini:hover {
    color: #ff9f45;
    transform: translateY(-2px);
}

.insta-icon {
    transition: all .4s ease;
    border-color: #8f909c; /* subtle default */
}

/* Normal SVG color */
.insta-svg {
    color: #8f909c;
    transition: all .4s ease;
}

/* Hover: Instagram gradient */
.insta-icon:hover {
    background: radial-gradient(circle at 30% 30%, 
        #feda75, 
        #fa7e1e, 
        #d62976, 
        #962fbf, 
        #4f5bd5);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(255, 94, 152, 0.7);
}

/* Icon turns white for contrast */
.insta-icon:hover .insta-svg {
    color: white;
}

.icon-img {
    transition: .3s ease;
    opacity: 0.9;
}

.icon-img:hover {
    transform: scale(1.15);
    opacity: 1;
}

/* HEADER DEFAULT */
#mainHeader {
    backdrop-filter: blur(0px);
    background: rgba(255,255,255,1);
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* HEADER SAAT SCROLL (Aktif oleh GSAP) */
#mainHeader.scroll-active {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* Bell Shake Animation */
@keyframes bellShake {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(12deg); }
    40%  { transform: rotate(-12deg); }
    60%  { transform: rotate(8deg); }
    80%  { transform: rotate(-8deg); }
    100% { transform: rotate(0deg); }
}

/* Selalu goyang otomatis */
.bell-icon {
    animation: bellShake 1.8s ease-in-out infinite;
    transform-origin: top center;
}

/* Card Hover: Glow Purple */
.stat-card {
    transform: translateY(0px);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(110, 0, 255, 0.25);
    background-color: #7c3aed !important; /* purple-600 */
    color: white !important;
}

.stat-card:hover hr {
    border-color: rgba(255,255,255,0.5);
}

.stat-card:hover p,
.stat-card:hover h3 {
    color: white !important;
}

.stat-number {
    transition: filter 0.2s ease;
}

/* Animasi hover icon */
.icon-service {
    transform: translateY(0);
}

.group:hover .icon-service {
    transform: translateY(-6px) scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(255, 135, 0, 0.45));
}

/* Hover pada box */
.service-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* LOGO FADE-IN */
@keyframes logoFade {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}
.animate-logo {
    animation: logoFade 1s ease-out forwards;
}

/* SHINE EFFECT */
.shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 215, 0, 0.35) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shineMove 1.8s ease-in-out infinite;
}

@keyframes shineMove {
    0% { left: -150%; }
    100% { left: 150%; }
}

/* PRELOADER REMOVE TRANSITION */
#preloader {
    transition: opacity 0.6s ease-out;
}

body.no-scroll {
    overflow: hidden;
}









/* end  */



.desk-menu-item {
    position: relative;
    padding: 4px 0;
    transition: all 0.25s ease;
}

/* underline */
.desk-menu-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: #d97706; /* orange INEA */
    transition: width 0.30s ease-in-out;
}

/* hover efek */
.desk-menu-item:hover {
    transform: translateY(-2px);
    color: #d97706;
}

.desk-menu-item:hover::after {
    width: 100%;
}

/* ULTRA ACTIVE STATE — DESKTOP MENU */

.desk-menu-item.active {
    color: #d97706 !important;
    font-weight: 600;
    position: relative;
}

/* active underline */
.desk-menu-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
    box-shadow: 0 0 6px rgba(217, 119, 6, 0.6);
    border-radius: 2px;
    animation: activeGlow 1.6s infinite ease-in-out;
}

/* subtle glowing animation */
@keyframes activeGlow {
    0%   { box-shadow: 0 0 4px rgba(217,119,6,0.45); }
    50%  { box-shadow: 0 0 10px rgba(217,119,6,0.85); }
    100% { box-shadow: 0 0 4px rgba(217,119,6,0.45); }
}


/* logo style */
.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

/* TRACK UTAMA */
.logo-track {
    display: inline-flex;
    gap: 80px;
    animation: slideLoop 18s linear infinite;
}

.logo-track img {
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.15));
    transition: transform 0.3s ease;
}

/* hover efek */
.logo-track img:hover {
    transform: scale(1.1);
}

/* KEYFRAMES LOOP */
@keyframes slideLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* INFINITE LOOP */
@keyframes logoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-logo-scroll {
    animation: logoScroll 22s linear infinite;
}

/* Smooth hover scale */
#logoSlider img:hover {
    transform: scale(1.07);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}


/* service style */
.service-box {
    transition: all .35s ease;
}

.service-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}


/* Animasi scroll masuk booth kayu */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Class aktif */
.scroll-anim.active {
    opacity: 1;
    transform: translateY(0);
}

.break-word {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Floating WA mobile-only */
.wa-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    transition: transform 0.25s ease;
}

/* Hover smooth */
.wa-floating-btn:hover {
    transform: scale(1.1);
}

/* --- HIDE ON DESKTOP --- */
@media (min-width: 768px) {
    .wa-floating-btn {
        display: none;
    }
}

/* SVG icon size */
.wa-floating-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}







/* FAQ CARD */
.faq-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 18px 22px;
    transition: 0.3s ease;
    border: 1px solid #e5e7eb;
}

.faq-card:hover {
    border-color: #f97316;
    box-shadow: 0 4px 10px rgba(249,115,22,0.15);
}

/* Toggle Button */
.faq-toggle {
    width: 100%;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.3s ease;
}

/* Content */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    margin-top: 0;
}

.faq-content p {
    margin-top: 12px;
    color: #4b5563;
    line-height: 1.6;
}

/* OPEN STATE */
.faq-card.active .faq-icon {
    transform: rotate(180deg);
}

.faq-card.active .faq-content {
    max-height: 300px;
}

/* Scroll Animation (always active) */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease;
}

.scroll-anim.show {
    opacity: 1;
    transform: translateY(0);
}

/* gallery section page */
.masonry-grid {
    margin-bottom: 150px;
    transition: all .35s ease;
    column-count: 3;
    column-gap: 20px;
}
.masonry-item {
    display: inline-block;  /* tambahkan ini */
    width: 100%;
    break-inside: avoid;
    margin-bottom: 20px;
}
.masonry-item.wide img { height: 280px; object-fit: cover; }
.masonry-item.tall img { height: 380px; object-fit: cover; }

/* Gallery Card */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    width: 100%;
    height: 260px; /* FIXED HEIGHT AGAR SAMA */
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

.gallery-section {
    min-height: 900px; /* atau 900 tergantung konten */
}

.gallery-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .35s ease;
}

.gallery-card:hover img {
    transform: scale(1.15);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    .gallery-card {
        height: 230px;
    }
}

/* Filter Button */
.filter-btn {
    padding: 10px 22px;
    background: #f0f0f0;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.filter-btn.active {
    background: #ff8a00;
    color: white;
    box-shadow: 0 8px 18px rgba(255,138,0,0.4);
}


/* Parallax Background */
.parallax-bg {
    background: url('../img/bg-lines.png');
    background-size: cover;
    background-position: center;
    animation: parallaxMove 18s linear infinite alternate;
}

@keyframes parallaxMove {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-40px); }
}

/* Team Card */
.team-card {
    perspective: 1200px;
    height: 350px;
}

.team-inner {
    position: relative;
    width: 100%;
    height: 350px;
    transform-style: preserve-3d;
    transition: transform 0.9s cubic-bezier(.3,.1,.3,1.5);
    backface-visibility: hidden;
}

.team-card:hover .team-inner {
    transform: rotateY(180deg);
}

/* Glow aura */
.team-card::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 20px;
    background: radial-gradient(circle at center,
        rgba(255,140,0,0.4),
        rgba(255,140,0,0.0)
    );
    filter: blur(40px);
    opacity: .5;
    z-index: -1;
}

/* FRONT / BACK */
.team-front, .team-back {
    position: absolute;
    height: 100%;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-back {
    transform: rotateY(180deg);
    text-align: center;
    padding: 30px;
    z-index: 2;
}

.team-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 999px;
    border: 4px solid #eee;
    margin-bottom: 15px;
}

.team-name {
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
}

.team-role {
    color: #777;
    margin-top: 3px;
    font-size: .9rem;
}

.skill-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background: #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.skill-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, #ff8a00, #ff5e00);
    width: 0%;
    border-radius: 8px;
}
.skill-label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.stat-card {
    transition: transform .5s ease, box-shadow .5s ease;
}
.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

.benefit-card {
    transition: transform .45s ease, box-shadow .45s ease;
}
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 30px rgba(249,115,22,0.25);
}




/* contact style */
/* ================= FORM & CONTACT ITEMS ANIMATION ================ */
.icon-box {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 24px;
    box-shadow: 0px 6px 18px rgba(0,0,0,0.1);
    transition: 0.3s;
}
.contact-item:hover .icon-box {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0px 8px 22px rgba(255,130,40,0.35);
}

/* FORM INPUTS */
.input-field {
    width:100%;
    padding:14px 18px;
    background:#f8fafc;
    border:1px solid #e0e0e0;
    border-radius:12px;
    transition:0.3s;
}
.input-field:focus {
    border-color:#f97316;
    box-shadow:0 0 10px rgba(249,115,22,0.35);
}

/* BUTTON */
.send-btn {
    background: #f97316;
    color:white;
    font-weight:600;
    border-radius:12px;
    transition:0.35s;
    box-shadow:0 6px 16px rgba(249,115,22,0.35);
}
.send-btn:hover {
    transform:translateY(-3px) scale(1.03);
    box-shadow:0 10px 20px rgba(249,115,22,0.45);
}

/* ================= FLOATING REVEALS ================ */
.fade-up    { opacity:0; transform: translateY(40px); }
.fade-left  { opacity:0; transform: translateX(-40px); }
.fade-right { opacity:0; transform: translateX(40px); }

/* MAP PARALLAX */
.map-wrapper iframe {
    transform: scale(1.2);
    transition: transform 1.8s ease-out;
}
.map-wrapper.active iframe {
    transform: scale(1);
}

#instagram-slider {
    display: flex;
    transition: transform 1s ease-in-out;
}


