/* 
========================================
   RESET & VARIABLES
========================================
*/
:root {
    /* Colors */
    --color-primary: #0A1E3B; /* Deep Navy Blue */
    --color-primary-light: #162c52;
    --color-secondary: #C5A059; /* Gold/Bronze */
    --color-secondary-hover: #d4b06a;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-light-bg: #f9f9f9;
    --color-dark-bg: #050E1C;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Playfair Display', serif; /* Or clean sans-serif if preferred */
    --font-body-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-gold: 0 10px 30px rgba(197, 160, 89, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body-sans); /* Using sans-serif for better readability on screens */
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-secondary) !important; }
.text-white { color: var(--color-white) !important; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-6 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

.section-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.btn--primary:hover {
    background-color: var(--color-secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

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

.btn--gold {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
}

.btn--gold:hover {
    background-color: var(--color-secondary-hover);
}

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

.btn--secondary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* 
========================================
   HEADER
========================================
*/
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    height: 70px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-primary);
}

.logo__highlight {
    color: var(--color-secondary);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-primary);
    position: relative;
    padding: 5px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.header__cta {
    padding: 10px 24px;
    font-size: 12px;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
}

/* 
========================================
   HERO SECTION
========================================
*/
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/hero-bg.png'); /* Fallback if image fails */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 30, 59, 0.9) 0%, rgba(10, 30, 59, 0.6) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero__desc {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 20px;
}

.hero__scrolldown {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* 
========================================
   STATS SECTION
========================================
*/
.stats {
    background-color: var(--color-white);
    padding: 60px 0;
    margin-top: -60px; /* Overlap hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    display: inline-block;
}

.stat-plus {
    font-size: 24px;
    color: var(--color-secondary);
    vertical-align: top;
    font-weight: 700;
}

.stat-label {
    margin-top: 5px;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* 
========================================
   ABOUT SECTION
========================================
*/
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--color-light-bg);
}

.about__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #e0e0e0, #f5f5f5);
}

.about__image-placeholder i {
    font-size: 150px;
    color: #ccc;
}

/* If user adds image later */
.about__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('../images/leminh-portrait.jpg'); */
    background-size: cover;
    background-position: center;
}

.about__text {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--color-text-light);
}

.about__text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.about__list {
    margin: 30px 0;
}

.about__list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--color-primary);
}

.about__list li i {
    color: var(--color-secondary);
    margin-right: 15px;
    font-size: 18px;
}

/* 
========================================
   BENEFITS SECTION
========================================
*/
.bg-light { background-color: var(--color-light-bg); }

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--color-secondary);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(197, 160, 89, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--color-secondary);
}

.benefit-title {
    font-size: 20px;
    margin-bottom: 15px;
}

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

/* 
========================================
   RECRUITMENT SECTION
========================================
*/
.recruitment {
    background-color: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Background decoration */
.recruitment::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.2) 0%, rgba(10, 30, 59, 0) 70%);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.timeline {
    margin-top: 40px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-marker {
    position: absolute;
    left: -31px; /* Center circle on the line */
    top: 0;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--color-secondary);
    font-weight: 700;
}

.timeline-content h4 {
    color: var(--color-secondary);
    font-size: 18px;
    margin-bottom: 5px;
}

.timeline-content p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Form */
.register-form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    color: var(--color-text);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.form-header p {
    font-size: 14px;
    color: var(--color-text-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

/* 
========================================
   CTA SECTION
========================================
*/
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 100px 0;
}

.max-w-2xl {
    max-width: 600px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* 
========================================
   FOOTER
========================================
*/
.footer {
    background-color: var(--color-dark-bg);
    color: #fff;
    padding-top: 80px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
    color: #fff;
    font-size: 30px;
    display: block;
    margin-bottom: 20px;
}

.footer__desc {
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
    max-width: 300px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-link:hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer__title {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer__contact li, .footer__links li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
}

.footer__contact li i {
    margin-right: 15px;
    color: var(--color-secondary);
    margin-top: 5px;
}

.footer__links li a:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer__bottom {
    padding: 25px 0;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* 
========================================
   ANIMATIONS
========================================
*/
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Reveal Animations Classes */
.fade-up, .fade-in, .reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.fade-in { transform: translateY(0); }

.active-anim {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* 
========================================
   RESPONSIVE DESIGN
========================================
*/
@media (max-width: 992px) {
    .hero__title { font-size: 48px; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .about__container { grid-template-columns: 1fr; gap: 40px; }
    .about__image-wrapper { height: 400px; order: 2; }
    .about__content { order: 1; }
    .col-lg-6 { flex: 0 0 100%; max-width: 100%; margin-bottom: 40px; }
    .register-form-wrapper { margin-top: 20px; }
    .footer__content { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .nav { position: fixed; top: var(--header-height); left: -100%; width: 100%; height: calc(100vh - var(--header-height)); background: #fff; padding: 40px; transition: var(--transition); box-shadow: var(--shadow-md); flex-direction: column; }
    .nav.open { left: 0; }
    .nav__list { flex-direction: column; align-items: center; font-size: 20px; }
    .header__cta { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero__title { font-size: 36px; }
    .hero__actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    
    .stats__grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid #eee; }
    
    .section-padding { padding: 60px 0; }
}
