@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: white;
    color: white;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

nav {
    top: 20px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

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

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffcc00;
    transform: scale(1.1);
    /* Thêm hiệu ứng phóng to khi hover */
}

nav ul li:hover::before {
    content: '';
    /* Nếu muốn có một hiệu ứng nữa khi hover lên li */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffcc00;
    transform: scaleX(0);
    transform-origin: bottom right;
    animation: slideIn 0.3s forwards;
    /* Hiệu ứng thêm đường gạch dưới */
}

@keyframes slideIn {
    to {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
}

.content-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: left;
    text-align: left;
    margin-left: 40px;
}

.content {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.content.active {
    opacity: 1;
}

.tag {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);

}

.spanhead {
    font-size: 20px;
    font-weight: 600;

    text-transform: uppercase;
    color: #b22222;
}

.hero h1 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 10px;
}

.hero p {
    font-size: 18px;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
    background: #d30000;
    color: white;
    margin-top: 15px;
}

.btn:hover {
    background: #ffaa00;
}

.experience-section {
    background: white;
    color: black;
    padding: 50px;
    text-align: center;
}

.experience-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.experience-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.experience-card img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

.experience-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.dynamic-city {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
    height: 80vh;
    background: url('assets/images/dynamic-city.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    font-size: 36px;
    font-weight: bold;
}

.dynamic-city img {
    width: 110%;
    height: 500px;
    margin-top: 20px;
}


.text-overlay {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: re;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.text-overlay h1 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

.text-overlay p {
    font-size: 30px;
    font-style: italic;
}

.about-section {
    display: flex;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 40px;
    margin-left: 40px;

}

.about-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    animation: rotateImage 10s linear infinite;

}

@keyframes rotateImage {
    0% {
        transform: rotate(0deg);
        /* Bắt đầu từ góc 0 độ */
    }

    100% {
        transform: rotate(360deg);
        /* Quay vòng tròn 360 độ */
    }
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    max-width: 80%;
}

.about-text h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: black;
}


.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: black;

}