* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --navy-blue: #000080;
    --light-orange: #FFE5CC;
    --light-green: #E8F5E9;
    --bg-white: #FAFAFA;
    --bg-light: #F5F5F5;
    --text-primary: #212121;
    --text-secondary: #424242;
    --text-muted: #757575;
    --success-green: #138808;
    --error-red: #d32f2f;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-color: #E0E0E0;
    --saffron-light: #FFB366;
    --green-dark: #0D5A06;
    --gold: #d4af37;
}

body {
    font-family: 'Work Sans', 'Poppins', sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(19, 136, 8, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.85;
}

.flag-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(255, 153, 51, 0.3));
}

.logo-text {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: #5a5a5a;
    text-decoration: none;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--saffron);
}

.nav-link.active {
    color: var(--saffron);
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--saffron);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-banner-image {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeInDown 0.8s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-overlay {
    position: relative;
    width: 100%;
    z-index: 2;
    background: linear-gradient(to right, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.98) 100%);
}

.hero-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    justify-content: flex-end;
}

.hero-text-content {
    width: 50%;
    padding-left: 60px;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 50px;
}

.hero-stats {
    border-top: 2px solid #ddd;
    padding-top: 30px;
}

.stats-label {
    font-size: 18px;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    margin-bottom: 15px;
    font-weight: 400;
}

.stats-number {
    font-size: 56px;
    font-weight: 700;
    color: #22c55e;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    color: var(--text-primary);
    margin-bottom: 60px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 580px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.step-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid var(--green);
    border-radius: 24px;
    padding: 25px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease backwards;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--saffron) 0%, var(--green) 100%);
    opacity: 0.8;
}

.step-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--saffron);
    box-shadow: 0 20px 60px rgba(255, 153, 51, 0.25), 0 0 0 1px rgba(255, 153, 51, 0.1);
}

.step-card:hover::before {
    height: 8px;
    opacity: 1;
}

.step-title-top {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.step-content-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
}

/* Step 1: Form Preview */
.step-form-preview {
    width: 100%;
    max-width: 260px;
}

.form-field-preview {
    margin-bottom: 14px;
    position: relative;
}

.form-field-preview::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.step-card:hover .form-field-preview::before {
    opacity: 1;
}

.form-field-preview input {
    width: 100%;
    padding: 12px 18px 12px 26px;
    border: 2px solid rgba(19, 136, 8, 0.25);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    color: var(--text-secondary);
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(19, 136, 8, 0.08);
    transition: all 0.3s ease;
    font-weight: 500;
}

