/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* SMARTE Kindness Colors */
    --safe-green: #4CAF50;
    --meeting-pink: #FF69B4;
    --accepting-orange: #FF9800;
    --reliable-yellow: #FFEB3B;
    --tell-red: #F44336;
    --ethical-blue: #2196F3;
    --kindness-purple: #9C27B0;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-dark: #212529;
    
    /* Accent Colors */
    --primary: #6f42c1;
    --secondary: #fd7e14;
    --accent: #20c997;
    
    /* Typography - Using widely supported fonts */
    --font-family: 'Arial', 'Helvetica', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Define color variables */
    --primary-color: #6A1B9A;        /* Lively deep purple */
    --secondary-color: #FFB300;      /* Warm amber */
    --tertiary-color: #FF4081;       /* Bright pink accent */
    --quaternary-color: #00E5FF;     /* Cool cyan highlights */
    --light-bg: #FFFBF0;             /* Soft cream background */
    --dark-text: #333333;
    --light-text: #FFFFFF;
    
    /* Theme-specific colors (change with body class) */
    --theme-color-home: #6A1B9A;
    --theme-color-about: #FFB300;
    --theme-color-online-safety: #FF4081;
    --theme-color-bead2code: #00E5FF;
    --theme-color-learning-platform: #00E676; /* Fresh green */
    --theme-color-team: #00E676;
    --theme-color-contact: #f90000;
    --theme-color-mandhwane: #F97316;
    --theme-color-book: #16A34A;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ===== THEME-BASED BODY STYLES ===== */
body.theme-home {
    --accent-color: var(--theme-color-home);
    background-color: #f1e9ff;
}

body.theme-about {
    --accent-color: var(--theme-color-about);
    background-color: #fff9e6;
}


body.theme-online-safety {
    --accent-color: var(--theme-color-online-safety);
    background-color: #ffe6f0;
}

body.theme-bead2code {
    --accent-color: var(--theme-color-bead2code);
    background-color: #e6f9ff;
}

body.theme-learning-platform {
    --accent-color: var(--theme-color-learning-platform);
    background-color: #e6fff1;
}

body.theme-team {
    --accent-color: var(--theme-color-team);
    background-color: #ddffd6;
}

body.theme-mandhwane {
    --accent-color: var(--theme-color-mandhwane);
    background-color: #fff0e6;
}

body.theme-book {
    --accent-color: var(--theme-color-book);
    background-color: #e6fff1;
}

body.theme-contact {
    --accent-color: var(--theme-color-contact);
     background-color: #ffbfbf;
}

/* ===== TYPOGRAPHY - MOBILE FIRST ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Mobile-first typography */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Tablet and up */
@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.5rem; }
    
    p {
        font-size: 1.1rem;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.5rem; }
}

/* ===== CONTAINER - MOBILE FIRST ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .container {
        padding: 0 24px;
    }
}

/* Navigation */
.logo-img {
    height: 60px;
    width: auto;
    display: block;
}
.nav-logo a {
    display: flex;
    align-items: center;
}
/* ===== NAVIGATION - MOBILE FIRST ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Tablet and up */
@media (min-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 70px;
    }
}

.nav-logo h2 {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Tablet and up */
@media (min-width: 768px) {
    .nav-logo h2 {
        font-size: 1.5rem;
    }
}

/* ===== NAVIGATION MENU - MOBILE FIRST ===== */
.nav-menu {
    display: none;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
    padding: 0.5rem 0;
}

/* Desktop and up - show horizontal menu */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0;
    }
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===== HAMBURGER MENU - MOBILE FIRST ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: none;
    background: transparent;
    outline: none;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s ease;
    border-radius: 2px;
}

/* Desktop and up - hide hamburger */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}



/* Hamburger animation for active state */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hamburger:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger:focus:not(:focus-visible) {
    outline: none;
}

/* ===== HERO SECTION - MOBILE FIRST ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    text-align: center;
}

/* ===== HERO CONTENT - MOBILE FIRST ===== */
.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--kindness-purple);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

.hero-text {
    font-size: 1rem;
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.8);
}

/* Tablet and up */
@media (min-width: 768px) {
    .hero {
        min-height: 60vh;
        padding-top: 70px;
        background-attachment: fixed;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
        text-align: justify;
        max-width: 800px;
    }
    
    .hero-text {
        font-size: 1.2rem;
        text-align: justify;
        max-width: 800px;
        margin-bottom: 2.5rem;
    }
}

/* Desktop and up */
@media (min-width: 1024px) {
    .hero {
        min-height: 70vh;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.8rem;
        max-width: 1280px;
    }
    
    .hero-text {
        font-size: 1.8rem;
        max-width: 1280px;
        margin-bottom: 3rem;
    }
}

