/* Basic Reset and Body Styling */
.about_main_pae_container {
    color: #333;
    
}

.about_main_pae_container {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
}
.header_main_div{
    position: absolute;
    right: 50px;
    
}

/* Page Header (Title and Breadcrumb) */
.about_main_pae_page-header {
    background-image:url(../../image/About-us-back-img.jpg);
    background-size: cover;
    background-blend-mode: multiply;
    color: white;
    padding: 18px 0;
    text-align: center;
    height: 28vh;
    background-repeat: no-repeat;
}

.about_main_pae_page-header h1 {
    margin: 0;
    font-weight: 700;
    color: #fff;
    font-size: 35px;
    padding-top: 40px;
}
.about_main_pae_breadcrumb{
    display: flex;
    align-items: center;
    gap: 10px;
}
.about_main_pae_page-header .about_main_pae_breadcrumb {
    color: #fff;
    font-size: 15px;
    padding: 10px;
}

.about_main_pae_page-header .about_main_pae_breadcrumb a {
    color: #ddd;
    text-decoration: none;
}

.about_main_pae_page-header .about_main_pae_breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content Layout (Sidebar + Content) */
.about_main_pae_content-wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 20px;
    line-height: 1.4;
}

/* Left Sidebar Navigation */
.about_main_pae_sidebar-nav {
    flex: 0 0 280px; /* Sidebar fixed width */
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    align-self: flex-start; /* Stick to the top */
}

.about_main_pae_sidebar-nav .about_main_pae_about_us_button1 button {
    display: block;
    width: 100%;
    padding: 18px 25px;
    background-color: #f9f9f9;
    border: none;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Remove bottom border from last button */
.about_main_pae_sidebar-nav .about_main_pae_about_us_button1:last-child button {
    border-bottom: none;
}

.about_main_pae_sidebar-nav .about_main_pae_about_us_button1 button:hover {
    background-color: #eef5ff;
    color: #3E3E86;
}

/* Active Button Style */
.about_main_pae_sidebar-nav .about_main_pae_about_us_button1.about_main_pae_active button {
    background-color: #3E3E86; /* Main blue color */
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

/* Active indicator triangle */
.about_main_pae_sidebar-nav .about_main_pae_about_us_button1.about_main_pae_active button::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(270deg);
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #ffffff;
}


/* Right Content Area */
.about_main_pae_content-area {
    flex: 1; /* Take remaining space */
    background-color: #ffffff;
    padding: 5px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-height: 500px;
}

.about_main_pae_content-section {
    display: none; /* Hide all sections by default */
    animation: about_main_pae_fadeIn 0.5s ease-in-out;
}

.about_main_pae_content-section.about_main_pae_active {
    display: block; /* Show only the active section */
}

@keyframes about_main_pae_fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.about_main_pae_content-section h2 {
    font-size: 25px;
    font-weight: 700;
    color: #3E3E86;
    
    
}
.presidant_header{
    margin-top: -80px;

}

.about_main_pae_content-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}
.about_main_pae_content-section img {
    max-width: 100%;
    height: auto;
    margin: 0px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Special layout for Chairman Message (as in image) */
.about_main_pae_message-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
        border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.about_main_pae_message-layout-vice-chairman{
        flex-direction: row-reverse !important;
        margin-top: 10px;
}

.about_main_pae_message-layout .about_main_pae_text-content {
    flex: 3; /* Text takes 2/3 space */
}

.about_main_pae_message-layout .about_main_pae_profile-sidebar {
    flex: 2; /* Image takes 1/3 space */
    text-align: center;

}

.about_main_pae_message-layout .about_main_pae_profile-image {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.about_main_pae_message-layout .about_main_pae_profile-sidebar h3 {
    margin: 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    text-align: center;
}

.about_main_pae_message-layout .about_main_pae_profile-sidebar p {
    font-size: 14px;
    color: #777;
    margin: 0;
    text-align: center;
}
.obj_list{
    margin-left: 20px;
}
.obj_list li{
    color: #555;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about_main_pae_content-wrapper {
        flex-direction: column;
    }
    
    .about_main_pae_sidebar-nav {
        flex: 0 0 auto; /* Reset flex basis */
        width: 100%;
        margin-bottom: 20px;

    }
    
    .about_main_pae_content-area {
        min-height: 300px;
    }

    .about_main_pae_message-layout {
        flex-direction: column; /* Stack image on top of text */
    }
    
    .about_main_pae_message-layout .about_main_pae_profile-sidebar {
        margin-bottom: 30px;
    }
    .about_main_pae_message-layout-vice-chairman{
            flex-direction: column !important;
    }
    .presidant_header{
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .about_main_pae_page-header h1 {
        font-size: 2rem;
    }
    .about_main_pae_content-area {
        padding: 20px 25px;
    }

    .about_main_pae_content-section h2 {
        font-size: 1.75rem;
        text-align: center;
        margin-top: 0;
    }
    .presidant_header{
        margin-top: 0;
    }
}
.header_main_div p{
    color: #fff;
    font-size: 15px;
    padding: 0px ;
}
.header_main_div a{
    text-decoration: none;
    color: #fff;
}
        