/* ==========================================================================
   CSS Cho Website IFISD - Phong Cách Hiện Đại, Responsive
   ========================================================================== */

/* 1. Thiết lập biến CSS và Reset */
:root {
    --primary-blue: #003580;
    --primary-blue-dark: #002252;
    --primary-blue-light: #0D47A1;
    --accent-orange: #FF7900;
    --accent-orange-hover: #E06A00;
    --accent-green: #2E7D32;
    --accent-green-hover: #1B5E20;
    
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-white: #FFFFFF;
    --border-color: #E2E8F0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-style: normal;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    font-style: normal;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button, input {
    font-family: inherit;
    outline: none;
}

/* 2. Header 2 hàng */
.main-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 53, 128, 0.12);
    border-bottom-color: transparent;
}

/* === HÀNG TRÊN: Logo + Actions === */
.header-top {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-white);
    position: relative;
    z-index: 10;
}

.header-top-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* === HÀNG DƯỚI: Navigation === */
.header-nav-row {
    background-color: var(--bg-white);
    position: relative;
    z-index: 5;
}

.header-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-svg {
    height: 48px;
    width: auto;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* === Navigation === */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 9px;
    display: flex;
    align-items: center;
    gap: 3px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    text-transform: uppercase;
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--primary-blue);
}

.nav-item.active > a {
    border-bottom: 2.5px solid var(--primary-blue);
}

/* Dropdown Menu */
.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px solid currentColor;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: var(--transition-fast);
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    padding-left: 24px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 4px 10px;
    width: 130px;
    transition: var(--transition-normal);
}

.search-wrapper:focus-within {
    width: 200px;
    border-color: var(--primary-blue);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.15);
}

.search-input {
    border: none;
    background: transparent;
    font-size: 13px;
    width: 100%;
    color: var(--text-main);
}

.search-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    color: var(--primary-blue);
}

.lang-selector {
    position: relative;
}

