﻿/* --- CSS RESET & BASIC SETUP --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #0ea5e9; /* sky-500 */
    --primary-color-dark: #0284c7; /* sky-600 */
    --secondary-color: #38bdf8; /* sky-400 */
    --accent-color: #06b6d4; /* cyan-500 */
    --dark-blue: #1e40af;
    --bg-color: #0f172a; /* slate-900 */
    --text-light: #f8fafc; /* slate-50 */
    --text-dark: #334155; /* slate-700 */
    --text-pink: #fca5a5; /* slate-700 */
    --text-ice: #D6FFFA; /* slate-700 */
    --panel-bg: rgba(30, 64, 175, 0.2);
    --panel-border: rgba(56, 189, 248, 0.3);
    --font-family: 'Poppins', sans-serif;
    --header-height: 4.5rem;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Perbaikan: Mencegah scroll horizontal */
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-ice);
    line-height: 1.6;
    overflow-x: hidden; /* Perbaikan: Memastikan body juga tidak overflow */
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

    a:hover {
        color: var(--primary-color);
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
}

/* --- GLASSMORPHISM PANEL --- */
.glass-panel {
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

    .glass-panel:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    /*padding: 0.8rem 1.8rem;*/
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

    .btn-primary:hover {
        background-color: var(--primary-color-dark);
        transform: scale(1.05);
    }

.btn-secondary {
    background-color: transparent;
    color: var(--text-ice);
    border: 2px solid var(--primary-color);
}

    .btn-secondary:hover {
        background-color: var(--primary-color);
    }

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed; /* Diubah dari sticky ke fixed */
    left: 1rem; /* Jarak dari kiri layar */
    right: 1rem; /* Jarak dari kanan layar */
    width: auto; /* Biarkan lebar diatur oleh left/right */
    max-width: 1120px;
    margin: 0 auto; /* Ini akan membuatnya center jika max-width tercapai */
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light);
}

.nav-toggle {
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 101;
}

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--text-light);
        border-radius: 3px;
        position: absolute;
        transition: transform 0.3s, opacity 0.3s;
    }

        .nav-toggle span:nth-child(1) {
            top: 0;
        }

        .nav-toggle span:nth-child(2) {
            top: 50%;
            transform: translateY(-50%);
        }

        .nav-toggle span:nth-child(3) {
            bottom: 0;
        }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
        bottom: 50%;
    }

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    padding: 6rem 2rem 2rem;
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transition: right 0.3s ease-in-out;
}

    .nav-menu.active {
        right: 0;
    }

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 8px;
}

/* --- HERO SECTION --- */
.hero {
    padding-block: calc(var(--header-height) + 2rem) 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: 50%;
        transform: translateX(-50%);
        width: 200%;
        height: 150%;
        background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(14, 165, 233, 0) 60%);
        z-index: -1;
    }

