:root {
    --primary-color: #004a9f;
    /* Exact Sojitz Blue from Figma */
    --primary-color-dark: #003b7a;
    --secondary-color: #f8f9fa;
    --text-dark: #252525;
    --text-light: #666666;
    --extra-light: #f4f6f9;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --max-width: 1510px;
    /* Matched to Figma layout width */
    --font-family: "Inter", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.section {
    padding: 5rem 1.5rem;
    max-width: var(--max-width);
    margin: auto;
}

.section__subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #799abf;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section__header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-center {
    align-items: center;
    text-align: center;
}

.underlined::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #799abf;
}

.header-center .underlined::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
}

.rounded-btn {
    border-radius: 50px;
}

.blue-text {
    color: var(--primary-color);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 40px;
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__links a:hover {
    color: var(--primary-color);
}

/* =============================================
   New Custom Dropdowns
   ============================================= */

.nav__links>li {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav__links>li.nav-item-dropdown {
    position: relative;
}

/* Base custom dropdown menu */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    /* Just below the navbar */
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background-color: var(--white);
    border-top: 2px solid #004a9f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
    z-index: 1000;
    padding: 12px 0;
}

.nav-item-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    color: #004a9f;
    font-size: 1.05rem;
    font-weight: 400;
    text-decoration: none;
    background: white;
    transition:
        background 0.15s,
        color 0.15s;
    white-space: nowrap;
}

.dropdown-item-custom i.ri-checkbox-blank-circle-line,
.dropdown-item-custom i.ri-checkbox-blank-circle-fill {
    font-size: 16px;
    color: #004a9f;
}

.dropdown-item-custom i.arrow-right {
    margin-left: auto;
    font-size: 16px;
    color: #004a9f;
}

.dropdown-item-custom:hover {
    background: #f4f6f9;
}

.dropdown-item-custom.active {
    font-weight: 500;
}

/* For Our Business Mega Custom */
.mega-custom-business {
    padding: 24px 32px;
}

.mega-custom-grid {
    display: flex;
    gap: 40px;
}

.mega-custom-sidebar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
}

.mega-custom-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 280px;
}

.mega-custom-sidebar .dropdown-item-custom,
.mega-custom-content .dropdown-item-custom {
    padding: 10px 16px;
    border-radius: 6px;
}

/* For Our Products Mega Custom */
.nav__links .mega-products-menu {
    width: auto;
    min-width: 540px;
    max-width: calc(100vw - 48px);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 24px 32px;
    border-radius: 0 0 6px 6px;
    box-sizing: border-box;
}

.nav__links .nav-products-mega {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.nav__links .nav-products-departments,
.nav__links .nav-products-panel {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav__links .nav-products-departments {
    min-width: 220px;
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
}

.nav__links .nav-products-panels {
    position: relative;
    min-width: 220px;
}

.nav__links .nav-products-panel {
    display: none !important;
}

.nav__links .nav-products-panel.active {
    display: flex !important;
}

.nav__links .nav-products-dept-link,
.nav__links .nav-product-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: normal;
    min-width: 0;
    transition: color 0.15s ease;
}

.nav__links .nav-products-dept-link:hover,
.nav__links .nav-product-link:hover {
    background: #f4f6f9;
}

.nav__links .nav-products-dept-link span:not(.nav-products-dot),
.nav__links .nav-product-link span:not(.nav-products-dot) {
    min-width: 0;
}

.nav__links .nav-products-dot {
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    flex-shrink: 0;
}

.nav__links .nav-products-dept-link.active .nav-products-dot {
    background: var(--primary-color);
}

.nav__links .nav-products-chevron {
    margin-left: auto;
    color: var(--primary-color);
    font-size: 16px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.nav__links .nav-products-dept-link.active .nav-products-chevron,
.nav__links .nav-products-dept-link:hover .nav-products-chevron {
    transform: translateX(3px);
}

.nav__links .nav-products-dept-link:hover,
.nav__links .nav-product-link:hover {
    color: var(--primary-color);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s;
    width: 85px;
    min-width: 85px;
    box-sizing: border-box;
}

.lang-selector:hover {
    border-color: var(--primary-color);
}

.lang-dropdown.open .lang-selector {
    border-color: var(--primary-color);
}

.lang-dropdown.open #lang-chevron {
    transform: rotate(180deg);
}

#lang-chevron {
    transition: transform 0.2s ease;
}

