/* ====== FORM PENDAFTARAN ====== */
.registration-form-wrapper .form-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 2px;
}
.registration-form-wrapper {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

@media (min-width: 992px) {
    .registration-form-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 40px;
    }
}

.registration-form-wrapper .form-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f1f5f9;
}

.registration-form-wrapper .form-header .badge-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.registration-form-wrapper .form-header .badge-icon i {
    font-size: 28px;
    color: #fff;
}

.registration-form-wrapper .form-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.registration-form-wrapper .form-header p {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.registration-form-wrapper .form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.registration-form-wrapper .form-section-title::before {
    content: "";
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 2px;
}

.registration-form-wrapper .form-group {
    margin-bottom: 1.25rem;
}

.registration-form-wrapper .input-with-icon {
    position: relative;
}

.registration-form-wrapper .input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.2s ease;
}

.registration-form-wrapper .input-with-icon:focus-within i {
    color: #10b981;
}

.registration-form-wrapper .input-with-icon .form-control,
.registration-form-wrapper .input-with-icon select,
.registration-form-wrapper .input-with-icon textarea {
    padding-left: 44px;
    padding-right: 16px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #fff;
    font-size: 0.95rem;
    min-height: 48px;
    box-shadow: none;
    transition: all 0.3s ease;
    color: #374151;
}

.registration-form-wrapper .input-with-icon .form-control::placeholder {
    color: #9ca3af;
}

.registration-form-wrapper .input-with-icon .form-control:hover,
.registration-form-wrapper .input-with-icon select:hover,
.registration-form-wrapper .input-with-icon textarea:hover {
    border-color: #d1d5db;
}