.hero-badge {
    display: inline-block;
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    margin: 1rem auto;
    max-width: 600px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* --- FEATURES SECTION --- */
.features {
    padding-block: 4rem;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* --- SERVICES SECTION --- */
.services {
    padding-block: 4rem;
}

.services-grid {
    display: grid;
    gap: 1.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* --- PRICING SECTION --- */
.pricing {
    padding-block: 4rem;
}

.pricing-grid {
    display: grid;
    gap: 1.5rem;
}

.pricing-card {
    text-align: center;
}

    .pricing-card.best-deal {
        border-color: var(--secondary-color);
        transform: scale(1.05);
    }

    .pricing-card .price {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin: 1rem 0;
    }

    .pricing-card ul {
        text-align: left;
        margin: 1.5rem auto;
        max-width: 230px;
    }

        .pricing-card ul li {
            margin-bottom: 0.5rem;
        }

    .pricing-card .btn {
        margin-top: 1.5rem;
    }

/* --- GALLERY SECTION --- */
.gallery {
    padding-block: 4rem;
}

.gallery-grid {
    display: grid;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

    .gallery-item figcaption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: white;
        padding: 1rem;
        font-weight: 600;
    }

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    padding-block: 4rem;
}

.testimonials-grid {
    display: grid;
    gap: 1.5rem;
}

.testimonial-author {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* --- FAQ SECTION --- */
.faq {
    padding-block: 4rem;
}

.faq-container {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--panel-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
  /*  padding-top: 10px;*/
}

    .faq-answer p {
        padding-bottom: 1.5rem;
        opacity: 0.9;
    }

/* --- CONTACT FORM --- */
.contact {
    padding-block: 4rem;
}

.contact-content {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;
}

    .contact-content > p {
        margin-bottom: 2rem;
    }

.contact-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }

    .form-group input, .form-group textarea, .form-group select {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid var(--panel-border);
        background-color: rgba(0,0,0,0.2);
        color: var(--text-light);
        border-radius: 8px;
        font-family: inherit;
    }

        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            outline: none;
            border-color: var(--secondary-color);
        }

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .checkbox-group input {
        width: auto;
    }

.form-group .feedback {
    display: none;
    color: #fca5a5;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #fca5a5;
}

    .form-group input:invalid:not(:placeholder-shown) + .feedback,
    .form-group textarea:invalid:not(:placeholder-shown) + .feedback {
        display: block;
    }

.honeypot {
    display: none;
}

.thank-you {
    text-align: center;
}

    .thank-you pre {
        background: var(--bg-color);
        padding: 1rem;
        border-radius: 8px;
        text-align: left;
        white-space: pre-wrap;
        word-break: break-all;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

/* --- SERVICE AREA --- */
.service-area {
    padding-block: 4rem;
}

.map-container {
    padding: 0.5rem;
}

    .map-container iframe {
        width: 100%;
        height: 400px;
        border-radius: 12px;
    }

/* --- FOOTER --- */
.footer {
    background-color: #0c1222;
    padding-block: 3rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section p, .footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --- STICKY BOTTOM BAR --- */
.sticky-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--panel-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 90;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.sticky-link {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    color: var(--text-light);
    gap: 0.5rem;
    font-weight: 600;
    text-align: center; /* Perbaikan: Memastikan teks rata tengah */
}

    .sticky-link.whatsapp {
        background-color: #25D366;
    }

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- MEDIA QUERIES (TABLET & UP) --- */
@media (min-width: 768px) {
    .container {
        padding-inline: 2rem;
    }

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        height: auto;
        width: auto;
        background: none;
        backdrop-filter: none;
        padding: 0;
    }

    .nav-list {
        flex-direction: row;
        gap: 1.5rem;
    }

    .nav-link.btn {
        display: inline-block;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }

    .sticky-bottom-bar {
        display: none;
    }
}

/* --- MEDIA QUERIES (DESKTOP) --- */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .nav-list {
        gap: 2rem;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


#blazor-error-ui {
    color-scheme: light only;
/*    background: lightyellow;
*/    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
.mobile-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important; /* biar full screen */
    z-index: 1300; /* lebih tinggi dari AppBar */
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(15px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
    .mobile-menu .mud-nav-link {
        color: white !important;
        font-weight: 700 !important; /* tebal */
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); /* bayangan kaca */
        font-size: 1.1rem;
    }

        .mobile-menu .mud-nav-link:hover {
            color: #90caf9 !important; /* aksen primary terang */
        }

    /* Tombol di dalam menu */
    .mobile-menu .mud-button-root {
        font-weight: 700 !important;
        color: white !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    }

        /* Tombol close di bawah khusus style putih */
        .mobile-menu .mud-button-root.mud-button-outlined {
            border-color: rgba(255, 255, 255, 0.5) !important;
            color: white !important;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

            .mobile-menu .mud-button-root.mud-button-outlined:hover {
                background: rgba(255, 255, 255, 0.2);
            }

/* AppBar dengan glassmorphism + padding */
/* AppBar dengan glassmorphism + padding */
.header.glass-panel {
    background: #000000b5 !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    margin: 1rem auto;
    max-width: 1200px;
    box-sizing: border-box;
    border-top: none !important;
    /* bayangan lebih natural */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25), /* shadow bawah */
    0px -43px 5px -5px #0a1f35eb
}


/* Link di AppBar */
.header .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 0.5rem 1rem; /* tambah ruang */
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .header .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #90caf9 !important; /* warna hover */
    }

/* Tombol di kanan (Hubungi Teknisi) */
.header .mud-button-root {
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
}
/* Drawer top hilang border/outline saat ditutup */
.mobile-menu.mud-drawer-anchor-top {
    top: -100vh !important; /* geser drawer keluar layar total */
    border: none !important; /* hapus garis ghost */
}

.mud-drawer.mud-drawer-temporary.mud-drawer-pos-top.mud-drawer--closed {
    top: calc(-2 * var(--mud-drawer-content-height)) !important;
}
/* Styling untuk card login */
.login-card {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    color: #fff;
}

    /* Biar input dan tombol sejajar */
    .login-card .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 1.2rem;
    }

    .login-card input {
        padding: 0.6rem 1rem;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.3);
        background: rgba(255,255,255,0.1);
        color: #fff;
        font-size: 1rem;
        outline: none;
        transition: all 0.2s ease;
    }

        .login-card input:focus {
            border-color: #90caf9;
            background: rgba(255,255,255,0.15);
        }

