/* =====================================================
   WEBISP - MODALNEKAD
   Style.css
===================================================== */

:root{

    --primary:#0d6efd;
    --secondary:#0b5ed7;
    --warning:#ffc107;
    --dark:#0f172a;
    --light:#f8fafc;
    --gray:#6c757d;
    --white:#ffffff;

}

/* =====================================================
   GLOBAL
===================================================== */

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    color:#333;
    background:#fff;
    overflow-x:hidden;

}

section{

    padding-top:90px;
    padding-bottom:90px;

}

img{

    max-width:100%;

}

a{

    text-decoration:none;

}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{

    background:rgba(13,110,253,.95);
    backdrop-filter:blur(12px);
    transition:.3s;
    padding:12px 0;
    z-index:999;

}

.navbar-brand{

    font-weight:bold;

}

.navbar-brand img{

    height:50px;

}

.nav-link{

    color:#fff !important;
    font-weight:500;
    margin-left:10px;
    transition:.3s;

}

.nav-link:hover{

    color:#ffd54f !important;

}

.navbar .btn{

    font-weight:600;

}

/* =====================================================
   HERO
===================================================== */

.hero{

    background:linear-gradient(135deg,#0057ff,#0099ff);
    color:#fff;
    min-height:100vh;
    display:flex;
    align-items:center;
    overflow:hidden;

}

.hero h1{

    font-size:55px;
    font-weight:800;

}

.hero p{

    font-size:20px;

}

.hero-image{

    max-height:520px;
    animation:float 5s ease-in-out infinite;

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

/* =====================================================
   BUTTON
===================================================== */

.btn{

    border-radius:50px;

}

.btn-primary{

    background:var(--primary);
    border:none;

}

.btn-primary:hover{

    background:var(--secondary);

}

.btn-warning{

    font-weight:bold;

}

/* =====================================================
   CARD
===================================================== */

.card{

    border:none;
    border-radius:20px;
    transition:.3s;

}

.card:hover{

    transform:translateY(-8px);
    box-shadow:0 20px 35px rgba(0,0,0,.12);

}

/* =====================================================
   FEATURE
===================================================== */

.feature-box{

    background:#fff;
    border-radius:20px;
    padding:35px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    height:100%;
    transition:.3s;

}

.feature-box:hover{

    transform:translateY(-10px);

}

.feature-box i{

    font-size:55px;
    color:var(--primary);
    margin-bottom:20px;

}

/* =====================================================
   PAKET
===================================================== */

.paket-card{

    overflow:hidden;
    border-radius:22px;

}

.paket-card h2{

    color:var(--primary);
    font-size:38px;

}

.paket-card ul{

    padding-left:0;

}

.paket-card li{

    list-style:none;
    margin-bottom:12px;

}

/* =====================================================
   COVERAGE
===================================================== */

.list-group-item{

    border:none;
    margin-bottom:10px;
    border-radius:15px !important;
    box-shadow:0 5px 15px rgba(0,0,0,.05);

}

/* =====================================================
   TESTIMONI
===================================================== */

.card-body i{

    font-size:18px;

}

/* =====================================================
   FAQ
===================================================== */

.accordion-item{

    border:none;
    margin-bottom:15px;
    border-radius:15px !important;
    overflow:hidden;

}

.accordion-button{

    font-weight:600;

}

.accordion-button:not(.collapsed){

    background:var(--primary);
    color:#fff;

}

/* =====================================================
   FORM
===================================================== */

.form-control,

.form-select{

    border-radius:15px;
    min-height:55px;

}

textarea.form-control{

    min-height:140px;

}

.form-control:focus,

.form-select:focus{

    box-shadow:none;
    border-color:var(--primary);

}

/* =====================================================
   FOOTER
===================================================== */

footer{

    background:#07111f;

}

footer a{

    color:#fff;

}

footer a:hover{

    color:#ffc107;

}

/* =====================================================
   FLOATING WA
===================================================== */

.floating-wa{

    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25d366;

    display:flex;
    align-items:center;
    justify-content:center;

    color:#fff;
    font-size:32px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    z-index:9999;

}

.floating-wa:hover{

    color:#fff;
    transform:scale(1.08);

}

/* =====================================================
   BACK TO TOP
===================================================== */

#backToTop{

    position:fixed;

    bottom:105px;

    right:28px;

    display:none;

    width:55px;
    height:55px;

    border-radius:50%;

    z-index:999;

}

/* =====================================================
   BADGE
===================================================== */

.badge{

    border-radius:50px;
    padding:8px 18px;

}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:991px){

.hero{

padding-top:130px;
text-align:center;

}

.hero h1{

font-size:38px;

}

.hero p{

font-size:18px;

}

.hero-image{

margin-top:40px;
max-height:320px;

}

.navbar-brand small{

display:none;

}

section{

padding-top:70px;
padding-bottom:70px;

}

}

