/* Base & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E5C41;
    /* Earthy Green */
    --primary-light: #4F835F;
    --primary-soft: #E6F0E9;
    --secondary-color: #D97706;
    /* Warm Amber for CTAs */
    --secondary-hover: #b45309;
    --text-dark: #1E293B;
    --text-light: #475569;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
    --transition: all 0.3s ease-in-out;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

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

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

/* Typography highlights */
.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary-color);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: var(--primary-soft);
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--primary-soft);
    overflow: hidden;
}

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

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1596541530949-c19b28f8ac4b?w=800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 50% 0 0 50%;
    /* Creative shape */
}

/* Trust Bar */
.trust-bar {
    background-color: white;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.cat-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.cat-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.img-plates {
    background-image: url('./images/plates.png');
}

.img-bowls {
    background-image: url('./images/bowls.png');
}

.img-glasses {
    background-image: url('./images/glasses.png');
}

.img-handmade {
    background-image: url('./images/handmade.png');
}

.cat-content {
    padding: 1.5rem;
}

.cat-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cat-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* B2B Banner */
.b2b-banner {
    position: relative;
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: white;
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.b2b-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-content {
    text-align: center;
    max-width: 800px;
}

.b2b-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.b2b-content p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.b2b-form-card {
    background: white;
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.b2b-form-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.b2b-form .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.b2b-form input,
.b2b-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.b2b-form input:focus,
.b2b-form select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.b2b-form select {
    margin-bottom: 1.5rem;
}

/* Why Choose Us */
.why-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.why-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}

.why-card .icon-wrap {
    width: 80px;
    height: 80px;
    background-color: var(--primary-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Testimonials */
.testimonial-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    /* Offset to overlap the border-bottom */
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.hidden {
    display: none;
}

.test-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.test-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.test-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.test-card h4 {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: #cbd5e1;
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    color: white;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-logo span {
    color: var(--primary-soft);
}

.brand-col p {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col a,
.footer-col p {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.footer-col a:hover {
    color: var(--primary-soft);
    padding-left: 5px;
}

.footer-col i {
    color: var(--primary-light);
    margin-right: 0.5rem;
    font-size: 1.125rem;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.875rem;
    color: #64748b;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-bg-overlay {
        width: 100%;
        opacity: 0.1;
        /* Fade into background */
        border-radius: 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
        /* simple mobile menu hiding for prototype */
    }

    .mobile-menu-btn {
        display: block;
    }

    .b2b-form .form-group {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }
}

/* Retail Billing Modal (POS) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: var(--transition);
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Login Overlay */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.login-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 900px;
    height: 80vh;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
}

.close-modal:hover {
    color: var(--text-dark);
}

.billing-container {
    display: flex;
    height: 100%;
}

.billing-products {
    flex: 2;
    padding: 2.5rem;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}

.billing-summary {
    flex: 1;
    background: var(--bg-light);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

.calc-product-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
    box-shadow: var(--shadow-sm);
}

.calc-product-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.calc-price {
    color: var(--secondary-color);
    font-weight: 600;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.qty-display {
    width: 30px;
    text-align: center;
    font-weight: 600;
}

.bill-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--text-light);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bill-items {
    flex-grow: 1;
    overflow-y: auto;
}

.bill-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.bill-total {
    border-top: 1px dashed var(--text-light);
    padding-top: 1rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: space-between;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bill-total h3 {
    margin-bottom: 0;
    color: var(--primary-color);
}

/* Print Specific Styles */
@media print {
    body * {
        visibility: hidden;
    }

    #printableBill,
    #printableBill * {
        visibility: visible;
    }

    #printableBill {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
        padding: 0;
    }

    .hide-on-print,
    .hidden-on-print {
        display: none !important;
    }

    .modal-overlay {
        position: absolute;
        background: transparent;
        backdrop-filter: none;
    }

    .modal-content {
        box-shadow: none;
        width: 100%;
        margin: 0;
        border: none;
        height: auto;
    }

    .billing-container {
        display: block;
    }
}

@media (max-width: 768px) {
    .billing-container {
        flex-direction: column;
    }

    .billing-products {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
    }

    .billing-summary {
        padding: 1.5rem;
    }

    .modal-content {
        height: 95vh;
        width: 95%;
    }
}

/* Custom Toggle Switch for Retail/Wholesale */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-light);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--secondary-color);
}

input:checked+.toggle-slider:before {
    transform: translateX(26px);
}

/* Admin Dashboard Styles */
.admin-content {
    background: var(--bg-light);
    display: block;
    overflow-y: auto;
}

.admin-header {
    background: white;
    padding: 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.admin-header p {
    color: var(--text-light);
}

.admin-body {
    padding: 2.5rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.kpi-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-color);
}

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.kpi-card h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.kpi-card h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

.chart-container,
.feedback-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.feedback-card {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
}

.fb-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.badge-retail {
    background: var(--primary-soft);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.badge-wholesale {
    background: #FEF3C7;
    color: var(--secondary-hover);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.order-details {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.fb-text {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

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

/* Scratch Card & Thank You Screen Styles */
.scratch-wrapper {
    position: relative;
    width: 300px;
    height: 150px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    overflow: hidden;
    user-select: none;
}
.scratch-result {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
.scratch-result h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.scratch-result p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.coupon-code {
    background: var(--bg-light);
    border: 2px dashed var(--secondary-color);
    padding: 0.2rem 1rem;
    font-weight: bold;
    color: var(--secondary-color);
    border-radius: 4px;
}
#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}
.thank-you-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transition: all 0.5s ease-in-out;
}
.thank-you-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}
.thank-you-content {
    transform: scale(1);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}


/* Animations for Fireworks, Balloons, and Smoke */
.smoke-effect {
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(20px);
    animation: smokeDrift 8s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes smokeDrift {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
    100% { transform: translateY(-10px) scale(0.9); opacity: 0.3; }
}

.fire-sparks {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.spark {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 12px;
    background: #ff5722;
    border-radius: 50%;
    filter: drop-shadow(0 0 4px #ffeb3b);
    animation: flyUp 3s infinite linear;
}

@keyframes flyUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-500px) scale(0.2); opacity: 0; }
}

.balloons-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
    pointer-events: none;
}

.balloon {
    position: absolute;
    bottom: -150px;
    width: 60px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    opacity: 0.9;
    animation: floatUp infinite ease-in;
}

.balloon::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid inherit;
}

/* Unique balloon colors and animation delays */
.balloon1 { left: 10%; background: #FF3B30; animation-duration: 8s; animation-delay: 0s; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.2); border-bottom-color: #FF3B30; }
.balloon2 { left: 30%; background: #4CD964; animation-duration: 10s; animation-delay: 2s; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.2); border-bottom-color: #4CD964; }
.balloon3 { left: 50%; background: #FFCC00; animation-duration: 7s; animation-delay: 1s; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.2); border-bottom-color: #FFCC00; }
.balloon4 { left: 70%; background: #5AC8FA; animation-duration: 9s; animation-delay: 3s; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.2); border-bottom-color: #5AC8FA; }
.balloon5 { left: 85%; background: #AF52DE; animation-duration: 8.5s; animation-delay: 0.5s; box-shadow: inset -5px -5px 15px rgba(0,0,0,0.2); border-bottom-color: #AF52DE; }

@keyframes floatUp {
    0% { transform: translateY(0) rotate(-5deg); opacity: 1; }
    50% { transform: translateY(-50vh) rotate(5deg); }
    100% { transform: translateY(-110vh) rotate(-5deg); opacity: 0.8; }
}