/**
 * Meet the Team Page Styles
 * Ayan Interior Theme
 */

/* Banner Section */
.meet-the-team-page .inner-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.meet-the-team-page .inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.meet-the-team-page .banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.meet-the-team-page .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.meet-the-team-page .breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.meet-the-team-page .breadcrumb li {
    position: relative;
    margin: 0 5px;
}

.meet-the-team-page .breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #ccc;
}

.meet-the-team-page .breadcrumb a, 
.meet-the-team-page .breadcrumb em {
    color: #79777d !important;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.meet-the-team-page .breadcrumb a:hover {
    color: #d00b13 !important;
}

.meet-the-team-page .breadcrumb .active em {
    font-style: normal;
    color: #ffffff !important;
}

/* Main Content Section */
.meet-the-team-page .meet-the-team-section {
    padding: 0;
}

.meet-the-team-page .meet-the-team-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.meet-the-team-page .meet-the-team-heading::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #d00b13 0%, #ff4757 100%);
    border-radius: 2px;
}

.meet-the-team-page .team-description {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Team List Styling */
.meet-the-team-page .team-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meet-the-team-page .team-list-item {
    margin-bottom: 4rem;
}

.meet-the-team-page .department {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding: 1rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.meet-the-team-page .department::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d00b13 0%, #ff4757 100%);
    border-radius: 2px;
}

.meet-the-team-page .team-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.meet-the-team-page .team-member-list-item {
    width: 100%;
    max-width: 320px;
}

/* Team Member Cards */
.meet-the-team-page .team-member-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.meet-the-team-page .team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(208, 11, 19, 0.3);
}

.meet-the-team-page .team-member-card-thumb {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meet-the-team-page .team-member-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meet-the-team-page .team-member-card:hover .team-member-card-thumb img {
    transform: scale(1.05);
}

.meet-the-team-page .team-member-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d00b13 0%, #ff4757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.meet-the-team-page .team-member-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.meet-the-team-page .team-member-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.meet-the-team-page .team-member-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meet-the-team-page .team-member-name a:hover {
    color: #d00b13;
}

.meet-the-team-page .team-member-designation {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 500;
}

.meet-the-team-page .team-member-bio {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Service Area Section */
.meet-the-team-page .service-sec {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 80px;
}

.meet-the-team-page .service-sec .container-fluid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.meet-the-team-page .image-column {
    text-align: center;
}

.meet-the-team-page .image-column img,
.meet-the-team-page .service-area-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.meet-the-team-page .service-area-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #d00b13;
    color: #6c757d;
    min-height: 250px;
    text-align: center;
}

.meet-the-team-page .service-area-placeholder i {
    color: #d00b13;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.meet-the-team-page .service-area-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    max-width: 300px;
}

.meet-the-team-page .content-column {
    padding: 2rem 0;
}

.meet-the-team-page .large-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.meet-the-team-page .large-heading a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.meet-the-team-page .large-heading a:hover {
    color: #d00b13;
}

.meet-the-team-page .content-column p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 2rem;
}

.meet-the-team-page .cities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meet-the-team-page .cities li {
    margin: 0;
}

.meet-the-team-page .cities a {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #d00b13 0%, #ff4757 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.meet-the-team-page .cities a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(208, 11, 19, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* CTA Section */
.meet-the-team-page .cta-section {
    background: linear-gradient(135deg, #d00b13 0%, #ff4757 100%) !important;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.meet-the-team-page .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.meet-the-team-page .cta-section .container {
    position: relative;
    z-index: 2;
}

.meet-the-team-page .cta-section p {
    color: #ffffff;
}

.meet-the-team-page .cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.meet-the-team-page .cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.meet-the-team-page .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.meet-the-team-page .btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.meet-the-team-page .btn-light {
    background: white;
    color: #2c3e50;
    border: 2px solid white;
}

.meet-the-team-page .btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.meet-the-team-page .btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.meet-the-team-page .btn-outline-light:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .meet-the-team-page .meet-the-team-heading {
        font-size: 2.2rem;
    }
    
    .meet-the-team-page .department {
        font-size: 1.6rem;
    }
}

@media (max-width: 991px) {
    .meet-the-team-page .inner-banner {
        min-height: 250px;
    }
    
    .meet-the-team-page .meet-the-team-heading {
        font-size: 2rem;
    }
    
    .meet-the-team-page .department {
        font-size: 1.5rem;
    }
    
    .meet-the-team-page .team-member-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .meet-the-team-page .service-sec .container-fluid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
        text-align: center;
    }
    
    .meet-the-team-page .large-heading {
        font-size: 2rem;
    }
    
    .meet-the-team-page .service-sec {
        padding: 50px 0;
        margin-top: 60px;
    }
}

