/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    --secondary-color: #2c3e50;
    --accent-color: #f1c40f;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    
    /* Text Colors */
    --text-primary: #ecf0f1;
    --text-secondary: #bdc3c7;
    --text-muted: #95a5a6;
    
    /* Background Colors */
    --bg-primary: #0d0c1d;
    --bg-secondary: #1a1a2e;
    --bg-card: #1e2a38;
    --bg-overlay: rgba(13, 12, 29, 0.8);
    
    /* Border & Shadow - Modern rounded corners for Google-level UX */
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.7);
    --glow-primary: 0 0 20px rgba(52, 152, 219, 0.6);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-background: -1;
    --z-content: 1;
    --z-header: 100;
    --z-modal: 1000;
}

/* ===== RESET & BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== BACKGROUND CANVAS ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: var(--z-background);
    background: var(--bg-primary);
}

/* ===== LAYOUT & CONTAINERS ===== */
.content-overlay {
    position: relative;
    z-index: var(--z-content);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo img {
    height: 50px;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-normal);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-item:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.nav-item:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px var(--spacing-md) var(--spacing-xl);
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: 80px; /* Thêm margin-top để tránh bị header che */
}

.marquee-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    height: 60px;
    display: flex;
    align-items: center;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-xl);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
    width: 100%;
    align-items: center;
    position: relative;
    will-change: transform;
    animation-delay: 0s;
}

.marquee-content span {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 var(--spacing-lg);
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
    margin-right: var(--spacing-xl);
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    10% { transform: translateX(80%); }
    90% { transform: translateX(-80%); }
    100% { transform: translateX(-100%); }
}

.hero-box {
    background: linear-gradient(135deg, 
        rgba(13, 12, 29, 0.2) 0%, 
        rgba(26, 26, 46, 0.3) 50%, 
        rgba(13, 12, 29, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: clamp(var(--spacing-lg), 5vw, var(--spacing-xxl));
    border-radius: var(--border-radius-xl);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.hero-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(52, 152, 219, 0.1) 0%, 
        transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.hero-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(52, 152, 219, 0.4);
}

.hero-box:hover::before {
    left: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--text-primary);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    font-family: var(--font-secondary);
    line-height: 1.1;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    width: 100%;
}

.glowing-text {
    font-weight: bold;
    color: white;
    text-shadow:
        0 0 5px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(0, 150, 255, 0.7),
        0 0 20px rgba(0, 150, 255, 0.6),
        0 0 40px rgba(0, 150, 255, 0.5);
    animation: glowing 2s infinite alternate;
}

@keyframes glowing {
    from {
        text-shadow:
            0 0 5px rgba(255, 255, 255, 0.5),
            0 0 10px rgba(0, 150, 255, 0.7),
            0 0 20px rgba(0, 150, 255, 0.6);
    }
    to {
        text-shadow:
            0 0 10px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(0, 150, 255, 0.9),
            0 0 40px rgba(0, 150, 255, 0.8),
            0 0 80px rgba(0, 150, 255, 0.7);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    color: var(--text-secondary);
    line-height: 1.8;
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: clamp(var(--spacing-sm), 3vw, var(--spacing-md)) clamp(var(--spacing-md), 4vw, var(--spacing-xl));
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    text-align: center;
    white-space: normal;
    min-height: 44px;
}

.cta-button::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: left var(--transition-slow);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.4);
}

.cta-button i {
    transition: transform var(--transition-normal);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xxl) 0;
    margin: var(--spacing-lg) 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Special styling for story section title */
