/* ==========================================
     Price List Filter Tabs & Cards
     ========================================== */
.price-filter-tabs {
    margin-bottom: 2rem;
}
.price-tab {
    background: var(--bg-gray);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base);
    box-shadow: var(--shadow-sm);
}
.price-tab.active, .price-tab:focus {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-md);
    outline: none;
}
.price-tab:not(.active):hover {
    background: var(--primary-light);
    color: #fff;
}

.pricing-card {
    transition: box-shadow var(--transition-base), transform var(--transition-base), opacity 0.3s;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px) scale(1.02);
}
.price-card-standar, .price-card-khusus {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
}
.price-card-standar {
    border-left: 5px solid var(--primary-color);
}
.price-card-khusus {
    border-left: 5px solid var(--accent-color);
}
@media (max-width: 600px) {
    .price-filter-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   CSS Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
/* Color Palette - Disempurnakan */
--primary-color: #667eea;      /* Biru ungu dari gradien logo */
--primary-dark: #5a6fd8;       /* Versi lebih gelap */
--primary-light: #7d8fed;      /* Versi lebih terang */
--secondary-color: #ea9f66;    /* Oranye dari logo */
--accent-color: #764ba2;       /* Ungu dari gradien logo */

/* Neutral Colors - Tetap bagus */
--text-dark: #1f2937;
--text-medium: #4b5563;
--text-light: #6b7280;
--bg-white: #ffffff;
--bg-light: #f9fafb;
--bg-gray: #f3f4f6;
--border-color: #e5e7eb;

/* Gradients - Dioptimalkan */
--gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Sudah perfect! */
--gradient-blue: linear-gradient(135deg, #667eea 0%, #8b5cf6 100%);    /* Biru ungu ke ungu */
--gradient-hero: linear-gradient(135deg, #ea9f66 0%, #667eea 100%);   /* Oranye ke biru ungu */
    
    /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ==========================================
   Container & Layout
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   Navigation Bar
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-image {
    height: 50px;
    width: 100px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    position: relative;
    transition: color var(--transition-base);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-blue);
    transition: width var(--transition-base);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.95rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero::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="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(99,102,241,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-image {
    position: relative;
    height: 500px;
    overflow: visible;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-main-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 0;
    border-radius: var(--radius-lg);
    opacity: 0.9;
    animation: heroImageFloat 6s ease-in-out infinite;
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        transform: translateX(-50%) translateY(-15px) scale(1.03);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card .card-icon {
    font-size: 1.5rem;
}

.floating-card .card-text {
    font-weight: 600;
    color: var(--text-dark);
}

.floating-card.card-1 {
    bottom: 55%;
    left: -5%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 8%;
    left: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================
   Section Styles
   ========================================== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Program Section
   ========================================== */
.program {
    background-color: var(--bg-white);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-color);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-description {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================
   Call to Action Section
   ========================================== */
.cta {
    background: var(--gradient-blue);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   Registration Section
   ========================================== */
.registration-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registration-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.registration-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.registration-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-base);
    background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    color: var(--text-medium);
    line-height: 1.6;
}

.form-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-link:hover {
    color: var(--primary-dark);
}

.btn-loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   Success Message
   ========================================== */
.success-message {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.success-text {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ==========================================
   Registration Sidebar
   ========================================== */
.registration-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-text {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ==========================================
   Animations
   ========================================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

/* Stagger animations */
.program-card:nth-child(1) {
    animation-delay: 0.1s;
}

.program-card:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .registration-container {
        grid-template-columns: 1fr;
    }
    
    .registration-sidebar {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left var(--transition-slow);
        box-shadow: var(--shadow-lg);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-nav {
        width: 100%;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        height: 350px;
        order: -1;
    }
    
    .hero-main-image {
        max-width: 75%;
        max-height: 80%;
        bottom: 0;
    }
    
    .floating-card {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .floating-card .card-icon {
        font-size: 1.25rem;
    }
    
    .floating-card .card-text {
        font-size: 0.9rem;
    }
    
    .floating-card.card-1 {
        bottom: 60%;
        left: -3%;
    }
    
    .floating-card.card-2 {
        bottom: 25%;
        right: -5%;
    }
    
    .floating-card.card-3 {
        bottom: 5%;
        left: 5%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .program-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .hero-main-image {
        max-width: 70%;
        max-height: 75%;
        bottom: 0;
    }
    
    .floating-card {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
    
    .floating-card .card-icon {
        font-size: 1.1rem;
    }
    
    .floating-card .card-text {
        font-size: 0.8rem;
    }
    
    .floating-card.card-1 {
        bottom: 65%;
        left: 0%;
    }
    
    .floating-card.card-2 {
        bottom: 30%;
        right: -3%;
    }
    
    .floating-card.card-3 {
        bottom: 3%;
        left: 3%;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .registration-form {
        padding: 1.5rem;
    }
}

/* ==========================================
   Django Form Enhancements
   ========================================== */
.registration-form h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.registration-form h2:first-of-type {
    margin-top: 0;
}

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

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Make textarea fields span full width */
    .form-group:has(textarea) {
        grid-column: 1 / -1;
    }
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.has-error .form-input,
.has-error .form-select,
.has-error .form-textarea {
    border-color: #ef4444;
}

.has-error .form-label {
    color: #ef4444;
}

/* Django Messages */
.django-messages {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.django-messages .message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    animation: slideDown 0.3s ease-out;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.message.warning {
    background-color: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

.message.info {
    background-color: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

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

/* Aggregated error summary */
.form-error-summary {
    background: #fee2e2;
    border-left: 5px solid #dc2626;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.form-error-summary strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #991b1b;
}
.form-error-summary ul {
    margin: 0;
    padding-left: 1.1rem;
}
.form-error-summary li {
    color: #7f1d1d;
    font-size: 0.95rem;
    line-height: 1.25rem;
}

/* ==========================================
   Success Page Styles
   ========================================== */
.success-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.success-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 6s ease-in-out infinite;
}

.success-page::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 8s ease-in-out infinite reverse;
}

.success-container {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

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

.success-logo {
    margin-bottom: 5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-logo img {
    max-width: 120px;
    height: auto;
    animation: scaleIn 0.5s ease-out 0.2s backwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: bounceIn 0.6s ease-out 0.3s backwards;
    position: relative;
}

.success-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.1);
        opacity: 0;
    }
}

.success-icon-wrapper svg {
    width: 50px;
    height: 50px;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    position: relative;
    z-index: 1;
}

.checkmark {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.5s ease-out 0.5s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

.success-title {
    font-size: 2.3rem;
    font-weight: 650;
    color: #1a202c;
    margin-bottom: 1rem;
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.success-subtitle {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

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

.success-details {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.success-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.success-detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

.detail-text {
    text-align: left;
    flex: 1;
}

.detail-text strong {
    display: block;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.detail-text span {
    color: #718096;
    font-size: 0.9rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

.success-actions .btn {
    flex: 1;
    min-width: 200px;
}

.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-outline {
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}

/* Success Page Responsive */
@media (max-width: 768px) {
    .success-container {
        padding: 2rem;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* ==========================================
   Registration Form Enhancements (Added)
   ========================================== */
.form-section-title {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tuition-info-box {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
}
.tuition-info-box .price { font-weight: 600; color: var(--primary-color); }
.tuition-info-box .muted { color: var(--text-light); font-size: 0.8rem; }

.tuition-summary {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.5rem 1.4rem;
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: var(--shadow-md);
    margin: 1.25rem 0 2rem;
    max-width: 480px;
}
.tuition-summary .summary-header {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tuition-summary .summary-line, .tuition-summary .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border-color);
}
.tuition-summary .summary-line:last-of-type { border-bottom: none; }
.tuition-summary .summary-total {
    margin-top: .4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-top: 2px solid var(--border-color);
    border-bottom: none;
    padding-top: 0.6rem;
}
.tuition-summary .price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--primary-color); }
.tuition-summary .summary-total .price { font-size: 1rem; color: var(--accent-color); }
.tuition-summary .summary-note { margin-top: .75rem; font-size: 0.65rem; line-height: 1.3; }

.muted { color: var(--text-light); }

