:root {
    --primary: #0056b3; /* Professional Blue */
    --primary-dark: #004494;
    --secondary: #e31e24; /* Red for accents */
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

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

/* Header */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.top-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.middle-header {
    padding: 20px 0;
}

.middle-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area img {
    height: 60px;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.brand-name span {
    color: var(--secondary);
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-box i {
    font-size: 2rem;
    color: var(--secondary);
}

.contact-box div .title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-box div .phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
}

/* Nav Bar */
.nav-bar {
    background: var(--primary);
}

.nav-links {
    display: flex;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 15px 25px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links > li:hover > a, .nav-links > li.active > a {
    background: var(--primary-dark);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-top: 3px solid var(--secondary);
}

.nav-links > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown li a:hover {
    background: #f9f9f9;
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background: #f1f4f8;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 50%;
    padding: 50px;
    text-align: left;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.3);
}

/* Services */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 3px;
    background: var(--secondary);
    transform: translateX(-50%);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.reason-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.reason-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.reason-card i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.reason-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.reason-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Zalo Bar */
.zalo-bar {
    background: #e7f1ff;
    padding: 30px 0;
    text-align: center;
}

.zalo-bar a {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info .name {
    font-weight: 700;
    color: var(--primary);
}

/* News */
.news-section {
    padding: 80px 0;
}

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

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    height: 3rem;
    overflow: hidden;
}

footer {
    background: #0a0a0a;
    color: #fff;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffc107;
}

.footer-brand div {
    font-size: 0.95rem;
    color: #eee;
    line-height: 1.8;
}

.footer-note {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffc107 !important;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-links h4, .footer-map h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #ffc107;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-map h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

.footer-disclaimer {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #777;
    line-height: 1.6;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Floating Buttons */
.float-btns {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.btn-call {
    background: var(--secondary);
    animation: ring 2s infinite;
}

.btn-zalo {
    background: #0068ff;
}

.btn-zalo img {
    width: 35px;
}

@keyframes ring {
    0% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes ring {
    0% { transform: scale(1); }
    10% { transform: scale(1.1); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Subpage */
.subpage-hero {
    background-color: #004494;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.subpage-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subpage-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Policy & Service Pages Shared Styles */
.policy-page, .service-page {
    padding: 60px 0;
    background-color: #f4f7fa;
    line-height: 1.8;
}

.policy-title, .service-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.policy-content, .service-content {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-summary {
    background: #fff9f9;
    border: 2px dashed var(--secondary);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 35px;
    position: relative;
}

.service-summary h4 {
    color: var(--secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
}

.service-content h2, .service-content h3 {
    color: var(--primary);
    margin-top: 35px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
    font-weight: 700;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
}

.service-content ul li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-content ul li i {
    color: var(--secondary);
    margin-top: 5px;
}

/* Light Service Grid Section */
.light-service-section {
    background-color: #fff;
    color: var(--dark);
    padding: 80px 0;
    text-align: center;
}

.light-service-section h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.light-service-section p.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.highlight-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.highlight-img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.highlight-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfdfd;
}

.highlight-info h4 {
    color: var(--dark);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.highlight-card:hover .highlight-info h4 {
    color: var(--primary);
}

@media (max-width: 1200px) {
    .highlight-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.content-page {
    padding: 60px 0;
}

.content-page h2 {
    color: var(--primary);
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary);
    padding-left: 15px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-bg { width: 100%; clip-path: none; opacity: 0.2; }
    .hero-content { width: 100%; padding: 30px; }
    .service-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
}