.lang-dropdown__panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    width: 100%;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    z-index: 200;
}

.lang-dropdown.open .lang-dropdown__panel {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
    overflow: hidden;
}

.lang-option:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.lang-option--active {
    background: #eef4ff;
    color: var(--primary-color);
    font-weight: 500;
}

.lang-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

/* Hero Section */
.hero-swiper {
    width: 100%;
    height: 791px;
    /* Height dictated by Figma */
    position: relative;
    overflow: hidden;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient Overlay Box */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 285px;
    height: auto;
    background: linear-gradient(to right, #2666b0, #83a6cf);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 125px;
    /* Spacing derived from layout offsets */
    box-sizing: border-box;
}

.hero-gradient-content {
    color: var(--white);
    max-width: 1340px;
    /* Fits text cleanly */
}

.hero-title {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 45px;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 25px;
    line-height: 1.4;
    font-weight: 400;
}

/* Custom Swiper Pagination for Hero */
.hero-pagination-container {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 310px;
    /* Sits above the gradient text overlay (285px height + 25px gap) */
    right: 125px;
    z-index: 20;
}

.hero-pagination {
    position: static !important;
    /* Overriding default swiper absolute positioning */
    display: flex;
    gap: 10px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 44px;
    height: 8px;
    border-radius: 6px;
    background-color: var(--white);
    opacity: 1;
    margin: 0 !important;
    transition: background-color 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* Hero Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    width: 75px;
    height: 75px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    font-weight: 300;
    cursor: pointer;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4);
    transition:
        transform 0.3s,
        color 0.3s;
    z-index: 99;
    /* Ensure visible over everything */
    margin-top: -57px;
    /* Align to specific calc offset from Figma */
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow::after {
    content: none !important;
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 56px;
    /* 1728 - 1597 - 75 */
}

/* ── Hamburger Menu Button ── */
.nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
}

.nav__hamburger:hover {
    background: var(--extra-light);
}

.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.nav__hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.nav__drawer {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    z-index: 200;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    visibility: hidden;
}

.nav__drawer.open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
}

.nav__drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

.nav__drawer-link i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.nav__drawer-link.active i {
    transform: rotate(180deg);
}

.nav__drawer-submenu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0.5rem 1rem;
    background: var(--extra-light);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.nav__drawer-submenu.open {
    display: flex;
}

.nav__drawer-submenu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav__drawer-submenu a:last-child {
    border-bottom: none;
}

.nav__drawer-submenu a img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav__drawer-products {
    padding-left: 0.75rem;
}

.nav__drawer-product-dept {
    color: var(--text-dark) !important;
    font-weight: 700 !important;
}

.nav__drawer-product-dept i {
    width: 20px;
    font-size: 1rem;
    flex-shrink: 0;
}

.nav__drawer-product-item {
    padding-left: 2.25rem !important;
    color: var(--text-dark) !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
    line-height: 1.4;
}

.nav__drawer-business-item {
    padding-left: 2rem !important;
}

.nav__drawer-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Group Statement & Slogan */
.group-statement {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.group-statement__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.group-statement__label {
    display: inline-block;
    background-color: #eef4fb;
    color: var(--primary-color);
    padding: 0.5rem 2rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
}

.group-statement__heading {
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    max-width: 1000px;
    margin: 0;
}

.group-statement__slogan {
    font-size: 3.25rem;
    font-style: italic;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.1;
}

.group-statement__body {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--primary-color);
    max-width: 900px;
    margin: 0.5rem auto 0;
}

@media (max-width: 900px) {
    .group-statement {
        padding: 3.5rem 1.25rem 2.5rem;
        gap: 2rem;
    }

    .group-statement__heading {
        font-size: 1.6rem;
    }

    .group-statement__slogan {
        font-size: 2.25rem;
    }

    .group-statement__body {
        font-size: 0.95rem;
    }
}