@media (max-width: 767px) {
    .meet-the-team-page .inner-banner {
        min-height: 200px;
    }
    
    .meet-the-team-page .breadcrumb ul {
        justify-content: center;
    }
    
    .meet-the-team-page .breadcrumb a,
    .meet-the-team-page .breadcrumb em {
        font-size: 14px;
    }
    
    .meet-the-team-page .meet-the-team-heading {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .meet-the-team-page .team-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .meet-the-team-page .department {
        font-size: 1.3rem;
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .meet-the-team-page .team-member-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .meet-the-team-page .team-member-list-item {
        max-width: 100%;
    }
    
    .meet-the-team-page .team-member-card-thumb {
        height: 250px;
    }
    
    .meet-the-team-page .team-member-card-body {
        padding: 1.2rem;
    }
    
    .meet-the-team-page .large-heading {
        font-size: 1.8rem;
    }
    
    .meet-the-team-page .cta-title {
        font-size: 2rem;
    }
    
    .meet-the-team-page .cta-buttons {
        flex-direction: column;
    }
    
    .meet-the-team-page .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .meet-the-team-page .cities {
        justify-content: center;
        gap: 0.3rem;
    }
    
    .meet-the-team-page .cities a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 575px) {
    .meet-the-team-page .meet-the-team-heading {
        font-size: 1.6rem;
    }
    
    .meet-the-team-page .department {
        font-size: 1.2rem;
    }
    
    .meet-the-team-page .team-member-card-thumb {
        height: 220px;
    }
    
    .meet-the-team-page .team-member-name {
        font-size: 1.2rem;
    }
    
    .meet-the-team-page .cta-title {
        font-size: 1.8rem;
    }
    
    .meet-the-team-page .large-heading {
        font-size: 1.6rem;
    }
    
    .meet-the-team-page .service-sec .container-fluid {
        padding: 0 1rem;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meet-the-team-page .team-member-card {
    animation: fadeInUp 0.6s ease forwards;
}

.meet-the-team-page .team-member-list-item:nth-child(1) .team-member-card { animation-delay: 0.1s; }
.meet-the-team-page .team-member-list-item:nth-child(2) .team-member-card { animation-delay: 0.2s; }
.meet-the-team-page .team-member-list-item:nth-child(3) .team-member-card { animation-delay: 0.3s; }
.meet-the-team-page .team-member-list-item:nth-child(4) .team-member-card { animation-delay: 0.4s; }
.meet-the-team-page .team-member-list-item:nth-child(5) .team-member-card { animation-delay: 0.5s; }
.meet-the-team-page .team-member-list-item:nth-child(6) .team-member-card { animation-delay: 0.6s; }

/* Print Styles */
@media print {
    .meet-the-team-page .inner-banner,
    .meet-the-team-page .cta-section {
        background: #f8f9fa !important;
        color: #2c3e50 !important;
    }
    
    .meet-the-team-page .breadcrumb a,
    .meet-the-team-page .breadcrumb em {
        color: #2c3e50 !important;
    }
    
    .meet-the-team-page .cities a {
        background: #e9ecef !important;
        color: #2c3e50 !important;
        border: 1px solid #6c757d !important;
    }
    
    .meet-the-team-page .team-member-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}