:root {
    --primary-color: #003366;
    /* Deep Blue */
    --secondary-color: #DAA520;
    /* Goldenrod/Gold */
    --accent-color: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--accent-color);
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero_background.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
    margin-top: 60px;
    /* Offset fixed header */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition);
    animation: fadeInUp 1.4s ease-out;
}

.btn:hover {
    background: #b8860b;
    transform: translateY(-2px);
}

/* Intro Section */
.intro {
    padding: 80px 20px;
    background: var(--white);
    text-align: center;
}

.intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.intro p {
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    margin: 20px;
    padding: 20px;
    background: var(--accent-color);
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-section {
    margin: 20px;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.socials a {
    margin-right: 15px;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 100px 20px 40px;
    /* Top padding to clear fixed header */
    margin-top: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Management Grid */
.management-grid {
    padding: 60px 20px;
}

.management-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.member-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    padding-bottom: 20px;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.member-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #eee;
}

.member-card h3 {
    margin: 15px 0 5px;
    color: var(--primary-color);
}

.member-card p {
    color: #666;
    font-weight: 500;
}

/* Branches List */
.branches-list {
    padding: 60px 20px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.branch-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.branch-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.branch-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.branch-card p {
    color: #555;
    margin-bottom: 5px;
}

/* Gallery - Masonry-ish Grid */
.gallery {
    padding: 60px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Page */
.about-content {
    padding: 60px 20px;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.office-showcase {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.office-showcase h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.office-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.office-images img {
    height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.office-images img:hover {
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .about-grid {
        flex-direction: column;
    }
}