/* About Section */
.about {
    padding-top: 4rem;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Matched screenshot balance */
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: flex-start;
    /* top align per screenshot */
}

.about__img {
    width: 100%;
    /* aspect-ratio: 1 / 1; */
    object-fit: cover;
    border-radius: 12px;
}

.about__text {
    color: var(--primary-color);
    font-size: 1.25rem;
    /* Slightly larger per screenshot */
    line-height: 1.6;
}

.about__text p {
    margin-bottom: 1.5rem;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background-color: transparent;
    padding: 3rem 0;
    margin-top: 5rem;
}

.stat__card {
    text-align: center;
    padding: 0 1.5rem;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat__card:last-child {
    border-right: none;
}

.stat__icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.stat__icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.stat__icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stat__icon--map {
    width: 160px;
    margin-bottom:1.1rem;
    /* height: 80px; */
}

.stat__icon--map img {
    width: 160px;
    height: 80px;
}

.stat__card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat__card p {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.35;
}

/* President Message */
.president-message {
    padding: 0;
}

.president-message__banner {
   position: relative;
    width: 100vw;
    max-width: 100%;
    height: 850px;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-size: 190% auto;
    background-position: 85% 17%;
}

.president-message__banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(0, 74, 159, 0.95) 0%,
            rgba(0, 74, 159, 0.7) 50%,
            rgba(0, 74, 159, 0) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 2;
    max-width: 600px;
}

.banner-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4rem;
    color: var(--white);
}

.president-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.see-message-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s ease;
}

.see-message-link:hover {
    color: var(--white);
    opacity: 0.8;
}

/* Business Areas */
.business__grid {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.business__card {
    border: none;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
    background-color: var(--white);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.business__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.b-icon {
    height: 56px;
    width: 56px;
    margin: 0 auto 1rem auto;
}

.business__card h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.business__card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.business__action {
    text-align: center;
}

/* =========================================
   BUSINESS AREAS — Tabbed Section (Home)
   ========================================= */

.ba-section {
    padding-bottom: 5rem;
}

.ba-tabs-bar {
    background-color: var(--primary-color);
    margin-top: 3rem;
}

.ba-tabs-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: stretch;
    gap: 200px;
    justify-content: center;
}

.ba-tab {
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition:
        color 0.2s,
        border-color 0.2s;
    white-space: nowrap;
}

.ba-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.ba-tab.active {
    color: var(--white);
    border-bottom-color: var(--white);
    font-weight: 700;
}

.ba-panel {
    display: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ba-panel.active {
    display: block;
}

.ba-dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2.5rem 0;
}

.ba-dept-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.ba-dept-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.ba-dept-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ba-dept-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ba-dept-card:hover .ba-dept-card__img img {
    transform: scale(1.05);
}

.ba-dept-card__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ba-dept-card__icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.ba-dept-card__body h3,
.ba-dept-card__body h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ba-dept-card__body p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.ba-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap 0.2s;
}

.ba-dept-card:hover .ba-read-more {
    gap: 8px;
}

.ba-group-filters {
    display: flex;
    justify-content: center;

    flex-wrap: wrap;
    gap: 0;
    padding: 2.5rem 0 0;
}

.ba-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-family: var(--font-family);
    font-weight: 500;
    color: var(--primary-color);
    background: none;
    border: none;
    border-left: 1px solid #d1dce8;
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
    line-height: 1.3;
}

.ba-filter:first-child {
    border-left: none;
}

.ba-filter:hover {
    background: #eef4ff;
}

.ba-filter.active {
    font-weight: 700;
}

.ba-filter i {
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ba-filter.active i {
    transform: rotate(180deg);
}

.ba-group-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.ba-group-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding-bottom: 2.5rem;
}

.ba-company-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: box-shadow 0.2s;
}

.ba-company-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.ba-company-card__country {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 3px 10px;
    width: fit-content;
}

.ba-flag {
    width: 18px;
    height: 13px;
    border-radius: 2px;
    object-fit: cover;
}