.registration-form-wrapper .input-with-icon .form-control:focus,
.registration-form-wrapper .input-with-icon select:focus,
.registration-form-wrapper .input-with-icon textarea:focus {
    border-color: #10b981;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.registration-form-wrapper .input-with-icon textarea.form-control {
    min-height: 100px;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

/* Select dropdown styling */
.registration-form-wrapper .input-with-icon select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Submit Button */
.registration-form-wrapper .btn-submit {
    width: 100%;
    max-width: 300px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registration-form-wrapper .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.registration-form-wrapper .btn-submit:active {
    transform: translateY(0);
}

.registration-form-wrapper .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alert styling */
.registration-form-wrapper .alert-custom {
    border-radius: 12px;
    padding: 16px 20px;
    border: none;
    font-size: 0.95rem;
}

.registration-form-wrapper .alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.registration-form-wrapper .alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Closed notice */
.closed-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.closed-notice .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.closed-notice .icon i {
    font-size: 36px;
    color: #fff;
}

.closed-notice h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
}

.closed-notice p {
    color: #a16207;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Validation error styling */
.registration-form-wrapper .input-with-icon .form-control.is-invalid,
.registration-form-wrapper .input-with-icon select.is-invalid {
    border-color: #ef4444;
    background-image: none;
}

.registration-form-wrapper .invalid-feedback {
    display: block;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    padding-left: 44px;
}

@media (max-width: 768px) {
    .registration-form-wrapper {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .registration-form-wrapper .form-header h3 {
        font-size: 1.5rem;
    }

    .registration-form-wrapper .input-with-icon .form-control,
    .registration-form-wrapper .input-with-icon select,
    .registration-form-wrapper .input-with-icon textarea {
        font-size: 0.95rem;
        min-height: 44px;
        padding-left: 40px;
    }

    .registration-form-wrapper .input-with-icon i {
        left: 12px;
        font-size: 1rem;
    }

    .registration-form-wrapper .btn-submit {
        width: 100%;
        max-width: none;
    }

    .closed-notice {
        padding: 36px 24px;
    }

    .closed-notice .icon {
        width: 64px;
        height: 64px;
    }

    .closed-notice .icon i {
        font-size: 28px;
    }
}
/* Fonts */
:root {
    --default-font:
        "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Inter", sans-serif;
    --nav-font: "Inter", sans-serif;
}

html.theme-no-transition *,
html.theme-no-transition *::before,
html.theme-no-transition *::after {
    transition: none !important;
}

/* Force only lightweight color transitions during theme toggle to prevent lag */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
    transition: background-color 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out !important;
}

/* Global Colors - Light Mode */
:root {
    --background-color: #ffffff; /* White background */
    --default-color: #374151; /* Dark gray text */
    --heading-color: #1f2937; /* Darker gray for headings */
    --accent-color: #10b981; /* Green accent */
    --surface-color: #f8fafc; /* Light gray surface */
    --contrast-color: #ffffff; /* White contrast */
}

/* Dark Mode */
[data-bs-theme="dark"] {
    --background-color: #1f2937; /* Dark background */
    --default-color: #f9fafb; /* Light text */
    --heading-color: #f9fafb; /* Light headings */
    --accent-color: #34d399; /* Lighter green accent */
    --surface-color: #374151; /* Darker surface */
    --contrast-color: #1f2937; /* Dark contrast */
}

/* Nav Menu Colors - Light Mode */
:root {
    --nav-color: #374151; /* Dark text for nav */
    --nav-hover-color: #10b981; /* Green hover */
    --nav-mobile-background-color: #ffffff; /* White mobile background */
    --nav-dropdown-background-color: #ffffff; /* White dropdown */
    --nav-dropdown-color: #374151; /* Dark dropdown text */
    --nav-dropdown-hover-color: #10b981; /* Green dropdown hover */
}

/* Nav Menu Colors - Dark Mode */
[data-bs-theme="dark"] {
    --nav-color: #f9fafb; /* Light nav text */
    --nav-hover-color: #34d399; /* Light green hover */
    --nav-mobile-background-color: #1f2937; /* Dark mobile background */
    --nav-dropdown-background-color: #374151; /* Dark dropdown */
    --nav-dropdown-color: #f9fafb; /* Light dropdown text */
    --nav-dropdown-hover-color: #34d399; /* Light green dropdown hover */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the same color scheme. */

.light-background {
    --background-color: #f8fafc; /* Light gray background */
    --surface-color: #ffffff; /* White surface */
}

.dark-background {
    --background-color: #111827; /* Darker background */
    --default-color: #f9fafb; /* Light text */
    --heading-color: #f9fafb; /* Light headings */
    --surface-color: #1f2937; /* Dark surface */
    --contrast-color: #1f2937; /* Dark contrast */
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Container-fluid helper: ensure full-width sections keep inner padding */
.section .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .section .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
@media (min-width: 1200px) {
    .section .container-fluid {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* Keep section titles centered and constrained for readability */
.section .section-title {
    max-width: 1100px;
    margin: 0 auto 2rem;
    /* small padding on mobile to avoid touching screen edge */
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 768px) {
    .section .section-title {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
@media (min-width: 1200px) {
    .section .section-title {
        /* larger screens keep centered max-width without extra padding */
        padding-left: 0;
        padding-right: 0;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .header-container {
    background: var(--surface-color);
    border-radius: 50px;
    padding: 5px 25px 5px 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 36px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 10px;
    margin: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--heading-color);
}

.header .logo-divider .sitename {
    border-left: 2px solid var(--heading-color);
    padding-left: 10px;
}

[data-bs-theme="dark"] .header .logo-divider .sitename {
    border-left-color: #ffffff;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 0; /* padding khusus untuk tombol toggle */
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.1s ease;
    /* ukuran tetap agar ikon tidak mengubah ukuran tombol saat berganti ikon */
    min-width: 44px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header .btn-getstarted i {
    display: inline-block;
    width: 20px;
    text-align: center;
}

/* pastikan klik tidak memberi transformasi yang mengubah ukuran */
.header .btn-getstarted:active {
    transform: none;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.header .theme-switch-bootstrap {
    margin: 0 0 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header .theme-switch-bootstrap .form-check-input {
    cursor: pointer;
    width: 2.5em;
    margin-top: 0;
}

.header .theme-switch-bootstrap .theme-side-icon {
    color: color-mix(in srgb, var(--default-color), transparent 45%);
    font-size: 14px;
    line-height: 1;
    transition: color 0.2s ease;
}

.header .theme-switch-bootstrap .theme-side-icon.active {
    color: var(--accent-color);
}

@media (max-width: 1200px) {
    .header {
        padding-top: 10px;
    }

    .header .header-container {
        margin-left: 10px;
        margin-right: 10px;
        padding: 10px 5px 10px 15px;
    }

    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 10px 0 0;
        padding: 0;
        width: 44px;
        height: 38px;
    }

    .header .theme-switch-bootstrap {
        order: 2;
        margin: 0 10px 0 0;
        gap: 6px;
    }

    .header .navmenu {
        order: 3;
    }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
/* Footer Utama */
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 40px;
    position: relative;
}

/* Bagian Atas Footer */
.footer .footer-top {
    padding-top: 40px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}

/* Bagian Tentang di Footer */
.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 20px;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
    margin-bottom: 0;
}

/* Tautan Sosial Media */
.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Judul di Footer */
.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

/* Tautan di Footer */
.footer .footer-links {
    margin-bottom: 20px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

/* Kontak di Footer */
.footer .footer-contact p {
    margin-bottom: 5px;
}

/* Copyright di Footer */
.footer .copyright {
    padding: 20px 0;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

[data-bs-theme="dark"] .footer .copyright {
    background-color: #111827; /* Darker background for dark mode */
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/* Media Query untuk Mobile */
@media (max-width: 767px) {
    .footer .footer-top {
        padding-top: 30px;
    }

    .footer .footer-about .logo span {
        font-size: 24px;
    }

    .footer .social-links a {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-right: 8px;
    }

    .footer h4 {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .footer .footer-links ul li {
        padding: 6px 0;
    }

    .footer .footer-contact p {
        font-size: 13px;
    }

    .footer .copyright {
        padding: 15px 0;
    }
}

/* Preloader */
/* #preloader {
    background: #002147 url("../img/preloader.gif") no-repeat center center;

    height: 100%;
    left: 0;
    overflow: visible;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999;
} */
#preloader {
    position: fixed;
    top: 0; /* agar full layar */
    left: 0;
    width: 100%; /* agar full layar */
    height: 100%;
    background: #20472a; /* background putih */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
}

#preloader .gelombang {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 0px solid transparent;
    border-radius: 50%;
}

#preloader .gelombang:nth-child(1) {
    border-bottom: 8px solid cyan;
    animation: animasi1 2s linear infinite;
    filter: drop-shadow(0 0 10px cyan);
}

#preloader .gelombang:nth-child(2) {
    border-right: 8px solid lightpink;
    animation: animasi2 2s linear infinite;
    filter: drop-shadow(0 0 10px lightpink);
}

#preloader .gelombang:nth-child(3) {
    border-top: 8px solid lightgreen;
    animation: animasi3 2s linear infinite;
    filter: drop-shadow(0 0 10px lightgreen);
}

@keyframes animasi1 {
    0% {
        transform: rotateX(40deg) rotateY(-50deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(40deg) rotateY(-50deg) rotateZ(360deg);
    }
}

@keyframes animasi2 {
    0% {
        transform: rotateX(55deg) rotateY(15deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(55deg) rotateY(15deg) rotateZ(360deg);
    }
}

@keyframes animasi3 {
    0% {
        transform: rotateX(40deg) rotateY(60deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(40deg) rotateY(60deg) rotateZ(360deg);
    }
}

/* Tombol Scroll ke Atas */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
}

.page-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0px,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 10px
    );
    z-index: 1;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 40px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 20px;
    position: relative;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1.2;
    margin: 0 0 6px 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    position: relative;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 4px 10px;
}

.section-title div {
    color: var(--heading-color);
    margin: 2px 0 0;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--heading-font);
    line-height: 1.15;
}

/* Beri jarak kecil pada judul deskripsi (mis. "Ustadz & Ustadzah", "Kirim Pesan")
   agar tidak terlalu menempel pada navbar saat halaman dibuka */
.section-title .description-title {
    display: inline-block;
    margin-top: 0;
}

@media (max-width: 767px) {
    .section-title h2 {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .section-title div {
        font-size: 20px;
        margin-top: 0;
        line-height: 1.1;
    }

    .section-title .description-title {
        margin-top: 0;
    }
}

/*--------------------------------------------------------------
# home Section
--------------------------------------------------------------*/
.home {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 100px 0;
}

.home::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
    z-index: 1;
}

.home .container,
.home .container-fluid {
    position: relative;
    z-index: 2;
}

.home .content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 3rem;
}

@media (max-width: 991px) {
    .home .content-col {
        padding-right: 15px;
        margin-bottom: 3rem;
    }
}

.home .agency-name {
    margin-bottom: 1.5rem;
}

.home .agency-name h5 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff; /* Putih tetap */
    margin: 0;
}

.home .main-heading {
    margin-bottom: 2rem;
}

.home .main-heading h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #ffffff; /* Putih tetap */
    margin: 0;
}

@media (max-width: 1200px) {
    .home .main-heading h1 {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .home .main-heading h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .home .main-heading h1 {
        font-size: 2.5rem;
    }
}

.home .divider {
    width: 60%;
    height: 1px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .home .divider {
        width: 100%;
    }
}

.home .description {
    margin-bottom: 2.5rem;
}

.home .description p {
    font-size: 1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0;
}

.home .cta-button .btn {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.home .cta-button .btn span {
    margin-right: 0.5rem;
}

.home .cta-button .btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.home .cta-button .btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.home .cta-button .btn:hover i {
    transform: translateX(5px);
}

.home .visual-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .home .visual-content {
        flex-direction: column;
    }
}

.home .fluid-shape {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.home .fluid-shape .fluid-img {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.home .stats-card {
    position: absolute;
    bottom: 10%;
    right: 0;
    background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
    backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 10px;
    padding: 1.5rem;
    width: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .home .stats-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 2rem;
        width: 90%;
    }
}

.home .stats-card .stats-number h2 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.home .stats-card .stats-label {
    margin-top: 0.5rem;
}

.home .stats-card .stats-label p {
    font-size: 0.9rem;
    margin: 0;
}

.home .stats-card .stats-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.home .stats-card .stats-arrow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    border-radius: 50%;
    color: var(--contrast-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.home .stats-card .stats-arrow a:hover {
    transform: translateY(-3px);
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding-top: 60px;
    padding-bottom: 60px;
    border: none !important; /* Menghapus border jika ada */
    outline: none !important; /* Menghapus outline jika ada */
    overflow: hidden; /* Mencegah konten meluber */
}

.about .about-image {
    border-radius: 8px;
    overflow: visible; /* izinkan awan melebihi gambar */
    /* Batasi tinggi agar tidak terlalu besar dibandingkan konten teks */
    max-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* hilangkan kotak berwarna */
}

.about .about-image img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.about .about-image .experience-badge {
    position: absolute;
    bottom: 0; /* posisikan di bagian bawah gambar untuk menutup area bawah */
    left: 50%;
    transform: translateX(-50%);
    background: none; /* menggunakan SVG sebagai latar */
    color: var(--heading-color);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    width: 60%;
    max-width: 320px;
    height: auto;
    border: none;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* gaya SVG latar awan */
.about .about-image .experience-badge .experience-cloud {
    position: absolute;
    top: -25%; /* naik agar awan melebihi bagian bawah gambar */
    left: -45%;
    width: 190%; /* buat awan lebih besar agar melebihi gambar */
    height: 180%;
    z-index: 0;
    opacity: 0.98; /* sedikit transparansi agar tidak terlalu menonjol */
}

.about .about-image .experience-badge .experience-text {
    position: relative;
    z-index: 1;
    color: var(--heading-color);
    padding: 10px 8px;
}

.about .about-image .experience-badge .years {
    font-size: 1.8rem; /* ukuran teks disesuaikan agar terbaca pada awan */
    font-weight: 700;
    display: block;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about .about-image {
        max-height: none; /* biarkan tinggi konten menyesuaikan di mobile */
    }

    .about .about-image .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 90%;
        max-width: 260px;
        height: auto;
    }

    .about .about-image .experience-badge .years {
        font-size: 1.2rem;
    }

    /* Override awan untuk mobile agar tetap sedikit melebihi gambar */
    .about .about-image .experience-badge .experience-cloud {
        top: -30%;
        left: -40%;
        width: 200%;
        height: 200%;
    }
}

.about .about-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .about .about-content h2 {
        font-size: 1.5rem;
    }
    /* Kurangi ukuran teks sambutan agar tidak terlalu besar di mobile */
    .about .about-content .lead {
        font-size: 0.95rem;
    }
}

.about .about-content .lead {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

/* Perbesar sedikit teks sambutan di desktop tanpa mengubah mobile */
@media (min-width: 992px) {
    .about .about-content .sambutan-content {
        font-size: 1.125rem; /* sedikit lebih besar pada desktop */
        line-height: 1.7;
    }
}

.about .about-content p {
    margin-bottom: 1rem;
}

.about .about-content .feature-item {
    padding: 1.25rem;
    background-color: var(--surface-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.about .about-content .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about .about-content .feature-item i {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: block;
}

.about .about-content .feature-item h5 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.about .about-content .feature-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about .about-content .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    color: var(--contrast-color);
}

.about .about-content .btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
    border-color: color-mix(in srgb, var(--accent-color), black 10%);
}

.about .testimonial-section {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 60px 0;
    background-color: var(--background-color);
    min-height: 400px; /* Ensure minimum height */
    display: block !important; /* Force display */
    visibility: visible !important; /* Force visibility */
}

.about .testimonial-section .testimonial-intro h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.about .testimonial-section .testimonial-intro p {
    margin-bottom: 1.5rem;
}

.about .testimonial-section .testimonial-intro .swiper-nav-buttons {
    display: flex;
    gap: 10px;
}

.about .testimonial-section .testimonial-intro .swiper-nav-buttons button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.about
    .testimonial-section
    .testimonial-intro
    .swiper-nav-buttons
    button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.about .testimonial-section .testimonial-intro .swiper-nav-buttons button i {
    font-size: 1.25rem;
}

/* Specific styling for slider navigation buttons */
.about .testimonial-section .testimonial-intro .slider-prev,
.about .testimonial-section .testimonial-intro .slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--surface-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--default-color);
}

.about .testimonial-section .testimonial-intro .slider-prev:hover,
.about .testimonial-section .testimonial-intro .slider-next:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    transform: scale(1.05);
}

.about .testimonial-section .testimonial-intro .slider-prev i,
.about .testimonial-section .testimonial-intro .slider-next i {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .about .testimonial-section .testimonial-intro .swiper-nav-buttons {
        margin-bottom: 16px;
    }
}

.about .testimonial-section .testimonial-slider {
    overflow: hidden;
    min-height: 300px; /* Ensure minimum height */
}

.about .testimonial-section .testimonial-slider .swiper-wrapper {
    height: auto !important;
    display: flex;
}

.about .testimonial-section .testimonial-slider .swiper-slide {
    height: 100%;
}

.about .testimonial-section .testimonial-item {
    background-color: var(--surface-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
}

.about .testimonial-section .testimonial-item .rating {
    color: #ffc107;
    font-size: 1rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.about .testimonial-section .testimonial-item p {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;

    -webkit-box-orient: vertical;
    margin-bottom: 1rem;
}

.about .testimonial-section .testimonial-item .client-info {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.about .testimonial-section .testimonial-item .client-info .client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.about .testimonial-section .testimonial-item .client-info h6 {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.about .testimonial-section .testimonial-item .client-info span {
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Penyesuaian responsif */
@media (max-width: 768px) {
    .about .testimonial-section .testimonial-item {
        height: 300px;
    }

    .about .testimonial-section .testimonial-item p {
        font-size: 0.9rem;
    }
}

/* Penyesuaian untuk slidesPerView: 2 */
@media (min-width: 768px) {
    .about .testimonial-section .testimonial-slider .swiper-slide {
        width: calc(50% - 15px);
        margin-right: 15px; /* Tambah margin antar slide */
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-header {
    margin-bottom: 60px;
}

.services .service-header .service-intro .service-heading {
    font-size: 48px;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading-color);
}

.services .service-header .service-intro .service-heading div {
    display: block;
    position: relative;
}

.services .service-header .service-intro .service-heading span {
    display: block;
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .services .service-header .service-intro .service-heading {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .services .service-header .service-intro .service-heading {
        font-size: 30px;
        margin-bottom: 20px;
    }
}

.services .service-header .service-summary p {
    margin-bottom: 25px;
    color: var(--default-color);
}

.services .service-header .service-summary .service-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.services .service-header .service-summary .service-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.services .service-header .service-summary .service-btn:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    color: var(--contrast-color);
}

.services .service-header .service-summary .service-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .services .service-header .service-summary {
        margin-top: 30px;
    }
}

.services .service-card {
    padding: 40px 40px 40px 40px;
    margin-bottom: 30px;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease;
}

.services .service-card .service-icon {
    margin-bottom: 25px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    width: 64px;
    height: 64px;
}

.services .service-card .service-icon i {
    font-size: 32px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.services .service-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.services .service-card h3 a {
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.services .service-card h3 a span {
    display: block;
}

.services .service-card h3 a:hover {
    color: var(--accent-color);
}

.services .service-card p {
    color: var(--default-color);
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.services .service-card .card-action {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.services .service-card .card-action i {
    font-size: 24px;
    color: var(--contrast-color);
    transition: transform 0.3s ease;
}

.services .service-card .card-action:hover i {
    transform: rotate(45deg);
}

.services .service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--surface-color);
    clip-path: none;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.services .service-card:hover {
    border-color: transparent;
}

.services .service-card:hover::before {
    opacity: 1;
    visibility: visible;
    background-color: var(--surface-color);
}

.services .service-card:hover h3 a {
    color: var(--accent-color);
}

.services .service-card:hover h3 a:hover {
    color: var(--accent-color);
}

.services .service-card:hover p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.services .service-card:hover .card-action {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services .service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* ----- Animasi garis / border di bagian bawah kartu (hover & saat ditekan) ----- */
.services .service-card::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-color),
        transparent
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.36s cubic-bezier(0.22, 0.8, 0.26, 1);
    border-radius: 4px;
    z-index: 2;
    opacity: 0.95;
}

.services .service-card:hover::after,
.services .service-card:focus-visible::after {
    transform: scaleX(1);
} /* Catatan: efek tekan via JS dihapus; garis hanya muncul saat hover/focus-visible. */

@media (max-width: 768px) {
    .services .service-card {
        padding: 150px 25px 25px;
    }

    .services .service-card h3 {
        font-size: 24px;
    }

    .services .service-card .service-icon {
        position: absolute;
        top: 40px;
        left: 25px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 70px 0 50px;
    }
}

/*--------------------------------------------------------------
# Steps Section
--------------------------------------------------------------*/
.steps .steps-wrapper {
    position: relative;
    padding: 20px 0;
}

.steps .steps-wrapper::before {
    content: "";
    position: absolute;
    width: 2px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.steps .step-item {
    margin-bottom: 50px;
    width: 100%;
    position: relative;
}

.steps .step-item:last-child {
    margin-bottom: 0;
}

.steps .step-item:nth-child(even) .step-content {
    flex-direction: row-reverse;
}

.steps .step-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.steps .step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: var(--surface-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 85%);
    transition: all 0.3s ease-in-out;
}

.steps .step-icon i {
    font-size: 32px;
    color: var(--accent-color);
    transition: transform 0.3s ease-in-out;
}

.steps .step-info {
    flex: 1;
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.steps .step-info:hover {
    transform: translateY(-5px);
}

.steps .step-number {
    display: inline-block;
    font-family: var(--heading-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.steps h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--heading-color);
}

.steps p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .steps .steps-wrapper::before {
        left: 25px;
    }

    .steps .step-item .step-content {
        flex-direction: row !important;
    }

    .steps .step-icon {
        width: 60px;
        height: 60px;
    }

    .steps .step-icon i {
        font-size: 24px;
    }

    .steps .step-info {
        padding: 20px;
    }

    .steps h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .steps .step-content {
        gap: 20px;
    }

    .steps .step-icon {
        width: 50px;
        height: 50px;
    }

    .steps .step-icon i {
        font-size: 20px;
    }

    .steps .step-info {
        padding: 15px;
    }

    .steps h3 {
        font-size: 1.2rem;
    }

    .steps p {
        font-size: 0.95rem;
    }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding-top: 80px;
    position: relative;
    background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
    border-radius: 1rem;
    overflow: hidden;
    padding-bottom: 80px;
}

.call-to-action .badge {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
}

.call-to-action h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.call-to-action p {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

.call-to-action .features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.call-to-action .features .feature-item:hover {
    transform: translateY(-2px);
}

.call-to-action .features .feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.call-to-action .features .feature-item span {
    font-weight: 500;
}

.call-to-action .cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.call-to-action .cta-buttons .btn.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.call-to-action .cta-buttons .btn.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

.call-to-action .cta-buttons .btn.btn-outline {
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--accent-color);
}

.call-to-action .cta-buttons .btn.btn-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.call-to-action .content-right {
    flex-shrink: 0;
    max-width: 100%;
    width: 450px;
}

.call-to-action .content-right img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.call-to-action .content-right .floating-card {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.call-to-action .content-right .floating-card .card-icon {
    width: 3rem;
    height: 3rem;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-to-action .content-right .floating-card .card-icon i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.call-to-action .content-right .floating-card .card-content {
    display: flex;
    flex-direction: column;
}

.call-to-action .content-right .floating-card .card-content .stats-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.call-to-action .content-right .floating-card .card-content .stats-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.call-to-action .decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.call-to-action .decoration .circle-1,
.call-to-action .decoration .circle-2 {
    position: absolute;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.call-to-action .decoration .circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    opacity: 0.5;
}

.call-to-action .decoration .circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

@media (max-width: 991.98px) {
    .call-to-action {
        padding: 2rem;
    }

    .call-to-action .content-right {
        width: 100%;
        margin-top: 2rem;
    }

    .call-to-action .content-right .floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -3rem;
        margin-right: 1rem;
        z-index: 1;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-slider {
    width: 100%;
    position: relative;
    padding-bottom: 60px;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .testimonial-item {
    background-color: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
}

@media (max-width: 575px) {
    .testimonials .testimonial-item {
        padding: 20px;
    }
}

.testimonials .testimonial-item h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.testimonials .testimonial-item p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonials .testimonial-item .profile {
    gap: 15px;
}

.testimonials .testimonial-item .profile .profile-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials .testimonial-item .profile .profile-info h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.testimonials .testimonial-item .profile .profile-info span {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color) 70%, transparent);
}

.testimonials .testimonial-item .featured-img-wrapper {
    min-height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.testimonials .testimonial-item .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonials .swiper-navigation {
    position: absolute;
    bottom: 0;
    gap: 10px;
}

.testimonials .swiper-button-prev,
.testimonials .swiper-button-next {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin: 0;
    width: 44px;
    height: 44px;
    background-color: var(--surface-color);
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
    transition: 0.3s;
}

.testimonials .swiper-button-prev::after,
.testimonials .swiper-button-next::after {
    font-size: 20px;
    color: var(--default-color);
}

.testimonials .swiper-button-prev:hover,
.testimonials .swiper-button-next:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.testimonials .swiper-button-prev:hover::after,
.testimonials .swiper-button-next:hover::after {
    color: var(--contrast-color);
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0 0 40px;
    list-style: none;
}

.portfolio .portfolio-filters li {
    font-size: 15px;
    font-weight: 500;
    padding: 12px 25px;
    cursor: pointer;
    background: var(--surface-color);
    color: var(--default-color);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.portfolio .portfolio-filters li i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.portfolio .portfolio-filters li:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.portfolio .portfolio-filters li:hover i {
    transform: scale(1.1);
}

.portfolio .portfolio-filters li.filter-active {
    background: var(--accent-color);
    color: var(--contrast-color);
}

@media (max-width: 768px) {
    .portfolio .portfolio-filters {
        gap: 10px;
    }

    .portfolio .portfolio-filters li {
        padding: 8px 20px;
        font-size: 14px;
    }
}

.portfolio .portfolio-entry {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.portfolio .portfolio-entry .entry-image {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.portfolio .portfolio-entry .entry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column; /* Mengatur arah flex menjadi kolom */
    align-items: center; /* Tengah secara horizontal */
    justify-content: center; /* Tengah secara vertikal */
    padding: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-meta {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
    color: var(--contrast-color);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
    text-align: center; /* Menjaga teks tetap di tengah */
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links {
    display: flex;
    justify-content: center; /* Tengahakan elemen zoom secara horizontal */
    gap: 15px;
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-color);
    color: var(--accent-color);
    border-radius: 12px;
    font-size: 20px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.portfolio
    .portfolio-entry
    .entry-image
    .entry-overlay
    .entry-links
    a:nth-child(1) {
    transition-delay: 0.1s;
}

.portfolio
    .portfolio-entry
    .entry-image
    .entry-overlay
    .entry-links
    a:nth-child(2) {
    transition-delay: 0.2s;
}

.portfolio .portfolio-entry:hover .entry-image img {
    transform: scale(1.05);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay .overlay-content {
    transform: translateY(0);
}

.portfolio .portfolio-entry:hover .entry-image .entry-overlay .entry-links a {
    opacity: 1;
    transform: translateY(0);
}

/* Hide overlay title so the image overlay doesn't duplicate the card title */
.portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
    display: none !important;
}

/* Hide overlay action icons (eye/zoom) only on berita (news) section so gallery keeps zoom icon */
#berita .portfolio-entry .entry-image .entry-overlay .entry-links {
    display: none !important;
}

/* News title: black in light mode, white in dark mode; hover only affects decoration/position */
.portfolio-info a.news-title,
.portfolio-info h4 a.news-title,
.news-title {
    color: #0f1724 !important; /* dark text for light mode */
}

[data-bs-theme="dark"] .portfolio-info a.news-title,
[data-bs-theme="dark"] .portfolio-info h4 a.news-title,
[data-bs-theme="dark"] .news-title {
    color: #ffffff !important; /* white for dark mode */
}

.news-title {
    transition: all 0.18s ease;
    /* keep subtle shadow only for light mode readability if desired */
}

/* Make news title blue on hover in light mode */
.portfolio-info a.news-title:hover,
.portfolio-info h4 a.news-title:hover,
.news-title:hover {
    color: #2563eb !important;
    text-decoration: underline;
    transform: translateY(-3px);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

/* Dark mode: use lighter blue for visibility */
[data-bs-theme="dark"] .portfolio-info a.news-title:hover,
[data-bs-theme="dark"] .portfolio-info h4 a.news-title:hover,
[data-bs-theme="dark"] .news-title:hover {
    color: #93c5fd !important; /* light blue */
    text-decoration: underline;
    transform: translateY(-3px);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

@media (max-width: 768px) {
    .portfolio .portfolio-entry .entry-image .entry-overlay {
        padding: 20px;
    }

    .portfolio .portfolio-entry .entry-image .entry-overlay .entry-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .portfolio .portfolio-entry .entry-image .entry-overlay .entry-links a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

.portfolio .portfolio-item .entry-image {
    aspect-ratio: 4/3;
}

@media (min-width: 1200px) {
    .portfolio .portfolio-item .entry-title {
        font-size: 20px;
    }
}

@media (min-width: 768px) {
    .portfolio .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (min-width: 992px) {
    .portfolio .row {
        margin-left: -12px;
        margin-right: -12px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 1200px) {
    .portfolio .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    .portfolio .row .portfolio-item {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1200px) {
    .portfolio .entry-overlay {
        padding: 25px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .portfolio .entry-overlay {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .portfolio .entry-overlay {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
    position: relative;
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 8px;
    transition: 0.3s;
}

.team .team-member:hover {
    border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.team .team-member .member-img {
    flex: 0 0 200px;
    overflow: hidden;
}

.team .team-member .member-img img {
    width: 200px;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.team .team-member .member-info {
    padding: 25px;
    text-align: left;
}

.team .team-member .member-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.team .team-member .member-info span {
    font-size: 0.9rem;
    font-weight: 400;
    color: color-mix(in srgb, var(--heading-color), transparent 30%);
    display: block;
    margin-bottom: 15px;
}

.team .team-member .member-info p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info .social {
    display: flex;
    gap: 10px;
}

.team .team-member .member-info .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    color: var(--heading-color);
    transition: 0.3s;
    border-radius: 4px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.team .team-member .member-info .social a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

@media (max-width: 767px) {
    .team .team-member {
        flex-direction: column;
    }

    .team .team-member .member-img {
        flex: auto;
    }

    .team .team-member .member-img img {
        width: 100%;
        border-radius: 8px 8px 0 0;
    }

    .team .team-member .member-info {
        text-align: center;
    }

    .team .team-member .member-info .social {
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# biaya Section
--------------------------------------------------------------*/
.biaya {
    --card-border-radius: 20px;
}

.biaya .row {
    justify-content: center;
}

.biaya .biaya-card {
    height: 100%;
    background: var(--surface-color);
    border-radius: var(--card-border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    transition: all 0.4s;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.biaya .biaya-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
/* Hover animation accents for biaya cards */
.biaya .biaya-card .plan-icon,
.biaya .biaya-card .plan-biaya .amount {
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}
.biaya .biaya-card:hover .plan-icon {
    transform: scale(1.06) rotate(2deg);
}
.biaya .biaya-card:hover .plan-biaya .amount {
    transform: translateY(-2px);
}

.biaya .biaya-card.popular {
    border: 2px solid var(--accent-color);
}

.biaya .biaya-card.popular .plan-cta .btn-plan {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.biaya .biaya-card.popular .plan-cta .btn-plan:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.biaya .biaya-card .popular-tag {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 40px;
    transform: rotate(45deg);
}

.biaya .plan-header {
    padding: 30px 30px 20px;
    text-align: center;
}

.biaya .plan-header .plan-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.biaya .plan-header .plan-icon i {
    font-size: 28px;
    color: var(--accent-color);
}

.biaya .plan-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.biaya .plan-header p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.biaya .plan-biaya {
    text-align: center;
    padding: 10px 30px 20px;
    position: relative;
}

.biaya .plan-biaya .currency {
    font-size: 24px;
    vertical-align: top;
    line-height: 1;
    color: var(--heading-color);
    font-weight: 600;
}

.biaya .plan-biaya .amount {
    font-size: 60px;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1;
}

.biaya .plan-biaya .period {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.biaya .plan-features {
    padding: 20px 30px;
    flex: 1;
}

.biaya .plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.biaya .plan-features h5 {
    font-size: 1.1rem;
}
.biaya .plan-features ul li {
    padding: 12px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.biaya .plan-features ul li.disabled {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.biaya .plan-features ul li i {
    font-size: 18px;
}

.biaya .plan-features ul li i.bi-check-circle-fill {
    color: var(--accent-color);
}

.biaya .plan-features ul li i.bi-x-circle-fill {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.biaya .plan-cta {
    padding: 10px 30px 30px;
    text-align: center;
}

.biaya .plan-cta .btn-plan {
    display: inline-block;
    width: 100%;
    padding: 14px 32px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    color: var(--default-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.biaya .plan-cta .btn-plan:hover {
    background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 992px) {
    .biaya .biaya-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .biaya .plan-biaya .amount {
        font-size: 48px;
    }

    .biaya .plan-header {
        padding: 25px 20px 15px;
    }

    .biaya .plan-features,
    .biaya .plan-biaya,
    .biaya .plan-cta {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.faq .faq-description {
    font-size: 1rem;
    color: var(--default-color);
    margin-bottom: 2rem;
}

.faq .faq-arrow {
    color: var(--accent-color);
}

.faq .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq .faq-container .faq-item h3 .num {
    color: var(--accent-color);
    padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-info-box {
    background-color: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 25px;
    height: 100%;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact .contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-box .icon-box {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact .contact-info-box .icon-box i {
    font-size: 24px;
}

.contact .contact-info-box .info-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact .contact-info-box .info-content p {
    margin-bottom: 5px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 15px;
    line-height: 1.5;
}

.contact .contact-info-box .info-content p:last-child {
    margin-bottom: 0;
}

.contact .map-section {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact .map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact .form-container-overlap {
    position: relative;
    margin-top: -150px;
    margin-bottom: 60px;
    z-index: 10;
}

.contact .contact-form-wrapper {
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.contact .contact-form-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.contact .contact-form-wrapper h2:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
}

.contact .contact-form-wrapper .form-group {
    margin-bottom: 20px;
}

.contact .contact-form-wrapper .form-group .input-with-icon {
    position: relative;
}

.contact .contact-form-wrapper .form-group .input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 18px;
    z-index: 10;
}

.contact .contact-form-wrapper .form-group .input-with-icon i.message-icon {
    top: 28px;
}

.contact .contact-form-wrapper .form-group .input-with-icon textarea + i {
    top: 25px;
    transform: none;
}

.contact .contact-form-wrapper .form-group .input-with-icon .form-control {
    border-radius: 8px;
    padding: 12px 15px 12px 45px;
    height: 3.5rem;
    color: var(--default-color);
    background-color: var(--surface-color);
    font-size: 15px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact
    .contact-form-wrapper
    .form-group
    .input-with-icon
    .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem
        color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact
    .contact-form-wrapper
    .form-group
    .input-with-icon
    .form-control::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact
    .contact-form-wrapper
    .form-group
    .input-with-icon
    textarea.form-control {
    height: 180px;
    resize: none;
    padding-top: 15px;
}

.contact .contact-form-wrapper .btn-submit {
    background-color: var(--accent-color);
    border: none;
    color: var(--contrast-color);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px
        color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .contact-form-wrapper .btn-submit:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px
        color-mix(in srgb, var(--accent-color), transparent 60%);
}

.contact .contact-form-wrapper .btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px
        color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .contact-form-wrapper .loading,
.contact .contact-form-wrapper .error-message,
.contact .contact-form-wrapper .sent-message {
    margin-top: 10px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .contact .form-container-overlap {
        margin-top: -120px;
    }

    .contact .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact .contact-info-box {
        margin-bottom: 20px;
    }

    .contact .form-container-overlap {
        margin-top: -100px;
    }

    .contact .contact-form-wrapper {
        padding: 25px;
    }

    .contact .contact-form-wrapper h2 {
        font-size: 24px;
    }

    .contact .map-section {
        height: 450px;
    }
}

@media (max-width: 576px) {
    .contact .form-container-overlap {
        margin-top: -80px;
    }

    .contact .contact-form-wrapper {
        padding: 20px;
    }

    .contact .btn-submit {
        width: 100%;
    }

    .contact .map-section {
        height: 400px;
    }
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
    --section-spacing: 2.5rem;
}

.portfolio-details .portfolio-details-media {
    position: relative;
}

.portfolio-details .portfolio-details-media .main-image {
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider {
    position: relative;
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-wrapper {
    height: auto !important;
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-slide
    img {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-next,
.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-prev {
    background-color: var(--contrast-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-next:after,
.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-prev:after {
    font-size: 16px;
    color: var(--accent-color);
    font-weight: bold;
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-next:hover,
.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-prev:hover {
    background-color: var(--accent-color);
}

.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-next:hover:after,
.portfolio-details
    .portfolio-details-media
    .main-image
    .portfolio-details-slider
    .swiper-button-prev:hover:after {
    color: var(--contrast-color);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img {
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.portfolio-details .portfolio-details-media .thumbnail-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-media .tech-stack-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    background-color: color-mix(in srgb, var(--heading-color), transparent 85%);
    color: var(--heading-color);
    transition: all 0.3s ease;
}

.portfolio-details .portfolio-details-media .tech-stack-badges span:hover {
    background-color: color-mix(in srgb, var(--heading-color), transparent 70%);
    transform: translateY(-2px);
}

.portfolio-details .portfolio-details-content {
    padding: 0 0 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-details .portfolio-details-content .project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.portfolio-details
    .portfolio-details-content
    .project-meta
    .badge-wrapper
    .project-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
}

.portfolio-details .portfolio-details-content .project-meta .date-client {
    display: flex;
    gap: 1.5rem;
}

.portfolio-details
    .portfolio-details-content
    .project-meta
    .date-client
    .meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.portfolio-details
    .portfolio-details-content
    .project-meta
    .date-client
    .meta-item
    i {
    margin-right: 6px;
    color: var(--accent-color);
}

.portfolio-details .portfolio-details-content .project-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--heading-color);
}

.portfolio-details .portfolio-details-content .project-website {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.portfolio-details .portfolio-details-content .project-website i {
    font-size: 22px;
    color: var(--accent-color);
    margin-right: 8px;
}

.portfolio-details .portfolio-details-content .project-website a {
    font-weight: 500;
    transition: all 0.3s;
}

.portfolio-details .portfolio-details-content .project-website a:hover {
    letter-spacing: 0.5px;
}

.portfolio-details .portfolio-details-content .project-overview {
    margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-overview .lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    margin-bottom: 1.5rem;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item {
    border: none;
    background: none;
    margin-bottom: 10px;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-header
    .accordion-button {
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--heading-color);
    background-color: color-mix(in srgb, var(--surface-color), transparent 70%);
    border-radius: 8px !important;
    box-shadow: none;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-header
    .accordion-button:not(.collapsed) {
    background-color: var(--surface-color);
    color: var(--accent-color);
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-header
    .accordion-button:not(.collapsed)
    i {
    color: var(--accent-color);
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-header
    .accordion-button::after {
    background-size: 14px;
    width: 14px;
    height: 14px;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-header
    .accordion-button
    i {
    font-size: 1.1rem;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-body {
    padding: 1rem;
    background-color: var(--surface-color);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.portfolio-details
    .portfolio-details-content
    .project-overview
    .project-accordion
    .accordion-item
    .accordion-body
    p {
    margin-bottom: 0;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    line-height: 1.6;
}

.portfolio-details .portfolio-details-content .project-features {
    margin-bottom: var(--section-spacing);
}

.portfolio-details .portfolio-details-content .project-features h3 {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}

.portfolio-details .portfolio-details-content .project-features h3 i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .project-features .feature-list {
    list-style: none;
    padding-left: 0;
}

.portfolio-details
    .portfolio-details-content
    .project-features
    .feature-list
    li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.portfolio-details
    .portfolio-details-content
    .project-features
    .feature-list
    li
    i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.1em;
}

.portfolio-details .portfolio-details-content .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-view-project {
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.portfolio-details
    .portfolio-details-content
    .cta-buttons
    .btn-view-project:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 15%);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project {
    padding: 12px 28px;
    background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
    color: var(--heading-color);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portfolio-details .portfolio-details-content .cta-buttons .btn-next-project i {
    transition: transform 0.3s ease;
}

.portfolio-details
    .portfolio-details-content
    .cta-buttons
    .btn-next-project:hover {
    background-color: color-mix(in srgb, var(--heading-color), transparent 80%);
}

.portfolio-details
    .portfolio-details-content
    .cta-buttons
    .btn-next-project:hover
    i {
    transform: translateX(3px);
}

@media (max-width: 1199.98px) {
    .portfolio-details .portfolio-details-content {
        padding-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .portfolio-details .portfolio-details-content {
        padding: 2rem 0 0 0;
    }

    .portfolio-details .portfolio-details-content .cta-buttons {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .portfolio-details .project-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .portfolio-details .project-meta .date-client {
        flex-direction: column;
        gap: 0.5rem;
    }

    .portfolio-details .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .portfolio-details .cta-buttons a {
        width: 100%;
        text-align: center;
    }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .swiper-wrapper {
    height: auto !important;
}

.service-details .service-header {
    margin-bottom: 40px;
}

.service-details .service-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.service-details .service-header h1:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

.service-details .service-header .service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    margin-top: 25px;
}

.service-details .service-header .service-meta span {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details .service-header .service-meta span i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 16px;
}

.service-details .service-header .lead {
    font-size: 18px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-tabs {
    margin-bottom: 50px;
}

.service-details .service-tabs .nav-tabs {
    border-bottom: 2px solid
        color-mix(in srgb, var(--heading-color), transparent 90%);
    margin-bottom: 30px;
}

.service-details .service-tabs .nav-tabs .nav-item {
    margin-right: 5px;
}

.service-details .service-tabs .nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    font-weight: 600;
    color: color-mix(in srgb, var(--heading-color), transparent 30%);
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.service-details .service-tabs .nav-tabs .nav-link i {
    margin-right: 8px;
    font-size: 18px;
}

.service-details .service-tabs .nav-tabs .nav-link:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.service-details .service-tabs .nav-tabs .nav-link:hover {
    color: var(--heading-color);
    background-color: transparent;
}

.service-details .service-tabs .nav-tabs .nav-link:hover:after {
    width: 30%;
}

.service-details .service-tabs .nav-tabs .nav-link.active {
    color: var(--accent-color);
    background-color: transparent;
}

.service-details .service-tabs .nav-tabs .nav-link.active:after {
    width: 100%;
}

.service-details .service-tabs .tab-content .content-block h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-details .service-tabs .tab-content .content-block p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 15px;
    line-height: 1.7;
}

.service-details .service-tabs .tab-content img {
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-details .service-tabs .tab-content .process-timeline {
    position: relative;
    padding-left: 30px;
}

.service-details .service-tabs .tab-content .process-timeline:before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 15px;
    width: 2px;
    background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.service-details .service-tabs .tab-content .process-timeline .timeline-item {
    position: relative;
    padding-bottom: 35px;
}

.service-details
    .service-tabs
    .tab-content
    .process-timeline
    .timeline-item:last-child {
    padding-bottom: 0;
}

.service-details
    .service-tabs
    .tab-content
    .process-timeline
    .timeline-item
    .timeline-marker {
    position: absolute;
    left: -30px;
    top: -5px;
    width: 32px;
    height: 32px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.service-details
    .service-tabs
    .tab-content
    .process-timeline
    .timeline-item
    .timeline-content {
    padding-left: 10px;
}

.service-details
    .service-tabs
    .tab-content
    .process-timeline
    .timeline-item
    .timeline-content
    h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-details
    .service-tabs
    .tab-content
    .process-timeline
    .timeline-item
    .timeline-content
    p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.6;
}

.service-details .service-tabs .tab-content .benefit-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.service-details .service-tabs .tab-content .benefit-card:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.service-details .service-tabs .tab-content .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-details .service-tabs .tab-content .benefit-card:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-details .service-tabs .tab-content .benefit-card:hover .benefit-icon {
    transform: rotateY(180deg);
    background-color: var(--accent-color);
}

.service-details
    .service-tabs
    .tab-content
    .benefit-card:hover
    .benefit-icon
    i {
    color: var(--contrast-color);
}

.service-details .service-tabs .tab-content .benefit-card .benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.service-details .service-tabs .tab-content .benefit-card .benefit-icon i {
    font-size: 28px;
    color: var(--accent-color);
    transition: all 0.5s ease;
}

.service-details .service-tabs .tab-content .benefit-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-details .service-tabs .tab-content .benefit-card p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 0;
}

.service-details .service-gallery h3 {
    font-size: 26px;
    margin-bottom: 25px;
    font-weight: 700;
}

.service-details .service-gallery .service-details-slider {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.service-details .service-gallery .service-details-slider .portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-details
    .service-gallery
    .service-details-slider
    .portfolio-item:hover
    .portfolio-info {
    opacity: 1;
    transform: translateY(0);
}

.service-details .service-gallery .service-details-slider .portfolio-item img {
    border-radius: 12px;
    transition: all 0.4s ease;
}

.service-details
    .service-gallery
    .service-details-slider
    .portfolio-item
    .portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    padding: 30px 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.service-details
    .service-gallery
    .service-details-slider
    .portfolio-item
    .portfolio-info
    h5 {
    color: var(--contrast-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.service-details
    .service-gallery
    .service-details-slider
    .portfolio-item
    .portfolio-info
    p {
    color: color-mix(in srgb, var(--contrast-color), transparent 20%);
    margin: 0;
    font-size: 14px;
}

.service-details .service-gallery .service-details-slider .swiper-pagination {
    padding-top: 5px;
    bottom: 0;
}

.service-details
    .service-gallery
    .service-details-slider
    .swiper-pagination
    .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    opacity: 1;
}

.service-details
    .service-gallery
    .service-details-slider
    .swiper-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 25px;
    border-radius: 5px;
    background-color: var(--accent-color);
}

.service-details .service-sidebar {
    position: sticky;
    top: 100px;
}

.service-details .service-sidebar .action-card {
    background: linear-gradient(
        135deg,
        var(--accent-color) 0%,
        color-mix(in srgb, var(--accent-color), black 20%) 100%
    );
    border-radius: 15px;
    padding: 35px 30px;
    color: var(--contrast-color);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.service-details .service-sidebar .action-card:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.service-details .service-sidebar .action-card:after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.service-details .service-sidebar .action-card h3 {
    color: var(--contrast-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-details .service-sidebar .action-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.service-details .service-sidebar .action-card .btn-primary {
    background-color: var(--contrast-color);
    color: var(--accent-color);
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-details .service-sidebar .action-card .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-details .service-sidebar .action-card .guarantee {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.service-details .service-sidebar .action-card .guarantee i {
    margin-right: 5px;
}

.service-details .service-sidebar .service-features-list {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details .service-sidebar .service-features-list h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid
        color-mix(in srgb, var(--heading-color), transparent 90%);
}

.service-details .service-sidebar .service-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-details .service-sidebar .service-features-list ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.service-details .service-sidebar .service-features-list ul li:last-child {
    margin-bottom: 0;
}

.service-details .service-sidebar .service-features-list ul li i {
    flex-shrink: 0;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.service-details .service-sidebar .service-features-list ul li div {
    flex: 1;
}

.service-details .service-sidebar .service-features-list ul li div h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.service-details .service-sidebar .service-features-list ul li div p {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin: 0;
    font-size: 14px;
}

.service-details .service-sidebar .testimonial-card {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details .service-sidebar .testimonial-card .testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-details .service-sidebar .testimonial-card .testimonial-header i {
    font-size: 36px;
    color: var(--accent-color);
    opacity: 0.3;
}

.service-details
    .service-sidebar
    .testimonial-card
    .testimonial-header
    .rating {
    display: flex;
}

.service-details
    .service-sidebar
    .testimonial-card
    .testimonial-header
    .rating
    i {
    color: #ffd700;
    font-size: 16px;
    opacity: 1;
    margin-left: 2px;
}

.service-details .service-sidebar .testimonial-card .testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.service-details .service-sidebar .testimonial-card .client-info {
    display: flex;
    align-items: center;
}

.service-details .service-sidebar .testimonial-card .client-info .client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.service-details
    .service-sidebar
    .testimonial-card
    .client-info
    .client-details
    h5 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px;
}

.service-details
    .service-sidebar
    .testimonial-card
    .client-info
    .client-details
    span {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details .service-sidebar .contact-info {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.service-details .service-sidebar .contact-info h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
}

.service-details .service-sidebar .contact-info .contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.service-details .service-sidebar .contact-info .contact-method:last-child {
    margin-bottom: 0;
}

.service-details .service-sidebar .contact-info .contact-method i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
}

.service-details .service-sidebar .contact-info .contact-method div {
    flex: 1;
}

.service-details .service-sidebar .contact-info .contact-method div span {
    display: block;
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 5px;
}

.service-details .service-sidebar .contact-info .contact-method div p {
    margin: 0;
    font-weight: 600;
    color: var(--heading-color);
}

@media (max-width: 991px) {
    .service-details .service-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 40px;
    }

    .service-details .service-header h1 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .service-details .service-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .service-details .service-tabs .nav-tabs .nav-link {
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 14px;
    }

    .service-details .service-tabs .nav-tabs .nav-link i {
        font-size: 16px;
    }

    .service-details .service-header h1 {
        font-size: 26px;
    }

    .service-details .service-header .service-meta {
        gap: 15px;
    }

    .service-details .service-header .service-meta span {
        font-size: 14px;
    }

    .service-details .service-header .lead {
        font-size: 16px;
    }
}
/* Button Galeri */
.btn-galeri-gradient {
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 2px solid #10b981;
    color: #fff;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-galeri-gradient:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* CSS BACKGROUND */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.home {
    position: relative;
}

.container {
    position: relative;
    z-index: 2;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slider-nav.prev {
        left: 15px;
    }

    /* Additional Responsive Rules for Modern Design */
    @media (max-width: 768px) {
        .header-modern {
            padding: 10px 0;
        }
        .header-modern .h4 {
            font-size: 1.1rem;
        }
        .btn-modern {
            padding: 6px 12px;
            font-size: 0.9rem;
        }
        .scroll-top-modern {
            width: 40px;
            height: 40px;
            bottom: 15px;
            right: 15px;
        }
    }

    @media (max-width: 576px) {
        .header-modern .container-fluid {
            padding-left: 15px;
            padding-right: 15px;
        }
        .nav-link-modern {
            padding: 8px 0;
        }
        .btn-modern {
            width: 100%;
            margin-top: 10px;
        }
    }


    .slider-nav.next {
        right: 15px;
    }
}

/* ===========================================
   RESPONSIVE DESIGN IMPROVEMENTS
   =========================================== */

/* Mobile Responsive Typography & Spacing */
@media (max-width: 768px) {
    /* Hero Section */
    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
    }

    .agency-name h5 {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero .content {
        padding: 2rem 1rem !important;
    }

    /* CTA Button */
    .home .cta-button .btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        margin-top: 1rem !important;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 1.1rem !important;
        margin-bottom: 0.4rem !important;
    }

    .section-title h2::after {
        width: 100px !important;
        margin: 4px 8px !important;
    }

    .section-title p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Cards and Content */
    .card,
    .service-item,
    .portfolio-item {
        margin-bottom: 1.5rem !important;
    }

    /* Navigation */
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* Footer */
    .footer .footer-content {
        text-align: center !important;
        padding: 2rem 1rem !important;
    }

    .footer .footer-links {
        margin-bottom: 2rem !important;
    }

    /* Step Items */
    .step-item {
        margin-bottom: 2rem !important;
        text-align: center !important;
    }

    .step-content {
        padding: 1.5rem !important;
    }

    /* Testimonial */
    .testimonial-item {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Contact Form */
    .contact-form .form-group {
        margin-bottom: 1.2rem !important;
    }

    .contact-form .btn {
        width: 100% !important;
        padding: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .hero h1 {
        font-size: 1.8rem !important;
    }

    .hero .content {
        padding: 1.5rem 1rem !important;
    }

    .section-title h2 {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
    }

    .section-title h2::after {
        width: 80px !important;
        margin: 4px 8px !important;
    }

    .btn,
    .btn-modern {
        padding: 0.7rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    /* Grid Adjustments */
    .col-md-6,
    .col-lg-4,
    .col-lg-3 {
        margin-bottom: 1rem !important;
    }
}
/* DARK MODE */
body.dark-mode {
    background-color: #0f172a;
    color: #e5e7eb;
}

body.dark-mode .header {
    background-color: #020617;
}

body.dark-mode .navmenu a {
    color: #e5e7eb;
}

body.dark-mode .navmenu a.active {
    color: #22c55e;
}

body.dark-mode section {
    background-color: #020617;
}

body.dark-mode .section-title h2,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
    color: #f8fafc;
}

/* tombol */
.btn-getstarted {
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    /* ukuran tetap untuk menghindari pergeseran saat ikon berganti */
    padding: 0;
    min-width: 44px;
    height: 38px;
    box-sizing: border-box;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ikon di dalam tombol: lebar tetap, line-height nol agar tidak mempengaruhi ukuran tombol */
.btn-getstarted i {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 1;
    text-align: center;
    font-size: 18px;
}

/* fokus yang tidak menyebabkan pergeseran layout (aksesibilitas tetap terjaga) */
.btn-getstarted:focus {
    outline: none;
}
.btn-getstarted:focus-visible {
    box-shadow: 0 0 0 4px
        color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* pastikan klik tidak memberi transformasi yang mengubah ukuran */
.header .btn-getstarted:active {
    transform: none;
}

/* fokus yang tidak menyebabkan pergeseran layout (aksesibilitas tetap terjaga) */
.btn-getstarted:focus {
    outline: none;
}
.btn-getstarted:focus-visible {
    box-shadow: 0 0 0 4px
        color-mix(in srgb, var(--accent-color), transparent 85%);
}

/* pastikan klik tidak memberi transformasi yang mengubah ukuran */
.header .btn-getstarted:active {
    transform: none;
}

/* ============================= */
/* PENDAFTARAN SANTRI */
/* ============================= */

.pendaftaran-section {
    background-color: var(--bg-light);
}

.pendaftaran-card {
    border-radius: 16px;
    border: none;
    background-color: var(--card-bg);
}

.pendaftaran-card h5 {
    font-weight: 600;
    color: var(--text-main);
}

/* Input */
.pendaftaran-card .form-control {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
}

.pendaftaran-card .form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.15rem rgba(16, 185, 129, 0.25);
}

/* Button */
.btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-1px);
}

/* Dark Mode */
body.dark-mode .pendaftaran-section {
    background-color: #0f172a;
}

body.dark-mode .pendaftaran-card {
    background-color: #1e293b;
}

body.dark-mode .pendaftaran-card h5,
body.dark-mode .form-label {
    color: #f8fafc;
}

body.dark-mode .form-control {
    background-color: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #333333;
}

[data-bs-theme="dark"] body {
    background-color: #1f2937;
    color: #f9fafb;
}

.header-modern {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .header-modern {
    background-color: rgba(31, 41, 55, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-link-modern {
    color: #333333 !important;
    transition: color 0.3s ease;
}

[data-bs-theme="dark"] .nav-link-modern {
    color: #f9fafb !important;
}

.nav-link-modern:hover {
    color: #10b981 !important;
}

.btn-modern {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    background-color: #0f766e;
    transform: translateY(-1px);
}

.scroll-top-modern {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    cursor: pointer;
}

.scroll-top-modern.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-modern:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.scroll-top-modern:active {
    transform: translateY(-1px) scale(0.98);
}

.scroll-top-modern i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.scroll-top-modern:hover i {
    transform: translateY(-2px);
}

/* Pulse animation for scroll top button */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow:
            0 4px 20px rgba(59, 130, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3);
    }

    100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }
}

.scroll-top-modern.show {
    animation: pulse-glow 2s infinite;
}

/* Mobile responsive for scroll top button */
@media (max-width: 768px) {
    .scroll-top-modern {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .scroll-top-modern i {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-top-modern {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .scroll-top-modern i {
        font-size: 1rem;
    }
}

/* Wow Preloader */
#preloader-modern {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.86, 0, 0.07, 1), visibility 0.8s;
}

[data-bs-theme="dark"] #preloader-modern {
    background: radial-gradient(circle at center, #111827 0%, #030712 100%);
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-logo {
    width: 60px;
    height: auto;
    z-index: 10;
    animation: preloader-logo-pulse 2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.glowing-ring {
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-top-color: #10b981;
    border-bottom-color: #059669;
    border-radius: 50%;
    animation: preloader-ring-spin 2s linear infinite;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.glowing-ring.ring-2 {
    inset: 15px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-left-color: #ffff00;
    border-right-color: #ffe600;
    animation: preloader-ring-spin-reverse 1.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.2);
}

.loading-text {
    display: flex;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #10b981;
    text-transform: uppercase;
}

.loading-text span {
    display: inline-block;
    animation: preloader-text-wave 1.5s infinite ease-in-out;
}

.loading-text span:nth-child(1) { animation-delay: 0.1s; }
.loading-text span:nth-child(2) { animation-delay: 0.2s; }
.loading-text span:nth-child(3) { animation-delay: 0.3s; }
.loading-text span:nth-child(4) { animation-delay: 0.4s; }
.loading-text span:nth-child(5) { animation-delay: 0.5s; }
.loading-text span:nth-child(6) { animation-delay: 0.6s; }
.loading-text span:nth-child(7) { animation-delay: 0.7s; }
.loading-text span:nth-child(8) { animation-delay: 0.8s; }
.loading-text span:nth-child(9) { animation-delay: 0.9s; }
.loading-text span:nth-child(10) { animation-delay: 1.0s; }
.loading-text span:nth-child(11) { animation-delay: 1.1s; }
.loading-text span:nth-child(12) { animation-delay: 1.2s; }

@keyframes preloader-logo-pulse {
    0% { transform: scale(0.9); opacity: 0.8; filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.3)); }
    100% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.8)); }
}

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

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

@keyframes preloader-text-wave {
    0%, 100% { transform: translateY(0); color: #10b981; text-shadow: 0 0 0 rgba(16, 185, 129, 0); }
    50% { transform: translateY(-8px); color: #ffff00; text-shadow: 0 5px 15px rgba(255, 255, 0, 0.6); }
}

.theme-toggle-modern {
    background: none;
    border: none;
    color: #333333;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

[data-bs-theme="dark"] .theme-toggle-modern {
    color: #f9fafb;
}

.theme-toggle-modern:hover {
    color: #10b981;
}

.text-justify {
    text-align: justify;
}

.home-section {
    background-size: cover;
    filter: brightness(0.8);
    padding-top: 120px;
}

.map-iframe {
    border: 0;
    flex-grow: 1;
}

/* ===== Gaya yang dipindahkan dari file Blade ===== */

/* dari resources/views/layouts/home.blade.php */
body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #333333;
}

[data-bs-theme="dark"] body {
    background-color: #1f2937;
    color: #f9fafb;
}

.header-modern {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .header-modern {
    background-color: rgba(31, 41, 55, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-link-modern {
    color: #333333 !important;
    transition: color 0.3s ease;
}

[data-bs-theme="dark"] .nav-link-modern {
    color: #f9fafb !important;
}

.nav-link-modern:hover {
    color: #10b981 !important;
}

.btn-modern {
    background-color: #10b981;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    background-color: #0f766e;
    transform: translateY(-1px);
}

.scroll-top-modern {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    cursor: pointer;
}

.scroll-top-modern.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-top-modern:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.scroll-top-modern:active {
    transform: translateY(-1px) scale(0.98);
}

.scroll-top-modern i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.scroll-top-modern:hover i {
    transform: translateY(-2px);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow:
            0 4px 20px rgba(59, 130, 246, 0.5),
            0 0 20px rgba(59, 130, 246, 0.3);
    }

    100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    }
}

.scroll-top-modern.show {
    animation: pulse-glow 2s infinite;
}

/* dari resources/views/layouts/homepage/footer.blade.php */
.footer {
    background-color: var(--surface-color);
    color: var(--default-color);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
    transition: all 0.3s ease;
}

.footer h5 {
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.footer p,
.footer strong,
.footer span {
    color: var(--default-color);
    transition: color 0.3s ease;
}

.footer-nav-link {
    color: var(--default-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.footer-social-link {
    color: var(--default-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
}

/* Ukuran SVG khusus agar sejajar dengan ikon */
.footer-social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: middle;
}

.footer-social-link:hover {
    color: var(--accent-color);
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer h5 {
        font-size: 1.1rem;
    }

    .footer p {
        font-size: 0.9rem;
    }
}

/* dari resources/views/guru.blade.php */
.teacher-card {
    width: 100%;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #2f4f2f;
    border: 0;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.teacher-card .card-body {
    padding: 1rem;
    width: 100%;
    height: 100%;
    background-color: #faf7ef;
    color: #000;
}

.teacher-card .card-image {
    transition: transform 0.3s ease;
    border: 0 !important;
    outline: 0;
    box-shadow: none;
    display: block;
    width: 100%;
    height: 320px;
    object-fit: contain;
    background-color: transparent;
    border-radius: 0;
}

.teacher-card:hover .card-image {
    transform: scale(1.05);
}

.teacher-card .card-body h5 {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 4px;
}

.teacher-card .card-body p {
    font-size: 0.9rem;
    color: #000;
    margin-top: 0;
}

@media (max-width: 576px) {
    .teacher-card {
        height: auto;
        max-width: 85%;
        margin: 0 auto;
    }

    .teacher-card img {
        height: 300px !important;
        object-fit: contain;
        background-color: transparent;
    }

    .teacher-card .card-body {
        padding: 0.75rem;
    }

    .teacher-card .card-body h5 {
        font-size: 1rem;
    }

    .teacher-card .card-body p {
        font-size: 0.85rem;
    }
}

/* Animasi usap diagonal untuk hero */

/* dari resources/views/errors/layout.blade.php */
.error-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.btn-main {
    background: #0d6efd;
    color: #fff;
    border-radius: 30px;
    padding: 10px 28px;
}

.btn-main:hover {
    background: #0b5ed7;
    color: #fff;
}

/* dari resources/views/pengaduan.blade.php */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* dari resources/views/berita/index.blade.php */
.hover-shadow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.hover-primary:hover {
    color: #2563eb !important;
    transition: color 0.3s ease;
}

.card {
    transition: all 0.3s ease;
}

.input-group-text {
    background-color: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

/* dari resources/views/berita/show.blade.php */
.article-title {
    font-size: 2rem;
    line-height: 1.3;
    color: #000000;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Dark mode: adjust article and related components for readability */
[data-bs-theme="dark"] article.bg-white {
    background-color: #071024 !important; /* dark card background */
    color: #e6eef8;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6) !important;
}

/* Also override Bootstrap utility that may force white background */
html[data-bs-theme="dark"] .bg-white {
    background-color: #071024 !important;
}

[data-bs-theme="dark"] .article-title {
    color: #f8fafc;
}

[data-bs-theme="dark"] .article-content {
    color: #cbd5e1;
}

[data-bs-theme="dark"] .article-content a {
    color: #93c5fd;
}

/* share section and related cards in dark mode */
[data-bs-theme="dark"] .share-section {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #e6eef8;
}

[data-bs-theme="dark"] .card.h-100 {
    background-color: #071024;
}

/* hover link contrast in dark mode */
[data-bs-theme="dark"] .hover-primary:hover {
    color: #93c5fd !important;
}

/* blockquote dark variant */
[data-bs-theme="dark"] blockquote {
    border-left-color: #93c5fd;
    background-color: rgba(147, 197, 253, 0.04);
    color: #e2e8f0;
}

/* Dark mode: make bg-light, buttons and small text match site dark theme */
[data-bs-theme="dark"] .bg-light {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: #e6eef8;
}

[data-bs-theme="dark"] .share-section .btn,
[data-bs-theme="dark"] .share-section .btn i {
    color: #e6eef8;
}

/* Ensure outline/primary buttons are visible in dark mode */
[data-bs-theme="dark"] .btn-outline-primary {
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.18);
}
[data-bs-theme="dark"] .btn-outline-primary:hover {
    background-color: rgba(147, 197, 253, 0.06);
    color: #ffffff;
}

[data-bs-theme="dark"] .btn-secondary {
    background-color: #0f1724;
    color: #e6eef8;
    border-color: rgba(255, 255, 255, 0.04);
}
[data-bs-theme="dark"] .btn-dark {
    background-color: #0b1220;
    color: #e6eef8;
    border-color: rgba(255, 255, 255, 0.04);
}
[data-bs-theme="dark"] .btn-success {
    background-color: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

/* small / muted text */
[data-bs-theme="dark"] .text-muted,
[data-bs-theme="dark"] small {
    color: #9aa9bf !important;
}

/* images and shadows in article */
[data-bs-theme="dark"] .article-content img {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* related cards */
[data-bs-theme="dark"] .card.h-100 {
    background-color: #071024;
    border-color: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .card.h-100 .card-body {
    color: #e6eef8;
}

/* Ensure card titles are white in dark mode (override Bootstrap utilities like .text-dark) */
[data-bs-theme="dark"] .card.h-100 .card-title,
[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .card.h-100 .card-title a,
[data-bs-theme="dark"] .card-title a,
[data-bs-theme="dark"] .card-title a.text-dark {
    color: #ffffff !important;
}

/* dari resources/views/user/informasi.blade.php */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

.content-text {
    white-space: pre-line;
    line-height: 1.7;
    color: #495057;
    text-align: justify;
    font-size: 1.05rem;
}

/* Custom: make titles blue on hover and style blockquotes for quotes */
/* Light mode: blue on hover for card titles (including anchors that have .text-dark) */
.card-title:hover,
.card-title a:hover,
.card-title a.text-dark:hover {
    color: #2563eb !important;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Also ensure homepage news titles use the same hover */
.portfolio-info a.news-title:hover,
.portfolio-info h4 a.news-title:hover,
.news-title:hover {
    color: #2563eb !important;
    text-decoration: underline;
    transform: translateY(-3px);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

/* Dark mode: lighter blue for visibility */
[data-bs-theme="dark"] .card-title:hover,
[data-bs-theme="dark"] .card-title a:hover,
[data-bs-theme="dark"] .card-title a.text-dark:hover,
[data-bs-theme="dark"] .portfolio-info a.news-title:hover,
[data-bs-theme="dark"] .portfolio-info h4 a.news-title:hover,
[data-bs-theme="dark"] .news-title:hover {
    color: #93c5fd !important; /* light blue */
}

blockquote {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #374151;
    font-style: italic;
    background-color: rgba(37, 99, 235, 0.03);
}

/* dari resources/views/user/dashboard.blade.php */
.welcome-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pondok-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.location-text {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}

/* dari resources/views/index.blade.php (pengumuman) */
.pengumuman.section {
    padding: 80px 0;
    background: var(--background-color);
}

.sticky-note {
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    border-radius: 0;
    padding: 30px 25px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    margin: 20px auto;
    max-width: 400px;
}

.sticky-note:hover {
    transform: rotate(0deg) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.sticky-note::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #dc2626 40%, #991b1b 100%);
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.sticky-note::after {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    filter: blur(3px);
}

.pamflet-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 350px;
}

.pamflet-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.pamflet-wrapper:hover .pamflet-image {
    transform: scale(1.02);
}

/* dari resources/views/pendaftaran.blade.php */
/* Gaya pendaftaran (layout form, input, tombol, responsif, dukungan mode gelap) */
.registration-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.registration-form-wrapper {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.registration-section .section-title {
    margin-bottom: 20px;
}

/* Feedback pendaftaran (success/error) */
.registration-feedback {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.floating-feedback-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(1px);
    transition: opacity 0.25s ease;
}

.floating-feedback-wrap.hide {
    opacity: 0;
}

.floating-feedback {
    position: relative;
    width: min(560px, 100%);
    margin: 0;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
    animation: popCenter 0.2s ease-out;
}

.floating-feedback-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.floating-feedback-close:hover {
    background: rgba(255, 255, 255, 0.95);
}

@keyframes popCenter {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes flySend {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    50% {
        transform: translateX(3px) translateY(-2px) rotate(-8deg);
    }
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
}

.registration-feedback .feedback-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.registration-feedback .feedback-content h5 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 700;
}

.registration-feedback .feedback-content p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.5;
}

.registration-feedback .feedback-content small {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.4;
}

.registration-feedback.success {
    background: linear-gradient(135deg, #ecfdf3 0%, #d1fae5 100%);
    border-color: #86efac;
    color: #14532d;
}

.registration-feedback.success .feedback-icon {
    background: #16a34a;
    color: #fff;
}

.success-plane .feedback-icon i {
    animation: flySend 1s ease-in-out infinite;
}

.registration-feedback.error {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border-color: #fda4af;
    color: #881337;
}

.registration-feedback.error .feedback-icon {
    background: #e11d48;
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

/* dari resources/views/pendaftaran.blade.php - closed-notice */
.closed-notice {
    background: var(--surface-color);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.closed-notice .icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.closed-notice h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.closed-notice p {
    color: var(--default-color);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Dark mode tweaks (halaman pendaftaran) */
[data-bs-theme="dark"] .registration-form-wrapper {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .registration-form-wrapper .form-header h3,
[data-bs-theme="dark"] .registration-form-wrapper .form-section-title,
[data-bs-theme="dark"] .registration-form-wrapper .form-label,
[data-bs-theme="dark"] .registration-form-wrapper .info-text,
[data-bs-theme="dark"] .registration-section .section-title h2,
[data-bs-theme="dark"] .registration-section .section-title span {
    color: #f8fafc !important;
}

[data-bs-theme="dark"] .registration-form-wrapper .form-header p,
[data-bs-theme="dark"] .registration-form-wrapper .text-muted,
[data-bs-theme="dark"] .registration-form-wrapper small {
    color: #cbd5e1 !important;
}

[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon .form-control,
[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon select,
[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon textarea {
    background: #111827;
    border-color: #334155;
    color: #f8fafc;
}

[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon .form-control::placeholder,
[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon textarea::placeholder {
    color: #94a3b8;
}

[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon i {
    color: #94a3b8;
}

[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon .form-control:focus,
[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon select:focus,
[data-bs-theme="dark"] .registration-form-wrapper .input-with-icon textarea:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}

[data-bs-theme="dark"] .closed-notice {
    background: #0f172a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .closed-notice h4 {
    color: #f8fafc;
}

[data-bs-theme="dark"] .closed-notice p {
    color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
    .floating-feedback-wrap {
        align-items: flex-start;
        padding-top: 78px;
    }

    .registration-feedback {
        padding: 14px;
        gap: 10px;
    }

    .registration-feedback .feedback-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .registration-feedback .feedback-content h5 {
        font-size: 0.92rem;
    }

    .registration-feedback .feedback-content p {
        font-size: 0.85rem;
    }

    .registration-feedback .feedback-content small {
        font-size: 0.76rem;
    }

    .closed-notice {
        padding: 40px 25px;
    }

    .closed-notice .icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }
}

/* ------------------------------------------------------------
   Gaya khusus per-seksi (dari resources/views/index.blade.php)
   - Dipisah agar mudah dikelola: `.program`, `.galeri`, `.berita`, `.contact`.
   ------------------------------------------------------------ */

/* ===== Bagian Program ===== */
/* Pastikan tinggi kartu konsisten agar judul/deskripsi rata.
   Ubah `padding` atau `min-height` pada `.service-card` jika perlu. */
.program {
    padding-top: 40px;
    padding-bottom: 40px;
}
.program .service-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}
.program .service-icon {
    font-size: 28px;
    color: var(--accent-color);
}

/* Responsif: kurangi min-height pada layar kecil */
@media (max-width: 768px) {
    .program .service-card {
        min-height: auto;
    }
}

/* ===== Bagian Galeri ===== */
/* Gunakan tinggi gambar konsisten agar grid rapi. `object-fit: cover` untuk thumbnail,
   gambar asli tetap bisa dibuka lewat lightbox. */
.galeri .portfolio-item {
    padding: 8px;
}
.galeri .entry-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}
.galeri .isotope-container {
    margin: 0 -8px;
}

@media (max-width: 768px) {
    .galeri .entry-image img {
        height: 160px;
    }
}
@media (max-width: 576px) {
    .galeri .entry-image img {
        height: 120px;
    }
}

/* ===== Bagian Berita ===== */
/* Pastikan tinggi gambar sesuai tinggi kartu agar layout konsisten. */
.berita .portfolio-entry {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.berita .entry-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.berita .portfolio-info {
    padding: 1rem;
}
.berita .news-title {
    font-weight: 700;
}

@media (max-width: 768px) {
    .berita .entry-image img {
        height: 160px;
    }
}

/* ===== Bagian Kontak ===== */
/* Form & peta harus rapi di layar kecil; peta perlu tinggi minimum agar tetap nyaman. */
.contact .map-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact .map-section iframe {
    width: 100%;
    min-height: 360px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .contact .map-section iframe {
        min-height: 280px;
    }
}

/* End section-specific styles */

/* ===== End extracted styles ===== */

/* ==================================================
   MOVED FROM resources/css/app.css: Hero animations,
   draw/reveal effects & responsive tweaks
   (kept here so production assets load from public)
   ================================================== */

/* =========================
   Hero draw & stagger animations
   ========================= */
@keyframes drawIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
        filter: blur(0);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
        filter: none;
    }
}

.animate-draw {
    animation: drawIn 900ms cubic-bezier(0.47, 0, 0.745, 0.715) both;
    will-change: transform, opacity, filter;
}

.animate-delay-0 {
    animation-delay: 0s;
}
.animate-delay-1 {
    animation-delay: 0.12s;
}
.animate-delay-2 {
    animation-delay: 0.24s;
}
.animate-delay-3 {
    animation-delay: 0.36s;
}

/* hover subtle lift for CTA */
.btn.animate-draw:hover {
    transform: translateY(-3px) scale(1.02);
    transition: transform 200ms ease;
}

/* responsive sizing tweaks */
.logo-image {
    width: 120px;
    height: auto;
}
@media (max-width: 768px) {
    .logo-image {
        width: 88px;
    }
    .main-heading h1 {
        font-size: 1.6rem;
    }
    .agency-name h5 {
        font-size: 0.95rem;
    }
}

/* =========================
   Draw-like reveal (no SVG)
   - logo: mask reveal left->right
   - text: underline drawing
   - button: border draw
   ========================= */
@keyframes revealMask {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(100%);
    }
}
.draw-reveal {
    position: relative;
    display: inline-block;
    overflow: hidden;
}
.draw-reveal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: 2;
    transform: translateX(0%);
}
.animate-draw.draw-reveal::after {
    animation: revealMask 900ms cubic-bezier(0.47, 0, 0.745, 0.715) both;
}
.animate-delay-0.draw-reveal::after {
    animation-delay: 0s;
}
.animate-delay-1.draw-reveal::after {
    animation-delay: 0.12s;
}
.animate-delay-2.draw-reveal::after {
    animation-delay: 0.24s;
}
.animate-delay-3.draw-reveal::after {
    animation-delay: 0.36s;
}
.logo-image {
    position: relative;
    z-index: 1;
}

/* =========================
   Diagonal wipe reveal (hero)
   ========================= */
@keyframes diagonalWipe {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 150% 0, 150% 150%, 0 150%);
    }
}
.hero-wipe {
    position: relative;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    will-change: clip-path;
}
.hero-wipe.animate-draw {
    animation: diagonalWipe var(--wipe-duration, 2.2s) ease-out both;
}
.hero-wipe-logo {
    --wipe-duration: 2.2s;
}
.hero-wipe-text {
    --wipe-duration: 2.5s;
}
@media (prefers-reduced-motion: reduce) {
    .hero-wipe,
    .hero-wipe.animate-draw {
        animation: none !important;
        clip-path: none;
    }
}

/* Text underline draw */
.text-underline {
    position: relative;
    display: inline-block;
}
.text-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0%;
    background: #00ccae;
    z-index: 1;
}
@keyframes underlineGrow {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
.animate-draw.text-underline::after {
    animation: underlineGrow 700ms cubic-bezier(0.47, 0, 0.745, 0.715) both;
}
.animate-delay-1.text-underline::after {
    animation-delay: 0.12s;
}
.animate-delay-2.text-underline::after {
    animation-delay: 0.24s;
}
.small-underline::after {
    bottom: -4px;
    height: 2px;
}

/* Button border draw */
.btn.draw-border {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.btn.draw-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 1;
    pointer-events: none;
}
@keyframes borderGrow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
.animate-draw.draw-border::before {
    animation: borderGrow 700ms cubic-bezier(0.47, 0, 0.745, 0.715) both;
}

/* =========================
   Diagonal wipe (moved from index.blade.php)
   ========================= */
.draw-reveal {
    position: relative;
    display: inline-block;
}
.animate-draw {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    animation: diagonalWipe 4.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}
.draw-reveal {
    animation: diagonalWipe 4.5s ease-out forwards;
    position: relative;
    overflow: hidden;
}
.animate-delay-0 {
    animation-delay: 1.2s;
}
.animate-delay-1 {
    animation-delay: 1.2s;
}
.animate-delay-2 {
    animation-delay: 1.2s;
}
.animate-delay-3 {
    animation-delay: 1.2s;
}
@keyframes diagonalWipe {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 150% 0, 150% 150%, 0 150%);
    }
}
/* Disable shine overlay; keep wipe animations */
.animate-draw::before,
.draw-reveal::before {
    content: none !important;
}
@media (max-width: 768px) {
    .animate-draw {
        animation-duration: 4s;
    }
}
.animate-delay-3.draw-border::before {
    animation-delay: 0.36s;
}

@media (max-width: 768px) {
    .text-underline::after {
        bottom: -4px;
        height: 2px;
    }
}

/* Smooth transitions for theme change */
*,
*::before,
*::after,
html,
body {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}



