body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
a {
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff4500;
}
header {
    background-color: #fff;
    padding: 15px 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.logo-container {
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}
#logo {
    width: 140px;
    height: auto;
    transition: transform 0.3s ease;
}
#logo:hover {
    transform: scale(1.1);
}
.main-nav {
    display: flex;
    overflow-x: auto;
}
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
}
.nav-item {
    margin: 0 10px;
    white-space: nowrap;
}
.nav-link {
    color: #333;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-link:hover {
    background-color: #ff4500;
    color: #fff;
}
.hero-section {
    background: url('crazy.vn-bg.png') no-repeat center center; 
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-title, .hero-subtitle {
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease forwards;
}
.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.5s forwards;
    opacity: 0;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.partner-exclusive-section {
    padding: 60px 40px;
    margin: 40px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(240,248,255,0.95));
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}
.partner-exclusive-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,69,0,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.partner-exclusive-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}
.partner-exclusive-content {
    flex-basis: 60%;
}
.partner-exclusive-image {
    flex-basis: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.partner-exclusive-image img {
    max-height: 300px;
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    aspect-ratio: 16/9;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}
.partner-exclusive-image img:hover {
    transform: scale(1.05) translateY(-5px);
}
.partner-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ff4500;
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 4px 10px rgba(255, 69, 0, 0.3);
}
.badge-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: #fff;
    color: #ff4500;
    border-radius: 50%;
    margin-right: 8px;
    font-style: italic;
    font-weight: bold;
    font-size: 0.85em;
}
.partner-exclusive-content h4 {
    font-size: 2.2em;
    color: #222;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.3;
}
.partner-exclusive-content h4 a {
    color: #ff4500;
    position: relative;
    display: inline-block;
}
.partner-exclusive-content h4 a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff4500;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.partner-exclusive-content h4 a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.sponsor-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
}
.sponsor-intro a {
    color: #e63900;
    font-weight: 600;
}
.sponsor-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(255,255,255,0.6);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.8);
}
.service-group h5 {
    font-size: 1.2em;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff4500;
    padding-bottom: 8px;
    display: inline-block;
}
.service-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.service-link-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}
.service-link-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff4500;
    font-weight: bold;
    transition: transform 0.3s ease;
}
.service-link-list li:hover::before {
    transform: translateX(3px);
}
.service-link-list li a {
    color: #555;
    font-weight: 500;
    transition: color 0.2s ease;
}
.service-link-list li a:hover {
    color: #ff4500;
}
.strategic-partners-section {
    padding: 60px 40px;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
}
.strategic-partners-section .section-title {
    color: #333;
}
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.partner-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
.partner-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0eb;
    border-radius: 50%;
    color: #ff4500;
}
.partner-card h4 {
    font-size: 1.3em;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
}
.partner-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}
.partner-card p a {
    color: #ff4500;
    font-weight: 600;
    position: relative;
}
.partner-card p a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #ff4500;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}
.partner-card p a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ff4500;
    text-align: center;
}
.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}
.text-content {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
}
.text-content p {
    margin-bottom: 20px;
    text-align: justify;
}
.text-content b{
    font-weight: 700;
}
.image-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.lazy-load {
    width: calc(50% - 10px);
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lazy-load:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.section-1 .content-wrapper {
    flex-direction: row-reverse; 
}
.section-2 .image-content,
.section-3 .image-content,
.section-4 .image-content,
.section-5 .image-content{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.section-2 .lazy-load,
.section-3 .lazy-load,
.section-4 .lazy-load,
.section-5 .lazy-load {
    width: calc(33.33% - 20px);
    max-width: 250px;
}
.section-4 .lazy-load,
.section-5 .lazy-load {
    width: calc(33.33% - 20px);
    max-width: 200px;
}
.contact {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}
.contact-title {
    text-align: center;
}
.contact-email, .contact-message {
    width: 95%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.contact-message {
    resize: vertical;
}
.contact-link {
    background-color: #ff4500;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}
.contact-link:hover {
    background-color: #e63900;
}
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.copyright {
    font-size: 0.9em;
}
.brand-link, .toolvn-link, .fivn-link, .partner-link {
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}
.brand-link:hover, .toolvn-link:hover, .fivn-link:hover, .partner-link:hover {
    color: #ff4500;
}
.design-credit {
    font-size: 0.9em;
}
.brand-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.portfolio-statement, .partner-brands {
    font-size: 0.9em;
}
h1, h2, h3 {
    font-weight: 700;
}
p {
    margin-bottom: 15px;
}
@media (max-width: 768px) {
    .container {
        width: 90%;
    }
    header {
        flex-direction: column;
        padding: 15px;
    }
    .logo-container {
        margin-bottom: 15px;
    }
    .hero-title {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.2em;
    }
    .content-wrapper {
        flex-direction: column;
    }
    .section-1 .content-wrapper {
        flex-direction: column; 
    }
    .text-content, .image-content {
        width: 100%;
    }
    .lazy-load {
        width: 100%;
        max-width: 400px;
    }
    .section-2 .lazy-load,
    .section-3 .lazy-load,
    .section-4 .lazy-load,
    .section-5 .lazy-load{
        width: calc(50% - 10px);
    }
    .main-nav {
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    .nav-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .nav-item {
        margin: 0 10px;
        white-space: nowrap;
    }
    .partner-exclusive-container {
        flex-direction: column;
    }
    .partner-exclusive-content, .partner-exclusive-image {
        flex-basis: 100%;
    }
    .sponsor-services-grid {
        grid-template-columns: 1fr;
    }
    .partner-exclusive-section {
        padding: 30px 15px;
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
     .section-4 .lazy-load, .section-5 .lazy-load {
        width: 100%;
        max-width: 400px;
    }
    .contact-email, .contact-message {
        width: 90%;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }
    .section-title {
        font-size: 1.8em;
    }
    .section-2 .lazy-load,
    .section-3 .lazy-load,
    .section-4 .lazy-load {
        width: 100%;
    }
    .footer-content {
        gap: 10px;
    }
    .section-4 .lazy-load, .section-5 .lazy-load {
        width: 100%;
        max-width: 400px;
    }
}
.image-content img:hover {
    filter: brightness(110%);
    cursor: pointer;
}
.nav-link {
    transition: background-color 0.3s, color 0.3s;
}
section {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    background-color: #fff;
}
.menu-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}
.menu-section h2{
    text-align: center;
}
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.menu-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}
.menu-item a {
    text-decoration: none;
    color: #0077cc;
}
.menu-item ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-item ul li{
    text-decoration: none;
    color: #0077cc;
}
