/* ===================================
   Gen-Z Learning - Bright Modern Theme
   Matching Original Website Design
   =================================== */

/* CSS Variables - Bright Green/Teal Theme */
:root {
    /* Primary Colors - Green/Teal Theme */
    --primary: #1b7a5e;
    --primary-dark: #145c47;
    --primary-light: #25a77f;
    --secondary: #f4a340;
    --accent: #e67e22;
    
    /* Legacy variable mappings */
    --primary-color: #1b7a5e;
    --secondary-color: #25a77f;
    --accent-color: #f4a340;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1b7a5e 0%, #25a77f 100%);
    --gradient-hero: linear-gradient(135deg, #1b7a5e 0%, #145c47 100%);
    --gradient-btn: linear-gradient(135deg, #f4a340 0%, #e67e22 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    --gradient-footer: linear-gradient(180deg, #1b7a5e 0%, #145c47 100%);
    
    /* Text Colors */
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #ffffff;
    --text-dark: #1a202c;
    --text-heading: #1b7a5e;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-dark: #1b7a5e;
    --bg-card: #ffffff;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    /* Other Colors */
    --border: #e2e8f0;
    --border-light: #edf2f7;
    --success: #48bb78;
    --error: #f56565;
    --warning: #ed8936;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(27, 122, 94, 0.1);
    --shadow-hover: 0 20px 40px rgba(27, 122, 94, 0.2);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', 'Poppins', sans-serif;
    
    /* Sizing */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
}

/* Loading Screen */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1b7a5e 0%, #145c47 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    font-family: var(--font-heading);
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #f4a340;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive embeds */
iframe,
video,
embed,
object {
    max-width: 100%;
}

/* Prevent any element from causing horizontal scroll */
section,
header,
footer,
main {
    max-width: 100%;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(244, 163, 64, 0.4);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 163, 64, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn-green {
    background: var(--primary);
    color: #fff;
}

.btn-green:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--primary);
    padding: 0;
    transition: var(--transition);
    width: 100%;
}

header.scrolled {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo:hover {
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(27, 122, 94, 0.9), rgba(20, 92, 71, 0.85)),
                url('images/contact-banner.jpg') center/cover no-repeat;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content h2 {
    color: var(--secondary);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 500px;
}

.hero-image-frame {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.hero-image-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 4px solid var(--secondary);
    border-radius: var(--border-radius-xl);
    z-index: -1;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.about-image img {
    border-radius: 30px 30px 30px 100px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    top: -30px;
    left: -30px;
    z-index: -1;
    opacity: 0.1;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-feature:hover {
    box-shadow: var(--shadow-card);
    transform: translateX(5px);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-feature h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.about-feature p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   KEY FEATURES SECTION
   =================================== */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-link:hover {
    color: var(--accent);
}

/* ===================================
   APPROACH SECTION
   =================================== */
.approach {
    padding: 100px 0;
    background: var(--bg-primary);
}

.approach .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.approach-content h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.approach-content .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.approach-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}

.approach-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.approach-item h4 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.approach-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 50px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50px;
    transition: width 1s ease;
}

.approach-image img {
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    width: 100%;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats {
    padding: 80px 0;
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #fff;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* ===================================
   INSTRUCTOR PAGE
   =================================== */
.instructor-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(27, 122, 94, 0.95), rgba(20, 92, 71, 0.9)),
                url('images/teaching.jpg') center/cover no-repeat;
}

.instructor-hero .container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.instructor-image-wrapper {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.instructor-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #fff;
    box-shadow: var(--shadow-xl);
    max-width: 100%;
}

.instructor-details h1 {
    color: #fff;
    margin-bottom: 10px;
}

.instructor-title {
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.instructor-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.instructor-highlights {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.highlight-item i {
    color: var(--secondary);
    font-size: 1.25rem;
}

/* Instructor Workflow */
.instructor-workflow {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.workflow-step {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 25px;
}

.workflow-step h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.workflow-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Instructor Expertise */
.instructor-expertise {
    padding: 100px 0;
    background: var(--bg-primary);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.expertise-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.expertise-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.expertise-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ===================================
   CURRICULUM PAGE
   =================================== */
.curriculum-hero {
    padding: 120px 0 60px;
    background: var(--primary);
    text-align: center;
}

.curriculum-hero h1 {
    color: #fff;
    margin-bottom: 15px;
}

.curriculum-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.curriculum-grid {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.curriculum-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.curriculum-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.curriculum-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.curriculum-card-image {
    height: 200px;
    overflow: hidden;
}

.curriculum-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.curriculum-card:hover .curriculum-card-image img {
    transform: scale(1.1);
}

.curriculum-card-content {
    padding: 30px;
}

.curriculum-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.curriculum-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.curriculum-features {
    list-style: none;
}

.curriculum-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.curriculum-features li i {
    color: var(--success);
    font-size: 0.85rem;
}

/* Curriculum Key Features */
.curriculum-key-features {
    padding: 80px 0;
    background: var(--bg-primary);
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(27, 122, 94, 0.9), rgba(20, 92, 71, 0.85)),
                url('images/contact-banner.jpg') center/cover no-repeat;
    text-align: center;
}

.contact-hero h1 {
    color: #fff;
    margin-bottom: 15px;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info h2 {
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-card);
    transform: translateX(5px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-item a {
    color: var(--primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    color: var(--text-dark);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
}

/* ===================================
   DOWNLOADS PAGE
   =================================== */
.downloads-hero {
    padding: 120px 0 60px;
    background: var(--primary);
    text-align: center;
}

.downloads-hero h1 {
    color: #fff;
    margin-bottom: 15px;
}

.downloads-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.downloads-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

.download-category {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 300px;
}

.category-header {
    background: var(--gradient-primary);
    color: #fff;
    padding: 20px 25px;
}

.category-header h3 {
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    word-break: break-word;
}

.category-content {
    padding: 25px 30px;
}

.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    transition: var(--transition);
    gap: 10px;
    flex-wrap: wrap;
}

.download-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(3px);
}

.download-item:last-child {
    margin-bottom: 0;
}

.download-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.download-info i {
    color: #e74c3c;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.download-info span {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.download-btn {
    background: var(--primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.download-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Download Folder Styles */
.download-folder {
    margin-bottom: 10px;
}

.folder-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
    cursor: pointer;
}

.folder-header i {
    color: var(--secondary);
}

.folder-content {
    padding-left: 10px;
    margin-top: 5px;
}

/* Download Category Card Styling */
.download-category {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Category Content Wrapper */
.category-content-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Category Content with Scroll */
.category-content {
    padding: 20px;
    flex: 1;
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.category-content::-webkit-scrollbar {
    width: 8px;
}

.category-content::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.category-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.category-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.scroll-arrow {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    animation: bounceDown 1.5s infinite;
    box-shadow: 0 4px 15px rgba(27, 122, 94, 0.3);
    pointer-events: auto;
    cursor: pointer;
}

.scroll-arrow:hover {
    background: var(--primary-dark);
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Scroll Top Indicator (when scrolled down) */
.scroll-top-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.scroll-top-indicator.visible {
    opacity: 1;
}

.scroll-top-arrow {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    animation: bounceUp 1.5s infinite;
    box-shadow: 0 4px 15px rgba(27, 122, 94, 0.3);
    pointer-events: auto;
    cursor: pointer;
}

@keyframes bounceUp {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-2px);
    }
}

/* ===================================
   BLOG PAGE
   =================================== */
.blog-hero {
    padding: 120px 0 60px;
    background: var(--primary);
    text-align: center;
}

.blog-hero h1 {
    color: #fff;
    margin-bottom: 15px;
}

.blog-hero p {
    color: rgba(255, 255, 255, 0.9);
}

.blog-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.blog-card h3 a {
    color: inherit;
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.blog-meta i {
    margin-right: 5px;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: var(--primary);
    text-align: center;
}

.newsletter h2 {
    color: #fff;
    margin-bottom: 15px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 35px;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--gradient-footer);
    color: #fff;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a.facebook { background: #3b5998; }
.footer-social a.linkedin { background: #0077b5; }
.footer-social a.instagram { background: #e4405f; }
.footer-social a.pinterest { background: #bd081c; }
.footer-social a.youtube { background: #ff0000; }

.footer-social a:hover {
    transform: translateY(-5px);
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.footer-newsletter-form button {
    padding: 12px 25px;
    background: var(--secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.footer-newsletter-form button:hover {
    background: var(--accent);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom .footer-social {
    justify-content: center;
}

/* ===================================
   ADMIN PAGES
   =================================== */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b7a5e, #145c47);
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
}

.login-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===================================
   MOBILE STICKY CONTACT BUTTONS
   =================================== */
.mobile-contact-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 24px));
    display: none;
    gap: 12px;
    z-index: 1000;
}

.mobile-contact-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 9999px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.mobile-contact-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.mobile-contact-btn.whatsapp {
    background: #25d366;
}

.mobile-contact-btn.call {
    background: #ff3355;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Large screens */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instructor-hero .container {
        grid-template-columns: 250px 1fr;
        gap: 40px;
    }
    
    .instructor-image {
        width: 220px;
        height: 220px;
    }
}

/* Medium screens / Tablets */
@media (max-width: 992px) {
    .hero .container,
    .about .container,
    .approach .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image,
    .about-image,
    .approach-image {
        order: -1;
    }
    
    .instructor-hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .instructor-image-wrapper {
        justify-content: center;
    }
    
    .instructor-image {
        width: 200px;
        height: 200px;
    }
    
    .instructor-highlights {
        justify-content: center;
    }
    
    .curriculum-cards,
    .blog-grid,
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-header {
        padding: 18px 20px;
    }
    
    .category-content {
        padding: 15px;
    }
}

/* Small tablets / Large phones */
@media (max-width: 768px) {
    body {
        padding-bottom: 90px;
    }

    .mobile-contact-bar {
        display: flex;
    }

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

    .nav-container {
        padding: 12px 20px;
    }
    
    nav ul {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1000;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    nav ul.active {
        transform: translateX(0);
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .features-grid,
    .curriculum-cards,
    .blog-grid,
    .expertise-grid,
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .instructor-hero {
        padding: 100px 0 60px;
    }
    
    .instructor-hero .container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .instructor-image {
        width: 180px;
        height: 180px;
    }
    
    .instructor-highlights {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .highlight-item {
        justify-content: center;
    }
    
    /* Downloads page grid fix for tablets */
    .downloads-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-category {
        max-width: 100%;
    }
    
    .category-header h3 {
        font-size: 1rem;
    }
    
    .category-content {
        max-height: 400px;
    }
    
    .download-item {
        padding: 10px 12px;
    }
    
    .download-info span {
        font-size: 0.85rem;
    }
    
    .download-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .folder-header {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    
    /* Footer newsletter */
    .footer-newsletter-form {
        flex-direction: column;
    }
    
    .footer-newsletter-form input,
    .footer-newsletter-form button {
        width: 100%;
    }
    
    /* Section paddings */
    section {
        padding: 60px 0;
    }
    
    .curriculum-hero,
    .blog-hero,
    .downloads-hero,
    .contact-hero {
        padding: 100px 0 50px;
    }
    
    .about-feature {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Hide decorative elements that might cause overflow */
    .hero-image-frame::before,
    .about-image-wrapper::before {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .instructor-image {
        width: 150px;
        height: 150px;
        border-width: 4px;
    }
    
    .instructor-details h1 {
        font-size: 1.5rem;
    }
    
    .instructor-title {
        font-size: 1rem;
    }
    
    /* Downloads on mobile */
    .downloads-hero h1 {
        font-size: 1.5rem;
    }
    
    .downloads-hero p {
        font-size: 0.9rem;
    }
    
    .category-header {
        padding: 15px;
    }
    
    .category-header h3 {
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .category-content {
        padding: 12px;
        max-height: 350px;
    }
    
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
    }
    
    .download-info {
        width: 100%;
    }
    
    .download-btn {
        align-self: flex-end;
    }
    
    .folder-header {
        font-size: 0.8rem;
    }
    
    /* Footer mobile */
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    /* Contact items */
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    /* Approach section */
    .approach-image img {
        max-width: 100%;
        border-radius: var(--border-radius);
    }
    
    /* Feature cards */
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    /* Workflow steps */
    .workflow-step {
        padding: 25px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    /* Expertise cards */
    .expertise-card {
        padding: 25px;
    }
    
    /* Blog cards */
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    /* Curriculum cards */
    .curriculum-card-image {
        height: 160px;
    }
    
    .curriculum-card-content {
        padding: 20px;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 12px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .instructor-image {
        width: 130px;
        height: 130px;
    }
    
    .highlight-item {
        font-size: 0.85rem;
    }
    
    .download-info span {
        font-size: 0.8rem;
    }
    
    .download-btn {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .category-header h3 {
        font-size: 0.85rem;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-white { color: #fff !important; }
.bg-primary { background: var(--primary) !important; }
.bg-secondary { background: var(--bg-secondary) !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Success/Error Messages */
.alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
