/* ========== GLOBAL RESET & BASE ========== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
    /* Modern Color Palette */
    --primary-50: hsl(217, 91%, 97%);
    --primary-100: hsl(217, 91%, 92%);
    --primary-200: hsl(217, 91%, 85%);
    --primary-300: hsl(217, 91%, 75%);
    --primary-400: hsl(217, 91%, 65%);
    --primary-500: hsl(217, 91%, 60%);
    --primary-600: hsl(217, 91%, 50%);
    --primary-700: hsl(217, 91%, 40%);
    --primary-800: hsl(217, 91%, 30%);
    --primary-900: hsl(217, 91%, 20%);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    color: #111827;
    line-height: 1.6;
}

/* ========== UTILITIES ========== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.80rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #eff6ff;
    border-color: #1d4ed8;
    color: #1d4ed8;
}

.btn-outline-grey {
    background: #ffffff;
    color: #374151;
    /* Gray 700 */
    border: 1px solid #d1d5db;
    /* Gray 300 */
    font-weight: 600;
    border-radius: 999px;
    /* Ensure pill shape */
    padding: 0.6rem 1.4rem;
}

.btn-outline-grey:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.btn-full {
    width: 100%;
}

/* ========== HEADER ========== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 20;
    padding-left: 15px;
    padding-right: 15px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #111827;
}

.brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Ensure image stays inside */
}

.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #2563eb;
}

/* ========== HERO SECTION ========== */
.course-hero {
    padding: 2.5rem 0 3rem;
}

.hero-certificates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.certificate-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.certificate-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 1rem;
}

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

.certificate-item:hover .certificate-img {
    transform: scale(1.05);
    /* Optional zoom effect */
}

/* HERO LIST */
.hero-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
    display: inline-block;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-list li::before {
    content: '✔';
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .hero-certificates {
        gap: 0.75rem;
    }
}

.page-title {
    font-size: 2.1rem;
    color: #111827;
}

.page-subtitle {
    margin: 0;
    margin-bottom: 1.8rem;
    color: #6b7280;
    font-size: 0.98rem;
}



/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.48);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #ffffff;
    border-radius: 12px;
    width: min(520px, 100%);
    padding: 1.2rem 1.25rem;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-eyebrow {
    margin: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.modal-title {
    margin: 0.1rem 0 0;
    font-size: 1.15rem;
    color: #111827;
}

.modal-close {
    border: none;
    background: #f3f4f6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    color: #111827;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modal-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
    color: #111827;
    font-size: 0.92rem;
}

.modal-form input {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-size: 0.95rem;
    outline: none;
}

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

/* ========== TESTIMONIAL SECTION ========== */
.testimonial-section {
    padding: 4rem 0;
    background: #ffffff;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.testimonial-track {
    display: flex;
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
    transition: opacity 0.5s ease;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #374151;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonial-name {
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.testimonial-role {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: #2563eb;
    width: 32px;
    border-radius: 6px;
}

/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    font-size: 1.25rem;
    color: #6b7280;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: #ffffff;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ========== MODERN HERO SECTION ========== */
.modern-hero {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.8;
    margin: 0 0 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    background: var(--gradient-blue);
    color: #ffffff;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    background: #ffffff;
    color: #2563eb;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: #2563eb;
    background: #f0f7ff;
}

.hero-visual {
    position: relative;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        margin-bottom: 1rem;
    }
}

/* ========== GLASSMORPHISM UTILITIES ========== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ========== REBUILT CARD STYLES (PIXEL PERFECT) ========== */

/* Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
}

/* Card Container */
.edu-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

/* Card Image */
.edu-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
}

/* Card Content */
.edu-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title */
.edu-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
    /* Fixed height for alignment */
}

/* Price */
.edu-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

/* Dashed Divider */
.edu-card-divider {
    border: none;
    border-top: 1px dashed #e5e7eb;
    margin: 1rem 0;
    width: 100%;
}

/* Accordion Simple */
.edu-accordion {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid transparent;
    /* No border as requested */
}

.edu-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
    user-select: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.edu-accordion-header:hover {
    color: #111827;
}

.edu-accordion-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.edu-accordion.active .edu-accordion-icon {
    transform: rotate(180deg);
}

.edu-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

