@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --brand-blue: #0068b3;
    --brand-blue-dark: #0967b5;
    --brand-blue-light: #eef5fb;
    --accent-color: #f7a800;

    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f8fafc;

    --border-color: #e2e8f0;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Metrics & Spacing */
    --topnav-height: 90px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: clip;
    /* clip prevents horizontal scroll without breaking position: sticky */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.yasuda-lang-vi {
    --font-primary: 'Be Vietnam Pro', 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   Layout — Top Navigation
   ========================================================================== */
.layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.page-container {
    padding: 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-padding-detail {
    padding: 2rem 0;
}

/* Main content area sits below the fixed top-nav */
.main-content {
    flex: 1;
    min-width: 0;
    margin-top: var(--topnav-height);
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Top Navigation Bar
   ========================================================================== */
.sidebar {
    /* Repurposed as top navigation */
    width: 100%;
    height: var(--topnav-height);
    background-color: var(--bg-white);
    color: var(--text-primary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 var(--border-color), var(--shadow-sm);
    /* Cancel old vertical styles */
    flex-direction: row;
    overflow: visible;
}

#wpadminbar + .layout .sidebar {
    top: 32px;
}

@media (max-width: 782px) {
    #wpadminbar + .layout .sidebar {
        top: 46px;
    }
}

/* Inner wrapper for logo + nav + footer */
.sidebar>* {
    flex-shrink: 0;
}

/* Nav takes remaining space */
.main-nav {
    flex-shrink: 1 !important;
}

/* Hide mobile drawer lang on desktop */
.drawer-lang {
    display: none;
}

/* Logo area */
.logo-container {
    height: var(--topnav-height);
    display: flex;
    align-items: center;
    padding: 0 2.5rem !important;
    border-bottom: none !important;
    background: white !important;
    /* border-right: 1px solid var(--border-color); */
    flex-shrink: 0;
}

.logo-container .logo {
    display: flex;
    align-items: center;
}

.logo-container .logo img {
    max-height: 44px;
    width: auto;
}

/* Main navigation */
.main-nav {
    flex: 1;
    min-width: 0;
    overflow: visible;
    padding: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: var(--topnav-height);
    padding: 0 0.5rem;
    gap: 0;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: var(--topnav-height);
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
}

.main-nav ul li a i {
    display: none;
}

.main-nav ul li a:hover {
    color: var(--brand-blue);
    background-color: var(--brand-blue-light);
}

.main-nav ul li.active>a {
    color: var(--brand-blue-dark);
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue-light);
}

/* ==========================================================================
   Dropdown Menu (Services)
   ========================================================================== */
.main-nav ul li.has-dropdown {
    position: relative;
}

/* Caret arrow indicator */
.main-nav ul li.has-dropdown>a .caret {
    font-size: 0.7rem;
    margin-left: 2px;
    transition: transform var(--transition-fast);
    color: var(--text-secondary);
}

.main-nav ul li.has-dropdown:hover>a .caret {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

/* The dropdown panel */
.dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    position: absolute;
    top: calc(var(--topnav-height) - 3px);
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--brand-blue);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 6px 6px;
    z-index: 200;
    height: auto !important;
    padding: 0 !important;
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Show on hover */
.main-nav ul li.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-menu li {
    position: static;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    height: auto;
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: none;
    white-space: nowrap;
    transition: all var(--transition-fast);
    width: 100%;
}

.dropdown-menu li a i {
    display: none;
}

.dropdown-menu li:not(:last-child) a {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li a:hover {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue);
    box-shadow: inset 3px 0 0 var(--brand-blue);
}

/* Active state inside dropdown */
.dropdown-menu li.active a {
    background-color: var(--brand-blue-light);
    color: var(--brand-blue-dark);
    box-shadow: inset 3px 0 0 var(--brand-blue);
    font-weight: 600;
}

/* Services parent active when a child is active */
.main-nav ul li.has-dropdown.active>a {
    color: var(--brand-blue-dark);
    border-bottom-color: var(--brand-blue);
    background-color: var(--brand-blue-light);
}


/* Language switcher in nav */
.sidebar-actions {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    height: var(--topnav-height);
    margin-left: auto;
}

.sidebar-footer {
    padding: 0 1.5rem;
    border-top: none;
    border-left: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    padding: 0 1.75rem;
    background: var(--brand-blue);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--transition-fast);
}