.ba-company-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.ba-company-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
}

.ba-company-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.ba-company-url {
    font-size: 0.78rem;
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
    flex: 1;
    min-width: 0;
    transition: opacity 0.2s;
}

.ba-company-url:hover {
    opacity: 0.7;
}

.ba-company-url--none {
    color: var(--text-light);
    font-style: italic;
}

.ba-view-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition:
        background 0.2s,
        transform 0.15s;
}

.ba-view-details:hover {
    background: var(--primary-color-dark);
    transform: translateX(2px);
}

.ba-services-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.ba-services-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ba-services-header p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.ba-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 2.5rem;
}

.ba-service-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.ba-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.ba-service-card__img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.ba-service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.ba-service-card:hover .ba-service-card__img img {
    transform: scale(1.05);
}

.ba-service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 1rem 1rem 0.4rem;
}

.ba-service-card p {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
    padding: 0 1rem 1rem;
}

@media (max-width: 900px) {
    .ba-dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ba-group-grid {
        grid-template-columns: 1fr;
    }

    .ba-tab {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .ba-dept-grid {
        grid-template-columns: 1fr;
    }

    .ba-services-grid {
        grid-template-columns: 1fr;
    }

    .ba-tab {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .ba-filter {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

/* Join Our Team Section (Blue background) */
.join-team-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0 0 0;
    /* No bottom padding because the white box overlaps or is below */
}

.pg-program {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 1.5rem;
    padding-bottom: 4rem;
    /* Add padding for visual balance inside blue container */
    position: relative;
}

.pg-content {
    padding-right: 2rem;
}

.logo-box {
    background-color: var(--white);
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 1.8rem;
    display: inline-block;
    margin-bottom: 2.5rem;
    width: 329px;
    /* From Figma design */
    text-align: center;
}

.pg-content h2 {
    font-size: 2.8rem;
    /* Matched 45px Figma font */
    margin-bottom: 2rem;
    font-weight: 600;
}

.pg-list {
    margin-bottom: 3rem;
}

.pg-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 1.2rem;
}

.pg-list li::before {
    content: "•";
    margin-right: 10px;
    font-size: 1.5rem;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 3rem;
}

.btn-text {
    background: transparent;
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.btn-text:hover {
    opacity: 0.8;
}

.pg-certificate img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.zoomable-cert {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zoomable-cert:hover {
    transform: scale(1.02);
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    /* Black with opacity */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.cert-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cert-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.cert-modal-close:hover,
.cert-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.join-team {
    background-color: var(--white);
    color: var(--text-dark);
    max-width: var(--max-width);
    margin: 4rem auto 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.join-team h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-team p {
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.join-team h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Join Our Team — paired CTA buttons */
.join-team__cta-row {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0 1.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.join-team__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.join-team__btn--openings {
    background-color: #fff5f5;
    color: #e64545;
    border-color: #f1a3a3;
}

.join-team__btn--openings:hover {
    background-color: #ffe8e8;
    transform: translateY(-1px);
}

.join-team__btn--culture {
    background-color: transparent;
    color: var(--primary-color);
}

.join-team__btn--culture:hover {
    color: var(--primary-color-dark);
    text-decoration: underline;
}

/* Kelap-kelip — soft pulsing glow + opacity blink to draw attention */
.join-team__btn--blink {
    animation: joinTeamBlink 1.4s ease-in-out infinite;
}

@keyframes joinTeamBlink {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 69, 69, 0.55);
        background-color: #fff5f5;
    }
    50% {
        box-shadow: 0 0 0 8px rgba(230, 69, 69, 0);
        background-color: #ffe1e1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .join-team__btn--blink {
        animation: none;
    }
}

/* Sustainability */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.view-all-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.csr-carousel {
    position: relative;
    max-width: var(--max-width);
    margin: auto;
}

/* Swiper classes logic */
.csr-swiper {
    width: 100%;
    overflow: hidden;
    /* padding: 1rem 100px; Accommodate shadow bounds and absolute positioned nav buttons */
}

.carousel-btn {
    background-color: var(--white);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.carousel-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

/* Clean Swiper default arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: none !important;
}

.csr-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
    /* Light shadow from Figma */
    height: 100%;
    /* Important for Swiper slide equality */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.csr-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.csr-img {
    width: 100%;
    height: 380px;
    /* Force uniform mapping bounds so cards mirror heights */
    object-fit: cover;
    object-position: center top;
}

.csr-card-content {
    padding: 3rem 2rem;
}

.csr-card-content h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.csr-card-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    transition: gap 0.2s ease;
}

.read-more-link:hover {
    text-decoration: underline;
    gap: 12px;
}

/* News Section */
.news {
    background: #fafafa;
    max-width: 100%;
}

.news-header-wrapper {
    max-width: var(--max-width);
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
}

.news-dropdown-container {
    position: relative;
    width: 260px;
    font-family: var(--font-family);
}

.news-dropdown-selected {
    border: 1px solid #e5e7eb;
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
}

.news-dropdown-selected:hover {
    border-color: #d1dce8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-dropdown-selected.open {
    border-color: var(--primary-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.news-dropdown-selected i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.news-dropdown-selected.open i {
    transform: rotate(180deg);
}

.news-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-top: none;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.news-dropdown-list.show {
    display: block;
}

.news-dropdown-list li {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.news-dropdown-list li:last-child {
    border-bottom: none;
}

.news-dropdown-list li:hover {
    background: #eef4ff;
    color: var(--primary-color);
}

.news-dropdown-list li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.news-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.15);
    /* Match CSR card shadow */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img-placeholder {
    background-color: #1a1a1a;
    height: 250px;
    position: relative;
}

.news-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.8rem;
}

.news-content h3,
.news-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.news-content .read-more-link {
    margin-top: auto;
}

/* Achievements */
.achievements {
    padding: 4rem 1.5rem;
}

.achievements .section__title::after {
    display: none;
    /* remove normal underline */
}

/* Footer */
.footer {
    border-top: 4px solid var(--primary-color);
    background-color: var(--white);
    color: var(--primary-color);
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 0;
}

.footer__top,
.footer__middle {
    display: grid;
    grid-template-columns: minmax(250px, 1.05fr) minmax(0, 2.25fr);
    gap: 4rem;
}

.footer__top {
    align-items: start;
    padding-bottom: 3rem;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer__brand-link {
    display: inline-flex;
}

.footer-logo {
    display: block;
    width: min(100%, 210px);
    height: auto;
}

.footer__company-name {
        margin: 1rem 0 0 1.1rem;
    width: min(100%, 290px);
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.btn-back-top {
    pointer-events: auto;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 0.95rem 1.6rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-col h5 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.45;
}

.footer-col ul li a {
    color: var(--primary-color);
    font-size: 16px;
}

.footer-col ul li a:hover {
    text-decoration: underline;
}

.footer__middle {
    align-items: start;
    padding: 1rem 0 3.5rem;
}

.footer__backtop {
    display: flex;
    align-items: flex-start;
    padding-top: 3rem;
    margin-left:32px;
}

.btn-back-top:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-back-top i {
    font-size: 1.35rem;
    line-height: 1;
}

.footer-contact {
    border-top: 1px solid #d9e1ec;
    padding-top: 3rem;
}

.footer-contact h5 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact ul li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    align-items: start;
    gap: 1rem;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 1.1rem;
    line-height: 1.5;
}

.footer-contact ul li i {
    margin-top: 0.1rem;
    font-size: 1.45rem;
}

.footer-contact ul li a,
.footer-contact ul li span {
    color: inherit;
    font-size: 16px;
    word-break: break-word;
}

.footer__bottom {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

/* Responsive Design Breakpoints */

/* Tablet Breakpoint */
@media (max-width: 1200px) {
    .hero-gradient-overlay {
        padding: 30px 60px;
    }

    .hero-title {
        font-size: 38px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 20px;
    }

    .hero-pagination-container {
        bottom: 350px;
        right: 60px;
    }

    .business__grid {
        gap: 2rem;
    }

    .business__card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 992px) {

    /* ── Navbar: hide desktop links, show hamburger ── */
    .nav__links {
        display: none;
    }

    .nav__actions {
        display: none;
    }

    .nav__hamburger {
        display: flex;
    }

    /* ── Hero: scale down for tablet ── */
    .hero-swiper {
        height: 60vw;
        min-height: 420px;
    }

    .hero-gradient-overlay {
        top: auto;
        bottom: 0;
        height: auto;
        min-height: 30%;
        padding: 1.5rem 2rem;
        position: absolute;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-pagination-container {
        bottom: auto;
        top: 1rem;
        right: 1rem;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 24px;
        height: 5px;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
        font-size: 2.8rem;
        margin-top: -30px;
    }

    .hero-arrow-prev {
        left: 10px;
    }

    .hero-arrow-next {
        right: 10px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about__video-placeholder {
        height: 300px;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
        margin-top: 3rem;
        row-gap: 2.5rem;
    }

    .stats__grid .stat__card {
        border-right: none;
    }

    .business__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .pg-program {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pg-program-slide {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__top,
    .footer__middle {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__middle {
        padding-top: 0;
    }

    .footer__backtop {
        padding-top: 0;
    }

    .president-message__banner {
        height: 420px;
    }

    .president-message__banner::before {
        width: 80%;
        background: linear-gradient(to right,
                rgba(0, 74, 159, 0.95) 0%,
                rgba(0, 74, 159, 0.88) 50%,
                rgba(0, 74, 159, 0) 100%);
    }

    .banner-content {
        max-width: 55%;
    }

    .banner-content h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .ba-tabs-inner {
        gap: 100px;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .section {
        padding: 3rem 1rem;
    }

    .section__title {
        font-size: 1.7rem;
    }

    .section__subtitle {
        font-size: 0.72rem;
    }

    /* ── Hero: phone layout ── */
    .hero-swiper {
        height: 75vw;
        min-height: 320px;
        max-height: 520px;
    }

    .hero-gradient-overlay {
        position: absolute;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 40%;
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .hero-description {
        font-size: 0.82rem;
        line-height: 1.45;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-pagination-container {
        top: 0.75rem;
        bottom: auto;
        right: 0.75rem;
    }

    .hero-pagination .swiper-pagination-bullet {
        width: 16px;
        height: 4px;
    }

    .hero-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.8rem;
        margin-top: -30px;
    }

    .hero-arrow-prev {
        left: 4px;
    }

    .hero-arrow-next {
        right: 4px;
    }

    /* ── About ── */
    .about__video-placeholder {
        height: 220px;
    }

    .about__text {
        font-size: 0.95rem;
    }

    .stats__grid {
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem;
        gap: 1rem;
    }

    .stat__card h3 {
        font-size: 2.2rem;
    }

    .stat__card p {
        font-size: 1rem;
    }

    /* ── Business Area Cards ── */
    .business__grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .business__card {
        padding: 1.5rem 1rem;
        height: auto;
        aspect-ratio: auto;
    }

    .business__card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .business__card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .b-icon {
        height: 48px;
        width: 48px;
        margin-bottom: 0.8rem;
    }

    /* ── President ── */
    .president-message__banner {
        height: 260px;
    }

    .president-message__banner::before {
        width: 100%;
        background: linear-gradient(to right,
                rgba(0, 74, 159, 0.95) 0%,
                rgba(0, 74, 159, 0.6) 40%,
                rgba(0, 74, 159, 0) 70%);
    }

    .banner-content {
        left: 5%;
        max-width: 50%;
    }

    .banner-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .president-info h3 {
        font-size: 1rem;
    }

    .see-message-link {
        font-size: 0.8rem;
    }

    /* ── Sustainability / CSR ── */
    .csr-img {
        height: 220px;
    }

    .csr-card-content {
        padding: 1.5rem 1rem;
    }

    .csr-card-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .csr-card-content p {
        font-size: 0.95rem;
    }

    .carousel-btn {
        display: none;
    }

    /* ── News ── */
    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    /* ── Certificates / PG ── */
    .join-team-section {
        padding: 3rem 1rem;
    }

    .pg-program {
        padding: 0 1rem;
    }

    .pg-content h2 {
        font-size: 1.6rem;
    }

    .logo-box {
        width: 100%;
        font-size: 1rem;
    }

    .pg-list li {
        font-size: 0.95rem;
    }

    /* ── Join Team ── */
    .join-team {
        padding: 3rem 1rem;
    }

    .join-team h2 {
        font-size: 2rem !important;
    }

    .join-team p {
        font-size: 1rem !important;
    }

    .join-team h4 {
        font-size: 1.2rem !important;
    }

    /* ── Footer ── */
    .footer__container {
        padding: 2rem 1rem 2rem;
    }

    .footer__nav {
        gap: 2rem 1.5rem;
    }

    /* ── Explore Button ── */
    .business__action a {
        padding: 0.9rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .stats__grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__nav {
        grid-template-columns: 1fr;
    }

    .footer__company-name {
        margin-top: 1rem;
        font-size: 1.5rem;
    }

    .footer-contact ul li {
        grid-template-columns: 1.6rem 1fr;
        gap: 0.85rem;
    }

    .btn-back-top {
        width: 100%;
        justify-content: center;
    }

    .business__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.ba-tabs-inner {
    gap: 50px;
}

/* =============================================
   Quick Links Section (Company Pages Navigation)
   ============================================= */
.quick-links-section {
    background-color: #f8f9fb;
    padding: 80px 1.5rem;
    width: 100%;
}

.quick-links-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-link-card {
    width: 200px;
    height: 160px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

/* Normal State: Blue icons and text on white */
.quick-link-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    transition: filter 0.3s ease;
}

.quick-link-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* Ensure SVG icons are blue in normal state if they aren't already */

.quick-link-card p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Active State: White icons and text on blue */
.quick-link-card.active {
    background-color: #7a9bca;
    /* Highlight blue from design */
    color: var(--white);
    box-shadow: 0 8px 20px rgba(122, 155, 202, 0.3);
}

.quick-link-card.active img {
    filter: brightness(0) invert(1);
    /* Force icon to white */
}

.quick-link-card.active i {
    color: var(--white);
}

.quick-link-card.active p {
    color: var(--white);
}

/* Hover effects */
.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quick-link-card.active:hover {
    box-shadow: 0 12px 30px rgba(122, 155, 202, 0.4);
}

@media (max-width: 768px) {
    .quick-links-section {
        padding: 60px 1rem;
    }

    .quick-link-card {
        width: calc(50% - 10px);
        height: 140px;
        padding: 15px;
    }

    .quick-link-card p {
        font-size: 1rem;
    }

    .quick-link-card img {
        width: 32px;
        height: 32px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .quick-link-card {
        width: 100%;
        max-width: 250px;
    }
}

.btn-back-top {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

/* In the drawer, lang panel opens upward */
#drawer-lang-dropdown .lang-dropdown__panel {
    top: auto;
    bottom: calc(100% + 8px);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white, #fff);
    border-top: 1px solid #e5e7eb;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    z-index: 9999;
    font-size: 0.9rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.cookie-modal-overlay {
    position: fixed;
    /* not absolute */
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10000;
    /* above the banner's 9999 */
    padding: 0;
}

.cookie-modal-box {
    background: #fff;
    border-radius: 1rem 1rem 0 0;
    padding: 2rem;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    overflow-y: auto;
}

/* ── Back to Top (footer button) ─────────────────── */
.btn-back-top {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-family);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    /* Remove the broken opacity/pointer-events from the second block */
}

.btn-back-top:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-back-top:hover i {
    transform: translateY(-2px);
}

.btn-back-top:active {
    transform: scale(0.97);
}

.btn-back-top i {
    transition: transform 0.2s;
}

.footer__brand .btn-back-top {
    margin-top: 1.5rem;
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.prose-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
}

.prose-content h2,
.prose-content h3 {
    font-weight: 700;
    color: #1e293b;
    margin: 2rem 0 0.75rem;
}

.prose-content p {
    margin-bottom: 1rem;
}

.prose-content ul,
.prose-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
