/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: url('https://images.unsplash.com/photo-1594708767771-a7502209ff51?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Mnx8TkdvfGVufDB8fDB8fHww') center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* About Section */
.about {
    padding: 60px 20px;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    border-radius: 12px;
    max-width: 1000px;
    width: 100%;
    min-height: 350px; /* Increased height */
}

.about-image {
    flex: 1;
    max-width: 350px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* Alternate Layout */
.reverse {
    flex-direction: row-reverse;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column !important;
        text-align: center;
        min-height: auto;
    }

    .about-image {
        max-width: 100%;
    }
}


/* Team Section */
.team {
    background: #f1f1f1;
    padding: 60px 20px;
    text-align: center;
}

.team h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: scale(1.05);
}

.team-member img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 10px;
}

.team-member h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 1rem;
    color: #555;
}

/* CTA Section */
.cta {
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: #ff6f61;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease-in-out;
}

.cta-btn:hover {
    background: #e95b51;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-item {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .about-item {
        width: 100%;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.9rem;
    }
    .cta h2 {
        font-size: 1.8rem;
    }
}