@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #064EA6;
    --bg-color: linear-gradient(220deg, #66CCFF, #1152D4);
    /* Teal */
    --secondary-color: #F7931E;
    /* Orange */
    --dark-bg: #1A1A1A;
    --light-bg: #F5F7FA;
    --white: #FFFFFF;
    --text-color: #333333;
    --text-light: #666666;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Work Sans", sans-serif;
}

p {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    width: 100%;
}

/* Header */
header {
    background-color: transparent;
    padding: 20px 0;
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.3s ease;
}

.btn-close {
    display: none;
}

.btn-cta-orange {
    display: none;
}

header.scrolled {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    color: var(--text-color);
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li {
    position: relative;
    /* For dropdown positioning */
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}


.nav-links a:hover {
    color: var(--text-color);
}

/* Dropdown Styles */
.dropdown-content {
    display: block;
    /* Change to block but use opacity/visibility for transition */
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-radius: var(--border-radius);
    padding: 10px 0;
    top: 150%;
    left: 0;
    transition: all 0.3s ease;
    transition-delay: 0.2s;
    /* Delay hiding */
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    top: 100%;
    /* Slight animation */
    transition-delay: 0s;
    /* Show immediately on hover */
}

.dropdown-content li {
    width: 100%;
    list-style-type: none;
}

.dropdown-content li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 0.9rem;
}

.dropdown-content li a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 102%;
    top: -10px;
    /* Slight offset for animation */
    min-width: 220px;
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 10px 0;
    z-index: 1001;
    transition: all 0.3s ease;
    transition-delay: 0.2s;
}

.dropdown-submenu:hover .dropdown-submenu-content {
    opacity: 1;
    visibility: visible;
    top: 0;
    transition-delay: 0s;
}



.btn-cta {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 40px;
    font-size: 14px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    border-radius: 20px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-desain {
    background: var(--bg-color);
    color: var(--white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-desain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 10%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 10%);
    opacity: 0.5;
}

.hero-desain .hero-content {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 100%;
}

.hero-desain h1 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.breadcrumb {
    font-size: 18px;
    opacity: 0.9;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
}

/* Decorative Cubes placeholder */
.hero-desain::after {
    content: '■';
    position: absolute;
    color: rgba(0, 255, 255, 0.3);
    font-size: 40px;
    top: 20%;
    right: 15%;
    transform: rotate(45deg);
    text-shadow: 200px 150px 0 rgba(0, 255, 255, 0.2);
}



html {
    scroll-behavior: smooth;
}

/* Template Modern Section */
.template-modern {
    padding: 100px 0;
    background-color: #fff;
}

.template-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    height: auto;
}

.template-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 0;
    font-weight: 700;
}

.filter-tabs {
    display: flex;
    gap: 40px;
    padding-bottom: 0;
    border-bottom: none;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    padding: 0 0 15px 0;
    transition: all 0.3s ease;
    text-transform: capitalize;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: #333;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333;
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.template-card {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    opacity: 1;
    transform: scale(1);
}

.template-card.hide {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: none;
}

.template-card.show {
    animation: fadeInOnly 0.4s ease forwards;
}

@keyframes fadeInOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.template-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: transparent;
    /* Start transparent */
    transition: all 0.4s ease;
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 3/2;
}

.template-card:hover .template-img {
    background-color: #E6F2FF;
    /* Blue background only on hover as requested */
}

.template-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Soft shadow like the reference photo */
    transition: all 0.4s ease;
}

.template-card:hover .template-img img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* More prominent shadow on hover */
}



.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.btn-demo {
    background: #fff;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-demo:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}

.template-info {
    padding: 25px 10px 10px;
    text-align: center;
}

.template-info h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.template-info .category {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

/* Responsive Template Grid */
@media (max-width: 992px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .template-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .template-header h2 {
        font-size: 2rem;
    }

    .filter-tabs {
        width: 100%;
        justify-content: flex-start;
        gap: 25px;
    }

    .template-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        gap: 15px;
        flex-wrap: wrap;
    }

    .tab-btn {
        font-size: 0.9rem;
    }
}

/* Existing Responsive adjustments */
@media (max-width: 992px) {
    .navbar {
        padding: 0 20px !important;
    }

    .btn-close {
        display: block;
    }

    .btn-cta-orange {
        display: block;
    }

    /* Header & Nav */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
    }

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background-color: var(--white);
        transition: all 0.3s ease;
    }

    header.scrolled .menu-toggle span {
        background-color: var(--text-color);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background-color: #ffffff !important;
        /* Solid White */
        flex-direction: column;
        padding: 60px 0 20px;
        gap: 0;
        display: flex;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 2500;
        /* Higher than overlay */
        overflow-y: auto;
        opacity: 1 !important;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        color: var(--text-color);
        padding: 15px 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-weight: 600;
        cursor: pointer;
    }

    .dropdown-content,
    .dropdown-submenu-content {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        display: none !important;
        background-color: transparent !important;
        transition: none !important;
        top: 0 !important;
        padding-bottom: 10px !important;
    }

    .dropdown.active>.dropdown-content,
    .dropdown-submenu.active>.dropdown-submenu-content {
        display: block !important;
    }

    /* Mobile Close Button */
    .btn-close {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 2rem;
        color: #333;
        cursor: pointer;
        line-height: 1;
    }

    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Sidebar CTA */
    .nav-links .mobile-cta-container {
        display: flex;
        justify-content: center;
        margin-top: 30px;
        padding: 0 20px 40px;
    }

    .mobile-cta-container .btn-cta-orange {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background-color: var(--secondary-color);
        color: var(--white);
        border-radius: 50px;
    }

    .navbar .btn-cta {
        display: none;
    }


}