.story-section .section-title {
    background: linear-gradient(135deg, #3498db, #f1c40f, #e74c3c);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 6s ease-in-out infinite;
    text-shadow: none;
}

.story-section .section-title::after {
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, 
        #3498db, #f1c40f, #e74c3c, #2ecc71, #9b59b6);
    background-size: 200% 100%;
    animation: gradient-flow 6s linear infinite;
    border-radius: 3px;
}

/* Special styling for services section title */
.services-section .section-title {
    background: linear-gradient(135deg, #2ecc71, #3498db, #9b59b6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 8s ease-in-out infinite;
    text-shadow: none;
}

.services-section .section-title::after {
    width: 140px;
    height: 6px;
    background: linear-gradient(90deg, 
        #2ecc71, #3498db, #9b59b6, #f1c40f, #e74c3c);
    background-size: 200% 100%;
    animation: gradient-flow 8s linear infinite;
    border-radius: 3px;
}

/* Special styling for strengths section title */
.strengths-section .section-title {
    background: linear-gradient(135deg, #e74c3c, #f39c12, #f1c40f);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 7s ease-in-out infinite;
    text-shadow: none;
}

.strengths-section .section-title::after {
    width: 130px;
    height: 6px;
    background: linear-gradient(90deg, 
        #e74c3c, #f39c12, #f1c40f, #2ecc71, #3498db);
    background-size: 200% 100%;
    animation: gradient-flow 7s linear infinite;
    border-radius: 3px;
}

@keyframes title-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== STORY SECTION ===== */
.story-section {
    background: linear-gradient(145deg, 
        rgba(30, 42, 56, 0.4) 0%, 
        rgba(26, 26, 46, 0.5) 50%, 
        rgba(30, 42, 56, 0.4) 100%);
    border: 3px solid transparent;
    background-clip: padding-box;
    border-radius: var(--border-radius-xl);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #3498db, #f1c40f, #e74c3c, #2ecc71, #9b59b6, #3498db);
    background-size: 200% 100%;
    animation: gradient-flow 8s linear infinite;
    z-index: 1;
}

.story-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.1), 
        transparent);
    transition: left 1.2s ease;
    z-index: 0;
}

.story-section:hover::after {
    left: 100%;
}

.story-content {
    position: relative;
    z-index: 2;
}

.story-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    text-align: left;
    line-height: 1.8;
    color: var(--text-secondary);
    position: relative;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.story-content p:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

/* Special effects for story paragraphs */
.story-content p:nth-child(1) {
    border-left-color: #3498db;
}

.story-content p:nth-child(2) {
    border-left-color: #f1c40f;
}

.story-content p:nth-child(3) {
    border-left-color: #e74c3c;
}

.story-content p:nth-child(1):hover {
    border-left-color: #2ecc71;
}

.story-content p:nth-child(2):hover {
    border-left-color: #9b59b6;
}

.story-content p:nth-child(3):hover {
    border-left-color: #3498db;
}

@keyframes gradient-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ===== SERVICES & STRENGTHS GRIDS ===== */
.services-grid,
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card,
.strength-card {
    background: linear-gradient(165deg, 
        rgba(20, 30, 48, 0.6) 0%, 
        rgba(36, 59, 85, 0.7) 50%, 
        rgba(20, 30, 48, 0.6) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before,
.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(52, 152, 219, 0.15), 
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.service-card:hover::before,
.strength-card:hover::before {
    left: 100%;
}

.service-card::after,
.strength-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(241, 196, 15, 0.1) 0%, 
        transparent 70%);
    transition: all 0.6s ease;
    z-index: 0;
}

.service-card:hover::after,
.strength-card:hover::after {
    top: -30%;
    right: -30%;
    background: radial-gradient(circle, 
        rgba(241, 196, 15, 0.2) 0%, 
        transparent 60%);
}

.service-card:hover,
.strength-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(52, 152, 219, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(52, 152, 219, 0.4);
}

.service-icon-wrapper,
.strength-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.9), 
        rgba(41, 128, 185, 0.9));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
    box-shadow: 
        0 8px 25px rgba(52, 152, 219, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon-wrapper,
.strength-card:hover .strength-icon-wrapper {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 
        0 15px 35px rgba(52, 152, 219, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 1), 
        rgba(41, 128, 185, 1));
}

