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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    color: white;
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/4rQKEIu.jpeg') center/cover no-repeat;
    opacity: 0.8;
    filter: brightness(0.4);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2962FF;
}

/* Who We Are Section */
.who-we-are {
    background-color: #f8f9fa;
}

.who-we-are p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

/* What We Do Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(41, 98, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.service-card i {
    font-size: 2.5rem;
    color: #2962FF;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2962FF;
}

/* Founders Section */
.founders {
    background-color: #2962FF;
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.founders h2 {
    color: white;
    text-align: right;
    font-size: 3.5rem;
    margin-right: 50px;
    margin-bottom: 50px;
}

.founders-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.founder-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 20px;
    width: 80%;
    cursor: pointer;
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
}

.founder-card:nth-child(even) {
    margin-left: auto;
    flex-direction: row-reverse;
}

.founder-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.founder-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    margin: 0 20px;
}

.founder-info {
    flex: 1;
    padding: 0 20px;
}

.founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
}

.founder-info .title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.founder-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.4;
}

.founder-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    width: 100%;
    transition: all 0.3s ease;
}

.founder-card:nth-child(even) .founder-link {
    flex-direction: row-reverse;
}

.founder-link:hover {
    text-decoration: none;
}

/* Mission Section */
.mission {
    position: relative;
    color: white;
    overflow: hidden;
    padding: 80px 0;
}

.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/9j276vV.jpeg') center/cover no-repeat;
    opacity: 0.8;
    filter: brightness(0.4);
    z-index: 0;
}

.mission-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(41, 98, 255, 0.3), transparent);
    z-index: 1;
}

.mission-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission h2 {
    color: white;
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

/* Join Us Section */
.join-us {
    text-align: center;
    background-color: #f8f9fa;
}

.join-us p {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.cta {
    margin-top: 40px;
}

.cta a {
    color: #2962FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.cta a:hover {
    color: #1565C0;
}

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

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

    section h2 {
        font-size: 2rem;
    }

    .services-grid,
    .founders-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section h2 {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .founders h2 {
        text-align: center;
        margin-right: 0;
        font-size: 2.5rem;
    }

    .founder-card {
        width: 95%;
        flex-direction: column;
        text-align: center;
    }

    .founder-card:nth-child(even) {
        flex-direction: column;
    }

    .founder-image {
        margin-bottom: 20px;
    }

    .founder-info {
        padding: 0;
    }

    .founder-link {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-card:nth-child(even) .founder-link {
        flex-direction: column;
    }
}