.nav-contact-cta i {
    font-size: 1.15rem;
}

.nav-contact-cta:hover {
    background: var(--brand-blue-dark);
    color: #fff;
}

.nav-contact-cta.active {
    background: var(--brand-blue-dark);
    box-shadow: inset 0 -3px 0 var(--accent-color);
}

.lang-switch {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.lang-switch:hover {
    color: var(--brand-blue);
}

.lang-switch.is-active {
    color: var(--brand-blue);
    text-decoration: underline;
}

/* ==========================================================================
   Mobile Header (Hidden on Desktop)
   ========================================================================== */
.mobile-header {
    display: none;
    min-height: var(--header-height-mobile, 70px);
    height: auto;
    background-color: var(--bg-white);
    color: var(--brand-blue-dark);
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.5rem;
    position: sticky;
    top: 0;
    z-index: 90;
    border-bottom: 1px solid var(--border-color);
}

.mobile-header .logo {
    font-weight: 700;
    letter-spacing: 1px;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--brand-blue-dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--text-light);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    height: 220px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/hero-japan.jpeg') center/cover no-repeat;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 2;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

/* Individual page headers */
.company-header {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/company-profile.jpg') center/cover no-repeat;
}

.mission-header {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/mission_vision_bg.jpg') center/cover no-repeat;
}

.contact-header {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/international-shipping-1.jpg') center/cover no-repeat;
}

.intl-header {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/international-shipping-1.jpg') center/cover no-repeat;
}

.news-header {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.95) 100%),
        url('../img/cta-bg.jpg') center/cover no-repeat;
}

.news-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-top: 0.75rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   News Page
   ========================================================================== */
.news-featured {
    display: grid;
    grid-template-columns: calc(50% - 1rem) 1fr;
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    overflow: hidden;
}

.news-featured-image {
    min-height: 280px;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-featured-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-featured-body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-featured-body p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.news-card.is-clickable,
.news-featured.is-clickable {
    cursor: pointer;
}

.news-card:hover,
.news-card.is-clickable:focus-visible {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-featured.is-clickable:hover,
.news-featured.is-clickable:focus-visible {
    box-shadow: var(--shadow-md);
}

.news-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-card:hover .news-card-image img {
    transform: scale(1.03);
}

.news-card-body {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.news-date {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.news-category {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 0.2rem 0.65rem;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.75rem;
    line-height: 1.45;
}

.news-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.875rem;
    transition: gap var(--transition-fast);
}

.news-card:hover .news-read-more,
.news-featured:hover .news-read-more,
.news-read-more:hover {
    gap: 0.55rem;
}

/* Homepage News Section */
.home-news-section {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.home-news-header {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.home-news-accent {
    display: inline-block;
    width: 48px;
    height: 3px;
    background: var(--brand-blue);
    margin-bottom: 1.25rem;
}

.home-news-header h5 {
    color: var(--brand-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.home-news-header h2 {
    font-size: 2.25rem;
    color: var(--brand-blue-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.home-news-header p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 1rem;
}

.home-news-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-news-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.news-pagination {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.news-pagination .page-numbers {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.news-pagination .page-numbers li {
    margin: 0;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    min-width: 42px;
    height: 42px;
    padding: 0 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.news-pagination .page-numbers a:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background: var(--brand-blue-light);
}

.news-pagination .page-numbers .current {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
}

/* News Detail Page */
.news-detail-section {
    padding: 3rem 2rem 4rem;
    background: var(--bg-main);
}

.news-detail-container {
    max-width: 900px;
}

.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: gap var(--transition-fast);
}

.news-back-link:hover {
    gap: 0.7rem;
}

.news-detail-article {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    line-height: 1.35;
    margin: 1rem 0 2rem;
}

.news-detail-image {
    margin-bottom: 2rem;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.news-detail-content {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.975rem;
}

.news-detail-lead {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.news-detail-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin: 2rem 0 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--brand-blue);
    display: inline-block;
}

.news-detail-content p {
    margin-bottom: 1.25rem;
}

.news-detail-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.news-detail-share a {
    color: var(--brand-blue);
    font-size: 1.25rem;
    transition: color var(--transition-fast);
}

.news-detail-share a:hover {
    color: var(--brand-blue-dark);
}

.news-related h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 1.25rem;
}

.news-related-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
}

.news-related-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
}

.news-related-item:last-child {
    border-bottom: none;
}

.news-related-item:hover {
    background: var(--brand-blue-light);
}

.news-related-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.45;
}

.news-featured-body h2 a,
.news-card h3 a,
.news-related-title a {
    color: inherit;
}

.news-detail-content .wp-block-image {
    margin: 2rem 0;
}

.news-detail-content .wp-block-heading {
    margin-top: 2rem;
}

.news-detail-content ul {
    margin: 1rem 0 1.5rem 1.25rem;
    color: var(--text-secondary);
}

.news-detail-content li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}

.btn-primary:hover {
    background-color: var(--brand-blue-dark);
    border-color: var(--brand-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ==========================================================================
   Cards & Tiles
   ========================================================================== */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
}

/* ==========================================================================
   Service Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-blue);
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    color: var(--brand-blue);
}

/* ==========================================================================
   Stats / Numbers
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Company Table (Profile page)
   ========================================================================== */
.company-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.company-table th,
.company-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.company-table th {
    background-color: #f4f7fb;
    font-weight: 600;
    color: var(--brand-blue-dark);
    width: 20%;
    white-space: nowrap;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.profile-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
}

.profile-table-wrapper {
    width: 100%;
}

.profile-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.profile-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form-panel {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 104, 179, 0.1);
}

/* form-control (used by contact.html inputs) */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0px;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-white);
    transition: all var(--transition-fast);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--brand-blue-light);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}


/* ==========================================================================
   Network / Map
   ========================================================================== */
.network-map {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   Mission Section
   ========================================================================== */
.mission-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    border-top: 4px solid var(--brand-blue);
}

.mission-icon {
    width: 64px;
    height: 64px;
    background: var(--brand-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--brand-blue);
}

/* ==========================================================================
   Facility Cards (Company Profile)
   ========================================================================== */
.facility-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.facility-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.facility-info {
    padding: 1.5rem;
}

.facility-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Link with icon
   ========================================================================== */
.link-with-icon {
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: color var(--transition-fast);
}

.link-with-icon:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

/* ==========================================================================
   Business list
   ========================================================================== */
.business-list {
    padding-left: 1.5rem;
    list-style: decimal;
    color: var(--text-secondary);
    line-height: 2;
}

.mv-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 3.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand-blue);
}

