/* CSS Variables */
:root {
    --primary-color: #f15e60;
    --primary-dark: #d94a4c;
    --primary-light: #ff8a8c;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 20px rgba(241, 94, 96, 0.15);
    --shadow-hover: 0 8px 30px rgba(241, 94, 96, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* RTL Support for Urdu */
body.rtl {
    direction: rtl;
    font-family: 'Noto Nastaliq Urdu', 'Poppins', sans-serif;
}

body.rtl .lang-switcher {
    left: 20px;
    right: auto;
}

body.rtl .reward-item:hover {
    transform: translateX(-5px);
}

body.rtl .method-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

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

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: var(--bg-white);
    padding: 8px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.lang-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-light);
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.logo {
    margin-bottom: 30px;
    position: relative;
}

.logo-text {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
}

.logo-subtitle {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.whatsapp-btn {
    background: #25D366 !important;
    color: var(--text-white) !important;
    margin-bottom: 15px;
    display: inline-block;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-btn.large {
    padding: 20px 60px;
    font-size: 18px;
}

/* Section common styles */
section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Section Header with More button */
.section-header {
    position: relative;
    margin-bottom: 0;
}

.section-header h2 {
    margin-bottom: 40px;
}

.more-btn {
    position: absolute;
    right: 4px;
    top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(241, 94, 96, 0.3);
}

.more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 94, 96, 0.4);
}

body.rtl .more-btn {
    right: auto;
    left: 0;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
}

/* ===== Videos Page Styles ===== */
.videos-page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
}

.videos-page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.videos-page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: var(--transition);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

body.rtl .back-btn {
    left: auto;
    right: 20px;
}

.videos-group {
    padding: 60px 20px;
}

.videos-group.alt-bg {
    background: var(--bg-light);
}

.videos-group h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 35px;
    color: var(--text-dark);
    position: relative;
}

.videos-group h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.video-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.video-card-player {
    position: relative;
    width: 100%;
}

.video-card-player video {
    width: 100%;
    display: block;
}

.video-card-info {
    padding: 16px 20px;
}