.hero-image-placeholder {
    background: rgba(255, 255, 255, 0.9);
    background-image: url('images/learners1.jpg');
    background-size: cover;
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem auto;
    max-width: 500px;
    border: 2px solid var(--primary);
    animation: fadeInUp 1s ease 0.8s both;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-image-placeholder i {
    font-size: 4rem;
    color: var(--quaternary-color);
    margin-bottom: 1rem;
}

.hero-image-placeholder p {
    color: var(--quaternary-color);
    font-style: italic;
}
/* ===== TYPING ANIMATION ===== */
.typing-container {
    text-align: center;
    margin: 2rem 0;
}

.typing {
    font-size: 2rem;
    font-family: monospace;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    border-right: 4px solid var(--accent-color);
    margin: 0 auto;
    display: inline-block;
    animation: typing 4s steps(21), blink .5s step-end infinite alternate;
}

.typing .word {
    display: inline-block;
}

.typing .word.learn { color: var(--tell-red); }
.typing .word.play { color: var(--secondary-color); }
.typing .word.create { color: var(--theme-color-learning-platform); }

@keyframes typing {
    from { width: 0; }
    to { width: 21ch; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Impact Section */
.impact {
    padding: 5rem 0;
    background: var(--white);
}

.impact h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.impact-map {
    text-align: center;
}

.map-placeholder {
    background: var(--medium-gray);
    background-image: url('images/map.jpg');
    background-size: cover;
    border-radius: 20px;
    padding: 3rem;
    border: 2px dashed var(--primary);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.map-placeholder p {
    color: var(--primary);
}

/* Impact Gallery */
.impact-gallery {
    margin-top: 3rem;
    text-align: center;
}

.impact-gallery h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.learner-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.learner-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.learner-images img:hover {
    transform: scale(1.05);
}


/* Get Involved Section */
.get-involved {
    padding: 5rem 0;
    background: var(--light-gray);
}

.get-involved h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.option-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-5px);
}

.option-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.option-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.option-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Story Section */
.story {
    padding: 5rem 0;
    background: var(--white);
}

.story h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #5a32a3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #e8690b;
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #1ba085;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--light-gray);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/kids7.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-content {
    padding: 1rem 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}



.mandhwane-illustration {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    border: 2px dashed var(--primary);
}

.mandhwane-illustration i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.illustration-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.philosophy-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: #fdf1cb;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.book-card {
    background: #cff9e1;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.philosophy-icon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: #fdf1cb;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.book-item {
    text-align: center;
    padding: 2rem;
    background: #cff9e1;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    
}

.book-item:hover {
    transform: translateY(-5px);
}

.book-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mission-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.mission-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.highlight i {
    color: var(--primary);
    font-size: 1.5rem;
}

.book-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #cff9e1;
    border-radius: 10px;
}

/* Team Preview Section */
.team-preview-section {
    background: var(--light-gray);
    padding: 4rem 0;
}

.team-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary);
}

.team-member h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.team-member p {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.team-member p:first-of-type {
    font-weight: 600;
    color: var(--secondary);
}

/* Online Safety Page Styles */
.safety-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/kids7.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.safety-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.safety-hero h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.safety-hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.smarte-section {
    padding: 4rem 0;
}

.smarte-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.smarte-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.smarte-intro p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.smarte-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.smarte-card {
    background: #f5f1e5;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.smarte-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2rem;
}

.card-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0;
}

