/* --- Color Variables: WCAG Level AA Palette --- */
:root {
    --logo-gold: #fbc02d;       /* Primary Honeycomb Yellow */
    --logo-gold-dark: #b58900;  /* Darker Gold for accessible text contrast */
    --logo-gray: #5e5e5e;       /* Logo Text Charcoal */
    --logo-gray-dark: #2d2d2d;  /* Darker Slate for body text contrast */
    --white: #ffffff;
    --bg-light: #f9f9f9;        /* Off-white for section backgrounds */
    --border-light: #f0f0f0;    /* Seamless border color */
}

/* --- Global Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--logo-gray-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* --- WCAG: Skip to Main Content --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--logo-gold);
    color: var(--logo-gray-dark);
    padding: 10px 20px;
    z-index: 2000;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* --- Accessibility: Focus States --- */
a:focus, button:focus {
    outline: 3px solid var(--logo-gold);
    outline-offset: 3px;
}

/* --- Top Info Bar --- */
.top-bar {
    background-color: var(--logo-gray-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
}

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

.top-info-right a {
    color: var(--logo-gold);
    text-decoration: none;
    font-weight: bold;
}

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

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

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--logo-gray);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--logo-gold-dark);
}

.portal-btn {
    background-color: var(--logo-gold);
    color: var(--logo-gray-dark) !important;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.portal-btn:hover {
    background-color: var(--white);
    outline: 2px solid var(--logo-gold);
}

/* --- Hero Section --- */
.hero {
    background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
    height: 550px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.72);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.hero p {
    font-size: 1.3rem;
    max-width: 650px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.cta-button {
    display: inline-block;
    padding: 16px 36px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cta-button:not(.secondary) {
    background: var(--logo-gold);
    color: var(--logo-gray-dark);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Office Image Container Styling --- */
.office-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.office-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* --- Modern Seamless Location Cards --- */
.locations-section {
    padding: 100px 0;
    background-color: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Interactive Lift & Accent line */
.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--logo-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: transparent;
}

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

.location-card:hover::before {
    opacity: 1;
}

.card-content {
    padding: 25px 32px 32px;
    flex-grow: 1;
}

.location-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--logo-gold-dark);
    font-weight: 800;
    display: block;
    margin-bottom: 12px;
}

.location-card h3 {
    font-size: 1.4rem;
    color: var(--logo-gray-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.address {
    font-size: 0.95rem;
    color: var(--logo-gray);
    line-height: 1.5;
}

/* Card Utility Area */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border-light);
    background: #fafafa;
}

.action-link {
    padding: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--logo-gray-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.action-link.map {
    border-right: 1px solid var(--border-light);
}

.action-link:hover {
    background: var(--white);
    color: var(--logo-gold-dark);
}

.action-link i {
    font-size: 1rem;
    color: var(--logo-gold-dark);
}

/* --- Services Grid --- */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--logo-gray-dark);
    position: relative;
    padding-bottom: 20px;
    font-weight: 800;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border-top: 5px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top: 5px solid var(--logo-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--logo-gold-dark);
    margin-bottom: 25px;
}

/* --- Facebook Feed --- */
.news-feed {
    padding: 100px 0;
}

.fb-container {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* --- Footer --- */
footer {
    background: var(--logo-gray-dark);
    color: #e2e8f0;
    padding: 80px 0 0;
}

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

.footer-info h3, .footer-links h3 {
    margin-bottom: 25px;
    color: var(--logo-gold);
    font-weight: 700;
}

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

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

.footer-links a {
    color: #e2e8f0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.footer-bottom {
    background: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-flex {
        flex-direction: column;
    }

    nav ul {
        margin-top: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 10px;
    }

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

    .card-actions {
        grid-template-columns: 1fr;
    }

    .action-link.map {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }
}
