/* 510CIC Inspired Corporate Framework Styles */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #004F8C; /* Navy Blue */
    --secondary-color: #003660;
    --accent-color: #DBA31D;  /* Gold */
    --header-bg: rgba(0, 79, 140, 0.95);
    --bg-light: #F8F9FA;
    --text-dark: #1C1C1C;
    --text-muted: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Header & Navigation */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    text-transform: uppercase;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hotline-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.hotline-btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* Hero Slider Area */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: #004F8C; /* Fallback */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 79, 140, 0.8) 0%, rgba(0, 79, 140, 0.2) 100%);
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

/* Section Titles */
.section-title {
    margin: 80px 0 50px;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

/* Cards (Services & Projects) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    border-radius: 0px; 
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    border: 1px solid #eee;
    overflow: hidden;
}

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

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.card:hover .card-img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.see-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

/* Footer */
.main-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 80px 0 0;
}

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

.footer-col h3 {
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-col p {
    margin-bottom: 12px;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
}

.bottom-bar {
    background: #000;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
}