.card-summary {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-details {
    display: none;
}

.card-details p {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.safety-tips h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.safety-tips ul {
    list-style: none;
    padding-left: 0;
}

.safety-tips li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.safety-tips li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.safety-tips li:last-child {
    border-bottom: none;
}

.bracelet-slideshow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 250px;
  margin: 2rem auto;
  background-color: #ffffff; /* Soft neutral backdrop to highlight transparent beads */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bracelet-slideshow img {
  position: absolute;
  max-height: 80%;
  max-width: 80%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bracelet-slideshow img.active {
  opacity: 1;
  z-index: 1;
}
/* Interactive Learning Section */
.interactive-learning {
    padding: 4rem 0;
    background: var(--light-gray);
}

.interactive-learning h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.learning-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: #fbc9dd;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.activity-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* edtech */
.edtech-card {
    background: #b1eaa5;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.edtech-card:hover {
    transform: translateY(-5px);
}

.edtech-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.edtech-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.edtech-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;

    }
    
    .nav-menu .nav-item {
        margin: 1rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-menu .nav-link:hover {
        background-color: var(--light-gray);
        color: var(--primary);
    }
    
    .nav-menu .nav-link:active {
        background-color: var(--medium-gray);
        transform: scale(0.98);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .story-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .philosophy-content {
        grid-template-columns: 1fr;
    }
    
    .smarte-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-highlights {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hamburger {
        padding: 8px;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
    
    .nav-menu {
        padding: 1rem 0;
    }
    
    .nav-menu .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .involvement-options {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .safety-hero h1 {
        font-size: 2rem;
    }
    
    .smarte-intro h2 {
        font-size: 2rem;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
}

/* Bead2Code Page Styles */
.bead2code-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/kids6.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.bead2code-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.bead2code-hero h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.bead2code-hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.philosophy-section {
    padding: 1.5rem 0;
}

.philosophy-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.philosophy-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.bead-illustration {
    padding: 2rem;
    background: #fdf1cb;
    border-radius: 20px;
}

.bead-illustration i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bead-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}

.bead-image1 {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 3px solid var(--primary);
}

.book-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.concepts-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.concepts-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.concept-card {
    background: #e6f9ff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
}

.concept-icon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.concept-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.concept-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.smarte-integration {
    padding: 1.8rem 0;
}

.smarte-integration h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.smarte-integration h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.integration-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.integration-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.quote-box {
    background: #fbc9dd;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.quote-box blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.6;
}

.bead-patterns h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.pattern-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pattern-card {
    background: #fbc9dd;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pattern-card:hover {
    transform: translateY(-5px);
}

.pattern-visual {
    margin-bottom: 1rem;
}

.bead {
    font-size: 2rem;
    padding: 0.5rem;
    border-radius: 50%;
    background: var(--light-gray);
}

.pattern-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pattern-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.bead-activities {
    padding: 1rem 0;
    background: var(--light-gray);
}

.bead-activities h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-item {
    background: #e6f9ff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.activity-item:hover {
    transform: translateY(-5px);
}

.activity-icon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.activity-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.activity-item p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.activity-item ul {
    list-style: none;
    padding-left: 0;
}

.activity-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.activity-item li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.activity-item li:last-child {
    border-bottom: none;
}

.cultural-connection {
    padding: 4rem 0;
}

.cultural-connection h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.cultural-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cultural-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cultural-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.benefit i {
    color: var(--primary);
    font-size: 1.5rem;
}

.heritage-illustration {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    border: 2px dashed var(--primary);
}

.heritage-illustration i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bead2code-cta {
    padding: 4rem 0;
    background: var(--light-gray);
    text-align: center;
}

.bead2code-cta h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.bead2code-cta p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/kidsHome.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-hero h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.contact-info {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: #f39898;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-style: italic;
}

.contact-form-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.form-intro h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.form-intro p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.contact-form {
    background: #f39898;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
}

.privacy-link {
    color: var(--primary);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.location-section {
    padding: 4rem 0;
}

.location-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.location-info p {
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.faq-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-question h3 {
    color: var(--text-dark);
    margin: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 2rem 2rem;
    border-top: 1px solid var(--medium-gray);
}

.faq-answer p {
    color: var(--dark-gray);
    line-height: 1.7;
    margin: 0;
}

.contact-cta {
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Beadwork Gallery Section */
.beadwork-gallery {
    padding: 5rem 0;
    background: var(--light-gray);
}

.beadwork-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.gallery-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 400px;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
    color: var(--primary);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--secondary);
}


/* Responsive adjustments for gallery */
@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
}

/* Learner Showcase Section */
.learner-showcase {
    padding: 1.2rem 0;
    background: var(--white);
}

.learner-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.showcase-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.learner-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.learner-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.learner-image:hover {
    transform: translateY(-5px);
}

.learner-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 1.5rem 1rem 1rem;
    text-align: center;
}

.image-caption h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.image-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Team Showcase Section */
.team-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/bg2.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0 4rem;
    text-align: center;
}
.team-hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.team-hero h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.team
-hero p {
    font-size: 1.2rem;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
.team-showcase {
    padding: 4rem 0;
    background: var(--light-gray);
}

.team-showcase h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}



.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: var(--dark-gray);
    line-height: 1.6;
    margin: 0;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    display: flex;
}


/* ===== LAZY LOADING STYLES ===== */
.lazy-image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-image.loaded {
    opacity: 1;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}
/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .footer,
    .scroll-to-top,
    .cta-button {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .page-header {
        height: auto;
        background: none !important;
        color: black;
    }
    
    .header-content h1 {
        color: black;
        text-shadow: none;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* mandwhwane page*/
.philosophy-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #333;
}

.gallery-section {
  margin-top: 3rem;
}

.gallery-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  background-color:  var(--kindness-purple);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.caption {
  font-size: 0.9rem;
  padding: 0.5rem;
  color: #ffffff;
}

/*edtech*/
.edtech-kit {
  padding: 2rem 0;
}

.edtech-intro h2, .edtech-intro h3 {
  color: #4a2e00;
  margin-bottom: 1rem;
}

.edtech-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.edtech-values {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.edtech-gallery h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.kit-contents h3 {
  margin-top: 2rem;
}

.kit-contents ul {
  list-style-type: square;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.btn-order {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #4a2e00;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
}

.btn-order:hover {
  background-color: #6b3f1a;
}

