/* Hero Section */
.hero {
    background: url('/resources/BannerBC.png') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'TNR Regular', serif;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.about-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
}

.about-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    border-radius: 1px;
}

.about-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ab8162 0%, #6e5529 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item h4 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Developers Section */
.developers-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
}

.developers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    border-radius: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .team-name {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #8B4513;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 20px;
}

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

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.developer-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ab8162, #6e5529);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.developer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.developer-card:hover::before {
    transform: scaleX(1);
}

.developer-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f8f9fa;
    box-shadow: 0 8px 20px rgba(171, 129, 98, 0.2);
    transition: all 0.3s ease;
}

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

.developer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.developer-info p {
    color: #ab8162;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.developer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1877f2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(24, 119, 242, 0.1);
    transition: all 0.3s ease;
}

.developer-email:hover {
    background: #1877f2;
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero p {
        font-size: 1.3rem;
    }

    .about-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .about-section {
        padding: 2.5rem 1rem;
    }

    .about-section::before {
        width: 60px;
        height: 3px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .about-card {
        padding: 1.5rem 1.25rem;
        min-height: auto;
        border-radius: 16px;
    }

    .about-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .about-card h3::after {
        bottom: -6px;
        width: 35px;
    }

    .about-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .developers-section {
        padding: 2.5rem 1rem;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .developers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .developer-card {
        padding: 1.5rem;
    }

    .developer-image {
        width: 100px;
        height: 100px;
    }

    .developer-info h3 {
        font-size: 1.4rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-item h4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0.75rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.85rem;
    }

    .about-section {
        padding: 2rem 0.75rem;
    }

    .about-grid {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .about-card {
        padding: 1.25rem 1rem;
        border-radius: 12px;
    }

    .about-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .about-card p {
        font-size: 0.85rem;
    }

    .developers-section {
        padding: 2rem 0.75rem;
    }

    .section-header {
        margin-bottom: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .developers-grid {
        gap: 0.75rem;
    }

    .developer-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .developer-image {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }

    .developer-info h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .developer-info p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .developer-email {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat-item h4 {
        font-size: 1.75rem;
    }

    .stat-item p {
        font-size: 0.85rem;
    }
}
