* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/aboutus/compuny.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 154px 50px;
}
@media (max-width:991px){
    .hero{
        padding: 100px 15px;
    }
}
.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
@media (max-width:991px){
    .hero h1{
        font-size: 30px;
        margin-bottom: 5px;
    }
}
.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}
@media (max-width:543px){
    .hero p{
        font-size: 16px;
    }
}
.main-content {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 0 20px;
    position: relative;
}

.about-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.section-title {
    color: var(--secondary-color);
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
@media (max-width:543px){
    .section-title{
        font-size: 25px;
        margin-bottom: 10px;
    }
}
@media (max-width:375px){
    .section-title{
        font-size: 22px;
        margin-bottom: 10px;
    }
}
.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
@media (max-width:375px){
    .history-grid{
        display: flex;
    }
}
.history-item {
    text-align: center;
    padding: 20px;
    background: var(--secondary-color);
    color: var(--accent-color);
}
@media(max-width:991.5px){
    .history{
        margin-bottom: 30px;
    }
    .history:last-child{
        margin-bottom: 0;
    }
}

.history-item h3 {
    color: var(--accent-color);
    font-weight: 600;
    margin: 15px 0;
}

.values-section {
    background-color: #fff;
    padding: 60px 0;
    margin-top: 40px;
}
@media (max-width:991px){
    .values-section{
        padding: 30px 0;
    }
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}
.value-card p{
    margin-bottom: 0;
    color: var(--accent-color);
}
.team-section {
    padding: 60px 0;
}
@media (max-width:991px){
    .team-section{
        padding: 30px 0;
    }
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin:0px auto;
    padding: 0 20px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

@media(max-width: 991.5px){
    .teammember{
        margin-bottom: 30px;
    }
    .teammember:last-child{
        margin-bottom: 0;
    }
}

.member-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-info p {
    color: #666;
    margin-bottom: 0;
}

footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
    .about-card {
        padding: 20px;
    }
}