/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
:root {
    --primary-navy: #0b1f3a;
    --primary-blue: #103366;
    --accent-red: #065fb8;
    --accent-red-hover: #044b94;
    --steel-dark: #1b263b;
    --steel-slate: #32435f;
    --steel-silver: #415a77;
    --steel-light: #778da9;
    --bg-light: #f4f6fa;
    --bg-card: #ffffff;
    --bg-dark: #071326;
    --text-main: #1f2937;
    --text-muted: #5b677a;
    --text-light: #e0e1dd;
    --white: #ffffff;
    --border-color-c: #e2e8f0;
    --border-dark: rgba(255, 255, 255, 0.12);
    --font-heading: 'Oswald', 'Roboto Condensed', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
    --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.14);
    --shadow-glow: 0 0 25px rgba(6, 95, 184, 0.35);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}
.wpml-ls-legacy-list-horizontal {
   
    padding: 4px 10px;
   
}
.wpml-ls-legacy-list-horizontal a
{
	padding: 0;
}
.wpml-ls-legacy-list-horizontal>ul
{
	    display: flex;
    gap: 8px;
}
.menu-con .elementor-icon-list-item
{

}
.wpcf7-submit[type="submit"]:hover, button:focus, button:hover
{
    border: none !important;
}
.menu-con .elementor-icon-list-item a, .menu-con .elementor-icon-list-item > span
{
	display: flex;
    align-items: center;
    gap: 8px;
	transition:  all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);;
}
.menu-con .elementor-icon-list-item a:hover {
    color: #065fb8;
    transform: translateX(4px);
}
.menu-con .elementor-icon-list-item a:hover::before {
    opacity: 1;
    transform: translateX(0px);
}
.menu-con .elementor-icon-list-item a::before {
    content: "■";
    font-size: 0.5rem;
    color: var(--accent-red);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.menu-cha .eael-mega-menu__item .eael-mega-menu__link::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 16px;
    right: 16px;
    height: 3px;
    transform: scaleX(0);
    transform-origin: right center;
    background: #065fb8;;
    transition: transform 0.3s;
}
.menu-cha .eael-mega-menu__item:hover .eael-mega-menu__link::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.section-1-item:hover .elementor-icon
{
	background: #065fb8 !important;
}
.section-1-item:hover .elementor-icon i
{
	color: #fff;
}
.elementor-15799 .elementor-element.elementor-element-6f0b793 .elementor-wrapper {
    --video-aspect-ratio: 1.5;
    filter: none;
}
.elementor-custom-embed-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #065fb8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 0 10px rgba(6, 95, 184, 0.3);
    transition:  all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);;
}
.flter-c .e-filter-item:hover,.flter-c .e-filter-item:focus
{
	border:none !important;
}
.item-chungchi:hover .poevent
{
    display: flex;
}
.poevent
{
    display: none;
}
.c-chungchi
{
     display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 16px 4px 30px;
    scrollbar-width: thin;
    scrollbar-color: #065fb8 #e2e8f0;

}
.c-chungchi > div{
    flex: 0 0 260px !important
}
.item-mangluoi .elementor-icon-box-icon
{
        padding-top: 13px;
}
.item-mangluoi
{
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);;
}
.item-mangluoi:hover
{
transform: translateX(6px);
}
.elementor-widget-theme-post-featured-image a
{
    display: block;
}
.item-tintuc
{

}
.item-tintuc  .elementor-widget-theme-post-featured-image
{
    overflow: hidden;
}
.item-tintuc .elementor-widget-theme-post-featured-image img
{
    transition: transform 0.6s ease;
}
.item-tintuc:hover .elementor-widget-theme-post-featured-image img
{
        transform: scale(1.08);
}
.item-tintuc .elementor-button-icon
{
    transition: transform 0.3s ease;
}
.item-tintuc:hover .elementor-button-icon
{
        transform: translateX(6px);
}


/* Timeline Components (JSW History & Milestones) */
.timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border-color-c);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--accent-red);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-red);
  border-radius: 50%;
  z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-blue);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-red);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--steel-slate);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
}
.btn-c a
{
    position: relative;
    transition: var(--transition);
}
.btn-c a:hover::before {
    left: 100%;
}
.btn-c a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: 0;
}

/* ==========================================================
   CSS THUẦN: TỰ ĐỘNG CUỘN NGANG CHO TOÀN BỘ TABLE TRÊN MOBILE
   ========================================================== */
@media screen and (max-width: 768px) {
  /* 1. Biến toàn bộ thẻ table thành khung cuộn ngang */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch; /* Cuộn mượt trên Safari/iOS */
  }

  /* 2. Giữ cấu trúc ô và tránh chữ bị co ép vỡ dòng */
  table th, 
  table td {
    white-space: nowrap !important; /* Không cho chữ nhảy xuống dòng làm méo cột */
    padding: 8px 12px; /* Khoảng cách vừa phải trên màn hình nhỏ */
  }

  /* 3. Tùy chỉnh thanh cuộn ngang nhỏ gọn theo tông màu thương hiệu */
  table::-webkit-scrollbar {
    height: 4px;
  }
  table::-webkit-scrollbar-track {
    background: #FAF8F5; /* sand-light */
  }
  table::-webkit-scrollbar-thumb {
    background: #D4AF37; /* gold-500 */
    border-radius: 2px;
  }
}
/* ==========================================================
   CSS PHÂN TRANG ELEMENTOR (ELEGANT BLUE THEME)
   ========================================================== */
.elementor-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-family: inherit;
}

/* Kiểu chung cho tất cả nút trang */
.elementor-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgb(7, 19, 38); /* Xanh đen */
  background-color: #ffffff;
  border: 1px solid rgba(7, 19, 38, 0.12);
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Hiệu ứng Hover vào nút số & Nút Next/Prev */
.elementor-pagination a.page-numbers:hover {
  color: #ffffff !important;
  background-color: rgb(6, 95, 184); /* Xanh dương */
  border-color: rgb(6, 95, 184);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 95, 184, 0.25);
}

/* Trang hiện tại (Active Page) */
.elementor-pagination .page-numbers.current {
  color: #ffffff !important;
  background-color: rgb(7, 19, 38); /* Xanh đen sang trọng */
  border-color: rgb(7, 19, 38);
  box-shadow: 0 4px 12px rgba(7, 19, 38, 0.2);
  cursor: default;
}

/* Nút Next / Prev chưa kích hoạt (Trang 1 thì nút Prev bị mờ) */
.elementor-pagination span.page-numbers.prev,
.elementor-pagination span.page-numbers.next {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: #f8fafc;
  border-color: rgba(7, 19, 38, 0.08);
}

/* Dấu ba chấm (...) */
.elementor-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
  color: rgb(7, 19, 38);
  opacity: 0.6;
  min-width: 24px;
  padding: 0;
}