.step-card:hover .form-field-preview input {
    border-color: var(--green);
    box-shadow: 0 5px 15px rgba(19, 136, 8, 0.15);
    transform: translateX(3px);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

/* Step 2: Image Preview with Actual Flag */
.step-image-preview {
    position: relative;
    width: 100%;
    max-width: 220px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-preview-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.step-card:hover .step-preview-image {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 153, 51, 0.3);
}

/* Animated Indian Flag */
.flag-wave-container {
    width: 160px;
    height: 107px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: flag-wave 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes flag-wave {
    0%, 100% { 
        transform: rotateY(-5deg) rotateX(2deg);
    }
    25% { 
        transform: rotateY(5deg) rotateX(-2deg);
    }
    50% { 
        transform: rotateY(-3deg) rotateX(3deg);
    }
    75% { 
        transform: rotateY(3deg) rotateX(-3deg);
    }
}

.flag-stripe {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.flag-stripe.saffron {
    background: linear-gradient(135deg, #FF9933 0%, #FFB366 100%);
}

.flag-stripe.white {
    background: linear-gradient(135deg, #FFFFFF 0%, #f5f5f5 100%);
}

.flag-stripe.green {
    background: linear-gradient(135deg, #138808 0%, #0D5A06 100%);
}

.ashoka-chakra {
    font-size: 32px;
    color: #000080;
    animation: chakra-spin 8s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes chakra-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.camera-icon-wrapper {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.camera-icon {
    font-size: 42px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid var(--saffron);
}

.step-card:hover .camera-icon {
    transform: rotate(-15deg) scale(1.15);
    box-shadow: 0 10px 35px rgba(255, 153, 51, 0.5);
    border-color: var(--green);
}

/* Step 3: Upload Preview */
.step-upload-preview {
    width: 100%;
    padding: 22px 20px;
    border: 3px dashed rgba(19, 136, 8, 0.35);
    border-radius: 20px;
    background: 
        linear-gradient(135deg, #f0fdf4 0%, #fff7ed 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(19, 136, 8, 0.02) 10px,
            rgba(19, 136, 8, 0.02) 20px
        );
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-upload-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover .step-upload-preview {
    border-color: var(--saffron);
    border-style: solid;
    background: linear-gradient(135deg, #ecfdf5 0%, #fff7ed 100%);
    box-shadow: inset 0 3px 15px rgba(255, 153, 51, 0.1);
}

.step-card:hover .step-upload-preview::before {
    opacity: 1;
}

.upload-icon-large {
    font-size: 64px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    animation: float-up-down 3s ease-in-out infinite;
}

@keyframes float-up-down {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.drag-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 12px 0 6px;
    font-family: 'Inter', sans-serif;
    word-wrap: break-word;
    max-width: 100%;
}

.or-text {
    font-size: 14px;
    color: var(--text-muted);
    margin: 12px 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 15px;
}

.or-text::before,
.or-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 100%);
}

.or-text::before {
    right: 100%;
}

.or-text::after {
    left: 100%;
    background: linear-gradient(90deg, var(--border-color) 0%, transparent 100%);
}

.upload-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}

.btn-mini {
    padding: 11px 22px;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 150px;
}

.btn-mini::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-green {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-orange {
    background: linear-gradient(135deg, var(--saffron) 0%, #ff8c00 100%);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.step-card:hover .btn-mini {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.step-card:hover .btn-mini::before {
    width: 300px;
    height: 300px;
}

.step-card:hover .btn-green {
    box-shadow: 0 8px 20px rgba(19, 136, 8, 0.4);
}

.step-card:hover .btn-orange {
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
}

/* Step 4: Certificate Preview */
.step-certificate-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificate-image {
    width: 100%;
    max-width: 240px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.step-card:hover .certificate-image {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3);
}

.certificate-mockup {
    background: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 246, 240, 0.95) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.03) 2px, rgba(212, 175, 55, 0.03) 4px);
    border: 4px solid;
    border-image: linear-gradient(135deg, var(--gold) 0%, var(--saffron) 50%, var(--gold) 100%) 1;
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    min-height: 190px;
    transition: all 0.3s ease;
}

.step-card:hover .certificate-mockup {
    transform: scale(1.03);
    box-shadow: 
        0 12px 35px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.certificate-mockup::before {
    content: '✦';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 20px;
    color: var(--gold);
    opacity: 0.6;
}

.certificate-mockup::after {
    content: '✦';
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    color: var(--gold);
    opacity: 0.6;
}

.cert-header {
    text-align: center;
    margin-bottom: 12px;
}

.cert-emblem {
    font-size: 40px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    animation: gentle-pulse 4s ease-in-out infinite;
}

.cert-title {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Oswald', serif;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0 4px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.cert-subtitle {
    font-size: 13px;
    font-family: 'Inter', serif;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
    font-weight: 500;
}

.cert-text {
    font-size: 11px;
    color: var(--text-muted);
    margin: 10px 0;
    font-family: 'Inter', sans-serif;
}

.cert-line {
    font-size: 16px;
    color: var(--gold);
    margin: 10px 0;
    letter-spacing: 3px;
    font-weight: 600;
}

.cert-flags {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding: 0 15px;
}

.cert-flag {
    font-size: 28px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.step-description {
    font-size: 15px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 2px solid rgba(19, 136, 8, 0.1);
    transition: all 0.3s ease;
}

.step-card:hover .step-description {
    color: var(--saffron);
    border-top-color: rgba(255, 153, 51, 0.3);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 60px;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(19, 136, 8, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(19, 136, 8, 0.4);
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
}

/* Upload Form */
.upload-container {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease;
}

.upload-form {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-section {
    margin-bottom: 40px;
}

.form-section h2 {
    color: var(--saffron);
    font-size: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.required {
    color: var(--error-red);
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--saffron);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.upload-area.drag-over {
    border-color: var(--saffron);
    background: var(--light-orange);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.upload-content h3 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.upload-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.browse-btn,
.change-file-btn {
    background: transparent;
    color: var(--saffron);
    border: 2px solid var(--saffron);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.browse-btn:hover,
.change-file-btn:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
}

.preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preview-content img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 2px solid var(--border-color);
}

.preview-info {
    text-align: center;
}

.preview-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.hidden {
    display: none !important;
}

/* Form Actions */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.submit-btn,
.btn-primary,
.btn-edit,
.btn-delete {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
    color: var(--white);
    border: none;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before,
.btn-primary:hover::before {
    left: 100%;
}

.submit-btn:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.submit-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loader {
    display: inline;
}

.btn-loader {
    display: none;
}

.btn-secondary {
    background: transparent;
    color: var(--green);
    border: 2px solid var(--green);
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--light-green);
}

/* Gallery */
.filters {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px var(--shadow);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.filter-select {
    padding: 12px 18px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    min-width: 200px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.gallery-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--saffron);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.3);
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--bg-light);
}

.gallery-item-info {
    padding: 20px;
}

.gallery-item-name {
    color: var(--saffron);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-item-location {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-item-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 12px;
}

.loading {
    text-align: center;
    padding: 60px;
    color: var(--text-secondary);
    font-size: 18px;
}

.no-results {
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination button {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--saffron);
    background: var(--light-orange);
}

.pagination button.active {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
    color: var(--white);
    border-color: var(--saffron);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-box {
    position: relative;
    background: var(--white);
    border: 3px solid var(--saffron);
    border-radius: 24px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--light-orange);
    color: var(--saffron);
}

.modal-body {
    padding: 40px;
}

.modal-body img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 16px;
    margin-bottom: 30px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
}

.modal-info h3 {
    color: var(--saffron);
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.info-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.info-label {
    font-weight: 600;
    min-width: 120px;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

.btn-edit {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
    flex: 1;
}

.btn-delete {
    background: linear-gradient(135deg, var(--error-red) 0%, #c62828 100%);
    flex: 1;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--white);
    border: 3px solid var(--saffron);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    max-width: 500px;
    animation: scaleIn 0.5s ease;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: var(--white);
    margin: 0 auto 30px;
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
}

.modal-content h2 {
    color: var(--saffron);
    font-size: 32px;
    margin-bottom: 16px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Guidelines Section */
.guidelines-section {
    padding: 80px 0;
    background: var(--white);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.guideline-card {
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
}

.guideline-card:hover {
    transform: translateY(-8px);
    border-color: var(--saffron);
    box-shadow: 0 12px 40px rgba(255, 153, 51, 0.3);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--light-orange) 0%, var(--light-green) 100%);
}

.video-container::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 153, 51, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 1;
}

.video-container:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--saffron);
}

.video-container.playing::after {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-container:hover {
    box-shadow: 0 12px 35px rgba(255, 153, 51, 0.3);
    transform: translateY(-5px);
}

.guideline-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
}

.guideline-video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.guideline-title {
    padding: 30px;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

/* Twitter Feed Section */
.twitter-feed-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.twitter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
    justify-items: center;
}

.twitter-embed-item {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.twitter-tweet {
    margin: 10px auto !important;
}

/* Media Gallery Section */
.media-gallery-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.hashtags {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.hashtag {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-light) 100%);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
    transition: all 0.3s ease;
}

.hashtag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

/* Gallery Grid Preview */
.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item-square:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 153, 51, 0.3);
}

.gallery-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
}

.gallery-item-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
}

.gallery-cta {
    margin-top: 50px;
}

.btn-gallery {
    display: inline-block;
    background: transparent;
    color: var(--saffron);
    border: 3px solid var(--saffron);
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-gallery:hover {
    background: var(--saffron);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.3);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.modal-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 85%;
    z-index: 10002;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 48px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 153, 51, 0.9);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 48px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10003;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-nav:hover {
    background: rgba(255, 153, 51, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    z-index: 10003;
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    background: var(--white);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-ministry {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.footer-tricolor {
    height: 4px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
    background: linear-gradient(to right, 
        var(--saffron) 0%, 
        var(--saffron) 33.33%, 
        var(--white) 33.33%, 
        var(--white) 66.66%, 
        var(--green) 66.66%, 
        var(--green) 100%
    );
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-website {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.footer-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--saffron);
    text-decoration: underline;
}

.footer-separator {
    color: #666;
    font-size: 14px;
}

/* Promo Modal */
.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    padding: 20px;
}

.promo-modal-content {
    background: linear-gradient(145deg, #0a0a2e 0%, #1a1a4e 100%);
    border: 2px solid rgba(255, 153, 51, 0.4);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    max-width: 460px;
    width: 100%;
    animation: scaleIn 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 153, 51, 0.1);
}

.promo-success-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.promo-modal-content h2 {
    color: #fff;
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--saffron) 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
}

.promo-games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.promo-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.promo-game-card:hover {
    background: rgba(255, 153, 51, 0.15);
    border-color: var(--saffron);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.2);
}

.promo-game-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.promo-game-name {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.promo-cta {
    margin-bottom: 20px;
}

.promo-register-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--saffron) 0%, #ff6600 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: promoShimmer 2s ease-in-out infinite;
}

@keyframes promoShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.promo-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 153, 51, 0.5);
}

.promo-continue {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 10px;
    transition: color 0.2s;
}

.promo-continue:hover {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 480px) {
    .promo-modal-content {
        padding: 30px 20px;
    }

    .promo-modal-content h2 {
        font-size: 22px;
    }

    .promo-register-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Certificate Page */
.certificate-section {
    padding: 60px 0;
    background: var(--bg-light);
    min-height: 70vh;
}

.cert-page-loading {
    text-align: center;
    padding: 100px 20px;
}

.cert-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--saffron);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: chakra-spin 0.8s linear infinite;
}