.service-icon,
.strength-icon {
    font-size: 2.2rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-card h3,
.strength-card h3 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card p,
.strength-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Special effects for different card types */
.service-card {
    border-image: linear-gradient(45deg, #3498db, #f1c40f, #e74c3c) 1;
}

.strength-card {
    border-image: linear-gradient(45deg, #2ecc71, #9b59b6, #3498db) 1;
}

/* Hover effects for different card types */
.service-card:hover {
    border-image: linear-gradient(45deg, #2ecc71, #9b59b6, #f39c12) 1;
}

.strength-card:hover {
    border-image: linear-gradient(45deg, #e74c3c, #f1c40f, #2ecc71) 1;
}

/* Individual card special effects */
.service-card:nth-child(1) {
    border-image: linear-gradient(45deg, #3498db, #2ecc71, #f1c40f) 1;
}

.service-card:nth-child(2) {
    border-image: linear-gradient(45deg, #f39c12, #e74c3c, #9b59b6) 1;
}

.service-card:nth-child(3) {
    border-image: linear-gradient(45deg, #2ecc71, #3498db, #f1c40f) 1;
}

.service-card:nth-child(4) {
    border-image: linear-gradient(45deg, #e74c3c, #f39c12, #2ecc71) 1;
}

.service-card:nth-child(5) {
    border-image: linear-gradient(45deg, #9b59b6, #3498db, #f1c40f) 1;
}

.service-card:nth-child(6) {
    border-image: linear-gradient(45deg, #f1c40f, #e74c3c, #2ecc71) 1;
}

/* Strength cards special effects */
.strength-card:nth-child(1) {
    border-image: linear-gradient(45deg, #2ecc71, #3498db, #f1c40f) 1;
}

.strength-card:nth-child(2) {
    border-image: linear-gradient(45deg, #e74c3c, #f39c12, #9b59b6) 1;
}

.strength-card:nth-child(3) {
    border-image: linear-gradient(45deg, #3498db, #2ecc71, #f1c40f) 1;
}

.strength-card:nth-child(4) {
    border-image: linear-gradient(45deg, #f1c40f, #e74c3c, #2ecc71) 1;
}

.strength-card:nth-child(5) {
    border-image: linear-gradient(45deg, #9b59b6, #3498db, #f1c40f) 1;
}

.strength-card:nth-child(6) {
    border-image: linear-gradient(45deg, #f39c12, #2ecc71, #e74c3c) 1;
}

/* Enhanced hover effects for individual cards */
.service-card:nth-child(1):hover {
    border-image: linear-gradient(45deg, #2ecc71, #9b59b6, #3498db) 1;
}

.service-card:nth-child(2):hover {
    border-image: linear-gradient(45deg, #f1c40f, #2ecc71, #e74c3c) 1;
}

.service-card:nth-child(3):hover {
    border-image: linear-gradient(45deg, #e74c3c, #f39c12, #2ecc71) 1;
}

.service-card:nth-child(4):hover {
    border-image: linear-gradient(45deg, #9b59b6, #f1c40f, #3498db) 1;
}

.service-card:nth-child(5):hover {
    border-image: linear-gradient(45deg, #f39c12, #e74c3c, #2ecc71) 1;
}

.service-card:nth-child(6):hover {
    border-image: linear-gradient(45deg, #3498db, #9b59b6, #f1c40f) 1;
}

.strength-card:nth-child(1):hover {
    border-image: linear-gradient(45deg, #e74c3c, #f39c12, #2ecc71) 1;
}

.strength-card:nth-child(2):hover {
    border-image: linear-gradient(45deg, #f1c40f, #3498db, #9b59b6) 1;
}

.strength-card:nth-child(3):hover {
    border-image: linear-gradient(45deg, #9b59b6, #f1c40f, #3498db) 1;
}

.strength-card:nth-child(4):hover {
    border-image: linear-gradient(45deg, #2ecc71, #e74c3c, #f39c12) 1;
}

.strength-card:nth-child(5):hover {
    border-image: linear-gradient(45deg, #f1c40f, #9b59b6, #2ecc71) 1;
}

.strength-card:nth-child(6):hover {
    border-image: linear-gradient(45deg, #3498db, #f39c12, #e74c3c) 1;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.contact-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
}

.contact-form-wrapper {
    padding-right: var(--spacing-lg);
}

.contact-info-wrapper {
    padding-left: var(--spacing-lg);
    border-left: 1px solid var(--border-color);
}

.contact-intro {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.info-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-primary);
}

input,
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-normal);
    font-family: var(--font-primary);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    background: var(--bg-secondary);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.submit-button {
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.submit-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.info-item {
    margin-bottom: var(--spacing-lg);
}

.info-item p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.info-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--transition-normal);
    padding: var(--spacing-xs);
    border-radius: var(--border-radius-lg);
}

.info-link:hover {
    color: var(--primary-light);
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.info-link i {
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: var(--bg-overlay);
    border-top-left-radius: var(--border-radius-lg);
    border-top-right-radius: var(--border-radius-lg);
    margin-top: var(--spacing-lg);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.copyright,
.protection {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.visitor-counter-box {
    margin-top: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--bg-card);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.visitor-counter {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.visitor-counter:hover {
    transform: scale(1.1);
}

/* ===== ANIMATIONS ===== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FORM MESSAGE ===== */
.form-message {
    display: none;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.form-message.error {
    background: rgba(231, 76, 60, 0.2);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-box {
        max-width: 1000px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero {
        padding: 100px var(--spacing-md) var(--spacing-lg);
    }
    
    .hero-box {
        max-width: 800px;
        padding: clamp(var(--spacing-lg), 4vw, var(--spacing-xl));
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.5rem, 3.5vw, 1.8rem);
    }
    
    .hero-description {
        font-size: clamp(1rem, 2.2vw, 1.1rem);
        max-width: 600px;
    }
    
    .cta-button {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
    }
    
    .nav {
        margin-top: var(--spacing-sm);
        gap: var(--spacing-md);
    }
    
    .hero {
        padding: 80px var(--spacing-sm) var(--spacing-md);
        min-height: 90vh;
        margin-top: 120px; /* Tăng margin-top cho tablet */
    }
    
    .hero-box {
        max-width: 700px;
        padding: var(--spacing-lg);
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        max-width: 500px;
    }
    
    .cta-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .contact-grid-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-form-wrapper {
        padding-right: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    .contact-info-wrapper {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: var(--spacing-lg);
    }
    
    .services-grid,
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .story-content p {
        text-align: center;
    }
    
    .marquee-container {
        height: 50px;
        margin-bottom: var(--spacing-lg);
    }
    
    .marquee-content span {
        font-size: clamp(0.9rem, 2vw, 1rem);
        padding: 0 var(--spacing-md);
        margin-right: var(--spacing-lg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-xs);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-overlay);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--spacing-md);
        border-top: 1px solid var(--border-color);
        gap: var(--spacing-sm);
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero {
        padding: 60px var(--spacing-xs) var(--spacing-sm);
        min-height: 80vh;
        margin-top: 140px; /* Tăng margin-top cho mobile */
    }
    
    .hero-box {
        max-width: 100%;
        padding: var(--spacing-md);
        margin-top: 0;
        border-radius: var(--border-radius);
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
        max-width: 100%;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .strength-card {
        padding: var(--spacing-lg);
    }
    
    .service-icon-wrapper,
    .strength-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .service-icon,
    .strength-icon {
        font-size: 1.5rem;
    }
    
    .marquee-container {
        height: 40px;
        margin-bottom: var(--spacing-md);
    }
    
    .marquee-content span {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        padding: 0 var(--spacing-sm);
        margin-right: var(--spacing-md);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero {
        padding: 50px var(--spacing-xs) var(--spacing-sm);
        min-height: 70vh;
        margin-top: 150px; /* Tăng margin-top cho small mobile */
    }
    
    .hero-box {
        padding: var(--spacing-sm);
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 7vw, 1.8rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1rem);
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: clamp(0.8rem, 3vw, 0.85rem);
        line-height: 1.5;
    }
    
    .cta-button {
        padding: var(--spacing-sm);
        font-size: clamp(0.75rem, 3vw, 0.8rem);
        min-height: 48px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-grid-container {
        padding: var(--spacing-md);
    }
    
    .visitor-counter {
        font-size: 1.5rem;
    }
    
    .marquee-container {
        height: 35px;
        margin-bottom: var(--spacing-sm);
    }
    
    .marquee-content span {
        font-size: clamp(0.75rem, 3vw, 0.8rem);
        padding: 0 var(--spacing-xs);
        line-height: 1.2;
        margin-right: var(--spacing-sm);
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px var(--spacing-md) var(--spacing-sm);
        margin-top: 100px; /* Thêm margin-top cho landscape mobile */
    }
    
    .hero-box {
        max-width: 800px;
        padding: var(--spacing-md);
        margin-top: 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
        margin-bottom: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: var(--spacing-md);
        max-width: 600px;
    }
    
    .cta-button {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .marquee-container {
        height: 40px;
        margin-bottom: var(--spacing-sm);
    }
    
    .marquee-content span {
        padding: 0 var(--spacing-sm);
        line-height: 1.1;
        margin-right: var(--spacing-sm);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .marquee-container,
    .cta-button,
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding-top: 0;
    }
    
    .hero-box {
        margin-top: 0;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        break-inside: avoid;
        margin: 1rem 0;
    }
}