@media(max-width:576px){

.hero h1{

font-size:30px;

}

.hero p{

font-size:16px;

}

.btn-lg{

width:100%;

margin-bottom:10px;

}

.display-4{

font-size:32px;

}

.card{

margin-bottom:20px;

}

}

/* =====================================================
   ANIMATIONS - ANIMASI CANGGIH
===================================================== */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Left Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide Right Animation */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(13, 110, 253, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.6);
    }
}

/* Apply animations to elements */
h1, h2, h3 {
    animation: slideInLeft 0.6s ease-out;
}

.card {
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

.feature-box {
    animation: scaleUp 0.6s ease-out;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.2) !important;
}

.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
}

.btn-primary:hover {
    animation: pulse 1s ease-in-out;
}

.btn-warning:hover {
    animation: pulse 1s ease-in-out;
}

/* Section animations */
section {
    animation: fadeIn 1s ease-out;
}

section h2 {
    animation: slideInLeft 0.7s ease-out;
}

/* Hero section special animations */
.hero h1 {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
}

/* Counter animation */
.counter {
    font-weight: bold;
    color: #0d6efd;
    animation: scaleUp 0.6s ease-out;
}

/* Form animations */
.form-control, .form-select {
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.form-control:focus, .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    transform: scale(1.02);
}

/* Alert animations */
.alert {
    animation: fadeIn 0.5s ease-out;
}

/* Floating WhatsApp button animation */
.floating-wa {
    animation: bounce infinite 3s;
}

.floating-wa:hover {
    animation: bounce infinite 1s;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6) !important;
}

/* Back to top button animation */
.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
}

/* Stagger animation for multiple items */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.2s; }
.feature-box:nth-child(3) { animation-delay: 0.3s; }
.feature-box:nth-child(4) { animation-delay: 0.4s; }

/* Image animations */
img {
    animation: fadeIn 0.8s ease-out;
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Badge animations */
.badge {
    animation: scaleUp 0.5s ease-out;
}

/* Accordion animations */
.accordion-button {
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.accordion-button:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

}

/* =====================================================
   ANIMATIONS & EFFECTS v2.0
===================================================== */

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0,87,255,.5); }
    50% { box-shadow: 0 0 20px rgba(0,87,255,.8); }
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scale Animation */
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success Animation */
@keyframes successBounce {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* =====================================================
   ANIMATION CLASSES
===================================================== */

.animate-success {
    animation: successBounce 0.6s ease-out !important;
}

.animate-error {
    animation: shake 0.5s ease-in-out !important;
}

.fade-in { animation: fadeIn 0.6s ease-in; }
.fade-in-up { animation: fadeInUp 0.7s ease-out; }
.slide-in-left { animation: slideInLeft 0.7s ease-out; }
.slide-in-right { animation: slideInRight 0.7s ease-out; }
.slide-in-down { animation: slideInDown 0.5s ease-out; }
.bounce { animation: bounce 1s infinite; }
.pulse { animation: pulse 2s infinite; }
.glow { animation: glow 2s infinite; }
.float { animation: float 3s ease-in-out infinite; }
.scale-in { animation: scaleIn 0.5s ease-out; }

/* =====================================================
   NAVBAR SCROLL ANIMATION
===================================================== */

.navbar {
    transition: all 0.3s ease;
}

.navbar-scroll-active {
    animation: slideInDown 0.5s ease-out;
}

/* =====================================================
   CARD & BOX ANIMATIONS
===================================================== */

.card {
    transition: all 0.3s ease !important;
}

.card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(0,87,255,.2) !important;
}

