/* ===========================
   CSS Variables
   =========================== */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #06B6D4;
    --accent-color: #F59E0B;
    --success-color: #10B981;
    --danger-color: #EF4444;
    
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;
    
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===========================
   Container
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

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

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

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

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

.nav-link-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow-lg);
}

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

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-download {
    background: var(--success-color);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
}

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

.hero-image {
    position: relative;
    height: 400px;
}

/* Hide on touch devices */
@media (pointer: coarse) {
    .hero-image {
        display: none !important;
    }
}

/* Hide on devices without hover capability (mobile) */
@media (hover: none) {
    .hero-image {
        display: none !important;
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

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

.floating-card .text {
    font-weight: 600;
    font-size: 1.1rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 8px;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===========================
   What We Do Section
   =========================== */
.what-we-do {
    background: var(--bg-secondary);
}

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

.content-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===========================
   Workshops Section
   =========================== */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 100px;
}

.workshop-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: var(--transition-base);
}

.workshop-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Keyboard focus: show same visual as hover when a card or its children receive focus */
.workshop-card:focus-within {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Remove default browser outline on workshop links; focus state handled by focus-within on the card for accessibility */
.workshop-link:focus,
.workshop-link:focus-visible {
    outline: none;
}

.workshop-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.workshop-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.workshop-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.workshop-details {
    font-size: 0.95rem;
    color: var(--text-light);
}

.workshop-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.workshop-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.workshop-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.download-all-section {
    text-align: center;
    padding: 80px 48px;
    margin-top: 80px;
    margin-bottom: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* ===========================
   Quick Tips Section
   =========================== */
.quick-tips {
    background: var(--bg-secondary);
}

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

.tip-card {
    background: white;
    padding: 24px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.tip-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.tip-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===========================
   About Section
   =========================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-text strong {
    color: var(--primary-color);
}

/* ===========================
   About Page Styles
   =========================== */
.about-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.about-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-intro .subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 3px solid var(--border-color);
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.about-story strong {
    color: var(--primary-color);
    font-weight: 700;
}

.mission-highlight {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-top: 40px;
    color: white;
    box-shadow: var(--shadow-xl);
}

.mission-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.mission-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 64px;
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
}

.stat-item:hover {
    background: var(--bg-secondary);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mission-section {
    background: var(--bg-secondary);
    padding: 64px;
    border-radius: var(--border-radius-xl);
    margin-bottom: 80px;
}

.mission-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.mission-list {
    list-style: none;
    margin-top: 24px;
}

.mission-list li {
    font-size: 1.05rem;
    color: var(--text-secondary);
    padding: 12px 0;
    padding-left: 40px;
    position: relative;
    line-height: 1.6;
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.values-section {
    margin-bottom: 80px;
}

.values-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

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

.value-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-section {
    text-align: center;
    padding: 80px 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-xl);
    color: white;
    margin-top: 80px;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    color: white;
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

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

/* ===========================
   Responsive - About Page
   =========================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-intro h2 {
        font-size: 1.8rem;
    }
    
    .stats-banner {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .mission-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .mission-section {
        padding: 40px 24px;
    }
    
    .cta-section {
        padding: 48px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* ===========================
   Downloads Page Styles
   =========================== */
.downloads-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
}

.downloads-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.downloads-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.downloads-content {
    padding: 80px 0;
}

.download-category {
    margin-bottom: 64px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--border-color);
}

.category-icon {
    font-size: 3rem;
}

.category-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.category-header p {
    color: var(--text-secondary);
}

.download-items {
    display: grid;
    gap: 20px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: var(--transition-base);
}

.download-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download-icon {
    font-size: 2.5rem;
}

.download-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.download-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-all-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px;
    background: white;
    border: 3px dashed var(--primary-color);
    border-radius: var(--border-radius-xl);
    margin-top: 64px;
}

.download-all-icon {
    font-size: 4rem;
}

.download-all-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.download-all-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-section a:hover {
    color: white;
    padding-left: 8px;
}

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

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===========================
   Animations
   =========================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image {
        display: none !important; /* Hide on tablets and below */
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Hide hero floating cards on mobile */
    .hero-image {
        display: none !important;
    }
    
    /* Remove large margin from top and reduce hero height */
    .hero {
        min-height: auto !important;
        padding: 80px 0 40px !important;
        margin: 0 !important;
    }
    
    .container.hero-content,
    .hero-content {
        padding: 5px !important;
        margin: 0 !important;
    }
    
    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none !important;
    }
    
    /* Minimalist button design for mobile */
    .hero-text {
        padding: 0 20px !important;
    }
    .hero-subtitle {
        padding: 0 10px !important;
    }
    .btn {
        width: auto !important;
        max-width: none !important;
        padding: 16px 24px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        margin: 0 !important;
        display: inline-flex !important;
        text-align: center !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.2s ease !important;
    }

    /* Ensure buttons, subtitle and title have 5px horizontal breathing room on mobile */
    .btn,
    .hero-subtitle,
    .hero-text h1 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .btn-primary {
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
    }
    
    .btn-secondary {
        background: white !important;
        color: var(--primary-color) !important;
        border: 2px solid var(--primary-color) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        margin-top: 32px !important;
        width: 100% !important;
        padding: 0 12px !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    /* Make buttons sit side-by-side and share available width */
    .hero-buttons .btn {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        max-width: none !important;
    }
    
    /* Timeline: Image on top, Text on bottom - ALL items */
    .timeline-item {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        margin-bottom: 32px !important;
    }

    /* All timeline children reset */
    .timeline-item > div {
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Force all TEXT sections to appear SECOND (bottom) */
    .timeline-item > div[style*="background:white"],
    .timeline-item > div[style*="background: white"] {
        order: 2 !important;
        border-radius: 0 0 16px 16px !important;
        padding: 24px 20px !important;
    }
    
    /* Force all IMAGE sections to appear FIRST (top) */
    .timeline-item > div[style*="background:#"],
    .timeline-item > div[style*="min-height"] {
        order: 1 !important;
        border-radius: 16px 16px 0 0 !important;
        padding: 0 !important;
        min-height: 220px !important;
    }
    
    .timeline-item img {
        width: 100% !important;
        height: 100% !important;
        min-height: 220px !important;
        max-height: 260px !important;
        object-fit: cover !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .scam-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .evolution-section {
        padding: 48px 24px !important;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 100px 40px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition-base);
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .workshops-grid,
    .content-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .download-info {
        flex-direction: column;
        text-align: center;
    }
    
    .download-all-card {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .downloads-header h1 {
        font-size: 2rem;
    }
}

/* Additional mobile tweaks to reduce congestion and prevent navbar overlap */
@media (max-width: 600px) {
    /* Make sure the fixed navbar doesn't cover page content */
    body {
        padding-top: 72px;
    }

    .navbar .nav-container {
        padding: 10px 16px;
    }

    /* Reduce large header padding on small screens */
    .about-header,
    .downloads-header {
        padding: 80px 0 40px;
    }

    .downloads-content {
        padding: 40px 0;
    }

    /* Give the video some breathing room */
    .learn-video {
        margin-bottom: 20px;
    }

    /* Make buttons easier to tap and stack neatly */
    .btn {
        padding: 12px 18px;
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 12px;
    }

    /* Tighter, cleaner download items */
    .download-item {
        padding: 16px;
        gap: 12px;
    }

    .download-info h3 {
        font-size: 1rem;
    }

    .download-info p {
        font-size: 0.95rem;
    }

    /* Slightly reduce footer padding so page feels balanced */
    .footer {
        padding: 40px 0 20px;
    }
}

/* Stronger phone-specific tweaks to improve layout on small devices */
@media (max-width: 420px) {
    /* Ensure navbar doesn't overlap and is compact */
    .navbar {
        position: fixed;
        height: 56px;
        padding: 0;
    }

    .nav-container {
        padding: 8px 12px;
    }

    body {
        padding-top: 56px; /* match navbar height */
    }

    /* Make hero content stack and reduce visual weight */
    .hero {
        padding-top: 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 8px 5px !important;
    }

    /* Reinforce padding specifically for the container selector to avoid cascade overrides */
    .hero .container.hero-content {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .hero-image {
        display: none !important; /* Force hide on mobile */
    }

    .floating-card {
        display: none !important; /* hide decorative floating cards on small screens */
    }

    .hero-text h1 {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    /* Make the embedded video more compact and responsive */
    .learn-video > div {
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
        border-radius: 10px;
    }

    .learn-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    /* Buttons: full width with comfortable tap targets */
    .btn {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
    }

    .hero-buttons {
        gap: 12px;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    .hero-buttons .btn {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
    }

    /* Downloads and lists: stack and increase spacing */
    .download-item {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: 14px;
        gap: 12px;
    }

    .download-info {
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }

    .download-info h3 {
        font-size: 1rem;
    }

    .download-info p {
        font-size: 0.95rem;
    }

    /* Footer: compact single column with adequate spacing */
    .footer {
        padding: 32px 0 16px;
    }

    .footer-content {
        gap: 28px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
    }

    /* Make timeline and stats stack on mobile */
    .timeline-item {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .timeline-item > div {
        order: 0 !important;
    }

    /* Adjust timeline images for mobile */
    .timeline-item img {
        min-height: 200px !important;
        max-height: 250px !important;
    }

    .stats-grid,
    .scam-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .protection-summary {
        padding: 40px 20px !important;
    }

    .protection-summary h2 {
        font-size: 1.8rem !important;
    }

    .protection-summary p {
        font-size: 1rem !important;
    }
}