.mv-lead {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 1.5rem 0 2rem;
}

.mv-blockquote {
    background: #eef2f7;
    padding: 2.5rem 3rem;
    text-align: center;
    margin: 1.5rem 0 2rem;
}

.mv-blockquote p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.7;
    margin: 0;
}

.mv-slogan-box {
    background: #eef2f7;
    padding: 3rem 2rem;
    text-align: center;
    margin: 1.5rem 0 1rem;
}

.mv-slogan-box p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.yasda-acronym-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 2rem;
}

.yasda-acronym-table td {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    vertical-align: middle;
    border-bottom: 1px solid #e8edf2;
}

.yasda-acronym-table td:first-child {
    font-weight: 700;
    color: var(--brand-blue);
    white-space: nowrap;
    width: 200px;
}

.charter-list {
    padding-left: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
    margin: 1.5rem 0 2rem;
}

.charter-list li {
    margin-bottom: 0.75rem;
}

.philosophy-img-wrap {
    text-align: center;
    margin: 2rem 0;
}

.philosophy-img-wrap img {
    max-width: 480px;
    width: 100%;
    height: auto;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.75;
    position: relative;
}

.service-list li::before {
    content: "+";
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--brand-blue);
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 3rem;
}

.service-tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-tab-btn:hover {
    color: var(--brand-blue);
}

.service-tab-btn.active {
    color: var(--brand-blue);
}

.service-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-blue);
}

.svc-article-text p {
    color: var(--text-secondary);
    line-height: 1.85;
    font-size: 0.975rem;
    margin-bottom: 1.5rem;
}

.svc-article-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-blue-dark);
    margin: 2.25rem 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--brand-blue);
    display: inline-block;
}

.svc-article-text ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1.5rem;
}

.svc-article-text ul li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.svc-article-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 7px;
    height: 7px;
    background: var(--brand-blue);
    border-radius: 50%;
}

[style*="grid-template-columns: 1fr 400px"] {
    display: grid;
}

