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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    height: 90px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 200px;
    height: 100%;
    padding: 10px 0;
    margin: 0;
    /* Logo specific styles can be added here */
}

.nav-logo img {
    max-height: 120px;
    width: auto;
    height: 120px;
    object-fit: contain;
    vertical-align: middle;
}



.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 6px 10px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Logo Section Styles */
.logo-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin: 0;
}

.msme-logo {
    display: flex;
    align-items: center;
}

.msme-logo-container {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 200px;
}

.msme-logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.msme-registration {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
}

/* Footer Logo Box Styles */
.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
}

/* White Container for Both Logos */
.logo-white-container {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 120px;
    overflow: hidden;
}

.logo-white-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ShikshaSathi Logo */
.footer-logo-small {
    width: 97px;
    height: 84px;
    object-fit: contain;
    transition: transform 0.3s ease;
    max-width: 100%;
    max-height: 100%;
}

.footer-logo-small:hover {
    transform: scale(1.05);
}

/* MSME Logo */
.footer-msme-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
}

.footer-msme-logo:hover {
    transform: scale(1.05);
}

/* Responsive Logo Section */
@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .msme-logo-container {
        padding: 1rem 1.5rem;
        min-width: 180px;
    }
    
    .msme-logo-text {
        font-size: 2rem;
    }
    
    .msme-registration {
        font-size: 0.8rem;
    }
    
    /* Footer Logo Box Responsive */
    .footer-logo-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        max-width: 300px;
    }
    
    .footer-logo-small {
        width: 100px;
        height: 100px;
    }
    
    .logo-white-container {
        padding: 1.5rem 2rem;
        min-width: 200px;
        min-height: 130px;
    }
    
    .footer-msme-logo {
        width: 70px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .msme-logo-container {
        padding: 0.8rem 1.2rem;
        min-width: 160px;
    }
    
    .msme-logo-text {
        font-size: 1.8rem;
    }
    
    .msme-registration {
        font-size: 0.75rem;
    }
    
    /* Footer Logo Box Responsive */
    .footer-logo-box {
        gap: 0.8rem;
        padding: 0.8rem;
        max-width: 280px;
    }
    
    .footer-logo-small {
        width: 90px;
        height: 90px;
    }
    
    .logo-white-container {
        padding: 1.2rem 1.5rem;
        min-width: 180px;
        min-height: 110px;
    }
    
    .footer-msme-logo {
        width: 60px;
        height: 40px;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}



.hero-graphic {
    display: flex;
    gap: 2rem;
    font-size: 4rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #10b981;
    color: white;
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #2563eb;
}

/* New button style for parent/student registration */
.btn-tertiary {
    background: #7c3aed;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-tertiary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: #f9fafb;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.founder-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.founder-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.founder-content h4 {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.founder-photo-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.founder-photo {
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: top;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
    margin-top: -20%;
}

.founder-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.founder-placeholder p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.founder-placeholder small {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Program Section */
.program {
    padding: 5rem 0;
}

.program-content {
    max-width: 800px;
    margin: 0 auto;
}

.program-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.program-info p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 8px;
}

.highlight-item i {
    color: #10b981;
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: #f9fafb;
}

.vertical-flow {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.02) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: 30px;
    position: relative;
}

.vertical-flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, #2563eb 20%, #2563eb 80%, transparent 100%);
    opacity: 0.3;
    z-index: 1;
}

.flow-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 700px;
    position: relative;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    overflow: hidden;
    z-index: 2;
}