.lang-btn {
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

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

.arrow-small {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 3.5px solid currentColor;
    border-right: 3.5px solid transparent;
    border-left: 3.5px solid transparent;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    min-width: 80px;
    padding: 4px 0;
    margin-top: 5px;
    display: none;
    z-index: 1000;
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.lang-dropdown li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12.5px;
    padding: 8px 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-connect {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.btn-connect:hover {
    background-color: var(--primary-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 53, 128, 0.25);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    padding: 60px 0 50px;
    color: var(--text-white);
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 680px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    font-style: normal;
    line-height: 1.25;
    margin-bottom: 14px;
    letter-spacing: 0px;
}

.hero-title span,
.highlight-orange,
.highlight-green {
    font-style: normal;
    font-family: var(--font-body);
    font-weight: 700;
}

.highlight-orange {
    color: #FFA726;
}

.highlight-green {
    color: #66BB6A;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 14px;
    opacity: 0.95;
    border-left: 3px solid var(--accent-orange);
    padding-left: 12px;
}

.hero-desc {
    font-family: var(--font-body);
    font-size: 14px;
    font-style: normal;
    line-height: 1.65;
    margin-bottom: 28px;
    opacity: 0.85;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-hero {
    border-radius: 30px;
    font-size: 12.5px;
    padding: 11px 22px;
    letter-spacing: 0.3px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.btn-primary-hero {
    background-color: var(--accent-green);
    color: var(--text-white);
}

.btn-primary-hero:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(46, 125, 50, 0.4);
}

.btn-outline-hero {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
}

.btn-outline-hero:hover {
    background-color: var(--bg-white);
    color: var(--primary-blue);
    border-color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.25);
}

.arrow-right {
    margin-left: 6px;
    transition: var(--transition-fast);
}

.btn-hero:hover .arrow-right {
    transform: translateX(4px);
}

/* 4. Core Values Section */
.core-values-section {
    padding: 50px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    padding: 36px 30px;
    border-radius: 14px;
    background-color: var(--bg-white);
    border: 1px solid #EAF0F6;
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0, 53, 128, 0.1);
}

.value-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.val-icon {
    width: 28px;
    height: 28px;
}

.val-blue {
    background-color: rgba(13, 71, 161, 0.08);
    color: var(--primary-blue-light);
}

.val-teal {
    background-color: rgba(0, 150, 136, 0.08);
    color: #009688;
}

.val-green {
    background-color: rgba(46, 125, 50, 0.08);
    color: var(--accent-green);
}

.value-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-blue { color: var(--primary-blue-light); }
.title-teal { color: #009688; }
.title-green { color: var(--accent-green); }

.value-desc {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.value-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.value-card:hover .value-link {
    color: var(--primary-blue-light);
}

.value-link:hover .arrow-right {
    transform: translateX(4px);
}

/* 5. Main Grid Section (News, Events, Projects, Subscribe) */
.main-grid-section {
    padding: 60px 0;
    background-color: #F8FAFC;
}

.grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.grid-col {
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.grid-col:hover {
    box-shadow: var(--shadow-md);
}

.news-column { grid-column: span 4; }
.events-column { grid-column: span 4; }
.projects-column { grid-column: span 4; }

.col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.col-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.view-all:hover {
    color: var(--primary-blue);
}

.col-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

/* News items styling */
.news-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.news-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.news-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title-link {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-link a:hover {
    color: var(--primary-blue-light);
}

.news-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* Event items styling */
.event-item {
    display: flex;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}

.event-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.event-date-badge {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-date-badge .day {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.event-date-badge .month {
    font-size: 8px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.event-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}

.event-name a:hover {
    color: var(--primary-blue-light);
}

.event-meta {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.event-meta .separator {
    color: #CBD5E1;
}

/* Project items styling */
.project-item {
    display: flex;
    gap: 12px;
    align-items: center;
}

.project-img {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.project-info {
    flex-grow: 1;
}

.project-title-link {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-title-link a:hover {
    color: var(--primary-blue-light);
}

/* Dải Banner Đăng ký nhận tin mới dạng ngang, phẳng, Minimalism */
.newsletter-banner-section {
    background: linear-gradient(135deg, #003580 0%, #001a40 100%);
    padding: 42px 0;
    color: var(--text-white);
    position: relative;
}

.newsletter-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-banner-info {
    flex: 1 1 450px;
}

.newsletter-banner-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.newsletter-banner-desc {
    color: #cbd5e1;
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0;
}

.newsletter-banner-form {
    display: flex;
    gap: 12px;
    flex: 0 1 450px;
    width: 100%;
}

.newsletter-banner-input {
    flex-grow: 1;
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-banner-input::placeholder {
    color: #94a3b8;
}

.newsletter-banner-input:focus {
    border-color: #38bdf8;
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.btn-newsletter-submit {
    background-color: var(--accent-green);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-newsletter-submit:hover {
    background-color: #2b753c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 80, 0.3);
}

.newsletter-banner-section .form-message {
    font-size: 13.5px;
    font-weight: 600;
    margin-top: 10px;
    width: 100%;
}

.newsletter-banner-section .form-message.success {
    color: #4ade80;
}

.newsletter-banner-section .form-message.error {
    color: #f87171;
}

@media (max-width: 991px) {
    .newsletter-banner-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .newsletter-banner-form {
        flex: 1 1 100%;
    }
}

.form-message {
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    color: #2E7D32;
}

.form-message.error {
    color: #c0392b;
}

/* 6. Partners Section */
.partners-section {
    padding: 50px 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.partners-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.partners-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 30px;
    position: relative;
}

.partners-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-blue-light);
    margin: 8px auto 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
    align-items: center;
}

.partner-logo-box {
    border: 1px solid #F1F5F9;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-white);
    height: 60px;
    transition: var(--transition-normal);
}

.partner-logo-box:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
    transform: scale(1.03);
}

.partner-logo-svg {
    max-height: 40px;
    width: auto;
    opacity: 0.95;
    transition: var(--transition-normal);
}

.partner-logo-box:hover .partner-logo-svg {
    opacity: 1;
}

/* Footer Newsletter & Consult (Fulbright Style) */
.footer-newsletter-wrapper {
    margin: 25px 0;
    max-width: 320px;
}

.footer-newsletter-field {
    margin-bottom: 12px;
}

.footer-newsletter-input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #FFF;
    font-family: var(--font-body);
    font-size: 13.5px;
    transition: var(--transition-normal);
}

.footer-newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-footer-newsletter-submit {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-footer-newsletter-submit:hover {
    background-color: #FFF;
    color: var(--primary-blue-dark);
    border-color: #FFF;
}

.footer-consult-section {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-consult-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-footer-consult {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
}

.btn-footer-consult:hover {
    background-color: #FFF;
    color: var(--primary-blue-dark);
    border-color: #FFF;
}

/* 7. Footer */
.main-footer {
    background-color: var(--primary-blue-dark);
    color: #E2E8F0;
    font-size: 14px;
}

.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.2fr 1.8fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.logo-svg-footer {
    height: 55px;
    width: auto;
    margin-bottom: 20px;
}

.footer-desc {
    color: #E8EFF8;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 13.5px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F8FAFC;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #CBD5E1;
}

.footer-links li a:hover {
    color: var(--text-white);
    padding-left: 6px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    color: #CBD5E1;
    line-height: 1.5;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--accent-orange);
    margin-top: 3px;
}



.footer-bottom {
    background-color: #001a40;
    padding: 20px 0;
    font-size: 13px;
    color: #94A3B8;
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #94A3B8;
}

.legal-links a:hover {
    color: #E2E8F0;
}

/* 8. Media Queries - Responsive Design */

/* Màn hình nhỏ hơn 1200px (PC nhỏ, Tablet ngang) */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 1.7rem;
    }
    
    .values-container {
        gap: 20px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-column, .events-column, .projects-column, .newsletter-column {
        grid-column: span 1;
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col.brand-col {
        grid-column: span 3;
        margin-bottom: 10px;
    }
    
    .footer-col.qr-col {
        grid-column: span 3;
        align-items: flex-start;
    }
    
    .qr-box {
        margin-left: 0;
    }
}

/* Màn hình nhỏ hơn 991px (Tablet đứng) */
@media (max-width: 991px) {
    .header-top-container {
        padding: 10px 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    /* Menu Mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 30px 40px;
        transition: var(--transition-normal);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.open {
        right: 0;
    }
    
    .header-nav-row {
        display: none;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-item > a {
        font-size: 15px;
        padding: 5px 0;
    }
    
    .nav-item.active > a {
        border-bottom: none;
        color: var(--primary-blue);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--border-color);
        border-radius: 0;
        padding-left: 15px;
        margin-top: 5px;
        display: none;
        transform: none;
    }
    
    .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Nút Hamburger biến hình khi menu mở */
    .mobile-menu-toggle.open .bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .mobile-menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .values-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
}

/* Màn hình nhỏ hơn 768px (Điện thoại lớn) */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 40px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-desc {
        font-size: 14.5px;
        margin-bottom: 30px;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-col.brand-col, 
    .footer-col.qr-col {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   Login Button + Dropdown Popup Form
   ========================================================================== */

/* Nút Đăng nhập */
.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background 0.15s;
    white-space: nowrap;
}

.login-btn:hover {
    background: rgba(0, 53, 128, 0.06);
}

.login-btn .avatar-icon { flex-shrink: 0; }

/* Wrapper chứa nút + popup */
.login-dropdown-wrapper {
    position: relative;
}

/* Popup form login - ẨN mặc định */
.login-popup {
    display: none !important;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1px solid rgba(0,0,0,0.07);
    padding: 18px 18px 14px;
    z-index: 9999;
}

/* Chỉ hiện khi có class .open */
.login-popup.open {
    display: block !important;
    animation: lpopIn 0.18s ease forwards;
}

@keyframes lpopIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mũi tên nhỏ trỏ lên */
.login-popup::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: white;
    border-left: 1px solid rgba(0,0,0,0.07);
    border-top: 1px solid rgba(0,0,0,0.07);
    transform: rotate(45deg);
}

/* Fields */
.lpop-field { margin-bottom: 10px; }

.lpop-input {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid #dce2ec;
    border-radius: 5px;
    font-size: 13.5px;
    font-family: var(--font-body);
    background: #f4f6fb;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.18s, background 0.18s;
}

.lpop-input:focus {
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,53,128,0.08);
}

/* Remember me */
.lpop-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #555;
}

.lpop-remember input[type=checkbox] {
    width: 15px;
    height: 15px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.lpop-remember label { cursor: pointer; }

/* LOGIN button */
.lpop-btn {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 11px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.lpop-btn:hover { background: var(--primary-blue-dark); }
.lpop-btn:active { transform: scale(0.98); }

/* Footer: quên mật khẩu */
.lpop-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.lpop-footer a {
    font-size: 13px;
    color: var(--primary-blue);
    text-decoration: none;
}

.lpop-footer a:hover { text-decoration: underline; }

/* ===== User dropdown (đã đăng nhập) ===== */
.user-menu-wrapper { position: relative; }

.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: background 0.15s;
}

.user-menu-btn:hover { background: rgba(0,53,128,0.07); }

.user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 200px;
    list-style: none;
    padding: 6px 0;
    z-index: 9999;
    border: 1px solid rgba(0,0,0,0.06);
}

.user-dropdown.open {
    display: block;
    animation: fadeDown 0.18s ease;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.user-dropdown li a {
    display: block;
    padding: 9px 16px;
    font-size: 13.5px;
    color: #333;
    text-decoration: none;
    transition: background 0.12s;
}

.user-dropdown li a:hover { background: #f0f4ff; color: var(--primary-blue); }

.user-dropdown .divider { border-top: 1px solid #eee; margin: 4px 0; }

.user-dropdown .logout-item { color: #c0392b !important; }
.user-dropdown .logout-item:hover { background: #fff5f5 !important; }

/* ==========================================================================
   STATS BAR – Fulbright-style số liệu ấn tượng
   ========================================================================== */
.stats-bar {
    background: linear-gradient(135deg, #003580 0%, #0D47A1 60%, #1565C0 100%);
    padding: 48px 0;
    overflow: hidden;
    position: relative;
}
.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}
.stat-number .stat-plus {
    font-size: 32px;
    color: #FF7900;
    vertical-align: super;
}
.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
}
.stat-sub {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
    display: block;
}
/* Animation đếm số khi scroll vào view */
.stat-number[data-count] {
    transition: none;
}
@media (max-width: 768px) {
    .stats-bar-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .stat-item:nth-child(even) { border-right: none; }
    .stat-number { font-size: 36px; }
}
@media (max-width: 480px) {
    .stats-bar-container { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 30px; }
}

/* ==========================================================================
   TRANG TIN TỨC – Fulbright-style card layout
   ========================================================================== */
.tintuc-page {
    background: #F5F7FA;
    min-height: 70vh;
    padding: 0 0 60px;
}

/* Page hero header */
.tintuc-hero {
    background: linear-gradient(135deg, #003580 0%, #1565C0 100%);
    padding: 48px 0 40px;
    margin-bottom: 0;
}
.tintuc-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.tintuc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}
.tintuc-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}
.tintuc-breadcrumb a:hover { color: #fff; }
.tintuc-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.tintuc-page-sub {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
}

/* Category filter tabs */
.tintuc-filter-bar {
    background: #fff;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 90px;
    z-index: 100;
}
.tintuc-filter-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 0;
    overflow-x: auto;
}
.tintuc-filter-btn {
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #64748B;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.tintuc-filter-btn:hover { color: #003580; }
.tintuc-filter-btn.active {
    color: #003580;
    border-bottom-color: #003580;
}

/* Content area */
.tintuc-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 0;
}

/* Featured article (bài lớn đầu tiên) */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,53,128,0.08);
    margin-bottom: 36px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.featured-article:hover {
    box-shadow: 0 8px 40px rgba(0,53,128,0.14);
    transform: translateY(-3px);
}
.featured-article-img {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.featured-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.featured-article:hover .featured-article-img img {
    transform: scale(1.04);
}
.featured-article-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, #003580, #1565C0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.featured-article-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-category-tag {
    display: inline-block;
    background: #EEF4FF;
    color: #003580;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
}
.featured-article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.45;
    margin-bottom: 12px;
}
.featured-article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.featured-article-title a:hover { color: #003580; }
.featured-article-summary {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.featured-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12.5px;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #F1F5F9;
    padding-top: 16px;
}
.featured-article-meta svg { vertical-align: middle; }
.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #003580;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    transition: gap 0.2s;
}
.featured-read-more:hover { gap: 10px; }

/* Grid cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,53,128,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    box-shadow: 0 8px 32px rgba(0,53,128,0.12);
    transform: translateY(-4px);
}
.article-card-img {
    position: relative;
    overflow: hidden;
    height: 190px;
    flex-shrink: 0;
}
.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.article-card:hover .article-card-img img {
    transform: scale(1.06);
}
.article-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #003580 0%, #1565C0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}
.article-card-img .category-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,53,128,0.88);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
}
.article-card-body {
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.article-card-title a:hover { color: #003580; }
.article-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #64748B;
    line-height: 1.65;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
    font-size: 12px;
    color: #94A3B8;
    font-family: 'Inter', sans-serif;
}
.article-card-footer .read-link {
    color: #003580;
    font-weight: 600;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s;
}
.article-card-footer .read-link:hover { color: #FF7900; }

/* Pagination */
.tintuc-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}
.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.2s;
}
.page-btn-active {
    background: #003580;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,53,128,0.3);
}
.page-btn-inactive {
    background: #fff;
    color: #475569;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.page-btn-inactive:hover {
    background: #EEF4FF;
    color: #003580;
}

/* Empty state */
.tintuc-empty {
    text-align: center;
    padding: 80px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,53,128,0.05);
}
.tintuc-empty-icon { font-size: 56px; margin-bottom: 16px; }
.tintuc-empty-text { color: #94A3B8; font-size: 15px; font-family: 'Inter', sans-serif; }

/* Responsive */
@media (max-width: 992px) {
    .featured-article { grid-template-columns: 1fr; }
    .featured-article-img { min-height: 240px; }
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .articles-grid { grid-template-columns: 1fr; }
    .featured-article-body { padding: 24px 20px; }
    .tintuc-page-title { font-size: 24px; }
}

/* ==========================================================================
   Hero CTA Buttons
   ========================================================================== */
.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-orange);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 50px;
    text-transform: uppercase;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(255, 121, 0, 0.4);
}
.btn-hero-primary:hover {
    background: var(--accent-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 121, 0, 0.5);
    color: #fff;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
    transform: translateY(-2px);
    color: #fff;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, #1565C0 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,121,0,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(21,101,192,0.3) 0%, transparent 60%);
    pointer-events: none;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    cursor: default;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.15);
}
.stat-item:last-child::after { display: none; }
.stat-item:hover { background: rgba(255,255,255,0.07); }

.stat-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,121,0,0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: var(--transition-normal);
}
.stat-icon svg { width: 22px; height: 22px; stroke: #FF9F45; }
.stat-item:hover .stat-icon { background: rgba(255,121,0,0.3); transform: scale(1.1); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: inline-block;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-orange);
    line-height: 1;
    margin-top: -4px;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .stats-container { flex-wrap: wrap; }
    .stat-item { flex: 1 1 50%; padding: 32px 16px; }
    .stat-item::after { display: none; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 480px) {
    .stat-item { flex: 1 1 100%; border-right: none !important; }
    .stat-number { font-size: 36px; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 46px;
    height: 46px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,53,128,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    z-index: 999;
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#back-to-top:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,121,0,0.4);
}
#back-to-top svg { width: 20px; height: 20px; }
