/**
 * About Page Styles
 */

/* Hero Section */
.about-hero {
    position: relative;
   
}

.about-hero-image {
    height: 810px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    text-align: center;
    padding-top: 72px;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg, rgba(34, 60, 147, 0) 51.42%, rgba(34, 60, 147, 0.35) 62.52%, rgba(34, 60, 147, 0.7) 76.08%, rgba(34, 60, 147, 0.883825) 81.5%, rgba(34, 60, 147, 0.996491) 88.41%, #223C93 98.77%);
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
  
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.about-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-hero-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

/* About Content Section */
.about-content {
    padding: 60px 0;
    background-color: #ffffff;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content ul, 
.about-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.about-content li {
    margin-bottom: 10px;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Team Section */
.about-team {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #223C93);
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.team-member-info {
    padding: 20px;
}

.team-member-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.team-member-position {
    font-size: 14px;
    color: var(--primary-color, #223C93);
    margin-bottom: 15px;
    font-weight: 500;
}

.team-member-bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* History Section */
.about-history {
    padding: 80px 0;
    background-color: #ffffff;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.history-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #e0e0e0;
    z-index: 1;
}

.history-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.history-year {
    position: relative;
    z-index: 2;
    background-color: var(--primary-color, #223C93);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.history-content {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.history-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.history-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Values Section */
.about-values {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.value-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    margin-bottom: 20px;
}

.value-icon img {
    width: 60px;
    height: 60px;
}

.value-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

/* Services List Section */
.about-services {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #223C93);
}

.about-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-service-item {
    display: flex;
    position: relative;
    min-height: 460px;
}

.about-service-image {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.about-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-service-content {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    position: relative;
    z-index: 1;
}

/* Even service items - image on right, content on left */
.about-service-item:nth-child(even) .about-service-image {
    right: 0;
}

.about-service-item:nth-child(even) .about-service-content {
    margin-right: 50%;
    padding-left: calc((100vw - 1140px) / 2);
}

@media (max-width: 1200px) {
    .about-service-item:nth-child(even) .about-service-content {
        padding-left: 60px;
    }
}

/* Odd service items - image on left, content on right */
.about-service-item:nth-child(odd) .about-service-image {
    left: 0;
}

.about-service-item:nth-child(odd) .about-service-content {
    margin-left: 50%;
    padding-right: calc((100vw - 1140px) / 2);
}

@media (max-width: 1200px) {
    .about-service-item:nth-child(odd) .about-service-content {
        padding-right: 60px;
    }
}

.about-service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.about-service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.about-service-button {
    display: inline-block;
    background-color: var(--secondary-color, #B89B33);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 10px;
    align-self: flex-start;
    border: 1px solid var(--secondary-color, #B89B33);
}

.about-service-button:hover {
    background-color: #fff;
    color:var(--secondary-color, #B89B33);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondary-color, #B89B33);
}

/* CTA Section */
.about-cta {
    padding: 80px 0;
    background-color: var(--primary-color, #223C93);
    color: #fff;
    text-align: center;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color, #223C93);
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 28px;
    }

    .about-service-content {
        padding: 40px;
    }

    .about-service-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .about-hero-image {
        height: 500px;
    }
    
    .about-hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .team-members,
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-member-photo img {
        height: 280px;
    }

    .about-service-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .about-service-image, 
    .about-service-content {
        position: relative;
        width: 100%;
    }
    
    .about-service-image {
        height: 300px;
    }
    
    .about-service-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 30px;
    }
    
    .about-service-item:nth-child(even) .about-service-image,
    .about-service-item:nth-child(odd) .about-service-image {
        left: 0;
        right: auto;
    }
}

@media (max-width: 576px) {
    .about-hero-image {
        height: auto;
        padding-bottom: 72px;
    }
    .about-hero-overlay {
        background: linear-gradient(360deg, rgba(34, 60, 147, 0.35) 0%, #223C93 73.04%);
    }
    
    .about-hero-title {
        font-size: 28px;
    }
    
    .about-hero-description {
        font-size: 15px;
    }
    
    .team-members,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .history-content {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 24px;
    }

    .about-service-content {
        padding: 25px;
    }

    .about-service-title {
        font-size: 20px;
    }

    .about-service-description {
        font-size: 14px;
    }
} 