.video-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* About Section */
.about {
    padding: 80px 20px;
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* About TIM Section */
.about-tim {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.about-tim p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Certificate Grid */
.cert-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cert-grid img {
    max-width: 300px;
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.cert-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* Swiper Carousel Common */
.swiper {
    margin-top: 30px;
    padding-bottom: 45px;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.swiper-slide img:hover {
    box-shadow: var(--shadow-hover);
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--primary-color);
    background: rgba(255,255,255,0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

/* Certificate Swiper */
.cert-swiper .swiper-slide img {
    height: 320px;
    object-fit: cover;
}

/* Gallery Swiper (photos) */
.gallery-swiper {
    margin-bottom: 30px;
}

.gallery-swiper .swiper-slide img {
    height: 280px;
    object-fit: cover;
}

/* Video Swiper */
.video-swiper .video-thumb {
    margin: 0;
}

/* Agreement Swiper */
.agreement-swiper {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.agreement-swiper .swiper-slide img {
    height: auto;
}

/* Video Section */
.video-section {
    padding: 80px 20px;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper video {
    width: 100%;
    display: block;
}


.video-thumb {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-thumb:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.video-thumb video {
    width: 100%;
    display: block;
}

.video-thumb p {
    padding: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-white);
}

/* Admin Upload Panel */
.admin-upload-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    background: var(--primary-color);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(241, 94, 96, 0.3);
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

.admin-upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(241, 94, 96, 0.4);
}

.admin-panel {
    margin-top: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.admin-panel-content {
    max-width: 500px;
    margin: 0 auto;
}

.password-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.password-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.password-form button,
.upload-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.password-form button:hover,
.upload-form button:hover {
    background: var(--primary-dark);
}

.file-input-wrapper {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-label {
    display: block;
    padding: 12px 20px;
    background: var(--bg-white);
    border: 2px dashed #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.file-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.progress-container {
    margin: 15px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
    color: var(--text-dark);
}

#uploadResult {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

#uploadResult.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#uploadResult.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

body.rtl .admin-upload-btn {
    margin-left: 0;
    margin-right: 10px;
}

/* Join Program Section */
.join-program {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    text-align: center;
}

.join-program h2 {
    color: var(--text-white);
}

.join-program h2::after {
    background: var(--text-white);
}

.join-program p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.8;
}

/* Activities Section */
.activities {
    padding: 80px 20px;
    background: var(--bg-light);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.activity-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.activity-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.activity-card h3 {
    font-size: 18px;
    color: var(--primary-color);
}

/* Prize Tiers */
.prize-tiers {
    max-width: 700px;
    margin: 0 auto 30px;
}

.prize-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--bg-white);
    border-radius: 8px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.prize-tier:hover {
    box-shadow: var(--shadow);
}

.highlight-tier {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

.tier-label {
    font-weight: 600;
    font-size: 16px;
}

.tier-prize {
    font-size: 14px;
    color: var(--text-light);
}

.highlight-tier .tier-prize {
    color: rgba(255,255,255,0.9);
}

.promo-note {
    text-align: center;
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 500;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Video Gallery Section */
.video-gallery-section {
    padding: 80px 20px;
}

.video-gallery-section.alt-bg {
    background: var(--bg-light);
}


/* Rewards Section */
.rewards {
    padding: 80px 20px;
    background: var(--bg-light);
}

.rewards-list {
    max-width: 800px;
    margin: 0 auto;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    transition: var(--transition);
}

.reward-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.highlight-reward {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.reward-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.reward-item p {
    font-size: 15px;
    color: var(--text-dark);
}

/* TIM Rewards Section */
.tim-rewards {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

.tim-rewards h2 {
    color: var(--text-white);
}

.tim-rewards h2::after {
    background: var(--text-white);
}

.tim-rewards .reward-item {
    background: rgba(255,255,255,0.15);
}

.tim-rewards .reward-item:hover {
    background: rgba(255,255,255,0.25);
}

.tim-rewards .reward-item p {
    color: var(--text-white);
}

.tim-rewards .highlight-reward {
    background: rgba(255,255,255,0.25);
    border-left: 4px solid var(--text-white);
}

/* Team Table */
.team-table {
    max-width: 500px;
    margin: 40px auto;
}

.team-table h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.rewards-table {
    max-width: 500px;
    margin: 0 auto;
}

.reward-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.reward-row:hover {
    background: rgba(255,255,255,0.2);
}

.reward-row.highlight-row {
    background: rgba(255,255,255,0.25);
    font-weight: 600;
}

.reward-row .members {
    font-size: 16px;
}

.reward-row .amount {
    font-size: 20px;
    font-weight: 700;
}

/* Special Draw */
.special-draw {
    margin-top: 40px;
    text-align: center;
}

.special-draw h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.special-draw .section-desc {
    color: rgba(255,255,255,0.85);
}

.bonus-prizes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.prize {
    padding: 15px 25px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.prize:hover {
    background: rgba(255,255,255,0.3);
}

.prize.highlight-prize {
    background: var(--text-white);
    color: var(--primary-color);
}

/* Agreement Section */
.agreement-section {
    padding: 80px 20px;
    background: var(--bg-light);
}


/* Security Section */
.security {
    padding: 60px 20px;
    background: var(--bg-white);
}

.security-content {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: var(--border-radius);
}

.security-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.security h3 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 20px;
}

.security p {
    color: #558b2f;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--bg-light);
    text-align: center;
}

.contact p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-info {
    margin: 30px 0;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background: var(--text-dark);
    color: var(--text-white);
    text-align: center;
}

.footer .logo-text {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer p {
    opacity: 0.8;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 14px;
}

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

/* Floating Side Navigation */
.side-nav {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 6px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.side-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.side-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.side-nav-item:hover {
    background: var(--bg-light);
    transform: scale(1.15);
}

.side-nav-item.active {
    background: var(--primary-color);
}

.side-nav-item.active .side-nav-icon {
    filter: brightness(0) invert(1);
}

.side-nav-icon {
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
}

.side-nav-label {
    position: absolute;
    right: 46px;
    background: var(--text-dark);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(8px);
    transition: all 0.25s ease;
}

.side-nav-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--text-dark);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.side-nav-item:hover .side-nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* RTL side nav */
body.rtl .side-nav {
    right: auto;
    left: 10px;
}

body.rtl .side-nav-label {
    right: auto;
    left: 46px;
    transform: translateX(-8px);
}

body.rtl .side-nav-label::after {
    right: auto;
    left: -6px;
    border-left: none;
    border-right: 6px solid var(--text-dark);
}

body.rtl .side-nav-item:hover .side-nav-label {
    transform: translateX(0);
}

/* Image Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lang-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .logo-text {
        font-size: 36px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .cta-btn.large {
        padding: 16px 40px;
        font-size: 16px;
    }

    section h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .more-btn {
        padding: 4px 10px;
        font-size: 10px;
        top: 100px;
    }

    .videos-page-header {
        padding: 80px 20px 40px;
    }

    .videos-page-header h1 {
        font-size: 28px;
    }

    .back-btn {
        top: 12px;
        left: 12px;
        font-size: 13px;
        padding: 6px 12px;
    }

    body.rtl .back-btn {
        left: auto;
        right: 12px;
    }

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

    .video-card-info {
        padding: 12px 16px;
    }

    .cert-swiper .swiper-slide img {
        height: 240px;
    }

    .gallery-swiper .swiper-slide img {
        height: 220px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prize-tier {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .reward-item {
        padding: 15px;
        gap: 15px;
    }

    .reward-icon {
        font-size: 24px;
    }

    .security-content {
        flex-direction: column;
        text-align: center;
    }

    .prize {
        padding: 12px 20px;
    }

    .side-nav {
        right: 4px;
        padding: 6px 4px;
        gap: 2px;
    }

    .side-nav-item {
        width: 30px;
        height: 30px;
    }

    .side-nav-icon {
        font-size: 13px;
    }

    .side-nav-label {
        right: 38px;
    }

    body.rtl .side-nav {
        left: 4px;
    }

    body.rtl .side-nav-label {
        left: 38px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 90px 15px 50px;
    }

    .logo-text {
        font-size: 32px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .cert-swiper .swiper-slide img {
        height: 200px;
    }

    .gallery-swiper .swiper-slide img {
        height: 180px;
    }

    .activities-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .bonus-prizes {
        gap: 10px;
    }

    .prize {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-card,
.reward-item,
.prize-tier,
.video-thumb,
.swiper {
    animation: fadeInUp 0.6s ease forwards;
}