.flow-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.flow-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.flow-item:hover::before {
    transform: scaleX(1);
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #3b82f6 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.flow-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.flow-item:hover .flow-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

.flow-item:hover .flow-icon::before {
    left: 100%;
}

.flow-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.flow-content h3 {
    font-size: 1.4rem;
    color: #1f2937;
    margin: 0;
    line-height: 1.6;
    font-weight: 700;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flow-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    color: #2563eb;
    font-size: 1.5rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.flow-connector i {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.flow-connector i::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.flow-connector:hover i {
    transform: scale(1.3) rotate(180deg);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.flow-connector:hover i::before {
    left: 100%;
}

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

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

/* Responsive design for vertical flow */
@media (max-width: 768px) {
    .vertical-flow {
        padding: 1rem 0;
    }
    
    .flow-item {
        padding: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .flow-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .flow-content h3 {
        font-size: 1.1rem;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Impact Section */
.impact {
    padding: 5rem 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.impact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.impact-card h3 {
    font-size: 1.2rem;
    color: #6b7280;
}

/* Challenges Section */
.challenges {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.elegant-challenges {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.challenge-solution-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    position: relative;
}

.challenge-solution-pair::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    z-index: 10;
    animation: pulse 2s infinite;
}

.challenge-solution-pair::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, transparent 0%, #2563eb 50%, transparent 100%);
    z-index: 1;
}

.challenge-side, .solution-side {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.challenge-side::before, .solution-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.challenge-side::before {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.solution-side::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

.challenge-side:hover, .solution-side:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.challenge-side:hover::before, .solution-side:hover::before {
    transform: scaleX(1);
}

.challenge-badge, .solution-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.challenge-badge {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 6px 15px rgba(220, 38, 38, 0.3);
}

.solution-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.challenge-badge::before, .solution-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.challenge-side:hover .challenge-badge::before,
.solution-side:hover .solution-badge::before {
    left: 100%;
}

.challenge-side h3, .solution-side h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.challenge-side h3 {
    color: #dc2626;
}

.solution-side h3 {
    color: #10b981;
}

.challenge-side p, .solution-side p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive design for elegant challenges */
@media (max-width: 768px) {
    .challenge-solution-pair {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .challenge-solution-pair::before {
        display: none;
    }
    
    .challenge-solution-pair::after {
        display: none;
    }
    
    .challenge-side, .solution-side {
        padding: 2rem;
    }
    
    .challenge-badge, .solution-badge {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .challenge-side h3, .solution-side h3 {
        font-size: 1.2rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
}

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

.gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.gallery-placeholder p {
    font-size: 1rem;
    margin-top: 1rem;
    text-align: center;
}

/* Join Us Section */
.join-us {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.join-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
}

.join-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.join-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
}

/* Blog Section */
.blog {
    padding: 5rem 0;
}

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

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.blog-card p {
    color: #6b7280;
}

.blog-refresh {
    text-align: center;
    margin-top: 40px;
}

.loading-placeholder {
    padding: 20px;
}

.loading-bar {
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1s infinite;
    border-radius: 6px;
    margin-bottom: 10px;
    will-change: background-position;
}

.loading-bar:first-child {
    width: 80%;
}

.loading-bar:nth-child(2) {
    width: 60%;
}

.loading-bar:nth-child(3) {
    width: 40%;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Performance optimizations for blog cards */
.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    will-change: transform;
}

.blog-card:hover {
    transform: translateY(-3px);
}

/* Optimize loading placeholder */
.loading-placeholder {
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Vision Section */
.vision {
    padding: 5rem 0;
    background: #f9fafb;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.vision-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.vision-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.vision-card p {
    color: #6b7280;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #2563eb;
}

.checkbox-item label {
    margin: 0;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #1f2937;
    color: 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 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.scrollable-modal {
    max-height: 80vh;
    overflow-y: auto;
    margin: 2% auto;
}

.scrollable-modal::-webkit-scrollbar {
    width: 8px;
}

.scrollable-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-modal::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 4px;
}

.scrollable-modal::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close:hover {
    color: #dc2626;
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: #1f2937;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        visibility: visible !important;
        opacity: 1 !important;
        top: 0 !important;
        height: 70px;
        padding: 0;
    }
    
    .nav-container {
        padding: 0 15px;
        gap: 1rem;
    }
    
    .nav-logo {
        max-width: 150px;
        padding: 5px 0;
    }
    
    .nav-logo img {
        max-height: 60px;
        width: auto;
    }
    
    .nav-menu {
        display: flex;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        gap: 0.5rem;
        font-size: 0.8rem;
        visibility: visible;
        opacity: 1;
    }
    
    .nav-menu a {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    
    .nav-toggle {
        display: none;
    }
    
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .founder-photo-container {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .founder-photo {
        width: 100%;
        height: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .challenge-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .hero-graphic {
        font-size: 2rem;
        gap: 0.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .join-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .program-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .highlights-list {
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .vertical-flow {
        gap: 2rem;
    }
    
    .flow-item {
        padding: 1.5rem;
    }
    
    .flow-content h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo {
        max-width: 120px;
    }
    
    .nav-logo img {
        max-height: 50px;
    }
    
    .nav-menu {
        gap: 0.3rem;
        font-size: 0.7rem;
        right: 5px;
    }
    
    .nav-menu a {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .founder-photo-container {
        width: 100px;
        height: 100px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        padding: 20px;
    }
    
    .scrollable-modal {
        max-height: 85vh;
        margin: 5% auto;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
    
    .program-content {
        text-align: center;
    }
    
    .highlights-list {
        gap: 0.8rem;
    }
    
    .highlight-item {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .flow-item {
        padding: 1.2rem;
    }
    
    .flow-content h3 {
        font-size: 1rem;
    }
}

/* Training Module Section */
.training-module {
    padding: 5rem 0;
    background: #f8fafc;
}

.training-content {
    max-width: 1000px;
    margin: 0 auto;
}

.methodology-section,
.outcomes-section {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.methodology-section h3,
.outcomes-section h3 {
    color: #1f2937;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.methodology-section h3 i,
.outcomes-section h3 i {
    color: #2563eb;
}

.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.methodology-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.methodology-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.methodology-item i {
    font-size: 1.5rem;
    color: #2563eb;
    width: 24px;
    text-align: center;
}

.methodology-item span {
    font-weight: 500;
    color: #374151;
}

.outcomes-section p {
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.outcomes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.outcome-item i {
    color: #059669;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.outcome-item span {
    color: #374151;
    line-height: 1.6;
}

/* Responsive adjustments for training module */
@media (max-width: 768px) {
    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .methodology-section,
    .outcomes-section {
        padding: 1.5rem;
    }
    
    .methodology-section h3,
    .outcomes-section h3 {
        font-size: 1.5rem;
    }
}