:root {
    --primary-blue: #005eb8;
    --light-blue: #f0f4f5;
    --dark-blue: #005eb8;
    --accent-blue: #005eb8;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #757575;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow Condensed', sans-serif; 
    line-height: 1.6;
    background-color: var(--light-blue);
}

.card p{
    text-align: justify;
}


/* Hero Section */
.hero {

    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/about.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    padding-top: 100px;
    padding-bottom: 10px;
    text-align: center;
}


.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-family: 'Barlow Condensed', sans-serif;


}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    
}

/* About Section */
.about-section {
    background-color: #ffffff;
    padding-top: 30px;
}
.about-text p{
    text-align: justify;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}


.section-title h2::after {
    content: "";
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--accent-blue);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 17px;
}

/* Our Mission */
.mission-section {
    background-color: var(--light-blue);
    padding: var(--section-padding);
}

.mission-container {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.mission-container h3 {
    color: var(--primary-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-container p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-gray);
}

/* Team Section */
.team-section {
    background-color: #ffffff;
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 30px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.team-member {
    background-color: var(--light-blue);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.member-info p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.credentials {
    font-style: italic;
    font-size: 14px;
}

/* Why Choose Us */
.why-us-section {
    background-color: var(--light-blue);
    padding: var(--section-padding);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 24px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.card p {
    color: var(--text-gray);

}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary-blue), var(--dark-blue));
    color: var(--text-light);
    padding: 70px 0;
    text-align: center;
}

.cta-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-blue);
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .mission-container{
        padding: 20px;
        border-radius: 20px;
    }
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .testimonial-content {
        font-size: 16px;
    }
}