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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 222, 128, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
    padding: 2px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #10b981;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #34d399, #22d3ee);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%25" cy="50%25" r="50%25"><stop offset="0%25" stop-color="%234ade80" stop-opacity="0.1"/><stop offset="100%25" stop-color="%234ade80" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="600" cy="700" r="250" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #059669 0%, #10b981 30%, #34d399 70%, #6ee7b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
}

/* Ensure both hero buttons are identical */
.btn-main {
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

.btn-main:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5) !important;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%) !important;
    color: white !important;
    border: none !important;
}

.btn-secondary {
    background: white;
    color: #10b981;
    border: 2px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(135deg, #10b981, #34d399) 1;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    transform: translateY(-2px);
    border-image: none;
    border: 2px solid transparent;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.hero-card h3 {
    color: #1a5f3f;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.hero-card p {
    color: #64748b;
    font-size: 0.95rem;
}

.hero-stats {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Lyari Section */
.lyari-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 50%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.lyari-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%25" cy="50%25" r="40%25"><stop offset="0%25" stop-color="%2310b981" stop-opacity="0.05"/><stop offset="100%25" stop-color="%2310b981" stop-opacity="0"/></radialGradient></defs><circle cx="150" cy="150" r="200" fill="url(%23b)"/><circle cx="850" cy="250" r="150" fill="url(%23b)"/><circle cx="600" cy="800" r="180" fill="url(%23b)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

.lyari-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.heritage-card, .culture-card, .spirit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.heritage-card::before, .culture-card::before, .spirit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #34d399, #22d3ee);
}

.heritage-card:hover, .culture-card:hover, .spirit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.2);
}

.heritage-card h3, .culture-card h3, .spirit-card h3 {
    color: #059669;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.heritage-card p, .culture-card p, .spirit-card p {
    color: #64748b;
    line-height: 1.6;
}

.lyari-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.stat-card .stat-number {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    color: #1a5f3f;
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.7;
}

.values {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #10b981;
    font-weight: 500;
}

.value-item i {
    font-size: 1.2rem;
}

.vision-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.vision-card h3 {
    color: #1a5f3f;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.vision-card > p {
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.7;
}

.vision-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #10b981;
    font-weight: 500;
}

.point i {
    font-size: 1.1rem;
}

/* Courses Section */
.courses {
    padding: 100px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.course-card h3 {
    color: #1a5f3f;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.course-card > p {
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature {
    background: #e2e8f0;
    color: #64748b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.course-card.featured .feature {
    background: #dcfce7;
    color: #15803d;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: #f8fafc;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    display: flex;
    justify-content: center;
}

.founder-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #10b981, #34d399, #22d3ee) border-box;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.photo-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #22d3ee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.member-info h3 {
    color: #1a5f3f;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.member-title {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.member-bio {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise-tag {
    background: #dcfce7;
    color: #15803d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Join Section */
.join {
    padding: 100px 0;
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    color: white;
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.join-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.join-card .card-icon {
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 25px;
}

.join-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.join-card p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.join-card .btn {
    background: white;
    color: #1a5f3f;
    border: none;
}

.join-card .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.join-card .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.join-card .btn-secondary:hover {
    background: white;
    color: #1a5f3f;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 6px;
    padding: 2px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .team-member {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .course-card, .join-card, .vision-card {
        padding: 30px 20px;
    }

    .team-member {
        padding: 30px 20px;
    }
}

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

.hero-text, .hero-visual, .section-header {
    animation: fadeInUp 0.8s ease-out;
}

.course-card, .team-member, .join-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling and focus states */
.btn:focus, .nav-link:focus, .social-link:focus {
    outline: 2px solid #4ade80;
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Print styles */
@media print {
    .navbar, .footer {
        display: none;
    }
    
    .hero {
        margin-top: 0;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}