[style*="grid-template-columns: 1fr 1fr"] {
    display: grid;
}

[style*="gap: 2.5rem"][style*="align-items: flex-start"] {
    display: flex;
}

/* ==========================================================================
   Profile Tabs
   ========================================================================== */
.profile-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.profile-tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-tab-btn:hover {
    color: var(--brand-blue);
}

.profile-tab-btn.active {
    color: var(--brand-blue-dark);
    border-bottom-color: var(--brand-blue);
}

.tab-panel {
    display: none;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1e293b;
    color: rgba(255, 255, 255, 0.75);
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-blue {
    color: var(--brand-blue);
}

.text-muted {
    color: var(--text-secondary);
}

.text-white {
    color: var(--text-light);
}

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

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.w-30 {
    width: 30%;
}

.w-70 {
    width: 70%;
}

/* ==========================================================================
   Sidebar overlay (mobile – reused for hamburger menu)
   ========================================================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
}

/* ==========================================================================
   Responsive — Tablet (≤ 1024px)
   ========================================================================== */
/* Smaller desktops / 13-inch laptops (≤ 1366px) */
@media (max-width: 1366px) {
    .main-nav ul li a {
        padding: 0 0.7rem;
        font-size: 0.82rem;
        gap: 0.3rem;
    }

    .logo-container {
        padding: 0 2rem !important;
    }

    .sidebar-footer {
        padding: 0 0.75rem;
    }

    .nav-contact-cta {
        padding: 0 1.25rem;
        font-size: 0.82rem;
    }
}

/* 1024px breakpoint removed — hamburger now handles this */

/* ==========================================================================
   Responsive — Tablet & Mobile (≤ 1200px)
   Sidebar slides in from left — hamburger menu
   ========================================================================== */
@media (max-width: 1200px) {
    :root {
        --sidebar-width: 0px;
    }

    /* Sidebar: hidden off-screen, slides in on .active */
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        width: 260px;
        height: 100vh;
        flex-direction: column;
        align-items: stretch;
        /* Override desktop align-items: center so it takes full width */
        position: fixed;
        top: 0;
        left: 0;
        overflow-y: auto;
        z-index: 100;
        padding: 0;
        background-color: var(--brand-blue-dark);
        /* Restore dark background */
        color: var(--text-light);
        box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    /* Restore sidebar vertical layout & dark theme logo area */
    .logo-container {
        min-height: var(--header-height-mobile, 100px);
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: var(--bg-white) !important;
        /* Original has white logo box */
        justify-content: center;
        padding: 10px 1.5rem !important;
    }

    /* Keep the original blue logo */
    .logo-container .logo img {
        filter: none;
    }

    /* Restore vertical nav */
    .main-nav {
        flex: 1;
        display: block;
        overflow-y: auto;
        padding: 1.5rem 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        /* Override desktop align-items: center */
        height: auto;
        padding: 0;
    }

    /* Original dark nav item styles */
    .main-nav ul li a {
        height: auto;
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-left: 4px solid transparent;
        font-size: 0.9rem;
        font-weight: 500;
        justify-content: flex-start;
        color: rgba(255, 255, 255, 0.7);
        transition: all var(--transition-fast);
    }

    .main-nav ul li a i {
        display: none;
    }

    .main-nav ul li a:hover,
    .main-nav ul li.active>a {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--text-light);
        border-left-color: var(--accent-color);
        border-bottom-color: transparent;
        /* Override desktop */
    }

    /* Dropdown inline in sidebar */
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.15);
        /* Darker background for nested items */
        display: none;
        padding: 0.5rem 0;
    }

    .main-nav li.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .main-nav .dropdown-menu li a {
        padding-left: 3.5rem;
        font-size: 0.85rem;
        border-bottom: none;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .main-nav .dropdown-menu li a:hover {
        background: transparent;
        color: var(--text-light);
    }

    .main-nav ul li.has-dropdown>a .caret {
        color: inherit;
        opacity: 0.7;
        margin-left: auto;
        /* Push caret to right */
    }

    /* Hide duplicate lang block inside nav list */
    .drawer-lang {
        display: none !important;
    }

    /* Bottom panel: language + contact */
    .sidebar-actions {
        margin-left: 0;
        margin-top: auto;
        height: auto;
        flex-direction: column;
        flex-shrink: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        background: rgba(0, 0, 0, 0.18);
        padding: 1.25rem 1.25rem 1.5rem;
        gap: 0.85rem;
    }

    .sidebar-footer {
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-left: none;
        border-radius: 6px;
        height: auto;
        padding: 0.3rem;
        gap: 0;
        background: rgba(255, 255, 255, 0.08);
    }

    .sidebar-footer .lang-switch {
        flex: 1;
        text-align: center;
        padding: 0.5rem 0.75rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none !important;
    }

    .sidebar-footer .lang-switch:hover {
        color: #fff;
    }

    .sidebar-footer .lang-switch.is-active {
        background: #fff;
        color: var(--brand-blue-dark);
        text-decoration: none !important;
    }

    .sidebar-footer span {
        display: none;
    }

    .nav-contact-cta {
        width: 100%;
        justify-content: center;
        height: auto;
        padding: 0.9rem 1.25rem;
        border-radius: 6px;
        background: var(--accent-color);
        color: var(--brand-blue-dark);
        font-weight: 700;
        font-size: 0.9rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    }

    .nav-contact-cta i {
        font-size: 1.1rem;
    }

    .nav-contact-cta:hover {
        background: #ffc233;
        color: var(--brand-blue-dark);
    }

    .nav-contact-cta.active {
        background: #fff;
        color: var(--brand-blue-dark);
        box-shadow: inset 0 0 0 2px var(--accent-color);
    }

    /* Overlay */
    .sidebar-overlay.active {
        display: block;
    }

    /* Mobile header: show at top of main-content */
    .mobile-header {
        display: flex;
    }

    /* Main content: full width, no left margin */
    .main-content {
        margin-left: 0;
        margin-top: 0;
    }

    /* Content padding */
    .page-container {
        padding: 1.5rem 1rem;
    }



    .page-header h1 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    /* Two-column grids → single column */
    [style*="grid-template-columns: 1.2fr 1fr"],
    [style*="grid-template-columns: 1fr 1.2fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="display: grid"][style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Services / stats grids */
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    /* Company table stacking */
    .company-table {
        border: 1px solid var(--border-color);
        border-bottom: none;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        border: none;
    }

    .company-table tr {
        display: block;
        border-bottom: 1px solid var(--border-color);
    }

    .company-table th {
        padding-bottom: 0.25rem;
        width: 100%;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 1.25rem;
    }

    .profile-layout {
        gap: 2rem;
    }

    .profile-image-wrapper {
        max-width: 100%;
    }

    .mv-blockquote,
    .mv-slogan-box {
        padding: 2rem 1.25rem;
    }

    .mv-slogan-box p {
        font-size: 1.5rem;
    }

    .service-tab-btn,
    .profile-tab-btn {
        width: 100%;
        justify-content: flex-start;
    }

    /* Flex layouts */
    [style*="display: flex"][style*="gap: 2.5rem"][style*="align-items: flex-start"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* Section paddings */
    [style*="padding: 6rem 2rem"],
    [style*="padding: 5rem 2rem"] {
        padding: 2.5rem 0 !important;
    }

    [style*="padding: 4rem 2rem"] {
        padding: 2rem 0 !important;
    }

    /* Contact form */
    .contact-form-panel {
        padding: 1.5rem 1rem;
    }

    section[style*="background: #eef2f7;"] {
        padding: 2rem 0 !important;
    }

    /* w-30/w-70 stacking */
    .w-30,
    .w-70 {
        width: 100% !important;
    }

    /* Font size adjustments */
    [style*="font-size: 1.75rem"][style*="text-transform: uppercase"][style*="letter-spacing"] {
        font-size: 1.25rem !important;
    }

    [style*="font-size: 2.5rem"][style*="font-weight: 700"] {
        font-size: 1.75rem !important;
    }
}

@media (min-width: 1024px) {
    .profile-layout {
        flex-direction: row;
        gap: 2rem;
    }

    .profile-table-wrapper {
        flex: 1 1 72%;
        min-width: 0;
    }

    .profile-image-wrapper {
        flex: 1 1 28%;
        max-width: 400px;
        margin: 0;
        position: sticky;
        top: 100px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

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

/* ==========================================================================
   Move to Top Button
   ========================================================================== */
.move-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base), background var(--transition-fast);
}

.move-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.move-to-top:hover {
    background: var(--brand-blue-dark);
}

.move-to-top.visible:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .move-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
    }

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

    .news-featured-image {
        min-height: 200px;
    }

    .news-featured-body {
        padding: 1.5rem;
    }

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

    .news-detail-article {
        padding: 1.5rem;
    }

    .news-detail-title {
        font-size: 1.5rem;
    }

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

    .home-news-header h2 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Home Hero Slider
   ========================================================================== */
.hero-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f4f7fb;
}

