/* Executive Management Page Styles - Final Updated Version */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables */
    --primary-green: #1DE6C1;
    --dark-green: #00C9A7;
    --black: #222222;
    --gray: #777777;
    --light-gray: #B3B3B3;
    --white: #FFFFFF;
    --red: #E41D3D;
    --light-green: #BBF7EC;
    --yellow: #FFD700;
    --border-gray: #DBDBDB;
    --shadow-10: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'FCIconic';
    background-color: #F5F5F5;
    line-height: 1.6;
    margin: 0;
    color: var(--black);
}

/* Base Container Styles */
.row.mt-3.justify-content-center {
    margin-top: 0rem !important;
    max-width: 970px !important;
    justify-items: center;
    justify-content: center;
    margin: auto;
    width: 100%;
}

.container {
    margin: 0 auto;
    padding: 0 16px;
}

div#content {
    background: #F5F5F5;
}

.layout-container {
    background-color: #E8FCF9;
}

.layout-container-2 {
    background-color: #F5F5F5;
    margin-top: 0px; /* Remove gap */
    margin-bottom: 24px;
    position: relative;
}

.layout-container-3 {
    background-color: #fff;
}

.rounded-4 {
    width: 100%;
    max-width: 970px;
}

.card-container {
    padding: 0 16px;
}

.card {
    margin: 24px auto 0;
    padding: 40px 16px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

.container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
    --bs-gutter-x: unset !important;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)*.5);
    padding-left: calc(var(--bs-gutter-x)*.5);
    margin-right: auto;
    margin-left: auto;
}

.pb-4 {
    padding-top: 45px!important;
    background: #fff;
}

.executives-main {
    background-color: #F5F5F5;
    min-height: 100vh;
}

.executives-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.executives-header {
    background: #E8FCF9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.executives-hero-content {
    flex: 1;
    max-width: 60%;
}

.executives-main-title {
    font-family: 'FCIconic';
    font-size: 40px;
    font-weight: 600;
    line-height: 60px;
    color: #222222;
    margin-bottom: 16px;
    word-wrap: break-word;
    hyphens: auto;
}

