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

body {
  font-family: "Montserrat", sans-serif;
  min-height: 100vh;
}

/* ====== SECTION PADDING ====== */
section {
    padding-top: 100px;
    scroll-margin-top: 100px;
}

.section-padding {
    padding: 5rem 0;
}

/* ====== SECTION HEADERS ====== */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #3498db;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-desc {
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 400 !important;
    line-height: 1.7;
    font-size: 1.1rem;
    color: #6c757d;
}




/* ====== ANIMATION STYLES ====== */
.char {
    display: inline-block;
    transform-origin: 50% 100%;
}

.word {
    display: inline-block;
    margin-right: 0.25em;
    white-space: nowrap;
}

.split {
    overflow: hidden;
    visibility: visible;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1200px) {
    .carousel-title {
        font-size: 3rem;
    }
    
    .header {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 992px) {
    
    .carousel-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .carousel-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    
    .carousel-cta {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .carousel-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
        text-align: center;
        margin: 0 auto 2rem auto;
    }
    
    .carousel-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .carousel-cta .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .carousel-controls {
        padding: 0 1rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .careers-content {
        padding: 2rem;
    }
    
    .careers-title {
        font-size: 1.8rem;
    }
    
    .company-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 1rem;
    }
    
    .logo a {
        font-size: 1.3rem;
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 0.9rem;
    }
    
    .carousel-content {
        padding: 1rem;
    }
    
    .benefit-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .benefit-icon-wrapper i {
        font-size: 1.2rem;
    }
    
    .benefit-title {
        font-size: 1.1rem;
    }
    
    .benefit-description {
        font-size: 0.9rem;
    }
}

/* Fix for very small screens */
@media (max-width: 400px) {
    .carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-subtitle {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header {
        padding: 0.8rem;
    }
}

/* Testimonials Slider Fix */
.testimonials-slider .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.testimonials-slider .row:before,
.testimonials-slider .row:after {
    content: none;
}

/* Fix cho empty ruleset */
.carousel-slide.active {
    display: block;
}

/* ====== HERO VIDEO SECTION ====== */
.hero-video {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    margin-top: 0;
    padding-top: 0;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    aspect-ratio: 16/9;
    pointer-events: none; /* Prevents iframe interaction */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}