.paket-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative;
    overflow: hidden;
}

.paket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left 0.5s ease;
}

.paket-card:hover::before {
    left: 100%;
}

.paket-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 20px 40px rgba(0,87,255,.3) !important;
}

/* =====================================================
   BUTTON ANIMATIONS
===================================================== */

button, .btn {
    position: relative;
    transition: all 0.3s ease !important;
    overflow: hidden;
}

button:hover:not(:disabled), .btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15) !important;
}

button:active:not(:disabled), .btn:active:not(:disabled) {
    transform: translateY(0);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    transform: scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* =====================================================
   INPUT ANIMATIONS
===================================================== */

input, textarea, select {
    transition: all 0.3s ease !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #0057ff !important;
    box-shadow: 0 0 0 3px rgba(0,87,255,.1) !important;
    transform: scale(1.02);
}

/* Floating label effect */
.form-floating > label {
    transition: all 0.2s ease;
}

.form-floating > input:focus ~ label,
.form-floating > input:not(:placeholder-shown) ~ label {
    color: #0057ff;
    opacity: 0.8;
}

/* =====================================================
   TEXT & HEADING ANIMATIONS
===================================================== */

h1, h2, h3, h4, h5, h6 {
    transition: all 0.3s ease;
}

h2 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0057ff, #0d6efd);
    transition: width 0.5s ease;
}

h2:hover::after {
    width: 100%;
}

/* =====================================================
   BADGE ANIMATIONS
===================================================== */

.badge {
    display: inline-block;
    animation: scaleIn 0.5s ease-out;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1) rotate(3deg);
}

/* =====================================================
   LOADING SPINNER
===================================================== */

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-border {
    animation: spin 0.75s linear infinite;
}

/* =====================================================
   MODAL ANIMATIONS
===================================================== */

.modal.fade .modal-dialog {
    animation: slideInDown 0.3s ease-out;
}

.modal-backdrop.fade {
    animation: fadeIn 0.3s ease-out;
}

/* =====================================================
   PROGRESS BAR ANIMATION
===================================================== */

.progress-bar {
    animation: slideInLeft 1s ease-out forwards;
}

/* =====================================================
   LIST ITEM ANIMATIONS
===================================================== */

.list-group-item {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.list-group-item:nth-child(1) { animation-delay: 0s; }
.list-group-item:nth-child(2) { animation-delay: 0.1s; }
.list-group-item:nth-child(3) { animation-delay: 0.2s; }
.list-group-item:nth-child(4) { animation-delay: 0.3s; }
.list-group-item:nth-child(5) { animation-delay: 0.4s; }

/* =====================================================
   CUSTOM SCROLLBAR
===================================================== */

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0057ff, #0d6efd);
    border-radius: 5px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0d6efd, #0057ff);
    box-shadow: 0 0 10px rgba(0,87,255,.3);
}

/* =====================================================
   RESPONSIVE ANIMATIONS
===================================================== */

@media (max-width: 768px) {
    .paket-card:hover {
        transform: translateY(-5px) !important;
    }

    .card:hover {
        transform: translateY(-5px) !important;
    }

    button:hover:not(:disabled), .btn:hover:not(:disabled) {
        transform: translateY(-1px);
    }
}

/* =====================================================
   UTILITY ANIMATION CLASSES
===================================================== */

.no-animation {
    animation: none !important;
    transition: none !important;
}

.animation-delay-1 { animation-delay: 0.1s; }
.animation-delay-2 { animation-delay: 0.2s; }
.animation-delay-3 { animation-delay: 0.3s; }
.animation-delay-4 { animation-delay: 0.4s; }
.animation-delay-5 { animation-delay: 0.5s; }