/* Tombol login */
.btn-login {
    width: 100%; /* full sejajar sama input */
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-login:hover:not(:disabled) {
        background: linear-gradient(135deg, #1565c0, #1e88e5);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }

    .btn-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Link daftar */
.register-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .register-link a {
        color: #90caf9;
        font-weight: 600;
        text-decoration: none;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

/* --- Container utama --- */
.ceo-dashboard {
    padding: 1rem;
    color: #fff; /* semua teks putih */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Navbar --- */
.dashboard-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
}

    .dashboard-nav h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #fff;
        margin: 0;
    }

/* --- Actions (menu navigasi) --- */
.nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Tombol navigasi */
.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .nav-btn:hover {
        background: rgba(255, 255, 255, 0.35);
    }

    .nav-btn.active {
        background: #fff;
        color: #1976d2;
        box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    }

/* Tombol logout */
.btn-logout {
    background: #e53935;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-logout:hover {
        background: #c62828;
    }

/* --- Responsive --- */
@media (max-width: 768px) {
    .dashboard-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 kolom di tablet */
        gap: 0.5rem;
    }

    .nav-btn, .btn-logout {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        grid-template-columns: 1fr; /* full 1 kolom di HP */
    }
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

    .pagination button {
        background: #1976d2;
        border: none;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .pagination button:disabled {
            background: #ccc;
            cursor: not-allowed;
        }

    .pagination span {
        font-weight: bold;
    }

/* Grid untuk overview box */
.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Card styling */
.overview-card {
    background: rgba(255, 255, 255, 0.08); /* semi transparan */
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .overview-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    }

    /* Judul kecil di card */
    .overview-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        opacity: 0.9;
    }

    /* Angka/statistik */
    .overview-card .stat-value {
        font-size: 2rem;
        font-weight: bold;
        margin-top: 0.3rem;
    }

    /* Tambahan warna opsional untuk variasi */
    .overview-card.total-reservations {
        border-top: 4px solid #4fc3f7;
    }

    .overview-card.active-affiliates {
        border-top: 4px solid #81c784;
    }

    .overview-card.total-commissions {
        border-top: 4px solid #ffb74d;
    }

    .overview-card.pending-withdrawals {
        border-top: 4px solid #e57373;
    }

/* Responsive padding */
@media (max-width: 768px) {
    .overview-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .overview-cards {
        grid-template-columns: 1fr;
    }
}
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.register-card {
    background: #000;
    padding: 2rem;
    border-radius: 8px;
    max-width: 450px; /* biar nggak kepanjangan */
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
/* ==========================================================================
   Referral Tree - Polished Organizational Chart Style
   ========================================================================== */
/* ==========================================================================
   Referral Tree / Forest Styling
   ========================================================================== */

/* 1. Viewport & Container Setup
-------------------------------------------------------------------------- */
.tree-viewport {
    overflow: auto;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-top: 20px;
    min-height: 450px;
}

/* Container untuk setiap pohon individu di dalam forest */
.forest-container {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Jarak antara setiap pohon */
}

.tree-container {
    display: inline-block;
    min-width: 100%;
    padding: 2em 0; /* Kurangi padding horizontal agar lebih rapat */
    text-align: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #1e293b;
}

    .tree-container ul {
        position: relative;
        padding-top: 20px;
        display: flex;
        justify-content: center;
        transition: all 0.5s;
    }

    .tree-container li {
        list-style-type: none;
        position: relative;
        padding: 20px 15px 0 15px;
        text-align: center;
        transition: all 0.5s;
    }

        /* 2. Connector Lines - Rapi dan Elegan
-------------------------------------------------------------------------- */
        .tree-container li::before,
        .tree-container li::after {
            content: '';
            position: absolute;
            top: 0;
            right: 50%;
            border-top: 1px solid #bcc0c4;
            width: 50%;
            height: 20px;
        }

        .tree-container li::after {
            right: auto;
            left: 50%;
            border-left: 1px solid #bcc0c4;
        }

        .tree-container li:only-child::after,
        .tree-container li:only-child::before {
            display: none;
        }

        .tree-container li:only-child {
            padding-top: 0;
        }

        .tree-container li:first-child::before {
            border: 0 none;
        }

        .tree-container li:first-child::after {
            border-radius: 6px 0 0 0;
        }

        .tree-container li:last-child::before {
            border-right: 1px solid #bcc0c4;
            border-radius: 0 6px 0 0;
        }

        .tree-container li:last-child::after {
            border: 0 none;
        }

    .tree-container > ul > li::before,
    .tree-container > ul > li::after {
        border: 0 none;
    }

    /* Garis vertikal dari node ke anak-anaknya */
    .tree-container li > .node-wrapper::after {
        content: '';
        position: absolute;
        bottom: -21px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 20px;
        background-color: #bcc0c4;
    }

    /* Sembunyikan garis jika tidak punya anak (kelas .is-leaf) */
    .tree-container li > .node-wrapper.is-leaf::after {
        display: none;
    }


    /* 3. Node Styling (The Cards) - Dengan Pewarnaan Dinamis
-------------------------------------------------------------------------- */
    .tree-container li .node-wrapper {
        /* --accent-color akan di-override oleh kelas dinamis */
        --accent-color: #0d6efd; /* Biru sebagai default */

        background-color: #ffffff;
        border: 1px solid #ced4da;
        padding: 16px 20px 12px 20px;
        border-radius: 8px;
        display: inline-block;
        min-width: 240px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        position: relative;
        border-left: 4px solid var(--accent-color);
    }

        .tree-container li .node-wrapper:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
            border-color: var(--accent-color);
            border-left-color: var(--accent-color);
        }

/* Kelas Pewarnaan Dinamis */
.node-wrapper.is-root.has-children {
    --accent-color: #198754;
}
/* HIJAU */
.node-wrapper.is-child {
    --accent-color: #0d6efd;
}
/* BIRU */
.node-wrapper.is-leaf {
    --accent-color: #6f42c1;
}
/* UNGU */

.node-content {
    text-align: left;
    margin-bottom: 10px;
    padding-left: 45px;
    position: relative;
}

    /* Avatar Placeholder Dinamis mengikuti warna aksen */
    .node-content::before {
        content: '\f007'; /* FontAwesome user icon */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: #fff;
        background-color: var(--accent-color); /* Menggunakan variabel warna */
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.node-info {
    font-weight: 600;
    font-size: 1.1em;
    color: #212529;
    display: block;
    margin-bottom: 2px;
}

.node-commission {
    font-weight: 500;
    font-size: 0.9em;
    color: #198754; /* Tetap hijau untuk konsistensi */
}

/* Action Icons Styling */
.node-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f3f5;
}

    .node-actions i {
        cursor: pointer;
        font-size: 1.1em;
        padding: 5px;
        width: 30px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease-in-out;
    }

        .node-actions i:hover {
            background-color: #e9ecef;
        }

.icon-delete {
    color: #dc3545;
}
.icon-add {
    color: #0d6efd;
}
.icon-delete-deep {
    color: #b02a37;
}
/* Warna lebih gelap untuk aksi destruktif */


/* 4. Global & Responsive
-------------------------------------------------------------------------- */
h3 {
    text-align: center;
    font-size: 1.8em;
    color: #343a40;
    font-weight: 600;
}

p {
    text-align: center;
    color: #6c757d;
    margin-top: -10px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .tree-container ul {
        flex-direction: column;
    }

    .tree-container li {
        padding: 10px 0 0 15px;
    }

        .tree-container li::before,
        .tree-container li::after,
        .tree-container li > .node-wrapper::after {
            display: none;
        }

        .tree-container li .node-wrapper {
            width: 100%;
            min-width: 0;
            border-left-width: 3px;
        }

    .tree-container ul ul {
        margin-left: 15px;
        padding-left: 15px;
        border-left: 1px solid #e9ecef;
    }
}

/* Styling untuk ContactForm.razor agar mirip desain glass-panel */
.contact-form.glass-panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
}
/* Form Styling */
.form-label {
    font-weight: 600;
    color: #0dcaf0;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

    .form-control.is-invalid, .form-select.is-invalid {
        border-color: #dc3545;
    }

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.1rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Submit Button */
.submit-btn {
    padding: 0.75rem 3rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .submit-btn:not(:disabled):hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    }

    .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

/* Validation Feedback */
.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form.glass-panel {
        padding: 1.5rem;
    }

    .submit-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Override style MudBlazor di dalam form ini */
.contact-form .mud-input-control {
    margin-bottom: 1rem;
}

.contact-form .mud-input-label {
    color: #fff !important; /* Ganti warna label jika perlu */
}

.contact-form .mud-input-slot {
    background: rgba(255, 255, 255, 0.2) !important;
}

.contact-form .mud-input-root input,
.contact-form .mud-input-root textarea {
    color: #fff !important; /* Ganti warna teks input jika perlu */
}

.contact-form .submit-btn {
    width: 100%;
    max-width: 300px;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: bold;
}


/* Status Cards */
.status-card {
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .status-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.status-card-warning {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #000;
}

.status-card-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: #fff;
}

.status-card-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
}

.status-card-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
}

.status-card-dark {
    background: linear-gradient(135deg, #343a40, #495057);
    color: #fff;
}

.status-card-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
}

/* Table Enhancements */
.table th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

    .table th.sortable:hover {
        background-color: rgba(255,255,255,0.1);
    }

.customer-info .name {
    font-weight: 600;
    color: #2c3e50;
}

.filter-section {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Commission Modal */
.info-card {
    border-left: 4px solid #007bff;
}

/* Responsive */
@media (max-width: 768px) {
    .status-overview .col-md-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Scoped, prefix rt- agar tidak bentrok */
.rt-container {
    max-width: 1200px;
    margin-inline: auto;
}

.rt-filter .rt-input {
    min-height: 34px;
}

.rt-label {
    font-size: .85rem;
}

.rt-status-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .6rem;
}

.rt-status-card {
    border-radius: 10px;
    padding: .6rem .7rem;
    color: #fff;
    border: none;
    display: grid;
    grid-template-rows: auto auto;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .rt-status-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,.25);
    }

.rt-status-count {
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
}

.rt-status-label {
    font-size: .85rem;
    opacity: .95;
}

.rt-card-warning {
    background: linear-gradient(135deg, #ffc107, #ffca2c);
    color: #000;
}

.rt-card-secondary {
    background: linear-gradient(135deg, #6c757d, #7a8791);
}

.rt-card-primary {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
}

.rt-card-info {
    background: linear-gradient(135deg, #17a2b8, #20c997);
}

.rt-card-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.rt-card-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.rt-card {
    border-radius: 12px;
}

.rt-table {
    font-size: .92rem;
}

.rt-badge {
    font-size: .72rem;
    padding: .35em .55em;
    border-radius: .5rem;
}

.rt-icon-btn {
    width: 34px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rt-dd-sm .dropdown-item {
    padding: .3rem .6rem;
}

.rt-btn-group .rt-btn {
    min-width: 0;
}

.rt-text-ellips {
    max-width: 340px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 992px) {
    .rt-text-ellips {
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .rt-text-ellips {
        max-width: 200px;
    }
}

.rt-pagination .page-link {
    padding: .2rem .5rem;
    font-size: .85rem;
}

.rt-modal .modal-header, .rt-modal .modal-footer {
    padding: .5rem .75rem;
}

.rt-modal .modal-body {
    padding: .75rem;
}

.rt-modal .table {
    font-size: .85rem;
}

/* key-value grid preview */
.rt-kv > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: .5rem;
    margin-bottom: .35rem;
}

.rt-k {
    font-weight: 600;
    color: #6c757d;
    font-size: .85rem;
}

.rt-v {
    font-size: .9rem;
}

/* compact table paddings */
.rt-table td, .rt-table th {
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.rating .star {
    font-size: 1.5rem; /* Ukuran bintang lebih besar */
    color: #e9ecef; /* Warna bintang kosong (abu-abu terang) */
    transition: color 0.2s;
}

    .rating .star.filled {
        color: #ffc107; /* Warna bintang terisi (kuning Bootstrap) */
    }

/* --- Penyesuaian Badge agar tidak terlalu besar di mobile --- */
.badge.fs-6 {
    font-size: .8rem !important; /* Sedikit lebih kecil dari default fs-6 */
    min-width: 80px;
    text-align: center;
}

/* Gallery */
.gallery-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.gallery-item {
    margin: 0;
}

    .gallery-item img {
        width: 100%;
        aspect-ratio: 1/1; /* menjaga kotak /
object-fit: cover; / crop rapi */
        display: block;
        border-radius: 0.5rem;
    }

    .gallery-item figcaption {
        font-size: 0.9rem;
        color: #555;
        margin-top: 0.5rem;
    }

/* Header card agar proporsional di layar kecil */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.15rem;
    }
}

/* ============================================= */

/* CSS Final untuk QuillJS Editor          */

/* ============================================= */



/* Style dasar dari Anda (dipertahankan) */

.ql-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 0 0 4px 4px;
    /* TAMBAHAN: Pastikan warna border terang */

    border: 1px solid #dee2e6 !important;
    border-top: 0 !important; /* Hapus border atas agar menyatu dengan toolbar */
}



.ql-editor {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    /* --- PERUBAHAN PENTING --- */

    background-color: #ffffff; /* TAMBAHAN: Paksa background putih */

    color: #000000; /* TAMBAHAN: Paksa teks hitam */

    text-align: left !important; /* PENTING: Paksa kursor selalu di kiri */
}



    /* Mengubah warna placeholder */

    .ql-editor.ql-blank::before {
        color: #6c757d;
        font-style: normal !important;
    }



    /* Style spesifik konten dari Anda (dipertahankan) */

    .ql-editor h1 {
        font-size: 2em;
        margin-bottom: 0.5em;
    }

    .ql-editor h2 {
        font-size: 1.5em;
        margin-bottom: 0.5em;
    }

    .ql-editor h3 {
        font-size: 1.25em;
        margin-bottom: 0.5em;
    }

    .ql-editor blockquote {
        border-left: 4px solid #0d6efd;
        padding-left: 16px;
        margin-left: 0;
        font-style: italic;
        color: #6c757d;
    }

    .ql-editor img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 16px 0;
    }



/* Style untuk Toolbar */

.ql-toolbar {
    background-color: #f8f9fa;
    border-radius: 4px 4px 0 0;
    border: 1px solid #dee2e6 !important;
}



    /* TAMBAHAN: Pastikan ikon toolbar terlihat */

    .ql-toolbar .ql-stroke {
        stroke: #495057 !important;
    }

    .ql-toolbar .ql-fill {
        fill: #495057 !important;
    }

    .ql-toolbar .ql-picker-label {
        color: #495057 !important;
    }
/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .ql-toolbar {
        background-color: #212529;
        border-color: #495057;
    }
    .ql-container {
        background-color: #343a40;
        border-color: #495057;
        color: #f8f9fa;
    }
    .ql-editor {
        color: #f8f9fa;
    }
}
.trending-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.trending-title, .recent-title {
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

    .trending-item:hover .trending-title,
    .recent-title:hover {
        color: #0d6efd !important;
    }

.sticky-ad {
    position: sticky;
    top: 20px;
}

.adsense-placeholder {
    border: 2px dashed #dee2e6;
}

@media (max-width: 960px) {
    .sticky-ad {
        position: static;
    }
}
.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #212529;
}

    .article-content h2 {
        margin-top: 32px;
        margin-bottom: 16px;
        font-weight: 600;
    }

    .article-content h3 {
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .article-content p {
        margin-bottom: 16px;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 24px 0;
    }

    .article-content blockquote {
        border-left: 4px solid #0d6efd;
        padding-left: 20px;
        margin: 24px 0;
        font-style: italic;
        color: #6c757d;
    }

    .article-content ul, .article-content ol {
        margin-bottom: 16px;
        padding-left: 24px;
    }

    .article-content li {
        margin-bottom: 8px;
    }
/* CSS untuk membuat gambar modal pas di layar (vertikal) */
#imageModal .modal-body img {
    max-height: 85vh; /* Batasi tinggi gambar, maks 85% dari tinggi layar */
    width: auto; /* Biarkan lebar menyesuaikan secara otomatis */
    object-fit: contain; /* Pastikan seluruh gambar terlihat utuh tanpa distorsi */
    margin-inline: auto; /* Jaga agar tetap di tengah jika lebar menyusut */
}
.site-footer {
    background: linear-gradient(135deg, #0b172a 0%, #1e3a5f 100%);
    color: #e0e7ff;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background: #0dcaf0;
        border-radius: 2px;
    }

.footer-description {
    color: #b8c5db;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact p {
    color: #b8c5db;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #0dcaf0;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-contact a:hover {
        color: #0dcaf0;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #b8c5db;
        text-decoration: none;
        transition: all 0.3s;
        display: inline-block;
        position: relative;
    }

        .footer-links a::before {
            content: '›';
            position: absolute;
            left: -15px;
            opacity: 0;
            transition: all 0.3s;
        }

        .footer-links a:hover {
            color: #0dcaf0;
            padding-left: 15px;
        }

            .footer-links a:hover::before {
                opacity: 1;
                left: 0;
            }

.footer-social .social-icons {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s;
}

    .footer-social a:hover {
        background: #0dcaf0;
        transform: translateY(-3px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 40px;
    color: #b8c5db;
}

.footer-compliance {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

    .footer-compliance a {
        color: #0dcaf0;
        text-decoration: none;
    }

        .footer-compliance a:hover {
            text-decoration: underline;
        }

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-heading {
        font-size: 1rem;
    }

    .footer-social .social-icons {
        justify-content: center;
    }
}
.thank-you-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding-top: 60px;
}

.thank-you-content {
    background: white;
    padding: 60px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

    .success-checkmark .check-icon {
        width: 80px;
        height: 80px;
        position: relative;
        border-radius: 50%;
        box-sizing: content-box;
        border: 4px solid #4CAF50;
    }

        .success-checkmark .check-icon::before {
            top: 3px;
            left: -2px;
            width: 30px;
            transform-origin: 100% 50%;
            border-radius: 100px 0 0 100px;
        }

        .success-checkmark .check-icon::after {
            top: 0;
            left: 30px;
            width: 60px;
            transform-origin: 0 50%;
            border-radius: 0 100px 100px 0;
            animation: rotate-circle 4.25s ease-in;
        }

        .success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
            content: '';
            height: 100px;
            position: absolute;
            background: #FFFFFF;
            transform: rotate(-45deg);
        }

        .success-checkmark .check-icon .icon-line {
            height: 5px;
            background-color: #4CAF50;
            display: block;
            border-radius: 2px;
            position: absolute;
            z-index: 10;
        }

            .success-checkmark .check-icon .icon-line.line-tip {
                top: 46px;
                left: 14px;
                width: 25px;
                transform: rotate(45deg);
                animation: icon-line-tip 0.75s;
            }

            .success-checkmark .check-icon .icon-line.line-long {
                top: 38px;
                right: 8px;
                width: 47px;
                transform: rotate(-45deg);
                animation: icon-line-long 0.75s;
            }

        .success-checkmark .check-icon .icon-circle {
            top: -4px;
            left: -4px;
            z-index: 10;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            position: absolute;
            box-sizing: content-box;
            border: 4px solid rgba(76, 175, 80, .5);
        }

        .success-checkmark .check-icon .icon-fix {
            top: 8px;
            width: 5px;
            left: 26px;
            z-index: 1;
            height: 85px;
            position: absolute;
            transform: rotate(-45deg);
            background-color: #FFFFFF;
        }

@keyframes rotate-circle {
    0% {
        transform: rotate(-45deg);
    }

    5% {
        transform: rotate(-45deg);
    }

    12% {
        transform: rotate(-405deg);
    }

    100% {
        transform: rotate(-405deg);
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }

    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }

    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }

    100% {
        width: 25px;
        left: 14px;
        top: 45px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }

    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }

    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.feature-box {
    padding: 20px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

    .feature-box:hover {
        background: #e9ecef;
        transform: translateY(-5px);
    }

.cta-buttons .btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .thank-you-content {
        padding: 40px 20px;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
.legal-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.legal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.legal-header {
    border-bottom: 3px solid #0dcaf0;
    padding-bottom: 20px;
}

.legal-content h2 {
    color: #0b172a;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.75rem;
    font-weight: 600;
}

.legal-content h3 {
    color: #1e3a5f;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.25rem;
    font-weight: 500;
}

.legal-content p, .legal-content li {
    line-height: 1.8;
    color: #495057;
}

.legal-content ul {
    margin-left: 20px;
}

.legal-content a {
    color: #0dcaf0;
    text-decoration: none;
}

    .legal-content a:hover {
        text-decoration: underline;
    }

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #0dcaf0;
    text-decoration: none;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 20px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }
}