.mission-section {
    padding: 100px 0;
    background: var(--primary-color);
}
.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 3rem;
    justify-items: center;
}
.mission-item {
    width: 100%;
    max-width: 350px;
    text-align: center;
    padding: 2.5rem;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.mission-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), #661018);
}
.mission-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}
.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #661018);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}
.mission-icon i {
    display: inline-flex;
    line-height: 1;
    align-items: center;      
    justify-content: center; 
    width: 100%;            
    height: 100%;
}
.mission-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}
.mission-item p {
    font-size: 1rem;
    line-height: 1.6;
}
.team-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--primary-color);
}
.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.team-title {
    text-align: center;
    margin-bottom: 60px;
}
.team-title h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.team-title p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}
.leadership {
    margin-bottom: 100px;
}
.leadership h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
}
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.leader-card {
    perspective: 1000px;
    height: 380px;
}
.leader-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: flex-end;
}
.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    aspect-ratio: 1/1;
}
.leader-info {
    position: absolute;
    width: 100%;
    padding: 25px 20px;
    background: rgba(68, 16, 20, 0.95);
    color: white;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.leader-card:hover .leader-info {
    transform: translateY(0);
    opacity: 1;
}
.leader-card:hover .leader-img {
    transform: scale(1.05);
}
.leader-info h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 8px;
}
.leader-info .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.8rem;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(2px); 
}
.leader-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}
.agents-section {
    margin-top: 80px;
}
.agents-section h3 {
    font-family: var(--font-primary);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-color);
    position: relative;
}
.agents-showcase {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}
.agents-photo {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
}
.agents-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    aspect-ratio: 16/9;
}
.agents-info {
    position: absolute;
    bottom: -1px;
    width: 100%;
    padding: 30px;
    background: rgba(68, 16, 20, 0.95);
    color: white;
    transform: translateY(100%); 
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.agents-photo:hover .agents-info {
    transform: translateY(0);
    opacity: 1;
}
.agents-photo:hover .agents-img {
    transform: scale(1.05);
}
.agents-info h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 10px;
}
.agents-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
}
.cta-section {
    padding: 60px 0;
    background-color: #441014;
    color: var(--primary-color);
    text-align: center;
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg width='42' height='44' viewBox='0 0 42 44' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Page-1' fill='none' fill-rule='evenodd'%3E%3Cg id='brick-wall' fill='%23ffffff' fill-opacity='0.14'%3E%3Cpath d='M0 0h42v44H0V0zm1 1h40v20H1V1zM0 23h20v20H0V23zm22 0h20v20H22V23z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 63px;
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}
.cta-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.3;
}
.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2.2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px;
    text-align: center;
}
.cta-button.primary {
    background: var(--primary-color);
    color: var(--accent-color);
}
.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
@media (max-width: 1200px) {
    .leadership-grid {
        gap: 30px;
    }
}
@media (max-width: 992px) {
    .mission-section {
        padding: 70px 0;
    }
    .mission-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
        gap: 2rem;
    }
    .cta-section {
        padding: 50px 0;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
}
@media (max-width: 768px) {
    .mission-section {
        padding: 60px 0;
    }

    .mission-grid {
        grid-template-columns: repeat(2, minmax(245px, 1fr));
    }
    
    .mission-item:last-child {
        grid-column: span 2;
        max-width: 400px;
    }
    .team-title h2 {
        font-size: 1.8rem;
    }
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .leader-card, .agents-photo {
        height: 450px;
    }
    .agents-info p {
        max-width: 100%;
    }
    .leader-photo {
        align-items: stretch;
    }
    
    .leader-info {
        bottom: -1px;
        padding-bottom: 30px;
    }
    .agents-showcase {
        max-width: 500px;
    }
    .agents-photo {
        height: 300px;
    }
    .agents-photo {
        align-items: stretch;
    }
    
    .agents-info {
        bottom: -1px;
        padding-bottom: 35px;
    }
    .cta-section {
        padding: 40px 0;
        background-size: 40px 42px;
    }
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .cta-content p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.9rem 1.8rem;
        min-width: 160px;
    }
}
@media (max-width: 576px) {
    .mission-section {
        padding: 50px 0;
    }
    .mission-container {
        padding: 0 1.5rem;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mission-item:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    .mission-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .cta-section {
        padding: 30px 0;
    }
    .cta-content h2 {
        font-size: 1.6rem;
    }
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .cta-buttons {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    .cta-button {
        width: 100%;
        max-width: 250px;
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
    .agents-info {
        padding: 15px;
    }
}