:root {
    --primary: #8b5cf6;
    --secondary: #ec4899;
    --bg: #fdfaf6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --radius-lg: 24px;
    --radius-md: 12px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hidden {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Branded Loader Overlay */
#initialLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fdfaf6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-content {
    text-align: center;
}

.loader-logo-ring {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    padding: 10px;
    background: white;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto 40px;
}

.loader-logo-ring::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

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

.loader-text {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.loader-status {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    opacity: 0.6;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.15);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar Search */
.nav-search-container {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 40px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search-container i,
.nav-search-container svg {
    position: absolute;
    left: 16px;
    color: var(--text-light);
    opacity: 0.5;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
}

.nav-search-input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.nav-search-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.1);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    opacity: 1;
}

/* Workshop Grid */
.workshop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin: 0 auto 60px;
}

/* Premium Neat Cards */
.workshop-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.12);
}

.workshop-img-container {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.workshop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.workshop-card:hover .workshop-img {
    transform: scale(1.08);
}

.workshop-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.workshop-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.3;
}

.workshop-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 2px;
}

.workshop-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.btn-card-register {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.btn-card-register:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.btn-show-more {
    padding: 16px 48px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

.btn-show-more:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.2);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--white);
    border-radius: 32px;
    width: 95%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-hero {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.ws-field-display {
    background: #f8fafc;
    padding: 32px;
    border-radius: 24px;
    margin-bottom: 40px;
}

.ws-field-row {
    margin-bottom: 20px;
}

.ws-field-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ws-field-value {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-dark);
}

/* Registration Form Premium Styles */
.registration-form {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8fafc;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.08);
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.25);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.success-state {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    background: #1e1b2e;
    color: white;
    padding: 80px 0 40px;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 24px;
    line-height: 1.8;
}

.footer-connect h4 {
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 32px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item:hover {
    color: white;
    transform: translateX(8px);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    header h1 {
        font-size: 40px;
    }

    .footer-empty {
        display: none;
    }
}

/* About Page Premium Styles */
.about-hero {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #f5f3ff, var(--bg));
    text-align: center;
}

.hero-p {
    font-size: 22px;
    max-width: 700px;
    margin: 24px auto 0;
    color: var(--text-light);
    line-height: 1.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: blobPulse 10s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.2);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(236, 72, 153, 0.2);
    bottom: -150px;
    right: -150px;
}

@keyframes blobPulse {
    from {
        transform: scale(1);
        opacity: 0.4;
    }

    to {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.story-section {
    padding: 100px 0;
}

.story-card {
    background: var(--white);
    padding: 80px;
    border-radius: 48px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.quote {
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}

.story-text {
    text-align: left;
    color: var(--text-light);
    font-size: 19px;
    line-height: 1.8;
}

.story-footer {
    font-size: 24px;
    font-weight: 800;
    margin-top: 48px;
    color: var(--text-dark);
}

.purpose-section {
    padding: 120px 0;
    background: #f8fafc;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.purpose-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin: 24px 0;
    line-height: 1.1;
}

.purpose-visual {
    position: relative;
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.box {
    border-radius: 24px;
}

.box-1 {
    height: 180px;
    background: rgba(139, 92, 246, 0.1);
}

.box-2 {
    height: 280px;
    background: rgba(236, 72, 153, 0.1);
}

.box-3 {
    height: 280px;
    background: rgba(236, 72, 153, 0.1);
    margin-top: -100px;
}

.box-4 {
    height: 180px;
    background: rgba(139, 92, 246, 0.1);
}

.offerings-section {
    padding: 120px 0;
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.offering-card {
    background: #f8fafc;
    padding: 48px;
    border-radius: 40px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.offering-card:hover {
    background: var(--white);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(139, 92, 246, 0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.offering-card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.mission-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin: 64px 0;
}

.mission-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mission-card .dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    margin-bottom: 24px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.badge.secondary {
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary);
}

.badge.transparent {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.final-card {
    background: #f8fafc;
    padding: 80px;
    border: 2px dashed #e2e8f0;
    border-radius: 48px;
    text-align: center;
}

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

    .story-card {
        padding: 40px;
        border-radius: 32px;
    }

    .quote {
        font-size: 22px;
    }

    .story-text {
        font-size: 16px;
    }

    .about-hero {
        padding: 80px 0;
    }

    .final-card {
        padding: 40px;
    }
}