/* Base Styles */
:root {
    --primary-color: #7B1FA2; /* Tím */
    --secondary-color: #E53935; /* Đỏ */
    --accent-color: #2D2D2D; /* Đen */
    --text-color: #333333;
    --light-color: #F8F9FA;
    --gray-color: #E0E0E0;
    --dark-gray: #757575;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--dark-gray);
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #6A1B9A;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(123, 31, 162, 0.2);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 85vh;
    background: url(assets/images/banner.png) center/cover no-repeat;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Services Section */
.services {
    background-color: var(--light-color);
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Section */
.process {
    background-color: white;
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-color);
}

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

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

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-image img {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--gray-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--accent-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reskilling Courses Section */
.about-us {
    position: relative;
    display: flex;
    justify-content: end;
}

.about-us__container {
    width: 100%;
    max-width: 625px;
    position: relative;
}

.about-us__image {
    width: 100%;
    height: auto;
    display: block;
}

.about-us__content {
    position: relative;
    color: #333;
}

.about-us__subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.about-us__title {
    font-size: 22px;
    line-height: 36px;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 32px;
    position: relative;
    letter-spacing: 0.05em;
}

.about-us__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.about-us__description {
    background: linear-gradient(101.3deg, #fdf5cb .92%, #c5e6d2 31.1%, #8bdecd 65.47%, #22bacb 96.34%);
    padding: 16px 24px;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

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

.training-section__header {
    text-align: center;
    margin-bottom: 2rem;
}

.training-section__subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-family: Intel, sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.training-section__title {
    display: inline-block;
    font-size: 22px;
    line-height: 2.25rem;
    font-weight: 600;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.training-section__title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.training-section__desc {
    font-size: 1rem;
}

.training-section__content {
    position: relative;
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.reason-section {
    position: relative;
}

.reason-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reason-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.reason-title {
    font-size: 1.875rem;
    font-weight: 600;
    display: inline-block;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
    line-height: 1.6;
}

.reason-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.reason-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.reason-card {
    width: 387px;
    min-height: 524px;
    background: #fff;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.reason-card img {
    width: 100%;
    display: block;
}

.reason-content {
    padding: 1rem;
    text-align: center;
}

.reason-content h3 {
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.reason-content p {
    font-size: 0.875rem;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 2.25rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.curriculum-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.curriculum-card {
    width: 592px;
    max-height: 330px;
    position: relative;
    color: white;
}

.card-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}


.card-image img {
    width: 100%;
    height: 100%;
    filter: blur(2px);
    object-fit: cover;
}

.card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.4;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 20;
    padding: 2.25rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-heading {
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.card-course {
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.card-time {
    font-size: 0.75rem;
}


/* Item */
.training-item {
    display: flex;
    max-width: 532px;
    box-shadow: 0 0 #0000, 0 0 #0000, 0px 7px 29px 0px hsla(240, 5%, 41%, .2)
}

.training-item__text {
    margin: auto 0;
    padding: 0.25rem;
    max-width: 260px;
}

.training-item__heading {
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.training-item__paragraph {
    font-size: 0.875rem;
    line-height: 1.6;
}

.training-item__image {
    flex: 1;
    padding-left: 0.75rem;
    min-width: 200px;
}

.training-item__image img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Responsive Styles */
@media screen and (max-width: 968px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero {
        height: 70vh;
    }

    .curriculum-card {
        height: 440px;
        max-height: 440px;
        overflow: hidden;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        background-color: white;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        padding: 5rem 2rem;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        margin-top: 2rem;
    }
    
    nav ul li {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        height: auto;
        min-height: 70vh;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    .about-us__content {
        position: absolute;
        top: 50%;
        left: -45%;
        transform: translateY(-50%);
        width: 440px;
    }
}

@media (max-width: 1363px) {
    .curriculum-wrapper {
        justify-content: center;
    }
}