.executives-subtitle {
    font-family: 'FCIconic';
    font-size: 20px;
    color: #222;
    margin-top: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.executives-hero-image {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.executives-hero-image img {
    width: 100%;
    height: auto;
    max-width: 400px;
    object-fit: contain;
}

/* Filter Section */
.executives-filter-section {
    background: #ffffff;
    padding: 32px 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 0;
}

.filter-title {
    font-family: 'FCIconic';
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px;
    line-height:30px;
}

.filter-dropdown-container {
    display: inline-block;
    position: relative;
    margin-bottom: 52px;
}

/* =========================
   CUSTOM DROPDOWN STYLES
   ========================= */

/* Hide original select dropdown */
.filter-dropdown {
    display: none;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    min-width: 328px;
}

.dropdown-selected {
    background: #ffffff;
    border : 1px solid #DBDBDB;
    border-radius: 8px;
    padding : 8px 16px;
    font-family: 'FCIconic';
    font-size: 16px;
    color: #222222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
span.selected-text {
    font-weight: 600 !important;
}
/*.dropdown-selected:hover {*/
/*    border-color: #1DE6C1;*/
/*    background-color: #F8FFFE;*/
/*}*/

.dropdown-selected.active {
    border: 1px solid #DBDBDB;
    background-color: #fff;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 12px;
    height: 7px;
    background: url(../images/keyboard_arrow_down.png) no-repeat center center;
    transform: rotate(-180deg);
}

.dropdown-selected.active .dropdown-arrow {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.dropdown-options {
    position: absolute;
    z-index: 2;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    text-align:left;
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 8px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.05);
    display: none;
}

.dropdown-options.show {
    display: block;
}

/* ===== OPTION STYLES - ที่ทำงานได้จริง! ===== */
.dropdown-option {
    padding: 12px 16px;
    font-family: 'FCIconic';
    font-size: 16px;
    color: #222222;
    background-color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.dropdown-option:last-child {
    border-bottom: none;
}

/* HOVER STATE - ทำงานได้จริง! */
.dropdown-option:hover {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    font-weight:400;
}

/* SELECTED STATE */
.dropdown-option.selected {
    color: #000000 !important;
    font-weight: 600;
}

/* FOCUS STATE */
.dropdown-option:focus {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    outline: none;
}

/* =========================
   SELECT DROPDOWN UPDATED STYLES
   ========================= */

/* Filter Dropdown Base Styles */
.filter-dropdown {
    background: #ffffff;
    border: 2px solid #DBDBDB;
    border-radius: 12px;
    padding: 12px 40px 12px 16px;
    font-family: 'FCIconic';
    font-size: 16px;
    color: #222222;
    cursor: pointer;
    appearance: none;
    min-width: 200px;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

/* Hover State for Select Box */
.filter-dropdown:hover {
    border-color: #1DE6C1;
    background-color: #F8FFFE;
    box-shadow: 0 2px 8px rgba(29, 230, 193, 0.15);
}

/* Focus State for Select Box */
.filter-dropdown:focus {
    outline: none;
    border-color: #1DE6C1;
    background-color: #F8FFFE;
    box-shadow: 0 0 0 3px rgba(29, 230, 193, 0.1);
}

/* Active/Open State */
.filter-dropdown:active {
    border-color: #00C9A7;
}

/* =========================
   OPTION STYLES
   ========================= */

/* Base Option Styles */
.filter-dropdown option {
    padding: 12px 16px;
    font-family: 'FCIconic';
    font-size: 16px;
    color: #222222;
    background-color: #ffffff;
    border: none;
    line-height: 1.5;
    transition: background-color 0.2s ease;
}

/* Option Hover State - เขียวอ่อนตามภาพ */
.filter-dropdown option:hover {
    background-color: #BBF7EC !important;
    color: #000000 !important;
}

/* Option Focus State (keyboard navigation) */
.filter-dropdown option:focus {
    background-color: #BBF7EC !important;
    color: #000000 !important;
    outline: none;
}

/* Option Selected/Checked State */
.filter-dropdown option:checked,
.filter-dropdown option[selected] {
    background-color: #E8FCF9 !important;
    color: #000000 !important;
    font-weight: 500;
}

/* =========================
   BROWSER SPECIFIC FIXES
   ========================= */

/* For Webkit browsers (Chrome, Safari) */
.filter-dropdown option:hover,
.filter-dropdown option:focus {
    background: linear-gradient(#BBF7EC, #BBF7EC) !important;
    background-color: #BBF7EC !important;
}

/* Firefox specific option styling */
@-moz-document url-prefix() {
    .filter-dropdown option {
        padding: 10px 16px;
        background-color: #ffffff;
    }
    
    .filter-dropdown option:hover {
        background-color: #BBF7EC !important;
        color: #000000 !important;
    }
    
    .filter-dropdown option:focus {
        background-color: #BBF7EC !important;
        color: #000000 !important;
    }
}

/* Enhanced focus ring */
.filter-dropdown:focus-visible {
    outline: 2px solid #1DE6C1;
    outline-offset: 2px;
}

/* Option group styling (if using optgroup) */
.filter-dropdown optgroup {
    font-weight: 600;
    color: #1DE6C1;
    background-color: #F0FFFE;
    padding: 8px 16px;
    font-style: normal;
}

.filter-dropdown optgroup option {
    padding-left: 24px;
    font-weight: 400;
    color: #222222;
}

/* Disabled option styling */
.filter-dropdown option:disabled {
    background-color: #F5F5F5 !important;
    color: #B3B3B3 !important;
    cursor: not-allowed;
}

/* Loading state for filter section */
.executives-filter-section.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.executives-filter-section.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1DE6C1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dynamic title animation */
.filter-title {
    transition: all 0.3s ease;
}

.filter-title.updating {
    opacity: 0.5;
    transform: scale(0.95);
}

/* Executive Card */
.executive-card {
    padding: 36px 0;
}

.executive-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.executive-profile {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.executive-avatar {
    flex-shrink: 0;
    width: 162px;
    height: 162px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(180deg, #56A8A8 0%, #2C413C 100%);
}

.executive-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1DE6C1 0%, #00C9A7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
    font-family: 'FCIconic';
    text-transform: uppercase;
}

.executive-info {
    flex: 1;
}

.executive-name {
    font-family: 'FCIconic';
    font-size: 20px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 12px;
    text-align: left;
    line-height: 100%;
    padding-left:16px;
}

.executive-positions {
    margin-bottom: 0;
}

.executive-positions p {
    font-family: 'FCIconic';
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 4px;
    text-align: left;
    color: #777;
    font-weight: 400;
    padding-left:16px;
}

.position-thai {
    color: #777;
    font-weight: 400;
}

.position-english {
    color: #777777;
    font-style: italic;
}

.department {
    color: #777777;
}

.categories {
    color: #1DE6C1;
    font-weight: 500;
    margin-bottom: 16px !important;
}

/* FAQ Sections Container - 2 Columns Layout */
.faq-sections-container {
    gap: 20px;
    margin-top: 0px;
}

.faq-sections-container .faq-section {
    flex: 1;
    min-width: 0;
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 16px;
}

.faq-item {
    background: transparent;
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;

}

.faq-question {
    display: flex;
    height: auto;
    min-height: 48px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 10px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #DBDBDB;
}

.faq-question-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-label-tag {
    display: inline-block;
    border: 1px solid #E31E24;
    color: #E31E24;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    padding: 1px 8px;
    border-radius: 4px;
    width: fit-content;
    white-space: nowrap;
}

.faq-item.active .faq-question {
    background-color: #F4FEFC;
    border-color: #F4FEFC;
    padding: 8px 8px 8px 16px;
    border-radius: 8px;
}

.faq-question-text {
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0px!important;
    font-family: 'FCIconic';
}

.faq-arrow {

 width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* ลบ transform และ background ออกจาก main element */
    /* transform: rotate(-180deg) !important; */
     background: url(../images/keyboard_arrow_down.png) no-repeat center center; 
    transition: background-color 0.2s ease, border-radius 0.2s ease;
}
.faq-arrow::after {
    content: '';
    width: 16px;
    height: 16px;
    /*background: url(../images/keyboard_arrow_down.png) no-repeat center center;*/
    background-size: contain;
    display: block;
    transform: rotate(-180deg);
    transition: transform 0.2s ease;
}

.faq-arrow path {
    stroke: #000000;
}

.faq-item.active .faq-arrow {
  background: #BBF7EC;
    border-radius: 8px;
    /* ไม่มี transform ที่นี่ */
}
.faq-item.active .faq-arrow::after {
    transform: rotate(0deg);
}
.faq-answer {
    display: none;
    background: #FFFFFF;
    border: 1px solid #BBF7EC;
    border-radius: 8px;
    padding: 16px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Experience Item - 2 Rows Layout */
.experience-item {
    padding-bottom: 16px;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.experience-item .item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
    justify-content: start;
    justify-items: start;
}

.experience-item .item-row:last-child {
    margin-bottom: 0;
}

.experience-item .item-year {
    font-family: 'Bai Jamjuree';
    font-size: 14px;
    font-weight: 600;
    color: #222222;
    line-height: 21px;
}

.experience-item .item-empty {
    /* Empty space in first row */
}

.experience-item .item-institution {
    font-family: 'Bai Jamjuree';
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 21px;
    text-align:left;
}

.experience-item .item-institution .item-type {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #1DE6C1;
    background: #f0fffe;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 4px;
    line-height: 21px;
}

.experience-item .item-details {
    font-family: 'Bai Jamjuree';
    font-size: 14px;
    color: #000;
    line-height: 21px;
    margin: 0;
    font-weight: 400;
    text-align:left;
}

.item-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
    justify-content: start;
    justify-items: start;
}

.item-row:last-child {
    margin-bottom: 0;
}

/* Row 1: Year | Empty */
.item-year {
    font-family: 'Bai Jamjuree', 'FCIconic';
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    line-height: 1.4;
}

.item-empty {
    /* Empty space in first row */
}

/* Row 2: Institution/Type | Details */
.item-institution {
    font-family: 'Bai Jamjuree', 'FCIconic';
    font-size: 16px;
    font-weight: 400;
    color: #222222;
    line-height: 1.4;
}

.item-institution .item-type {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #1DE6C1;
    background: #f0fffe;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 4px;
    line-height: 1.4;
}

.item-details {
    font-family: 'Bai Jamjuree', 'FCIconic';
    font-size: 16px;
    color: #222;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Pagination */
.executives-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 8px;
}

.executives-pagination a,
.executives-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-family: 'FCIconic';
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers {
    color: #9E9E9E !important;
}
a.next.page-numbers{
    color:#222 !important;
}
a.prev.page-numbers{
    color:#222 !important;
}

.executives-pagination .current {
    background: #1DE6C1;
    color: #222 !important;
    border: 1px solid #1DE6C1;
}

/* No Results */
.no-executives-found {
    text-align: center;
    padding: 60px 20px;
}

.no-executives-found p {
    font-family: 'FCIconic';
    font-size: 18px;
    color: #777777;
}

/* Call to Action Button */
.btn-primary.green-style {
    padding: 13px 16px;
    background-color: #1de6c1;
    color: #000000;
    border: none;
    max-width: max-content;
    height: 56px;
    justify-content: center;
    border-radius: 8px;
    font-family: 'FCIconic';
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary.green-style:hover {
    background-color: #00C9A7;
    transform: translateY(-2px);
}

/* Outro Section Styles */
    .outro-homepage-container {
        padding: 60px 40px;
        text-align: center;
    }
    .outro-homepage-container .outro-main-title.underline-bg{
        background-image: unset !important;
        background-repeat:  unset !important;
        background-position:  unset !important;
        background-size:  unset !important;
        display:  unset !important;
        padding-right:  unset !important;
        padding-bottom:  unset !important;
        margin:  unset !important;
    }
    .outro-main-title{
        font-size:32px !important;
        line-height:48px!important;
    }
    .outro-text-box {
        margin-bottom: 32px;
    }
    

    
    .outro-main-title {
        font-size: 40px !important;
        line-height: 60px !important;
        font-family: 'FCIconic'!important;
        font-weight: 600!important;
    }
    
    p.outro-sub-title{
        font-family: 'FCIconic'!important;
        font-weight: 500 !important;
        font-size: 24px !important;
        line-height: 36px !important;

    }

.outro-sub-title {
    font-size: 24px;
    font-weight: 400;
    color: #777777;
}

.outro-find-best-insurance-box {
    margin-bottom: 32px;
}

.outro-image-box img {
    max-width: 100%;
    height: auto;
}

.outro-text-box {
    grid-area: title;
    text-align: left;
    margin:0px;
}
.outro-sub-title{
    color:#000;
}

/* =========================
   MOBILE SPECIFIC STYLES
   ========================= */

/* Mobile: Hide desktop elements, show mobile elements */
.executive-basic-info,
.executive-other-info,
.faq-sections-container-mobile {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Tablets and Small Desktops (1024px and down) */
@media (max-width: 1024px) {
    .executives-container {
        padding: 0 16px;
    }
    
    .executives-header {
        text-align: center;
        gap: 32px;
    }
    
    .executives-hero-content {
        max-width: 100%;
    }
    
    .executives-hero-image {
        max-width: 300px;
        width: 100%;
    }
    
    .executives-main-title {
        font-size: 36px;
        line-height: 50px;
    }
    
    .executives-subtitle {
        font-size: 18px;
    }
    
    .filter-title {
        font-size: 20px;
    }
    
    .executives-filter-section {
        padding: 32px;
    }
    
    /* FAQ Sections: Keep side by side on tablet */
    .faq-sections-container {
        gap: 0px;
    }
    
    .faq-question-text {
        font-size: 18px;
        line-height: 24px;
    }
    
    /* Experience Item: Adjust grid for tablet */
    .experience-item .item-row {
        grid-template-columns: 1fr 1.5fr;
        gap: 12px;
    }
    
    .experience-item .item-year,
    .experience-item .item-institution,
    .experience-item .item-details {
        font-size: 14px;
    }
    
    .outro-homepage-container {
        padding: 50px 32px;
    }
    
    .faq-answer {
        padding: 12px;
    }
    
    .faq-answer-content {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .outro-main-title {
        font-size: 32px;
    }
    
    .outro-sub-title {
        font-size: 22px;
    }
}
@media (min-width: 769px) {
    .layout-container-2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 120px; /* Green background height for filter section */
        background-color: #E8FCF9;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .layout-container-2 {
        margin-top: 0px; /* Original mobile spacing */
    }
    
    .executives-filter-section {
        margin-top: 0px; /* No overlap on mobile */
    }
}
@media (max-width: 768px) {
    .executives-filter-section {
        padding: 24px;
        border-radius: 8px;
    }
}

/* Standard Tablets (768px and down) */
@media (max-width: 768px) {
    /* ===== MOBILE LAYOUT ACTIVATION ===== */
    
    /* Hide desktop/tablet structure */
    .executive-avatar,
    .executive-info {
        display: none !important;
    }
    
    /* Hide desktop FAQ container */
    .executive-positions .faq-sections-container {
        display: none !important;
    }
    
    /* Show mobile structure */
    .executive-basic-info,
    .executive-other-info,
    .faq-sections-container-mobile {
        display: block !important;
    }
    
    /* ===== MOBILE STRUCTURE STYLES ===== */
    
    .row.mt-3.justify-content-center {
        width: 100%;
        max-width: 100%;
        padding: 0px;
    }
    
    .layout-container-2{
        margin-top:0px;
    }
    
    .executives-header {
        /*padding: 32px 24px;*/
        border-radius: 12px;
    }
    
    /* Hide hero image on mobile devices */
    .executives-hero-image {
        display: none;
    }
    
    .executives-main-title {
        font-size: clamp(24px, 6vw, 32px);
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .executives-subtitle {
        font-size: 16px;
    }
    
    .executives-filter-section {
        padding: 24px;
        border-radius: 8px;
    }
    
    .filter-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .filter-dropdown-container {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .filter-dropdown {
        width: 100%;
        min-width: auto;
        padding: 14px 40px 14px 16px;
        font-size: 16px;
    }
    
    .dropdown-selected {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
    /* Executive Card - Mobile Layout */
    .executive-card {
        padding: 24px 0;
    }
    
    .executive-profile {
        /*flex-direction: column;*/
        align-items: stretch;
        text-align: left;
        gap: 0;
    }
    
    /* Mobile: Basic Info - Avatar + Name + Position Thai in one row */
    .executive-basic-info {
        display: flex !important;
        align-items: center;
        gap: 16px;
        margin-bottom: 0px;
    }
    
    .executive-avatar-mobile {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        overflow: hidden;
        background: linear-gradient(180deg, #56A8A8 0%, #2C413C 100%);
        flex-shrink: 0;
    }
    
    .executive-avatar-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .executive-avatar-mobile .default-avatar {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #1DE6C1 0%, #00C9A7 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 24px;
        font-weight: bold;
        font-family: 'FCIconic';
        text-transform: uppercase;
    }
    
    .executive-name-position {
        flex: 1;
    }
    
    .executive-name-mobile {
        font-family: 'FCIconic';
        font-size: 18px;
        font-weight: 600;
        color: #000;
        margin-bottom: 6px;
        text-align: left;
        line-height: 1.2;
    }
    
    .position-thai-mobile {
        font-family: 'FCIconic';
        font-size: 16px;
        color: #777;
        font-weight: 400;
        margin-bottom: 0;
        text-align: left;
        line-height: 24px;
    }
    
    /* Mobile: Other Info - Position English + Department */
    .executive-other-info {
        display: block !important;
        margin-bottom: 16px;
    }
    
    .executive-other-info p {
        display:none;
    }
    
    .position-english-mobile {
        color: #777777;
        font-style: italic;
    }
    
    .department-mobile {
        color: #777777;
    }
    
    /* Mobile: FAQ Sections - moved outside with separator */
    .faq-sections-container-mobile {
        display: block !important;
        margin-top: 0px;
        padding-top: 0px;
        /*border-top: 1px solid #DBDBDB;*/
        flex-direction: column;
        gap: 0px;
        width: 100%;
    }
    
    .faq-sections-container-mobile .faq-section {
        width: 100%;
    }
    
    .faq-question {
        height: auto;
    }
    
    .faq-question-text {
        font-size: 16px;
        line-height: 22px;
    }
    
    .faq-answer {
        padding: 16px;
    }
    
    /* Experience Item: Stack vertically on mobile */
    .experience-item .item-row {
        margin-bottom: 0px;
    }
    
    .experience-item .item-year {
        font-size: 14px;
        font-weight: 600;
        color: #222;
        margin-bottom: 4px;
    }
    
    .experience-item .item-institution {
        font-size: 15px;
        font-weight: 500;
        color: #000;
        margin-bottom: 4px;
    }
    
    .experience-item .item-institution .item-type {
        font-size: 11px;
        padding: 1px 6px;
        margin-top: 2px;
    }
    
    .experience-item .item-details {
        font-size: 14px;
        color: #222;
        line-height: 21px;
    }
    
    /* Pagination responsive */
    .executives-pagination {
        margin-top: 32px;
        gap: 6px;
    }
    
    .executives-pagination a,
    .executives-pagination span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    /* Outro section responsive */
    .outro-homepage-container {
        padding: 40px 24px;
    }
    
    .outro-main-title {
        font-size: 40px;
    }
    
    .outro-sub-title {
        font-size: 20px;
    }
        .outro-homepage-container .outro-main-title.underline-bg{
        background-image: unset !important;
        background-repeat:  unset !important;
        background-position:  unset !important;
        background-size:  unset !important;
        display:  unset !important;
        padding-right:  unset !important;
        padding-bottom:  unset !important;
        margin:  unset !important;
    }
    .outro-text-box {
        margin-bottom: 32px;
    }
    
    
    .outro-main-title {
        font-family: 'FCIconic'!important;
        font-weight: 600 !important;
        font-size: 40px !important;
        line-height: 60px !important;
    }
    
    p.outro-sub-title{
        font-family: 'FCIconic' !important;
        font-weight: 500 !important;
        font-size: 24px !important;
        line-height: 36px !important;

    }
    .btn-primary.green-style {
        width: 100%;
        max-width: max-content;
        font-weight:600;
        }
}
@media (max-width: 480px) {
    .executives-filter-section {
        padding: 20px;
        border-radius: 8px;
    }
}

/* Small Mobile Devices (480px and down) */
@media (max-width: 480px) {
        .executives-header {
        height:196px;
    }
    .executives-header,
    .executives-filter-section {
        padding: 16px 20px;
        border-radius: 8px;
    }
    
    .executives-main-title {
        font-size: clamp(20px, 6vw, 28px);
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .executives-subtitle {
        font-size: 15px;
        line-height: 1.4;
    }
     .executives-filter-section {
        padding: 20px;
        border-radius: 8px;
    }
    .filter-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .filter-dropdown-container {
        width: 100%;
        margin-bottom: 32px;
    }
    
    .dropdown-selected {
        padding : 8px 16px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .dropdown-selected.active {
        border-radius: 8px;
    }
    
    .dropdown-options {
        border-radius: 8px;
        padding: 4px 0;
    }
    
    .dropdown-option {
        padding: 10px 14px;
        font-size: 15px;
        margin: 1px 4px;
        border-radius: 10px;
    }
    
    /* Executive Cards - Mobile layout */
    .executive-card {
        padding: 24px 0 ;
    }
    
    .executive-basic-info {
        gap: 12px;
        margin-bottom: 0px;
    }
    
    .executive-avatar-mobile {
        width: 64px;
        height: 64px;
    }
    
    .executive-avatar-mobile .default-avatar {
        font-size: 20px;
    }
    
    .executive-name-mobile {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .position-thai-mobile {
        font-size: 13px;
    }
    
    .executive-other-info {
        margin-bottom: 14px;
    }
    
    .executive-other-info p {
        font-size: 13px;
        margin-bottom: 3px;
    }
    
        .dropdown-selected {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
    /* FAQ Sections */
    .faq-sections-container-mobile {
        margin-top: 0px;
        padding-top: 0px;
        gap: 12px;
    }
    
    .faq-question-text {
        font-size: 14px;
        line-height: 20px;
    }
    
    .faq-arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
        padding: 6px;
    }
    
    .faq-item.active .faq-arrow {
        width: 28px;
        height: 28px;
        min-width: 28px;
        padding: 6px;
    }
    
    .faq-answer {
        padding: 14px;
    }
    
    /* Experience Item: Smaller spacing */
    .experience-item {
        padding-bottom: 8px;
    }
    
    .experience-item .item-row {
        margin-bottom: 0px;
    }
    
    .experience-item .item-year {
        font-size: 14px;
    }
    
    .experience-item .item-institution {
        font-size: 14px;
        margin-bottom: 3px;
        text-align: left;
    }
    
    .experience-item .item-institution .item-type {
        font-size: 10px;
        padding: 1px 4px;
        border-radius: 6px;
    }
    
    .experience-item .item-details {
        font-size: 14px;
        line-height: 21px;
    }
    
    /* Pagination */
    .executives-pagination {
        margin-top: 24px;
        gap: 4px;
    }
    
    .executives-pagination a,
    .executives-pagination span {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    /* Outro section */
    .outro-homepage-container {
        padding: 32px 20px;
    }
    
    .outro-main-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .outro-sub-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    
    .btn-primary.green-style {
        width: 100%;
        max-width: max-content;
        font-size: 15px;
        height: 52px;
        padding: 12px 16px;
        font-weight:600;
    }
    
    .outro-find-best-insurance-box {
        margin-bottom: 24px;
        padding-top:0px !important;
    }
    
        .outro-homepage-container .outro-main-title.underline-bg{
        background-image: unset !important;
        background-repeat:  unset !important;
        background-position:  unset !important;
        background-size:  unset !important;
        display:  unset !important;
        padding-right:  unset !important;
        padding-bottom:  unset !important;
        margin:  unset !important;
    }
    .outro-main-title{
        
    }
    .outro-text-box {
        margin-bottom: 32px;
    }
    
    .outro-main-title {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    
    .outro-main-title {

        font-family: 'FCIconic'!important;
        font-weight: 600!important;
        font-size: 32px!important;
        line-height:48px!important;
    }
    
    p.outro-sub-title{
        font-family: 'FCIconic' !important;
        font-weight: 500 !important;
        font-size: 20px !important;
        line-height: 30px !important;

    }
}

/* Extra Small Devices (320px and down) */
@media (max-width: 320px) {
    .executives-header,
    .executives-filter-section {
        padding: 16px;
    }
    
    .executives-main-title {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .executives-subtitle {
        font-size: 14px;
    }
    
    .filter-title {
        font-size: 20px;
    }
    
    .dropdown-selected {
        font-size: 14px;
        padding : 8px 16px; 
        border-radius: 8px;
    }
    
    .dropdown-selected.active {
        border-radius: 8px;
    }
    
    .dropdown-options {
        border-radius: 0 0 16px 16px;
        padding: 2px 0;
    }

    .dropdown-option {
        padding: 8px 12px;
        font-size: 14px;
        margin: 1px 3px;
        border-radius: 8px;
    }
        .dropdown-selected {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}
    /* Executive Cards - Mobile layout (smallest) */
    .executive-basic-info {
        gap: 10px;
        margin-bottom: 0px;
    }
    
    .executive-avatar-mobile {
        width: 60px;
        height: 60px;
    }
    
    .executive-avatar-mobile .default-avatar {
        font-size: 16px;
    }
    
    .executive-name-mobile {
        font-size: 15px;
        margin-bottom: 3px;
    }
    
    .position-thai-mobile {
        font-size: 13px;
    }
    
    .executive-other-info p {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    /* FAQ Sections */
    .faq-sections-container-mobile {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .faq-question-text {
        font-size: 13px;
        line-height: 18px;
    }
    
    .faq-arrow {
        width: 24px;
        height: 24px;
        min-width: 24px;
        padding: 4px;
    }
    
    .faq-item.active .faq-arrow {
        width: 24px;
        height: 24px;
        min-width: 24px;
        padding: 4px;
    }
    
    .outro-main-title {
        font-size: 20px;
    }
    
    .outro-sub-title {
        font-size: 16px;
    }
        .outro-homepage-container .outro-main-title.underline-bg{
        background-image: unset !important;
        background-repeat:  unset !important;
        background-position:  unset !important;
        background-size:  unset !important;
        display:  unset !important;
        padding-right:  unset !important;
        padding-bottom:  unset !important;
        margin:  unset !important;
    }
    .outro-main-title{
        
    }
    .outro-text-box {
        margin-bottom: 32px;
    }
    
    .outro-main-title {
        font-size: 36px;
        font-weight: 600;
        margin-bottom: 16px;
    }
    
    .outro-main-title {
        font-family: 'FCIconic'!important;
        font-weight: 600 !important;
        font-size: 32px !important;
        line-height: 48px !important;
    }
    
    p.outro-sub-title{
        font-family: 'FCIconic' !important;
        font-weight: 500 !important;
        font-size: 20px !important;
        line-height: 30px !important;

    }
    
    .btn-primary.green-style {
        font-size: 14px;
        height: 48px;
    }
}

/* =========================
   ACCESSIBILITY IMPROVEMENTS
   ========================= */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .filter-dropdown {
        border-width: 3px;
    }
    
    .filter-dropdown:focus {
        box-shadow: 0 0 0 4px rgba(29, 230, 193, 0.3);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .filter-dropdown,
    .filter-dropdown option,
    .faq-arrow,
    .faq-item {
        transition: none;
    }
}