:root {
    --color-primary: #0f172a;
    --color-secondary: #0369a1;
    --color-accent: #0ea5e9;
    --color-prim:#ffbb00;
    --color-background: #f0f9ff;
    --color-text: #334155;
    --color-white: #ffffff;
    --color-success: #16a34a;
    --header-height: 80px;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
}

::selection {
    background-color: var(--color-accent);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e0f2fe;
}

::-webkit-scrollbar-thumb {
    background: #7dd3fc;
    border-radius: 10px;
    border: 2px solid #e0f2fe;
}

::-webkit-scrollbar-thumb:hover {
    background: #38bdf8;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 12px -1px rgb(0 0 0 / 0.07);
    height: 70px;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.hero-bg {
    background-color: var(--color-primary);
    background-image: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1558221639-2f29e15206c7?q=80&w=2070&auto-format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.gradient-text {
    background-image: linear-gradient(45deg, #7dd3fc, #38bdf8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    color: var(--color-primary);
}

.section-subtitle {
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.custom-button {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-image: linear-gradient(to right, var(--color-accent) 0%, #38bdf8 50%, var(--color-accent) 100%);
    background-size: 200% auto;
    box-shadow: 0 4px 15px 0 rgba(14, 165, 233, 0.25);
}

.custom-button:hover {
    transform: translateY(-4px) scale(1.02);
    background-position: right center;
    box-shadow: 0 8px 25px 0 rgba(14, 165, 233, 0.4);
}

.feature-card {
    border: 1px solid #e0f2fe;
    transition: all 0.4s ease;
    background-color: var(--color-white);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.feature-card .icon-wrapper {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.15);
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.pricing-card {
    border: 2px solid #e0f2fe;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: var(--color-accent);
    transform: scale(1.05);
    position: relative;
    z-index: 10;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay-content {
    transform: translateY(0);
}

#lightbox {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#lightbox.visible {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 0 50px rgba(14, 165, 233, 0.5);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

.lightbox-close {
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
}

.article-card {
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.article-card img {
    transition: transform 0.4s ease;
}

.article-card:hover img {
    transform: scale(1.05);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-secondary) !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-secondary) !important;
}

.faq-item summary {
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}

.faq-item summary:hover {
    background-color: white;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease-out;
    margin-left: auto;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    font-weight: 600;
    color: var(--color-secondary);
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background-color: var(--color-accent);
    transform: scale(1.1);
}

/*body {
    background: #ffffff;
    margin: 0;
    padding: 0;
}

@keyframes slidein {
    from{transform: translateY(-50px);
    opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}
.bg{
    animation: slidein 1s ease-out forwards;
    width: 1200px;
    height: 1200px;
    background-color: #003cff;
    border-radius: 50%;
    margin-top: -400px;
    position: fixed;
    right: -350px;
    z-index: -1; 
    
}
#bgna {
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 9999;
  padding: 40px 0;
  position: fixed;
  max-height: 0px;
  box-shadow: 0 0 20px black;
}

#bgna h1 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 900;
    font-size: 70px;
    text-align: center;
    margin-top: -38px;
}

#menu {
    opacity: 0;                  
    transform: translateX(20px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.6s ease;
    list-style: none;
    gap: 20px;
    position: fixed;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    justify-content: flex-start;
    right: 65px;
    top: 32px;
    font-weight: 900;
    color: #ffffff;
    display: flex; 
}

#menu.hidden {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

#menu li {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

#menu li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: rgba(36, 77, 255, 0.6); /* transparan */
    /*transition: width 0.3s ease;//*
/*
#menu li:hover {
    color: rgb(36, 77, 255);
    cursor: pointer;
}

#menu li:hover::after {
    width: 95%;
}

.btnpertama{
    color: #000000;
    padding: 3px 6px;
    position: fixed;
    right: 20px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: -115px;
    transition: all 0.3s ease;
}
.btnpertama:hover {
  background: #72008f;
  color: aliceblue;
  box-shadow: 0 0 15px #000000,
             inset 0 0 10px #5e5e5eb6;
}
.btnpertama.expanded{
    padding: 5px 11px;
    background-color: #72008f;
    color: #ffffff;
}

#ico {
    display: inline-block;
    transform: rotate(90deg);
    font-size: 30px;
    margin-left: 3.5px;
    margin-top: 1px;
    transition: all 0.3s ease;
}
#ico.expand{
    margin-left: 420px;
    margin-top: -3px;
    transform: rotate(0deg);
}
//*