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

:root {
    --primary: #15803d;
    --primary-light: #f0fdf4;
    --primary-dark: #166534;
    --bg-white: #ffffff;
    --bg-soft: #fbfbfb;
    --text-main: #1d1d1f;
    --text-secondary: #424245;
    --text-muted: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 20px 40px rgba(0,0,0,0.08);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #d2d2d7; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

p {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    padding: 5px 0;
}

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

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary);
}

/* Sections */
section {
    padding: 100px 0;
    min-height: 100vh;
}

#home {
    padding-top: 0;
}

.section-hidden {
    display: none;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('/img/anh-bia.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 60px; /* Bù cho header */
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(40px);
}

.hero p {
    font-size: 1.6rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(40px);
}

.hero-image-container {
    display: none; /* Ẩn đi vì đã dùng làm ảnh nền */
}

/* Reveal Animations */
.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: scale(1) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(21, 128, 61, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 128, 61, 0.4);
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid white;
    color: white;
    margin-left: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

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

/* Philosophy */
.philosophy-section {
    padding: 100px 0;
    background: white;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.philosophy-card {
    padding: 40px;
    background: var(--bg-soft);
    border-radius: 24px;
    transition: var(--transition);
}

.philosophy-card:hover {
    background: var(--primary-light);
}

.philosophy-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.philosophy-card p {
    font-size: 0.95rem;
}

/* About Us */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 24px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.roadmap {
    margin-top: 40px;
    border-left: 2px solid var(--primary-light);
    padding-left: 30px;
}

.roadmap-item {
    margin-bottom: 24px;
}

.roadmap-item strong {
    color: var(--primary);
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.about-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

/* Contact */
.contact-section {
    padding: 120px 0 60px;
    background: var(--bg-soft);
    border-radius: 60px 60px 0 0;
}

.map-section {
    padding-bottom: 120px;
    background: var(--bg-soft);
}

.map-container {
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.contact-flex {
    display: flex;
    gap: 100px;
}

.contact-form {
    flex: 1;
    display: grid;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-content, .contact-flex { flex-direction: column; gap: 60px; }
    .about-content { grid-template-columns: 1fr; }
    .philosophy-grid { grid-template-columns: 1fr; }
}

/* Utilities & Fixes */
.mb-24 { margin-bottom: 24px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-5 { margin-bottom: 5px !important; }
.mt-15 { margin-top: 15px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-60 { margin-top: 60px !important; }
.max-w-400 { max-width: 400px !important; }
.font-600 { font-weight: 600 !important; }
.font-500 { font-weight: 500 !important; }
.text-muted-small { font-size: 0.9rem; color: var(--text-muted); }
.text-primary-bold { font-weight: 600; color: var(--primary); }
.hidden { display: none !important; }
.status-success { color: #15803d !important; }
.status-error { color: #dc2626 !important; }
.status-loading { color: var(--text-muted) !important; }

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 450px;
    width: 100%;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s !important; }
.delay-200 { animation-delay: 0.2s !important; }
.delay-300 { animation-delay: 0.3s !important; }
.delay-400 { animation-delay: 0.4s !important; }
.delay-500 { animation-delay: 0.5s !important; }

/* Projects Index Utilities */
.text-center-limited-wide {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.text-large-muted {
    font-size: 1.2rem;
    color: #666;
}

iframe {
    border: 0;
}

