/* Hero Section Styling */
:root {
    --primary-color: #0066ff;
    --secondary-color: #0044cc;
    --text-color: #ffffff;
    --overlay-color: rgba(0, 0, 0, 0.6);
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--text-color);
    z-index: 1;
}

/* Background Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-background-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("nang_cao_chat_luong.jpeg");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-background-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* Button Styling */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s var(--transition-timing);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s var(--transition-timing);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Decorations and Shapes */
.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    opacity: 0;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: -50px;
    opacity: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    opacity: 0;
    z-index: 5;
}

.scroll-indicator::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: white;
    border-radius: 50%;
    animation: scrollPulse 1.5s infinite alternate;
}

@keyframes scrollPulse {
    0% {
        transform: translateY(0);
        opacity: 0.5;
    }
    100% {
        transform: translateY(15px);
        opacity: 1;
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