.hero-slider-container {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

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

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2048 / 512;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.slide-content {
    position: absolute;
    left: 4%;
    bottom: 8%;
    z-index: 10;
}

.slide-content .btn-see-details {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    background: #fff;
    color: var(--brand-blue-dark);
    text-decoration: none;
    border: 2px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.slide-content .btn-see-details:hover {
    background: var(--brand-blue-dark);
    color: #fff;
    border-color: var(--brand-blue-dark);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dots .dot.active {
    width: 32px;
    background: #fff;
    border-radius: 6px;
}

/* ==========================================================================
   Home Services V5
   ========================================================================== */
.services-v5-section {
    padding: 6rem 2rem;
    background: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
}

.sv5-container {
    position: relative;
    z-index: 1;
}

.sv5-header {
    margin-bottom: 5rem;
    position: relative;
}

.sv5-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.sv5-subtitle {
    color: var(--brand-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin: 0;
}

.sv5-header-top {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.sv5-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
    flex-shrink: 0;
}

.sv5-title span {
    color: var(--brand-blue);
}

.sv5-desc-wrapper {
    max-width: 650px;
}

.sv5-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sv5-btn-wrapper {
    margin-top: 2rem;
}

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

.sv5-item {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

.sv5-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.sv5-item:hover::before {
    transform: scaleX(1);
}

.sv5-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.08);
    border-color: rgba(0, 51, 102, 0.1);
}

.sv5-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sv5-png-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.sv5-item h4 {
    margin-top: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.sv5-card-arrow {
    margin-top: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sv5-item:hover .sv5-icon-wrapper {
    background: var(--brand-blue);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.2);
}

.sv5-item:hover .sv5-png-icon {
    filter: brightness(0) invert(1);
}

.sv5-item:hover h4 {
    color: var(--brand-blue);
}

.sv5-item:hover .sv5-card-arrow {
    background: var(--brand-blue);
    color: #fff;
    transform: translateX(5px);
}

/* ==========================================================================
   Home CTA
   ========================================================================== */
.home-news-section + section {
    padding: 6rem 2rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(0, 51, 102, 0.85) 0%, rgba(0, 34, 68, 0.75) 100%),
        var(--yasuda-cta-bg) center / cover no-repeat;
}

.home-news-section + section .container {
    max-width: 1100px;
}

.home-news-section + section h5 {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.home-news-section + section h2 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-news-section + section h3 {
    font-size: 1.75rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-news-section + section a {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.home-news-section + section a:hover {
    background: #fff;
    color: var(--brand-blue-dark);
}

/* ==========================================================================
   Company Video
   ========================================================================== */
.company-video-section {
    padding: 4rem 2rem;
    background: var(--bg-main);
}

.company-video-container {
    margin: 0 auto;
}

.company-video-section .video-wrapper {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.company-video-section .video-wrapper video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    background: #000;
}

.company-video-section .video-desc {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.company-video-section .video-desc h3 {
    color: var(--brand-blue-dark);
    margin-bottom: 1rem;
}

.company-video-section .video-desc p {
    color: var(--text-secondary);
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .sv5-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {
    .sv5-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem 2rem;
    }

    .sv5-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slider-nav.prev {
        left: 12px;
    }

    .slider-nav.next {
        right: 12px;
    }

    .slide-content {
        left: 1.25rem;
        bottom: 1.25rem;
    }

    .slide-content .btn-see-details {
        padding: 0.65rem 1.35rem;
        font-size: 0.85rem;
    }

    .sv5-title {
        font-size: 2rem;
    }

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

    .sv5-header {
        margin-bottom: 3rem;
        text-align: center;
    }

    .sv5-header-top,
    .sv5-subtitle-wrapper {
        align-items: center;
        justify-content: center;
    }

    .home-news-section + section h2 {
        font-size: 2rem;
    }

    .home-news-section + section h3 {
        font-size: 1.25rem;
    }
}
