:root {
    --primary: #0855D1;
    --primary-light: #2A75F4;
    --primary-dark: #0540A0;
    --secondary: #00CFDD;
    --dark: #0A0E1A;
    --dark-blue: #151D35;
    --gray: #8892A8;
    --light: #F8FAFF;
    --gradient-primary: linear-gradient(135deg, var(--primary), #4C6FFF);
    --gradient-secondary: linear-gradient(135deg, var(--secondary), #7AF7D5);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Fix for blank space above header */
canvas#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    margin: 0;
    padding: 0;
}

/* Animation Keyframes */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(-5deg); }
    100% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(0, 207, 221, 0); }
    100% { text-shadow: 0 0 10px rgba(0, 207, 221, 0.5); }
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    margin: 0;
}

.header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-symbol {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light);
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}

.logo-symbol::before {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    left: -0.45rem;
    top: -0.45rem;
    opacity: 0.8;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    margin-left: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 2rem;
}

.nav-links li {
    margin: 0 1.2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

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

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(8, 85, 209, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(8, 85, 209, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(8, 85, 209, 0.2), transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 207, 221, 0.1), transparent 60%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: rgba(8, 85, 209, 0.15);
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.secondary-button {
    background: transparent;
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.secondary-button svg {
    margin-left: 0.5rem;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
    z-index: 1;
}

/* Enhanced Code Editor Styles - Modern, compact and better color matching */
.code-editor {
    width: 100%;
    height: 340px; /* Reduced height */
    background-color: var(--dark-blue); /* Match the site's dark-blue variable */
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(8, 85, 209, 0.1),
                0 0 20px rgba(0, 207, 221, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(76, 111, 255, 0.08);
}

.code-editor:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 
                0 0 0 1px rgba(8, 85, 209, 0.15),
                0 0 25px rgba(0, 207, 221, 0.12);
}

.editor-header {
    background-color: rgba(10, 14, 26, 0.7); /* Darker than body for contrast */
    display: flex;
    padding: 8px 12px;
    align-items: center;
    border-bottom: 1px solid rgba(76, 111, 255, 0.08);
}

.editor-controls {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.control {
    width: 10px; /* Smaller controls */
    height: 10px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.control:hover {
    transform: scale(1.1);
}

.control-red {
    background-color: #FF5F56;
}

.control-yellow {
    background-color: #FFBD2E;
}

.control-green {
    background-color: #27C93F;
}

.editor-title {
    flex-grow: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.5px;
}

.editor-body {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    background-color: var(--dark-blue); /* Match site theme */
    padding: 12px 0;
    position: relative;
}

.editor-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(8, 85, 209, 0.03), transparent 70%),
        radial-gradient(circle at bottom left, rgba(0, 207, 221, 0.03), transparent 70%);
    pointer-events: none;
}

.line-numbers {
    width: 35px; /* Smaller width */
    text-align: right;
    padding-right: 8px;
    user-select: none;
    border-right: 1px solid rgba(76, 111, 255, 0.08);
}

.line-number {
    color: rgba(136, 146, 168, 0.6); /* Using site's gray color with lower opacity */
    font-size: 11px; /* Smaller font */
    line-height: 1.6;
    padding: 2px 0;
}

.code-content {
    flex-grow: 1;
    padding-left: 12px;
    overflow: hidden;
}

.code-line {
    color: #D4D4D4;
    font-size: 11px; /* Smaller font */
    line-height: 1.6;
    padding: 2px 0;
    white-space: pre;
}

/* Enhanced syntax highlighting to match site colors */
.keyword {
    color: var(--primary-light); /* Using site's primary-light */
}

.string {
    color: var(--secondary); /* Using site's secondary color */
}

.number {
    color: #B5CEA8;
}

.method {
    color: #DCDCAA;
}

.comment {
    color: var(--gray); /* Using site's gray color */
}

/* Blinking cursor */
.code-cursor {
    display: inline-block;
    width: 2px;
    height: 14px; /* Smaller cursor */
    background-color: var(--secondary);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

/* Add subtle glow to the editor */
@keyframes subtle-glow {
    0% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(8, 85, 209, 0.1), 0 0 20px rgba(0, 207, 221, 0.08); }
    50% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(8, 85, 209, 0.12), 0 0 25px rgba(0, 207, 221, 0.12); }
    100% { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(8, 85, 209, 0.1), 0 0 20px rgba(0, 207, 221, 0.08); }
}

.code-editor {
    animation: subtle-glow 4s infinite ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .code-editor {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .code-editor {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .code-editor {
        height: 220px;
    }
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background-color: var(--secondary);
    margin-left: 5px;
    vertical-align: text-bottom;
    animation: blink 1s infinite;
}

/* Services Section */
.services {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(0, 207, 221, 0.1), transparent 70%);
    z-index: -1;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-description {
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(21, 29, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(8, 85, 209, 0.3);
}

.service-card::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: -30px;
    right: -30px;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.service-card:hover::after {
    transform: scale(2.5);
    opacity: 0.05;
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    color: var(--secondary);
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(8, 85, 209, 0.15);
    border-radius: 8px;
    transform: rotate(45deg);
    top: -8px;
    left: -8px;
    z-index: -1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.learn-more svg {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: var(--primary-light);
}

.learn-more:hover svg {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle at left, rgba(8, 85, 209, 0.1), transparent 70%);
    z-index: -1;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-image-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    height: 60%;
    background: var(--gradient-secondary);
    opacity: 0.1;
    border-radius: 10px;
    z-index: -1;
}

.about-content {
    max-width: 500px;
}

.about-text {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.feature-icon {
    margin-right: 1rem;
    min-width: 24px;
    height: 24px;
    background: rgba(8, 85, 209, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.feature-text {
    font-weight: 500;
}

/* Careers Section with list format */
.careers {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--dark);
}

.careers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 85, 209, 0.05), rgba(0, 207, 221, 0.05));
    z-index: 0;
}

.careers .container {
    position: relative;
    z-index: 1;
}

.careers-list {
    margin-top: 3.5rem;
}

.career-item {
    background: rgba(21, 29, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.career-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(8, 85, 209, 0.3);
}

.career-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.career-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.career-badge {
    background: rgba(0, 207, 221, 0.15);
    color: var(--secondary);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.career-info {
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.career-meta {
    flex: 0 0 200px;
}

.career-location, .career-department {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.career-location i, .career-department i {
    color: var(--secondary);
    margin-right: 0.5rem;
    width: 16px;
    text-align: center;
}

.career-content {
    flex: 1;
    min-width: 300px;
}

.career-description {
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.career-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(8, 85, 209, 0.15);
    color: var(--light);
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}

.career-action {
    flex: 0 0 150px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.career-apply-btn {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.career-apply-btn:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.careers-cta {
    margin-top: 4rem;
    background: rgba(21, 29, 53, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.careers-cta-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.careers-cta-content p {
    color: var(--gray);
    max-width: 500px;
}

/* Careers Background */
.careers-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.07;
    z-index: 0;
}

.algorithm-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(0, 207, 221, 0.4) 98.5%),
        linear-gradient(180deg, transparent 98%, rgba(0, 207, 221, 0.4) 98.5%);
    background-size: 50px 50px;
    z-index: 1;
}

.binary-pattern {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    opacity: 0.1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(8, 85, 209, 0.4) 0%, transparent 15%),
        radial-gradient(circle at 80% 70%, rgba(0, 207, 221, 0.4) 0%, transparent 15%);
}

.algorithm-nodes {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.node {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--primary-light);
    border-radius: 50%;
}

.node-1 { top: 20%; left: 30%; }
.node-2 { top: 35%; left: 20%; }
.node-3 { top: 30%; left: 40%; }
.node-4 { top: 25%; left: 50%; }
.node-5 { top: 50%; left: 70%; }
.node-6 { top: 60%; left: 35%; }
.node-7 { top: 70%; left: 25%; }
.node-8 { top: 65%; left: 60%; }
.node-9 { top: 40%; left: 80%; }
.node-10 { top: 75%; left: 75%; }

.connection {
    position: absolute;
    height: 1px;
    background-color: rgba(8, 85, 209, 0.3);
    transform-origin: 0 0;
}

.code-snippets {
    position: absolute;
    z-index: 2;
    font-family: monospace;
    color: var(--primary);
}

.code-snippet-1 {
    top: 10%;
    left: 5%;
    transform: rotate(-5deg);
    font-size: 14px;
}

.code-snippet-2 {
    bottom: 15%;
    right: 8%;
    transform: rotate(3deg);
    font-size: 16px;
}

.code-snippet-3 {
    top: 40%;
    right: 15%;
    transform: rotate(-2deg);
    font-size: 12px;
}

.math-formulas {
    position: absolute;
    z-index: 2;
    font-family: 'Times New Roman', serif;
    color: var(--secondary);
}

.math-formula-1 {
    top: 20%;
    right: 10%;
    transform: rotate(2deg);
    font-size: 18px;
}

.math-formula-2 {
    bottom: 30%;
    left: 7%;
    transform: rotate(-3deg);
    font-size: 20px;
}

.math-formula-3 {
    top: 65%;
    left: 25%;
    transform: rotate(4deg);
    font-size: 16px;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: radial-gradient(circle at left, rgba(8, 85, 209, 0.1), transparent 70%);
    z-index: -1;
}

.testimonial-cards {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: rgba(21, 29, 53, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(8, 85, 209, 0.3);
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: rgba(8, 85, 209, 0.1);
}

.testimonial-text {
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: var(--gray);
}

/* CTA Section (continued) */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(rgba(21, 29, 53, 0.9), rgba(21, 29, 53, 0.9)), url('/api/placeholder/1920/400') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 2rem 8rem;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 0;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    position: relative;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--dark-blue);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.8rem;
}

.footer-link a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-link a svg {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-link a:hover {
    color: var(--secondary);
}

.footer-link a:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-icon {
    color: var(--secondary);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-text {
    color: var(--gray);
}

.contact-text p {
    margin-bottom: 0.2rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-text a, 
.contact-text span,
.contact-text address {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-style: normal;
}

.contact-text a:hover {
    color: var(--secondary);
}

/* Newsletter Styles */
.footer-newsletter {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.newsletter-text {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-bottom: 1rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px 0 0 4px;
    padding: 0.75rem 1rem;
    color: var(--light);
    font-family: var(--font-primary);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.newsletter-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-button:hover {
    background: var(--primary-dark);
}

.newsletter-privacy {
    color: var(--gray);
    font-size: 0.8rem;
    line-height: 1.5;
}

.newsletter-privacy a {
    color: var(--secondary);
    text-decoration: none;
}

.newsletter-privacy a:hover {
    text-decoration: underline;
}

/* Certifications Section */
.footer-certifications {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.cert-title {
    text-align: center;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 1.5rem;
}

.cert-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.cert-logo {
    display: flex;
    align-items: center;
    color: var(--gray);
}

.cert-logo i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary);
}

.cert-logo span {
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--secondary);
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .hero-visual {
        width: 45%;
        right: 0;
    }
    
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-info {
        grid-column: span 3;
        margin-bottom: 2rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        order: -1;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        height: 350px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-info {
        grid-column: span 2;
    }
    
    .footer-newsletter {
        max-width: 100%;
    }
    
    .career-info {
        flex-direction: column;
    }
    
    .career-meta {
        flex: 0 0 100%;
        display: flex;
        gap: 1.5rem;
    }
    
    .career-action {
        flex: 0 0 100%;
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .career-meta {
        flex-direction: column;
    }
    
    .careers-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .careers-cta-content {
        margin-bottom: 1rem;
    }
    
    .code-editor {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 8rem 0 4rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta {
        margin: 0 1rem 5rem;
        padding: 3rem 1rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .footer-info {
        grid-column: span 1;
    }
    
    .code-editor {
        height: 250px;
    }
}


/* ===== ENHANCED MENU CSS ===== */
/* Được điều chỉnh để tương thích với CSS hiện tại */

/* Duy trì CSS chính cho .nav-links, thêm các tính năng mới */
.nav-links {
    display: flex;
    list-style: none;
    margin-right: 2rem;
}

/* Nav Item Styling */
.nav-item {
    position: relative;
    margin: 0 1.2rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    position: relative;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 0.7rem 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary);
}

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

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active::after {
    width: 100%;
}

/* Right aligned menu actions */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle & Search Buttons */
.theme-toggle,
.search-toggle,
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover,
.search-toggle:hover {
    color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Dropdown Menu Styling */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: rgba(21, 29, 53, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2rem;
    width: 12px;
    height: 12px;
    background: rgba(21, 29, 53, 0.95);
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    z-index: -1;
}

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

.dropdown-list li a {
    display: flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.dropdown-list li a i {
    margin-right: 0.8rem;
    font-size: 1rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.dropdown-list li a:hover {
    background: rgba(8, 85, 209, 0.1);
    color: var(--secondary);
    padding-left: 2rem;
}

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

/* Mega Menu Styling */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 800px;
    background: rgba(21, 29, 53, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(21, 29, 53, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    z-index: -1;
}

.mega-menu-container {
    width: 100%;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
}

.mega-menu-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--light);
    position: relative;
    padding-bottom: 0.7rem;
}

.mega-menu-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

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

.mega-menu-list li {
    margin-bottom: 0.8rem;
}

.mega-menu-list li a {
    display: flex;
    align-items: center;
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mega-menu-list li a i {
    margin-right: 0.8rem;
    font-size: 1rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.mega-menu-list li a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.nav-item:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Featured Service in Mega Menu */
.mega-menu-featured {
    background: linear-gradient(135deg, rgba(8, 85, 209, 0.2), rgba(0, 207, 221, 0.2));
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.mega-menu-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(8, 85, 209, 0.3), transparent 70%),
        radial-gradient(circle at bottom left, rgba(0, 207, 221, 0.3), transparent 70%);
    z-index: -1;
}

.featured-service {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-service-badge {
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.featured-service h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--light);
}

.featured-service p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.featured-service-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-end;
}

.featured-service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.featured-service-link:hover {
    color: var(--primary-light);
}

.featured-service-link:hover i {
    transform: translateX(5px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    margin-bottom: 2rem;
}

.search-form {
    width: 100%;
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    font-size: 1.2rem;
    color: var(--light);
    font-family: var(--font-primary);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(8, 85, 209, 0.1);
}

.search-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-close {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.search-quick-links {
    text-align: center;
}

.search-quick-links h3 {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-links a {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: rgba(0, 207, 221, 0.15);
    color: var(--secondary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    margin-left: 1rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.toggle-bar {
    width: 100%;
    height: 2px;
    background-color: var(--light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background: var(--dark-blue);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-container {
    padding: 5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--light);
    text-decoration: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link i {
    transition: transform 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

.mobile-has-submenu.active .mobile-nav-link {
    background: rgba(8, 85, 209, 0.1);
    color: var(--secondary);
}

.mobile-has-submenu.active .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0.5rem 0 0.5rem 1rem;
    margin: 0;
    display: none;
}

.mobile-has-submenu.active .mobile-submenu {
    display: block;
}

.mobile-submenu li {
    margin-bottom: 0.2rem;
}

.mobile-submenu li a {
    display: flex;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-submenu li a i {
    margin-right: 0.8rem;
    font-size: 1rem;
    color: var(--secondary);
    width: 20px;
    text-align: center;
}

.mobile-submenu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

.cta-mobile {
    background: var(--gradient-primary);
    justify-content: center;
    margin-top: 1rem;
}

.cta-mobile:hover {
    background: var(--gradient-primary);
    opacity: 0.9;
    color: var(--light);
}

.mobile-menu-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-menu-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray);
    transition: all 0.3s ease;
}

.mobile-menu-socials a:hover {
    background: var(--gradient-primary);
    color: var(--light);
    transform: translateY(-3px);
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
}

.mobile-menu-contact a,
.mobile-menu-contact address {
    color: var(--gray);
    text-decoration: none;
    font-style: normal;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-contact i {
    margin-right: 0.5rem;
    color: var(--secondary);
}

.mobile-menu-contact a:hover {
    color: var(--secondary);
}

/* Mobile Menu Backdrop */
.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-animation {
    animation: fadeIn 0.3s ease forwards;
}

/* Menu State Management */
.menu-open {
    overflow: hidden;
}

/* Responsive Adjustments for Menu */
@media (max-width: 1200px) {
    .mega-menu {
        width: 700px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .theme-toggle, .search-toggle {
        font-size: 1.1rem;
    }
    
    .header .cta-button {
        display: none;
    }
    
    .nav-right {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }
    
    .search-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .mobile-menu {
        width: 100%;
        max-width: none;
    }
}

/* CSS mới cho nút CTA "Get Started" không dùng màu xanh */

/* Button cơ bản với thiết kế được cập nhật */
.cta-button {
    background: linear-gradient(135deg, #2D3748, #1A202C);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #3D4B61, #2D3748);
}

/* Button được cải tiến */
.cta-button.enhanced {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.85rem 1.8rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2D3748, #1A202C);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.cta-button.enhanced i {
    margin-left: 0.8rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cta-button.enhanced:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #3D4B61, #2D3748);
}

.cta-button.enhanced:hover i {
    transform: translateX(3px);
}

.cta-button.enhanced::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.7s ease;
    z-index: -1;
}

.cta-button.enhanced:hover::before {
    left: 100%;
}

/* Phiên bản mobile của button CTA */
.cta-mobile {
    background: linear-gradient(135deg, #2D3748, #1A202C);
    justify-content: center;
    margin-top: 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-mobile i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.cta-mobile:hover {
    background: linear-gradient(135deg, #3D4B61, #2D3748);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-mobile:hover i {
    transform: translateX(3px);
}

/* Phiên bản khác với màu gradient tối */
.cta-button.dark-gradient {
    background: linear-gradient(135deg, #313D4F, #1F2937);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-button.dark-gradient:hover {
    background: linear-gradient(135deg, #3D4B61, #2D3748);
}

/* Media Queries cho button */
@media (max-width: 768px) {
    .cta-button.enhanced {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .cta-button.enhanced {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Enhanced CTA Section with Background and Animations */
.cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 2rem 8rem;
    background: var(--dark-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(76, 111, 255, 0.08);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Hover effect on the entire CTA section */
.cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Background elements */
.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(8, 85, 209, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 207, 221, 0.15) 0%, transparent 40%);
    z-index: 0;
}

/* Floating geometric shapes in background */
.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

.cta-shape-1 {
    top: -30px;
    left: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    animation: float 8s ease-in-out infinite alternate, rotate 20s linear infinite;
}

.cta-shape-2 {
    bottom: -20px;
    right: 15%;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite alternate-reverse, pulse 5s ease-in-out infinite;
}

.cta-shape-3 {
    top: 70%;
    left: 20%;
    width: 40px;
    height: 40px;
    background: var(--primary);
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite alternate-reverse;
}

.cta-shape-4 {
    top: 20%;
    right: 10%;
    width: 70px;
    height: 70px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    animation: float 9s ease-in-out infinite alternate, pulse 6s ease-in-out infinite;
}

.cta-shape-5 {
    bottom: 30%;
    left: 5%;
    width: 50px;
    height: 50px;
    border: 2px dashed var(--primary-light);
    border-radius: 8px;
    animation: float 10s ease-in-out infinite alternate, rotate 15s linear infinite reverse;
}

.cta-shape-6 {
    top: 40%;
    right: 5%;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.2;
    animation: float 12s ease-in-out infinite alternate-reverse;
}

/* Floating code lines in background */
.cta-code {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    opacity: 0.07;
    color: var(--light);
    z-index: -1;
}

.cta-code-1 {
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
    animation: float 8s ease-in-out infinite;
}

.cta-code-2 {
    bottom: 15%;
    right: 5%;
    transform: rotate(10deg);
    animation: float 7s ease-in-out infinite alternate;
}

/* Enhanced container with blur effect */
.cta-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(21, 29, 53, 0.5);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 1s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Enhance title with gradient text */
.cta-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s infinite alternate;
}

.cta-text {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Enhanced CTA button with animation */
.cta .cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(8, 85, 209, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta .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 0.7s ease;
}

.cta .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8, 85, 209, 0.4);
}

.cta .cta-button:hover:before {
    left: 100%;
}

/* Add floating particles */
.cta-particle {
    position: absolute;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0); }
    100% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media queries */
@media (max-width: 768px) {
    .cta {
        margin: 0 1rem 5rem;
        padding: 4rem 1rem;
    }
    
    .cta-container {
        padding: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-container {
        padding: 1.5rem;
    }
    
    .cta-shape-1, .cta-shape-4 {
        display: none;
    }
}



/* Enhanced Hero Section with animated background elements */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    overflow: hidden;
    margin-top: 0;
}

/* Background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at top right, rgba(8, 85, 209, 0.2), transparent 60%),
        radial-gradient(circle at bottom left, rgba(0, 207, 221, 0.1), transparent 60%);
    z-index: -1;
}

/* Hero background container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Floating geometric shapes */
.hero-shape {
    position: absolute;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}

.hero-shape-1 {
    top: 15%;
    left: 5%;
    width: 120px;
    height: 120px;
    border: 2px solid var(--primary);
    border-radius: 15px;
    animation: hero-float 18s ease-in-out infinite alternate, hero-rotate 45s linear infinite;
}

.hero-shape-2 {
    bottom: 20%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.05;
    animation: hero-float 15s ease-in-out infinite alternate-reverse, hero-pulse 10s ease-in-out infinite;
}

.hero-shape-3 {
    top: 65%;
    left: 25%;
    width: 60px;
    height: 60px;
    background: var(--primary);
    transform: rotate(45deg);
    opacity: 0.05;
    animation: hero-float 20s ease-in-out infinite alternate-reverse, hero-rotate-reverse 30s linear infinite;
}

.hero-shape-4 {
    top: 10%;
    right: 30%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    opacity: 0.05;
    animation: hero-float 22s ease-in-out infinite alternate, hero-pulse 12s ease-in-out infinite;
}

.hero-shape-5 {
    bottom: 35%;
    left: 10%;
    width: 70px;
    height: 70px;
    border: 2px dashed var(--primary-light);
    border-radius: 8px;
    opacity: 0.04;
    animation: hero-float 19s ease-in-out infinite alternate, hero-rotate 35s linear infinite reverse;
}

.hero-shape-6 {
    top: 25%;
    right: 5%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.05;
    animation: hero-float 16s ease-in-out infinite alternate-reverse, hero-pulse 8s ease-in-out infinite;
}

/* Floating algorithm snippets */
.hero-code {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    opacity: 0.04;
    color: var(--light);
    z-index: 0;
    pointer-events: none;
    white-space: pre;
    max-width: 350px;
    overflow: hidden;
}

.hero-code-1 {
    top: 15%;
    left: 35%;
    transform: rotate(-5deg);
    animation: hero-float 25s ease-in-out infinite, hero-fade 15s infinite alternate;
}

.hero-code-2 {
    bottom: 25%;
    right: 30%;
    transform: rotate(3deg);
    animation: hero-float 20s ease-in-out infinite alternate, hero-fade 17s infinite alternate-reverse;
}

.hero-code-3 {
    top: 45%;
    left: 65%;
    transform: rotate(-2deg);
    animation: hero-float 22s ease-in-out infinite alternate-reverse, hero-fade 20s infinite;
}

/* Math formulas floating */
.hero-formula {
    position: absolute;
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    opacity: 0.05;
    color: var(--secondary);
    z-index: 0;
    pointer-events: none;
}

.hero-formula-1 {
    top: 30%;
    right: 45%;
    animation: hero-float 18s ease-in-out infinite, hero-fade 12s infinite alternate;
}

.hero-formula-2 {
    bottom: 30%;
    left: 45%;
    animation: hero-float 24s ease-in-out infinite alternate, hero-fade 16s infinite alternate-reverse;
}

/* Binary data in background */
.hero-binary {
    position: absolute;
    font-family: monospace;
    font-size: 14px;
    opacity: 0.03;
    color: var(--primary-light);
    z-index: 0;
    pointer-events: none;
    white-space: pre;
    max-width: 300px;
    line-height: 1.4;
}

.hero-binary-1 {
    top: 18%;
    left: 8%;
    animation: hero-float 26s ease-in-out infinite alternate, hero-fade 18s infinite;
}

.hero-binary-2 {
    bottom: 15%;
    right: 5%;
    animation: hero-float 24s ease-in-out infinite alternate-reverse, hero-fade 20s infinite alternate;
}

/* Grid pattern */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(8, 85, 209, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(8, 85, 209, 0.03) 1px, transparent 1px);
    opacity: 0.4;
    z-index: -1;
}

/* Enhance existing elements */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-visual {
    position: relative;
    z-index: 2;
}

/* Animation Keyframes */
@keyframes hero-float {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(3deg); }
    100% { transform: translateY(0) rotate(-3deg); }
}

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

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

@keyframes hero-pulse {
    0% { opacity: 0.03; transform: scale(0.9); }
    50% { opacity: 0.07; transform: scale(1.05); }
    100% { opacity: 0.03; transform: scale(0.9); }
}

@keyframes hero-fade {
    0% { opacity: 0.02; }
    50% { opacity: 0.05; }
    100% { opacity: 0.02; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-code-3, .hero-shape-4, .hero-shape-5 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-code, .hero-formula {
        display: none;
    }
    
    .hero-shape {
        opacity: 0.03;
    }
}

/* Enhanced heading style for "Solving Complex Problems Through Algorithmic Excellence" */
.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem; /* Reduced from 3.5rem */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Enhanced gradient for highlight text */
.highlight {
    background: linear-gradient(135deg, #4C6FFF, #00CFDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Add subtle text shadow to make the highlight text pop */
.highlight::after {
    content: "Algorithmic Excellence";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    text-shadow: 2px 2px 10px rgba(0, 207, 221, 0.3);
    z-index: -1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
}

.partner-logo {
    max-height: 30px;
    max-width: 100px;
    object-fit: contain;
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    background-color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 120px;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
}

/* Ensuring proper spacing and mobile responsiveness */
.cert-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .partner-logo {
        max-height: 25px;
        max-width: 80px;
    }
    
    .logo-container {
        padding: 8px 15px;
        height: 50px;
        width: 100px;
    }
    
    .cert-logos {
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cert-logos {
        gap: 1rem;
    }
    
    .logo-container {
        padding: 6px 12px;
        height: 45px;
        width: 90px;
    }
}

.certifications-section {
    padding: 4rem 0;
    background-color: var(--dark-blue);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cert-title {
    text-align: center;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.partner-logo {
    max-height: 30px;
    max-width: 100px;
    object-fit: contain;
}

.cert-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container {
    background-color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 120px;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
}

/* Ensuring proper spacing and mobile responsiveness */
.cert-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .partner-logo {
        max-height: 25px;
        max-width: 80px;
    }
    
    .logo-container {
        padding: 8px 15px;
        height: 50px;
        width: 100px;
    }
    
    .cert-logos {
        gap: 1.5rem;
    }
    
    .certifications-section {
        padding: 3rem 0;
    }
    
    .cert-title {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .cert-logos {
        gap: 1rem;
    }
    
    .logo-container {
        padding: 6px 12px;
        height: 45px;
        width: 90px;
    }
    
    .certifications-section {
        padding: 2.5rem 0;
    }
}


/* Modern Footer Styles */
.footer {
    position: relative;
    padding: 6rem 0 2rem;
    background-color: var(--dark-blue);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 20%, rgba(8, 85, 209, 0.08), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(0, 207, 221, 0.08), transparent 35%);
    z-index: 0;
}

.footer-wave {
    position: absolute;
    top: -99px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-description {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 90%;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-heading {
    position: relative;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    color: var(--light);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-link {
    margin-bottom: 0.8rem;
}

.footer-link a {
    display: flex;
    align-items: center;
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0;
}

.link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(8, 85, 209, 0.1);
    color: var(--secondary);
    transition: all 0.3s ease;
}

.footer-link a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-link a:hover .link-icon {
    background-color: rgba(8, 85, 209, 0.2);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(8, 85, 209, 0.1);
    color: var(--secondary);
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-text p {
    margin-bottom: 0.2rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--gray);
}

.contact-text a, 
.contact-text span,
.contact-text address {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    font-style: normal;
}

.contact-text a:hover {
    color: var(--secondary);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.01),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.01)
    );
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-link {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-description {
        max-width: 600px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 5rem;
    }
    
    .footer-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }
    
    .footer-contact {
        grid-column: span 2;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding-top: 4rem;
    }
    
    .footer-links-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
    
    .footer-heading {
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link a {
        justify-content: center;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav-right .cta-button.enhanced {
        display: none;
    }
    
    /* Đảm bảo header.scrolled hoạt động đúng */
    .header.scrolled {
        background: rgba(10, 14, 26, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        padding: 1rem 0 !important;
    }
}

/* Thêm thuộc tính !important để đảm bảo các styles được áp dụng */
.header.scrolled {
    background: rgba(10, 14, 26, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 0 !important;
}