/* ==========================================================================
 * 1.0 - BASE STYLES & IMPORTS
 * ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* ==========================================================================
 * 2.0 - FLOATING ELEMENTS (Highest Z-index Layer)
 * ========================================================================== */

/* 2.1 - Floating Home Buttons */
.floating-home-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.floating-home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.floating-home-btn i {
    font-size: 1.1rem;
}

/* 2.2 - Header Home Button */
.home-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #2563eb;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.home-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.home-btn i {
    font-size: 1.3rem;
}

/* ==========================================================================
 * 3.0 - BACKGROUND DECORATIONS (Lowest Z-index Layer)
 * ========================================================================== */

/* 3.1 - Floating Shapes Container */
.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

/* 3.2 - Individual Shape Elements */
.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
    color: #2563eb;
}

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

/* ==========================================================================
 * 4.0 - MAIN CONTENT CONTAINER (Middle Z-index Layer)
 * ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
 * 5.0 - HERO SECTION
 * ========================================================================== */

.hero-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #475569;
    line-height: 1.7;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
 * 6.0 - TYPOGRAPHY & SECTION HEADERS
 * ========================================================================== */

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    position: relative;
    padding-bottom: 0.5rem;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
}

/* ==========================================================================
 * 7.0 - MISSION & VISION SECTION
 * ========================================================================== */

.mission-vision {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission, .vision {
    flex: 1;
    min-width: 300px;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.mission h2, .vision h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.mission p, .vision p {
    font-size: 1rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.7;
}

.mission-icon, .vision-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #2563eb;
}

/* ==========================================================================
 * 8.0 - VALUES SECTION
 * ========================================================================== */

.values-section {
    margin-bottom: 4rem;
}

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

.value-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: #2563eb;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.value-card p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #475569;
    line-height: 1.6;
}

/* ==========================================================================
 * 9.0 - STATISTICS SECTION
 * ========================================================================== */

.stats-section {
    background: #dbeafe;
    padding: 4rem 0;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #64748b;
    font-weight: 500;
    font-size: 1rem;
}

/* ==========================================================================
 * 10.0 - TEAM SECTION
 * ========================================================================== */

.team-section {
    margin-bottom: 4rem;
}

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

.team-member {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-img {
    width: 100%;
    height: 250px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 4rem;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.team-info p {
    color: #64748b;
    font-weight: 400;
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    gap: 0.5rem;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.team-social a:hover {
    background: #2563eb;
    color: white;
}

/* ==========================================================================
 * 11.0 - FOOTER SECTION
 * ========================================================================== */

footer {
    text-align: center;
    padding: 2rem 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* ==========================================================================
 * 12.0 - RESPONSIVE BREAKPOINTS
 * ========================================================================== */

@media (max-width: 768px) {
    /* 12.1 - Container & Layout Adjustments */
    .container {
        padding: 0.5rem 1rem 1rem;
    }
    
    .hero-section, .mission-vision {
        flex-direction: column;
    }
    
    .hero-content, .hero-image, .mission, .vision {
        min-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .team-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mission, .vision {
        padding: 2rem;
    }
    
    /* 12.2 - Floating Buttons Mobile Optimization */
    .floating-home-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .floating-home-btn span {
        display: none;
    }
    
    .floating-home-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
    }
    
    .home-btn {
        top: 15px;
        left: 15px;
        width: 45px;
        height: 45px;
    }
    
    .home-btn i {
        font-size: 1.2rem;
    }
    
    /* 12.3 - Background Elements Mobile Optimization */
    .shape {
        opacity: 0.05;
    }
}