/* CSS Variables & Setup */
:root {
    --primary-color: #3713ec;
    --primary-hover: #5438f0;
    --dark-bg: #0b1120;
    --dark-footer: #0c1533;
    --light-bg: #ffffff;
    --culture-bg: #f2f7fd;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --font-family: 'Be Vietnam Pro', sans-serif;
    --roundness: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(55, 19, 236, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(55, 19, 236, 0.6);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--roundness);
}

/* Navbar */
.navbar {
    background-color: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.logo-img {
    height: 55px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-light);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.lang-switch i {
    font-size: 18px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.menu-toggle:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--dark-bg);
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    position: relative;
}

/* Add a dark overlay to make text readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.7), rgba(11, 17, 32, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 20px;
    color: #e2e8f0;
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    padding: 100px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: var(--roundness);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 16px;
}

.vision-mission {
    margin-top: 24px;
    background: rgba(55, 19, 236, 0.03);
    padding: 20px;
    border-radius: var(--roundness);
    border-left: 4px solid var(--primary-color);
}

.vision-mission p {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.vision-mission p:last-child {
    margin-bottom: 0;
}

.vision-mission strong {
    color: var(--primary-color);
}

/* Team Section */
.team {
    padding: 80px 0;
    background-color: var(--culture-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--light-bg);
    border-radius: var(--roundness);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-role {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.team-desc {
    color: var(--text-muted);
    font-size: 15px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--light-bg);
    border-radius: var(--roundness);
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(55, 19, 236, 0.08);
    border: 1px solid rgba(55, 19, 236, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(55, 19, 236, 0.15);
    border-color: rgba(55, 19, 236, 0.3);
}

.service-icon {
    font-size: 48px;
    color: #ff0000;
    /* YouTube red */
    margin-bottom: 20px;
}

.service-card:nth-child(2) .service-icon {
    color: var(--primary-color);
}

.service-card:nth-child(3) .service-icon {
    color: #00bcd4;
    /* Cyan for networking */
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Culture Section */
.culture {
    padding: 80px 0;
    background-color: var(--culture-bg);
}

.culture-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.culture-card {
    background: var(--light-bg);
    border-radius: var(--roundness);
    padding: 30px 20px;
    text-align: center;
    width: calc(33.333% - 14px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.culture-card:nth-child(4),
.culture-card:nth-child(5) {
    width: calc(50% - 10px);
    max-width: 320px;
}

.culture-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.culture-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.culture-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.85;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Gallery Marquee */
.gallery {
    padding: 60px 0;
    background-color: var(--light-bg);
    overflow: hidden;
}

.gallery .section-title {
    margin-bottom: 20px;
}

.marquee-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
}

.marquee {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    gap: 20px;
    padding: 0 10px;
}

.gallery-item {
    width: 350px;
    height: 250px;
    border-radius: var(--roundness);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pre-footer CTA */
.pre-footer-cta {
    background-color: var(--light-bg);
    padding: 40px 0 80px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: var(--roundness);
    padding: 40px 50px;
    box-shadow: 0 15px 40px rgba(55, 19, 236, 0.2);
}

.cta-text {
    color: var(--text-light);
}

.cta-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-text p {
    font-size: 16px;
    opacity: 0.9;
}

.btn-cta {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-weight: 700;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: var(--roundness);
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: #f8fafc;
    color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Footer / Contact */
.footer {
    background-color: var(--dark-footer);
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-container {
    display: flex;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-left {
    flex: 1;
}

.footer-left h3,
.footer-right h3 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-family);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 14px;
}

.footer-right {
    flex: 1;
}

.footer-right p {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-right strong {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    color: #64748b;
}

/* Recruitment Page */
.page-header {
    background-color: var(--dark-bg);
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95));
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 16px;
}

.page-header p {
    color: #cbd5e1;
    font-size: 18px;
    font-weight: 500;
}

.advantages {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.adv-card {
    display: flex;
    gap: 24px;
    background: var(--culture-bg);
    padding: 30px;
    border-radius: var(--roundness);
    transition: var(--transition);
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.adv-icon {
    font-size: 42px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.adv-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.adv-info p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.recruitment {
    padding: 80px 0;
    background-color: var(--culture-bg);
}

.job-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.job-card {
    background: var(--light-bg);
    border-radius: var(--roundness);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.4;
}

.job-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    font-size: 18px;
}

.job-desc h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.job-desc ul {
    list-style-type: none;
    padding-left: 0;
}

.job-desc ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 15px;
}

.job-desc ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {

    .about-container,
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .team-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .culture-card,
    .culture-card:nth-child(4),
    .culture-card:nth-child(5) {
        width: 100%;
        max-width: 100%;
    }

    .job-grid, .adv-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(11, 17, 32, 0.98);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        text-align: center;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .menu-toggle {
        display: block;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 30px 20px;
    }
}