.edu-accordion.active .edu-accordion-body {
    max-height: 200px;
    padding-bottom: 0.75rem;
}

/* Buttons */
.edu-card-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.btn-card {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-card-outline {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-card-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.btn-card-primary {
    background: #2563eb;
    border: 1px solid transparent;
    color: white;
}

.btn-card-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}



/* ========== MOBILE SCROLL HINT ========== */
.mobile-scroll-hint {
    display: none;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-align: right;
    padding-right: 0.5rem;
    animation: pulseHint 2s infinite;
}

.mobile-scroll-hint .scroll-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.7;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }
}

@media (max-width: 640px) {
    .mobile-scroll-hint {
        display: block;
    }

    .cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1.5rem;
        /* Space for shadow/interaction */
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
        scrollbar-width: none;
        /* Firefox */
        padding-right: 1.5rem;
        /* Right padding for last item */
        margin-right: -1.5rem;
        /* Negative margin to pull to edge if inside container */
    }

    .cards-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Opera */
    }

    .edu-card {
        min-width: 280px;
        width: 85vw;
        max-width: 340px;
        flex: 0 0 auto;
        scroll-snap-align: center;
        margin-bottom: 5px;
        /* Slight margin for shadow */
    }

    .edu-card-actions {
        flex-direction: column;
    }
}

/* ========== FLOATING WA ========== */
.floating-wa {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
    box-shadow: none;
}

.floating-wa:hover {
    transform: translateY(-3px) scale(1.05);
}

.floating-wa img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

/* ========== DETAIL PAGE ========== */
.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.detail-header {
    background: linear-gradient(135deg, #0d9cefff 0%, #008ed5ff 100%);
    /* Default/Course Clean Blue */
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(13, 156, 239, 0.3);
    position: relative;
    overflow: hidden;
}

/* ========== CHECKOUT PAGE ========== */
.checkout-page {
    padding: 3rem 0;
    min-height: 100vh;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.checkout-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

/* Login Alert */
.alert-login {
    background: #fff7ed;
    color: #9a3412;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ffedd5;
    font-size: 0.9rem;
}

.alert-login a {
    color: #ea580c;
    font-weight: 600;
    text-decoration: none;
}

/* Forms */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.input-group {
    display: flex;
}

.input-group-text {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-right: none;
    padding: 0.75rem 1rem;
    border-radius: 8px 0 0 8px;
    color: #6b7280;
    font-weight: 600;
}

.input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Payment Radio */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-radio {
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    /* Bootstrap override */
}

.payment-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-card-content {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.payment-radio input:checked+.payment-card-content {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.payment-radio input:checked+.payment-card-content .payment-name {
    color: #2563eb;
}

.payment-info {
    display: flex;
    flex-direction: column;
}

.payment-name {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.payment-desc {
    font-size: 0.85rem;
}

/* Summary */
.summary-img-wrapper {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.summary-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-hint {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.dashed-divider {
    border: 0;
    border-top: 2px dashed #e5e7eb;
    opacity: 1;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Utils */
.fw-bold {
    font-weight: 700 !important;
}

.text-muted {
    color: #6b7280 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-primary {
    color: #2563eb !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.rounded-pill {
    border-radius: 9999px !important;
}

.w-100 {
    width: 100% !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.gap-3 {
    gap: 1rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

.mb-4 {
    margin-bottom: 1rem !important;
}

.mt-4 {
    margin-top: 1rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-right {
        order: 1;
    }
}

.detail-header.service-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    /* Service Pink/Purple */
    box-shadow: 0 10px 40px rgba(240, 147, 251, 0.3);
}

.detail-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.detail-header .price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.detail-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e5e7eb;
}

.detail-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 1.5rem 0 1rem 0;
}

.detail-card p,
.detail-card ul {
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0 0 1rem 0;
}

.detail-card ul {
    padding-left: 1.5rem;
}

.detail-card ul li {
    margin-bottom: 0.5rem;
}

.thumbnail-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.service-header~.detail-grid .info-item .icon {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.info-item .text {
    flex: 1;
}

.info-item .label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.info-item .value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-header h1 {
        font-size: 1.75rem;
    }

    .detail-header .price {
        font-size: 1.5rem;
    }

    .btn-group {
        flex-direction: column;
    }
}