/* Reset and Base Styles */
:root {
    --color-primary: #173F5F;
    --color-accent: #e74c3c;
    --color-accent-dark: #c0392b;
    --color-text: #333;
    --color-muted: #666;
    --color-bg: #F7F9FC;
    --color-white: #fff;
    --color-light-gray: #f8f9fa;
    --color-border: #eee;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-danger: #e74c3c;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 32px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header Styles */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* Language Switcher Styles */
.language-switcher {
    position: relative;
    /* margin-right: var(--spacing-lg); */
}

.language-current {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-light-gray);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
    font-weight: 500;
}

.language-current:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
}

.language-flag {
    font-size: 16px;
}

.language-arrow {
    font-size: 10px;
    transition: var(--transition-fast);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 1001;
    margin-top: var(--spacing-xs);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 14px;
}

.language-option:hover {
    background: var(--color-bg);
}

.language-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

/* Floating Contact Icons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 9999;
}

.floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.zalo-icon {
    background: transparent;
    color: white;
}

.zalo-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

.call-icon {
    background: transparent;
    color: white;
}

.call-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

.floating-icon svg {
    width: 64px !important;
    height: 64px !important;
    max-width: none !important;
    max-height: none !important;
}

/* Force icon size on mobile */
@media (max-width: 768px) {
    .floating-icon {
        width: 80px !important;
        height: 80px !important;
    }
    
    .floating-icon svg {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Pulse animation for call icon */
.call-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.back-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-svg {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-normal);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.case-studies-link {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.case-studies-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    color: white !important;
}


.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.language-switcher {
    position: relative;
}

.language-current {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: var(--spacing-xs); */
    cursor: pointer;
    /* padding: var(--spacing-sm) var(--spacing-md); */
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    min-width: 60px;
}

.language-current:hover {
    background: #6c757d;
}

.language-code {
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.language-arrow {
    font-size: 0.8rem;
    color: white;
    transition: var(--transition-fast);
}

.language-current:hover .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-option:hover {
    background: var(--color-light);
}

.language-option:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.language-option:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.language-option .language-code {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 25px;
}

.language-name {
    font-size: 0.9rem;
    color: var(--color-text);
}

.cta-button {
    background: linear-gradient(135deg, var(--color-primary), #34495e);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-normal);
    font-size: 14px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #34495e, var(--color-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


.features-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.features-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.features-subtitle {
    font-size: 18px;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
}


.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-danger);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.feature-icon img {
    width: 300px;
    height: auto;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

/* Feature Icons */
.icon-laptop {
    position: relative;
    width: 80px;
    height: 60px;
}

.laptop-screen {
    width: 60px;
    height: 40px;
    background: #e74c3c;
    border-radius: 4px;
    position: relative;
    margin: 0 auto;
}

.loading-bar {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.loading-progress {
    height: 100%;
    width: 85%;
    background: #fff;
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

.speedometer {
    position: absolute;
    right: 0;
    top: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    background: #fff;
}

.speed-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 8px;
    background: #e74c3c;
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(45deg);
    animation: speedometer 3s ease-in-out infinite;
}

@keyframes loading {
    0%, 100% { width: 0%; }
    50% { width: 85%; }
}

@keyframes speedometer {
    0%, 100% { transform: translate(-50%, -100%) rotate(0deg); }
    50% { transform: translate(-50%, -100%) rotate(45deg); }
}

.icon-security {
    position: relative;
    width: 80px;
    height: 60px;
}

.security-shield {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.shield-icon {
    color: #fff;
    font-size: 20px;
}

.icon-analytics {
    position: relative;
    width: 80px;
    height: 60px;
}

.pie-chart {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
}

.chart-1 { top: 10px; left: 10px; }
.chart-2 { top: 20px; left: 30px; }
.chart-3 { top: 30px; left: 20px; }

.chart-slice {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    clip-path: polygon(50% 50%, 0% 0%, 100% 0%);
}

.slice-2 {
    clip-path: polygon(50% 50%, 0% 0%, 0% 100%);
    background: #e74c3c;
}

.percentage-symbols {
    position: absolute;
    top: 5px;
    right: 5px;
}

.percent {
    display: block;
    font-size: 8px;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 2px;
}

/* Comparison Section */
.comparison-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.comparison-card {
    padding: 30px;
    border-radius: 12px;
    border: 2px solid;
    position: relative;
}

.comparison-bad {
    border-color: #FC3441;
    background: #fef9f9;
}

.comparison-good {
    border-color: var(--color-primary);
    background: #f8fcff;
}

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

.comparison-icon svg {
    width: 24px;
    height: 24px;
}

.comparison-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-bad .comparison-title {
    color: #FC3441;
}

.comparison-good .comparison-title {
    color: var(--color-primary);
}

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

.comparison-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bullet-icon {
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.comparison-bad .bullet-icon {
    color: #FC3441;
}

.comparison-good .bullet-icon {
    color: #173F5F;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-bad .comparison-list li {
    color: #666;
}

.comparison-good .comparison-list li {
    color: #173F5F;
}

/* Hero Section */
.hero {
    background: #fff;
    padding: 60px 0 80px;
    height: 670px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.hero-left {
    padding-right: 40px;
}

.hero-icon {
    margin-bottom: 20px;
}

.hero-icon svg {
    width: 36px;
    height: 36px;
}


.hero-tag {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--color-primary);
}

.title-line {
    display: block;
    margin-bottom: 8px;
}

.title-line:last-child {
    margin-bottom: 0;
}

.hero-highlight {
    color: #e74c3c;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e74c3c;
    border-radius: 2px;
}

.hero-description {
    position: relative;
    margin-bottom: 40px;
}

.description-line {
    position: absolute;
    left: -20px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #3498db;
    border-radius: 2px;
}

.hero-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding-left: 20px;
}

.description-icon {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.description-icon svg {
    width: 36px;
    height: 36px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Hero Right - Illustration */
.hero-right {
    position: relative;
    height: 500px;
}

.hero-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-illustration img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Character */
.character {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.character-head {
    width: 60px;
    height: 60px;
    background: #8B4513;
    border-radius: 50%;
    position: relative;
    margin-bottom: 10px;
}

.character-head::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 20px 0 0 #fff;
}

.character-body {
    width: 80px;
    height: 100px;
    background: #e74c3c;
    border-radius: 8px;
    position: relative;
}

.character-body::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 60px;
    background: #fff;
    border-radius: 4px;
}

/* Laptop */
.laptop {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: #C0C0C0;
    border-radius: 8px;
    z-index: 5;
}

.laptop-screen {
    width: 100px;
    height: 60px;
    background: #000;
    border-radius: 4px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

.code-lines {
    padding: 8px;
}

.code-line {
    height: 2px;
    background: #00ff00;
    margin-bottom: 4px;
    border-radius: 1px;
}

.code-line:nth-child(1) { width: 60%; }
.code-line:nth-child(2) { width: 80%; }
.code-line:nth-child(3) { width: 40%; }

/* Coffee Cup */
.coffee-cup {
    position: absolute;
    bottom: 140px;
    left: 30%;
    width: 20px;
    height: 30px;
    background: #8B4513;
    border-radius: 0 0 10px 10px;
    z-index: 6;
}

.coffee-cup::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -8px;
    width: 6px;
    height: 8px;
    background: #fff;
    border-radius: 0 3px 3px 0;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.code-window {
    position: absolute;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px;
    min-width: 80px;
}

.window-1 {
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.window-2 {
    top: 40%;
    right: 20%;
    animation: float 3s ease-in-out infinite 1.5s;
}

.window-content {
    font-size: 10px;
    color: #333;
    line-height: 1.2;
}

.code-text {
    margin-bottom: 2px;
}

.gear {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #666;
    border-radius: 50%;
    animation: rotate 4s linear infinite;
}

.gear-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.gear-2 {
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.file-icon {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #e74c3c;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
    animation: float 2s ease-in-out infinite;
}

.js-file {
    top: 15%;
    left: 15%;
    animation-delay: 0.5s;
}

.css-file {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
    flex-direction: column;
}

.html-file {
    top: 50%;
    left: 5%;
    animation-delay: 1.5s;
}

/* Whiteboard */
.whiteboard {
    position: absolute;
    top: 20%;
    left: 0;
    width: 80px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 4px;
    z-index: 2;
}

.board-pin {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e74c3c;
    border-radius: 50%;
}

.pin-1 {
    top: 8px;
    left: 15px;
}

.pin-2 {
    top: 12px;
    right: 20px;
}

.board-paper {
    position: absolute;
    background: #fff;
    border-radius: 2px;
}

.paper-1 {
    top: 20px;
    left: 10px;
    width: 25px;
    height: 15px;
    transform: rotate(-5deg);
}

.paper-2 {
    top: 25px;
    right: 15px;
    width: 20px;
    height: 12px;
    transform: rotate(3deg);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-primary {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #173F5F, #34495e);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #34495e, #173F5F);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

/* Section Styles */
.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-accent);
    position: relative;
    padding-left: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
}

.section-subtitle {
    /* text-align: center; */
    font-size: 18px;
    color: #666;
    /* max-width: 800px; */
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* Features Section */
.features {
    background: var(--color-bg);
    padding: 80px 0;
}




    transition: transform 0.3s ease;
}


.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #173F5F;
}

.feature-description {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

/* Comparison Section */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
}

.comparison-card {
    padding: 30px;
    border-radius: 12px;
    border: 2px solid;
    transition: all 0.3s ease;
}

.comparison-bad {
    border-color: #FC3441;
    background: #fef9f9;
}

.comparison-good {
    border-color: #173F5F;
    background: #f8fcff;
}

.comparison-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}


.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    line-height: 1.5;
}



/* Benefits Section */
.benefits {
    background: var(--color-bg);
    padding: 40px 100px;
    margin: 0 auto;
}

/* FAQ Section */
.faq {
    background: #F7F9FC;
    padding: 60px 0;
}

.faq-header {
    margin-bottom: 24px;
}

.faq-title {
    font-size: 28px;
    font-weight: 800;
    color: #173F5F;
    position: relative;
    padding-left: 16px;
}

.faq-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #173F5F;
    border-radius: 2px;
}

.faq-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(23, 63, 95, 0.08);
    box-shadow: 0 12px 32px rgba(23, 63, 95, 0.08);
    padding: 22px 28px;
    margin-bottom: 24px;
}

.faq-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.faq-row.answer {
    margin-top: 12px;
}

.faq-label {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.faq-label.q {
    color: #173F5F;
    border: 3px solid #173F5F;
}

.faq-label.a {
    color: #5B7D99;
    border: 3px solid #A8C0D4;
}

.faq-question {
    font-size: 24px;
    font-weight: 700;
    color: #173F5F;
}

.faq-answer {
    font-size: 16px;
    color: #4a5b6b;
}
.benefits .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.benefits-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px;
    align-items: center;
    max-width: 100%;
    height: 100%;
}

.benefits-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.benefits-right {
    padding-left: 0;
}

.benefits-title {
    font-size: 28px;
    font-weight: 800;
    color: #173F5F;
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
    padding-left: 20px;
}

.benefits-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #173F5F;
    border-radius: 2px;
}

.benefits-list {
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
}

.benefit-icon {
    width: 26px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text {
    font-size: 16px;
    color: #173F5F;
    line-height: 1.6;
    font-weight: 500;
}

.benefits-note {
    margin-top: 20px;
}

.benefits-note em {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Demo Section */
.demo {
    padding: 80px 0;
    background: white;
}

.demo-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.view-all-demos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #173F5F;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.view-all-demos:hover {
    background: #0f2c44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 63, 95, 0.3);
    color: white;
    text-decoration: none;
}

.view-all-demos i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.view-all-demos:hover i {
    transform: translateX(3px);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.demo-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.demo-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    transition: transform 0.3s ease;
}

.demo-card:hover .demo-icon {
    transform: scale(1.1);
}

.demo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #173F5F;
}

.demo-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

.demo-button {
    background: #173F5F;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

.demo-button:hover {
    background: #0f2c44;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 63, 95, 0.3);
}

/* Results Section */
.results {
    background: linear-gradient(135deg, #173F5F, #34495e);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23fff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.results .container {
    position: relative;
    z-index: 2;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.result-card {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.result-number {
    font-size: 48px;
    font-weight: 800;
    /* color: #e74c3c; */
    color : #ffaea6;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.result-text {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

.case-study {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}


.case-study-result {
    margin-bottom: 15px;
}

.case-study-text {
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-left: 10px;
}

.case-study p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #e74c3c;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.2);
}

.pricing-card.featured::before {
    content: 'Phổ biến';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #173F5F;
}

.pricing-duration {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    color: #666;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

.pricing-button {
    width: 100%;
    background: linear-gradient(135deg, #173F5F, #34495e);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: linear-gradient(135deg, #34495e, #173F5F);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* Process Section */
.process {
    padding: 80px 0;
    background: white;
}

.process-steps {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    overflow-x: auto;
    padding: 20px 0;
}

.process-step {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    min-width: 200px;
    flex: 1;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #173F5F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 2px 8px rgba(23, 63, 95, 0.3);
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.step-duration {
    color: #666;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
}

.step-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Audit Section */
.audit {
    background: #f8f9fa;
    padding: 80px 0;
}

.audit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.audit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height:220px;
}

.audit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.audit-title {
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #173F5F;
}

.audit-description {
    color: #666;
    line-height: 1.6;
}

.audit-button {
    background: linear-gradient(135deg, #173F5F, #34495e);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0;
}

.audit-button:hover {
    background: linear-gradient(135deg, #34495e, #173F5F);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #173F5F;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 20px;
    color: #666;
    display: none;
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* Overrides for new FAQ cards layout */
.faq-card .faq-answer {
    display: block;
    padding: 0;
}
.faq-card .faq-label {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    display: inline-block;
    font-size: 28px;
    line-height: 1;
    margin-right: 10px;
}
.faq-card .faq-label.q { color: #173F5F; }
.faq-card .faq-label.a { color: #9CB1C3; }
.faq-card .faq-question {
    background: transparent;
    padding: 0;
    position: static;
}
.faq-card .faq-question::after {
    content: none;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #173F5F, #34495e);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23fff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-dots)"/></svg>');
}

.contact .container {
    position: relative;
    z-index: 2;
}

/* Center title in Contact section */
.contact .section-title {
    text-align: center;
    padding-left: 0;
}
.contact .section-title::before {
    display: none;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.contact-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.contact-note {
    text-align: center;
    margin-top: 20px;
    opacity: 0.8;
    font-size: 14px;
}

/* Footer */
.footer {
    background: #34495e;
    color: white;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.footer-section i {
    color: #e74c3c;
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* Case Studies Styles */
.case-studies {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.case-studies .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-studies-header {
    text-align: center;
    margin-bottom: 60px;
}

.case-studies-title {
    font-size: 3rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.case-studies-subtitle {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #e74c3c;
    margin: 0 auto;
    border-radius: 2px;
}

.case-studies-filters {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 30px;
    max-width: 900px;
}

.filters-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-group {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: #e74c3c;
}

.filter-group {
    flex: 0 0 auto;
    min-width: 140px;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #e74c3c;
}

.search-button {
    background: #e74c3c;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    min-width: 100px;
}

.search-button:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.clear-filters {
    background: #6c757d;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    align-items: start;
    padding: 0;
}

.case-study-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 20px;
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-study-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #173F5F 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.case-study-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.industry-badge {
    background: #e74c3c;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    position: static;
    z-index: 2;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    position: static;
    z-index: 2;
}

.status-badge.status-completed {
    background: #28a745;
    color: white;
}

.status-badge.status-ongoing {
    background: #ffc107;
    color: #212529;
}

.case-study-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
}

.case-study-title {
    font-size: 1.2rem;
    font-weight: 700;
    /* color: #173F5F; */
    margin-bottom: 0;
    line-height: 1.3;
}

.case-study-title-link {
    color: #173F5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-study-title-link:hover {
    color: #0f2c44;
    text-decoration: none;
}

.case-study-client {
    color: #6c757d;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.case-study-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.case-study-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
}

/* Responsive overrides */
@media (max-width: 768px) {
    .case-study-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

@media (max-width: 480px) {
    .case-study-meta {
        align-items: flex-start !important;
    }
}

.case-study-duration,
.case-study-results {
    /* display: flex; */
    /* align-items: center; */
    gap: 4px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.case-study-results {
    font-weight: bold;
}

.case-study-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #173F5F;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
    width: fit-content;
}

.case-study-link:hover {
    background: #0f2c44;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.no-case-studies {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-case-studies i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dee2e6;
}

.case-studies-footer {
    text-align: center;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #173F5F;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #173F5F;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: #173F5F;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Case Studies Responsive */
@media (max-width: 768px) {
    .case-studies {
        padding-top: 150px; /* Increase padding to avoid header overlap */
    }
    
    .case-studies-title {
        font-size: 2.5rem;
    }
    
    .filters-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 10px;
    }
    
    .case-study-card {
        margin: 0;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .case-studies {
        padding: 100px 0 40px; /* Reduce top padding to decrease gap between header and title */
    }
    
    .case-studies-title {
        font-size: 2rem;
    }
    
    .case-studies-filters {
        padding: 20px;
    }
    
    .case-study-content {
        padding: 20px;
    }
}

/* Case Study Detail Styles */
.case-study-detail {
    padding: 100px 0 80px; /* Add top padding to avoid header overlap */
    background: #f8f9fa;
    min-height: 100vh;
}

.case-study-detail .case-study-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Responsive: Single column layout */
@media (max-width: 768px) {
    .case-study-detail .case-study-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.case-study-main {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.case-study-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb a {
    color: #173F5F;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

.case-study-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}



.case-study-client {
    font-size: 1.1rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.case-study-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-study-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}


.case-study-main {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.case-study-main h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #173F5F;
}

.case-study-main .content {
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 40px;
}

.case-study-main .content p {
    margin-bottom: 15px;
}

.case-study-gallery {
    margin-top: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.case-study-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-card p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #6c757d;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #173F5F;
}

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

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.info-item i {
    color: #173F5F;
    width: 20px;
}

.info-item .label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.info-item .value {
    color: #6c757d;
}

.results-content {
    line-height: 1.6;
    color: #6c757d;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #173F5F;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}


.case-study-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-button.back {
    background: #6c757d;
    color: white;
}

.nav-button.back:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

.nav-button.home {
    background: #173F5F;
    color: white;
}

.nav-button.home:hover {
    background: #0f2c44;
    color: white;
    text-decoration: none;
}

/* Case Study Detail Responsive */
@media (max-width: 768px) {
    
    .case-study-main {
        padding: 20px;
    }
    
    .case-study-title {
        font-size: 2rem;
    }
    
    .case-study-featured-image img {
        height: 250px;
    }
    
    .case-study-navigation {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .case-study-detail {
        padding: 20px 0 40px;
    }
    
    .case-study-header {
        padding: 20px;
    }
    
    .case-study-title {
        font-size: 1.8rem;
    }
    
    .case-study-main {
        padding: 15px;
    }
    
    .sidebar-card {
        padding: 15px;
    }
}

/* Other Projects Section */
.other-projects {
    margin-top: 60px;
    padding: 40px 0;
}

.other-projects h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.other-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.other-project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.other-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.other-project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.other-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.other-project-card:hover .other-project-image img {
    transform: scale(1.05);
}

.other-project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.other-project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.other-project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.other-project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #173F5F;
    margin-bottom: 10px;
    line-height: 1.3;
}


.other-project-client {
    color: #6c757d;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    margin-bottom: 10px;
}

.other-project-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 13px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}

.other-project-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
}

.other-project-duration,
.other-project-results {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    font-size: 11px;
    font-weight: 500;
}

.other-projects-footer {
    text-align: center;
}

.view-more-projects {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #173F5F;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(23, 63, 95, 0.2);
}

.view-more-projects:hover {
    background: #0f2c44;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 63, 95, 0.3);
}
