
/* ////////banner/////////////////// */

.banner {
            width: 100%;
            height: 400px;
            background-image: url('images/About-back-img.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }
        
        
        .breadcrumb {
            display: flex;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.8);
            padding: 15px 25px;
            border-radius: 30px;
            z-index: 1;
            margin-top: 80px;
        }
        
        .breadcrumb a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            display: flex;
            align-items: center;
        }
        
        .breadcrumb a:hover {
            color: #000;
        }
        
        .breadcrumb-separator {
            margin: 0 10px;
            color: #333;
            font-size: 18px;
        }
        
        .breadcrumb-current {
            color: #333;
            font-size: 18px;
            font-weight: bold;
        }
        
        /* Mobile Responsive */
        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .breadcrumb {
                padding: 12px 20px;
            }
            
            .breadcrumb a,
            .breadcrumb-separator,
            .breadcrumb-current {
                font-size: 16px;
            }
        }
        



/* Base Styles (Desktop First) */

body {
    background-color: #ededed;
    font-family: 'Montserrat', sans-serif, Arial, sans-serif !important; /* Added Arial, sans-serif as fallback */
}

/* /////content///////////// */
.heading-section {
    width: 100%;
    height: auto;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.team-section h2,
.heading-section h2 {
    font-size: 30px;
    color: #353535;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif, Arial, sans-serif;
}

.heading-section p {
    font-size: 16px;
    color: #666666;
    font-weight: 500;
}

.container {
    display: flex;
    align-items: center;
    max-width: 1200px; /* Max width for desktop */
    margin: 0 auto;
    background-color: #fff;
    margin-top: 40px;
    padding: 20px; /* Default padding for desktop, adjusted later for mobile */
}

.image-section {
    height: 420px; /* Fixed height for desktop */
    width: 560px; /* Fixed width for desktop */
    padding-right: 20px;
    flex-shrink: 0; /* Prevent shrinking on larger screens */
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-circle {
    width: 150px;
    height: 150px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -50px; /* Overlap margin for desktop */
    position: relative;
    z-index: 2;
    border: 5px solid white;
    flex-shrink: 0; /* Prevent shrinking */
}

.logo-circle img {
    width: 70%;
    height: auto;
}

.content-section {
    flex: 1; /* Allows it to grow and shrink */
    padding-left: 70px; /* Large padding for desktop */
    padding-right: 70px; /* Large padding for desktop */
}

.content-section h2 {
    color: #666666;
    margin-bottom: 20px;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif, Arial, sans-serif;
}

.content-section p {
    color: #666666;
    line-height: 1.4;
    font-size: 16px;
    text-align: justify;
}

/* ////////team section//////// */
.team-section {
    padding: 60px 20px;
    max-width: 1200px; /* Added max-width to team section for consistency */
    margin: 0 auto;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    width: calc(24% - 24px); /* Adjusted for gap to ensure 5 columns on large screens */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent shrinking */
}

.team-member-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.team-member-info {
    position: absolute;
    bottom: -100%; /* Initially hidden */
    left: 0;
    width: 100%;
    background: #fff200ca;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover .team-member-info {
    bottom: 0; /* Show on hover */
}

.team-member-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #222;
    font-family: 'Montserrat', sans-serif, Arial, sans-serif;
}

.team-member-position {
    font-size: 15px;
    color: #666;
}

/* Responsive styles */

@media (max-width: 992px) {
    .team-member {
        width: calc(45% - 20px); /* Adjust to 2 columns with gaps */
    }
    .team-section {
        padding: 40px 20px; /* Adjust padding */
    }
}

@media (max-width: 868px) {
    .container {
        flex-direction: column; /* Stack items vertically */
        padding: 30px 15px; /* Adjust padding for tablets */
        margin-top: 20px; /* Reduce top margin */
    }

    .image-section {
        height: 300px; /* Reduced height for tablets */
        width: 100%; /* Take full width */
        padding-right: 0;
        margin-bottom: 20px;
    }

    .logo-circle {
        margin: -50px auto 20px auto; /* Adjust margin to center and slightly overlap from top */
    }

    .content-section {
        padding: 10px 20px; /* Reduced padding for tablets */
        text-align: center; /* Center align text for simpler layout */
    }
    .content-section p {
        text-align: left; /* Keep paragraphs left-aligned for readability */
    }
}

@media (max-width: 768px) {
    .team-member {
        width: calc(100% - 20px); /* Single column for team members */
    }
    .team-section h2,
    .heading-section h2 {
        font-size: 26px; /* Slightly smaller headings */
    }
    .heading-section p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .heading-section {
        padding: 20px; /* Reduced padding */
    }
    .container {
        margin-top: 15px;
        padding: 20px 10px; /* Further reduced padding */
    }
    .image-section {
        height: 250px; /* Further reduced image height */
    }
    .logo-circle {
        width: 120px; /* Smaller logo circle */
        height: 120px;
        margin: -40px auto 15px auto; /* Adjusted margin */
    }
    .content-section h2 {
        font-size: 16px;
    }
    .content-section p {
        font-size: 16px;
    }
    .team-section {
        padding: 30px 10px;
    }
    .team-member-img {
        height: 300px; /* Reduced image height for team members */
    }
    .team-member-name {
        font-size: 16px;
    }
    .team-member-position {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .heading-section h2 {
        font-size: 24px;
    }
    .content-section h2 {
        font-size: 15px;
    }
    .content-section p {
        font-size: 14px;
    }
    .image-section {
        height: 200px;
    }
    .logo-circle {
        width: 100px;
        height: 100px;
        margin: -30px auto 10px auto;
    }
    .team-member-img {
        height: 300px;
    }
}