/* Request Design Section */
.request-design {
    padding: 100px 0;
    background-color: #fff;
}

.request-title {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: "Roboto", sans-serif;
}

.request-text {
    max-width: 100%;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    font-size: 16px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.btn-request {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: 0 15px 35px rgba(247, 147, 30, 0.25);
    transition: all 0.3s ease;
}

.btn-request:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(247, 147, 30, 0.35);
    background-color: #e68a19;
}

@media (max-width: 768px) {
    .hero-desain {
        height: 350px;
        padding: 100px 0 60px;
    }

    .hero-desain h1 {
        font-size: 2.2rem;
    }

    .breadcrumb {
        font-size: 0.9rem;
    }

    .template-header h2 {
        font-size: 2.2rem;
    }

    .request-title {
        font-size: 2.2rem;
    }

    .request-text {
        font-size: 1rem;
    }

    .btn-request {
        padding: 15px 35px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-desain h1 {
        font-size: 1.8rem;
    }

    .template-header h2 {
        font-size: 1.8rem;
    }

    .filter-tabs {
        gap: 15px;
    }

    .tab-btn {
        font-size: 0.85rem;
        padding-bottom: 10px;
        justify-content: center;
    }
}


/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 80px 0 0;
    font-family: 'Open Sans', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3,
.footer-col h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: none;
    border-bottom: none;
    padding-bottom: 0;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #999;
}

.footer-logo {
    width: 100px;
    margin-bottom: 30px;
}

.contact-info {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i,
.contact-item .icon {
    color: #999;
    font-size: 14px;
    margin-top: 3px;
}

.contact-item a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: transform 0.3s;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background-color: #0077b5;
}


.social-icon:hover {
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    background-color: #111;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
}

.trustpilot-widget {
    margin-top: 30px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    display: inline-block;
}

.trustpilot-widget img {
    max-width: 120px;
    display: block;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col:first-child {
        grid-column: span 2;
        text-align: center;
    }

    .footer-col:first-child .social-links,
    .footer-col:first-child .contact-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-col:first-child {
        grid-column: span 1;
    }
}

/* Media Coverage Section */
.media-coverage {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.media-coverage .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.media-coverage .section-title h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 28px;
}

.media-coverage .section-title p {
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Slider Animation */
.media-slider {
    width: 90%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
}

.media-slide-track {
    display: flex;
    width: max-content;
    /* transition will be handled by JS */
}

.media-logo-item {
    width: 250px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-logo-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.media-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive adjustment */
@media screen and (max-width: 768px) {
    .media-logo-item {
        width: 150px;
        padding: 0 15px;
    }
}

/* WhatsApp Floating Container */
.wa-floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    
    gap: 12px;
    /* Space between label and button */
    z-index: 9999;
    font-family: 'Open Sans', sans-serif;
}

/* Label: "Konsultasi Gratis" */
.wa-label {
    background-color: #25d366;
    /* WhatsApp Green */
    color: #ffffff;
    padding: 5px 30px;
    border-radius: 8px;
    /* Slightly rounded corners */
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    animation: shake .6s infinite linear;
    /* Appearence delay */
}

/* Button with Icon */
.wa-button {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    z-index: 100;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    animation: shake .6s infinite linear;
    /* Shake effect */
}

/* Icon size inside button */
.wa-button img {
    display: block;
}

/* Hover effects */
.wa-floating-container:hover .wa-button {
    background-color: #20bd5a;
    transform: scale(1.05);
}

.wa-floating-container:hover .wa-label {
    background-color: #20bd5a;
}

/* Shake Animation Keyframes */
@keyframes shake {
    0% {
        transform: translateX(-3px);
    }

    25% {
        transform: translateX(3px);
    }

    50% {
        transform: translateX(0px);
    }

    75% {
        transform: translateX(3px);
    }

    90% {
        transform: translateX(-3px);
    }

    100% {
        transform: translateX(0px);
    }
}

/* Label Entrance Animation */
@keyframes fadeInLabel {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wa-floating-container {
        bottom: 20px;
        right: 20px;
    }

    .wa-label {
        font-size: 13px;
        padding: 8px 15px;
        display: none;
        /* Hide label on very small screens if needed, or keep it */
    }

    .wa-button {
        width: 50px;
        height: 50px;
    }

    .wa-button img {
        width: 28px;
        height: 28px;
    }
}