.cert-page-loading p {
    color: var(--text-secondary);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.cert-page-error {
    text-align: center;
    padding: 80px 20px;
}

.cert-error-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--error-red);
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.cert-page-error h2 {
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
}

.cert-page-error p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.cert-preview-wrapper {
    max-width: 900px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease;
}

.cert-canvas-container {
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cert-canvas-container canvas {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.cert-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.cert-download-btn {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%) !important;
    box-shadow: 0 4px 15px rgba(19, 136, 8, 0.3) !important;
}

.cert-download-btn:hover {
    box-shadow: 0 6px 20px rgba(19, 136, 8, 0.4) !important;
}

.cert-tiranga-btn {
    background: linear-gradient(135deg, var(--saffron) 0%, #ff6600 100%) !important;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cert-tiranga-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4) !important;
}

.cert-upload-preview {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.cert-upload-preview h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 20px;
}

.cert-photo-frame {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--saffron);
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.25);
}

.cert-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-user-details p {
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin-bottom: 4px;
}

.cert-user-details strong {
    color: var(--text-primary);
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .certificate-section {
        padding: 40px 0;
    }

    .cert-canvas-container {
        padding: 10px;
    }

    .cert-actions {
        flex-direction: column;
        align-items: center;
    }

    .cert-photo-frame {
        width: 160px;
        height: 160px;
    }
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 50px;
    border: 2px solid var(--saffron);
    box-shadow: 0 4px 20px var(--shadow);
    z-index: 2000;
    animation: slideUp 0.3s ease;
    max-width: 90%;
    font-weight: 500;
}

