:root {
    --primary-color: #0b1c2c;
    --primary-light: #162a3f;
    --accent-color: #D4AF37;
    --accent-hover: #b08c42;
    --text-color: #2c3e50;
    --light-gray: #F2EFE9;
    --white: #ffffff;
    --off-white: #F9F8F4;
    --font-heading: 'Raleway', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 12px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--off-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #008ebd;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(11, 28, 44, 0.7), rgba(11, 28, 44, 0.5)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--white);
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    line-height: 1.8;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    font-family: var(--font-heading);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column p,
.footer-column li {
    margin-bottom: 10px;
    color: #ccc;
    font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /* New Responsive Styles */
    .intro .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-content {
        text-align: center;
    }

    .hero {
        height: auto;
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

/* Intro Section (Mobile First) */
.intro {
    background-color: var(--white);
}

.intro .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 40px;
}


/* Desktop Grid for Intro - REMOVED: User wants centered layout on all screens */

.intro h2 {
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.intro p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-color);
}

.expertise {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
}

/* Tiles & Cards - Added Phase 3 */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tile-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-top: 4px solid transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tile-card:hover .card-image-container img {
    transform: scale(1.05);
}

.tile-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tile-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.tile-card p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-light);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.stat-item p {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card:hover .card-image-container img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.news-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.news-link:hover {
    text-decoration: underline;
}