:root {
    --primary-color: #002D5B;
    --primary-dark: #001A35;
    --accent-color: #B38B40;
    --accent-hover: #967232;
    --text-color: #1E293B;
    --light-text: #64748B;
    --bg-color: #F8FAFC;
    --card-bg: #FFFFFF;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent-color);
    margin-left: 4px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-assessment {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(179, 139, 64, 0.3);
    transition: var(--transition);
}

.btn-assessment:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(179, 139, 64, 0.4);
    color: var(--white);
}

/* Global Page Banner */
.page-banner {
    height: 350px;
    background-color: var(--primary-color);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 45, 91, 0.9), rgba(0, 26, 53, 0.7));
}

.page-banner .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-banner p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Tab/Filter buttons */
.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid #E2E8F0;
    transition: var(--transition);
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero & Slider Section */
.home-slider {
    height: 400px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: 44px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease backwards;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Assessment */
.assessment-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    padding: 35px 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.assessment-header {
    text-align: center;
    margin-bottom: 30px;
}

.assessment-grid-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-row {
    display: flex;
    gap: 20px;
}

.form-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-item label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-item label:before {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 10px;
}

.form-item input,
.form-item select {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

.form-item input:focus,
.form-item select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(179, 139, 64, 0.1);
    background: #fff;
}

.assessment-header h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.assessment-header p {
    color: var(--light-text);
    font-size: 15px;
}

.btn-submit-main {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    box-shadow: 0 10px 20px rgba(179, 139, 64, 0.2);
    height: 50px;
    width: 100%;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    font-size: 14px;
}

.auto-btn {
    display: flex;
    align-items: flex-end;
}

.btn-submit-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(179, 139, 64, 0.4);
}

@media (max-width: 768px) {
    .grid-row {
        flex-direction: column;
        gap: 16px;
    }
}

/* Premium Section Header */
.section-header-refined {
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.refined-list-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--bg-color);
    padding-bottom: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(179, 139, 64, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.view-all {
    font-size: 13px;
    color: var(--light-text);
    font-weight: 600;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--accent-color);
}

.refined-link-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    transition: var(--transition);
}

.refined-link-item:last-child {
    border-bottom: none;
}

.refined-link-item:hover {
    padding-left: 10px;
}

.date-badge {
    text-align: center;
    margin-right: 15px;
    min-width: 45px;
}

.date-badge .day {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.date-badge .month {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
}

.link-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

.case-mini-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: var(--bg-color);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.case-mini-card:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.case-mini-card .img-box {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-mini-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-tag {
    font-size: 9px;
    font-weight: 800;
    color: var(--white);
    background: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.case-mini-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.case-mini-card span {
    font-size: 12px;
    color: var(--light-text);
}

.section-header-refined .sub-label {
    display: inline-block;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    padding: 0 20px;
}

.section-header-refined h2 {
    font-size: 42px;
    color: var(--primary-color);
    font-weight: 800;
    margin: 0;
    letter-spacing: -1px;
}

.section-header-refined .header-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 24px auto 0;
    border-radius: 10px;
}

/* Card Grid Premium */
.card-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.program-card-fancy {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.program-card-fancy:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.thumb-wrap {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.thumb-wrap:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.program-card-fancy:hover .thumb-wrap img {
    transform: scale(1.1);
}

.country-tag {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.content-premium {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-tag {
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.content-premium h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.content-premium p {
    color: var(--light-text);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.card-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
}

.link-more {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
}

.link-more:hover {
    color: var(--accent-color);
}

/* News & Cases Refined Section */
.grid-two-cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.refined-list-box {
    background: transparent;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.view-all {
    color: #999;
    font-size: 14px;
}

.view-all:hover {
    color: var(--accent-color);
}

.news-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.refined-link-item {
    display: flex;
    align-items: center;
    padding: 24px;
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.refined-link-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    margin-right: 24px;
    padding-right: 24px;
    border-right: 2px solid var(--bg-color);
}

.date-badge .day {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.date-badge .month {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-top: 4px;
}

.link-content h4 {
    font-size: 17px;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.arrow {
    color: #CBD5E1;
    margin-left: 15px;
}

/* Success Cases Stack */
.cases-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-mini-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #f1f4f7;
    transition: 0.3s;
}

.case-mini-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.img-box {
    width: 120px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-tag {
    font-size: 11px;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 10px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-box h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.info-box span {
    font-size: 12px;
    color: #999;
}

@media (max-width: 992px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Footer Section */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo span {
    color: var(--accent-color);
    margin-left: 5px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.5;
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Refined Typography */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    header {
        height: 70px;
    }

    nav {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon-item {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-item:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px) rotate(8deg);
    border-color: transparent;
}

.social-icon-item svg {
    width: 22px;
    height: 22px;
}

/* WeChat Popover */
.wechat-wrapper {
    position: relative;
}

.wechat-popover {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}

.wechat-popover:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.wechat-wrapper:hover .wechat-popover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.wechat-popover img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.wechat-popover p {
    color: #333;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
    font-weight: 700;
}