.toast.error {
    border-color: var(--error-red);
    color: var(--error-red);
    background: #FFEBEE;
}

.toast.success {
    border-color: var(--success-green);
    color: var(--success-green);
    background: var(--light-green);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        flex-direction: column;
    }

    .hero-video-container {
        position: relative;
        width: 100%;
        height: 450px;
    }

    .hero-overlay {
        position: relative;
        background: var(--white);
    }

    .hero-content-wrapper {
        padding: 50px 30px;
        justify-content: center;
    }

    .hero-text-content {
        width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .hero-main-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .stats-number {
        font-size: 44px;
    }

    .section-title {
        font-size: 32px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .nav-container {
        padding: 12px 20px;
    }

    .logo-image {
        height: 45px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .upload-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-edit,
    .btn-delete {
        width: 100%;
    }

    .btn-cta {
        padding: 16px 40px;
        font-size: 16px;
    }

    .hashtag {
        font-size: 16px;
        padding: 10px 24px;
    }

    .gallery-grid-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .twitter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 10px 15px;
    }

    .logo-image {
        height: 40px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-video-container {
        height: 350px;
    }

    .hero-content-wrapper {
        padding: 40px 20px;
    }

    .hero-main-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .stats-label {
        font-size: 16px;
    }

    .stats-number {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

    .step-card {
        padding: 25px 18px;
        min-height: 360px;
    }

    .step-title-top {
        font-size: 22px;
    }

    /* Step 1 - Mobile */
    .form-field-preview input {
        font-size: 14px;
        padding: 13px 18px 13px 26px;
    }

    /* Step 2 - Mobile */
    .step-image-preview {
        max-width: 180px;
    }

    .step-preview-image {
        max-width: 180px;
    }

    .ashoka-chakra {
        font-size: 24px;
    }

    .camera-icon {
        font-size: 32px;
        padding: 8px;
        bottom: 10px;
        right: 10px;
    }

    /* Step 3 - Mobile (Most Important Fix) */
    .step-upload-preview {
        padding: 20px 15px;
    }

    .upload-icon-large {
        font-size: 48px;
        margin-bottom: 12px;
    }

    .drag-text {
        font-size: 13px;
        margin: 10px 0 5px;
        line-height: 1.4;
    }

    .or-text {
        font-size: 12px;
        margin: 10px 0;
    }

    .or-text::before,
    .or-text::after {
        width: 20px;
    }

    .upload-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .btn-mini {
        width: 100%;
        padding: 11px 20px;
        font-size: 11px;
    }

    /* Step 4 - Mobile */
    .certificate-image {
        max-width: 200px;
    }

    .step-description {
        font-size: 14px;
        margin-top: 18px;
        padding-top: 12px;
    }

    .btn-cta {
        padding: 14px 30px;
        font-size: 14px;
    }

    .btn-gallery {
        padding: 14px 30px;
        font-size: 14px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .logo-image {
        height: 40px;
    }

    .upload-area {
        padding: 40px 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid-preview {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .video-container::after {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 36px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-counter {
        bottom: 20px;
        font-size: 16px;
        padding: 10px 20px;
    }

    .modal-image-container {
        max-width: 95%;
        max-height: 80%;
    }

    .modal-image-container img {
        max-height: 75vh;
    }

    .twitter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .footer-website {
        font-size: 18px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-separator {
        display: none;
    }

    .footer-tricolor {
        max-width: 100%;
    }

}

