/* ==========================================
   1. CSS VARIABLES & GLOBAL RESET
   ========================================== */
:root {
    --navy-dark: #0f172a;
    --navy-main: #1e3a8a;
    --navy-light: #2563eb;
    --gold-main: #d97706;
    --gold-light: #f59e0b;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-8, .col-4 {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* 8/12 = 66.666667% */
.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

/* 4/12 = 33.333333% */
.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

/* Mobile responsive fallback */
@media (max-width: 768px) {
    .col-8, .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   2. HEADER, NAVBAR & TOP BAR
   ========================================== */
.top-bar {
    background-color: var(--navy-dark);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    opacity: 0.8;
}

.site-header {
    position: sticky;
    top: 1rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.site-header .container {
    padding: 0 1rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    padding: 0.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 
                0 4px 6px -2px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.site-header.scrolled .navbar {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 
                0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo img {
    max-height: 55px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    background: linear-gradient(135deg, var(--navy-main), var(--navy-dark));
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--navy-dark);
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold-main);
    font-weight: 600;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-main);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger,
.d-mobile-only {
    display: none !important;
}

/* ==========================================
   3. LAYOUT & SECTIONS
   ========================================== */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--navy-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================
   4. HERO & BANNER SLIDER
   ========================================== */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-main) 100%);
    color: var(--white);
    padding: 5rem 0;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    line-height: 1.2;
    margin: 1rem 0;
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.hero-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.hero-card h3 {
    font-family: var(--font-serif);
    color: var(--navy-dark);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.5rem;
}

.slider-container {
    position: relative;
    max-width: 100%;
    height: 500px;
    overflow: hidden;
    margin: auto;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--white);
}

.slide-content.pos-left { text-align: left; }
.slide-content.pos-center { text-align: center; margin: 0 auto; }
.slide-content.pos-right { text-align: right; margin-left: auto; }

.slide-content h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-serif);
}

.slide-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.slide-content.pos-center p { margin-left: auto; margin-right: auto; }
.slide-content.pos-right p { margin-left: auto; }

.slider-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: var(--gold-main);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.slider-btn:hover {
    background-color: #b45309;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--white);
}

/* ==========================================
   5. BUTTONS, BADGES & FORMS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--navy-main);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
}

.btn-gold {
    background-color: var(--gold-main);
    color: var(--white);
}

.btn-gold:hover {
    background-color: #b45309;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

.badge {
    display: inline-block;
    background: rgba(217, 119, 6, 0.15);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--navy-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================
   6. GRIDS & CARDS
   ========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    font-size: 2rem;
    color: var(--navy-main);
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--font-serif);
    color: var(--navy-dark);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Dynamic Services Grid Layouts */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

.grid-col-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid-col-1 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Uniform Sizing */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.service-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-light);
}

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

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

.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-body h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.125rem;
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.service-card-body .read-more-link {
    margin-top: auto;
}

/* ==========================================
   7. SLIDER CONTROLS & MODULE CARDS
   ========================================== */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0.25rem 2.5rem 0.25rem;
}

.slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 280px;
}

.slider-nav-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--navy-dark);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.slider-nav-btn:hover {
    background: var(--navy-main);
    color: var(--white);
    border-color: var(--navy-main);
}

.slider-nav-btn.prev { left: -10px; }
.slider-nav-btn.next { right: -10px; }

/* News & Articles Cards */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.news-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.news-card p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.read-more-link {
    font-weight: 600;
    color: var(--navy-main);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.read-more-link:hover {
    color: var(--gold-main);
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.team-avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--gold-main);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.team-socials a:hover {
    background: var(--navy-main);
    color: var(--white);
}

/* Testimonial Cards */
.testimonial-section {
    background-color: var(--navy-dark);
    color: var(--white);
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    color: var(--white);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--gold-light);
}

/* Branch & Job Cards */
.branch-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-card.hq {
    border-left: 4px solid var(--gold-main);
}

.branch-card .badge {
    margin-bottom: 0.75rem;
}

.branch-details {
    list-style: none;
    margin-top: 1rem;
}

.branch-details li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.branch-details li i {
    color: var(--gold-main);
    margin-top: 0.25rem;
}

.job-post {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.job-post:hover {
    border-color: var(--navy-light);
    box-shadow: var(--shadow-md);
}

.job-post h4 {
    color: var(--navy-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* ==========================================
   8. BRANCH CONTACT FORM & SIDEBAR
   ========================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    font-family: inherit;
}

.contact-card, 
.sidebar-offices-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: var(--transition);
    background-color: var(--white);
}

.form-field:focus {
    outline: none;
    border-color: var(--navy-dark);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.office-card-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.office-card-item.selected {
    border-color: var(--navy-light);
    background-color: #eff6ff;
}

.office-card-item:last-child {
    margin-bottom: 0;
}

.office-badge {
    display: inline-block;
    background-color: var(--navy-dark);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 0.4rem;
}

.office-badge.primary,
.office-badge-hq {
    display: inline-block;
    background-color: #007383;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    margin-left: 0.4rem;
}

.office-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.office-name a {
    color: var(--text-dark);
    text-decoration: none;
}

.office-name a:hover {
    color: var(--navy-light);
}

.office-detail-item {
    font-size: 0.88rem;
    color: #475569;
    margin: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    word-break: break-word;
}

.office-detail-item i {
    color: var(--navy-dark);
    margin-top: 0.2rem;
    width: 14px;
    text-align: center;
}

.office-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border-color);
}

.action-link {
    color: var(--navy-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

   .single-branch-container {
        max-width: 1200px;
        margin: 2.5rem auto;
        padding: 0 1rem;
        font-family: inherit;
    }
    .branch-header {
        background-color: #0f172a;
        color: #ffffff;
        border-radius: 8px 8px 0 0;
        padding: 2.5rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    .branch-title-group h1 {
        margin: 0 0 0.4rem 0;
        font-size: 1.8rem;
    }
    .branch-badge {
        background-color: #2563eb;
        color: #ffffff;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
	  .branch-badgehq {
        background-color: #80d47c;
        color: #ffffff;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.25rem 0.6rem;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    .branch-grid {
        display: grid;
        grid-template-columns: 380px 1fr;
        gap: 2rem;
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-top: none;
        border-radius: 0 0 8px 8px;
        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    }
    .branch-info-panel {
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 1.5rem;
    }
    .info-block {
        margin-bottom: 1.25rem;
    }
    .info-block:last-child {
        margin-bottom: 0;
    }
    .info-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        letter-spacing: 0.05em;
        margin-bottom: 0.35rem;
    }
    .info-content {
        font-size: 0.95rem;
        color: #1e293b;
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
    }
    .info-content i {
        color: #0f172a;
        margin-top: 0.2rem;
    }
    .form-field {
        width: 100%;
        padding: 0.75rem 0.85rem;
        border: 1px solid #cbd5e1;
        border-radius: 6px;
        font-size: 0.95rem;
        box-sizing: border-box;
        transition: border-color 0.2s;
    }
    .form-field:focus {
        outline: none;
        border-color: #0f172a;
    }
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    @media (max-width: 900px) {
        .branch-grid {
            grid-template-columns: 1fr;
        }
    }
    @media (max-width: 600px) {
        .form-row {
            grid-template-columns: 1fr;
        }
    }

/* ==========================================
   9. FOOTER
   ========================================== */
.site-footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--gold-main);
    margin-top: 0.4rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ==========================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 991px) {
    .site-header {
        top: 0.5rem;
    }

    .navbar {
        min-height: 64px;
        padding: 0.5rem 1.25rem;
        border-radius: 12px;
    }

    .hero-grid,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-col-3, 
    .grid-col-2 {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }

    .slide-item {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Mobile Drawer Controls */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }

    .hamburger .bar {
        width: 100%;
        height: 2px;
        background-color: var(--navy-dark);
        border-radius: 2px;
        transition: var(--transition);
    }

    .d-mobile-only {
        display: flex !important;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 23, 42, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 0;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
        border-left: 1px solid rgba(255, 255, 255, 0.5);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
        overflow-y: auto;
    }

    .nav-links.show {
        right: 0;
    }

    .mobile-header {
        width: 100%;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-title {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--navy-dark);
    }

    .close-menu {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: var(--navy-dark);
        cursor: pointer;
        padding: 0.25rem 0.5rem;
        line-height: 1;
        z-index: 1003;
    }

    .close-menu i {
        font-size: 1.5rem;
        color: var(--navy-dark);
        pointer-events: none;
    }

    .nav-links li:not(.mobile-header) {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }
}

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

    .hero-text h1 {
        font-size: 2rem;
    }

    .job-post {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-post .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .grid-col-3, 
    .grid-col-2, 
    .grid-col-1 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .slide-item {
        flex: 0 0 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-nav-btn {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-card, 
    .sidebar-offices-card {
        padding: 1.25rem;
    }
}

/* Hero Styles */
.hero-contact {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../images/default-banner.jpg');
    background-size: cover;
    background-position: center;
}
.hero-title { font-family: var(--font-serif); font-size: 2.5rem; margin-bottom: 1rem; color: var(--white); }
.hero-subtitle { max-width: 700px; margin: 0 auto; color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; }

/* Utilities & Form Layout */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.bg-light { background-color: var(--bg-light); }
.required-star { color: #dc2626; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; }
.form-label { font-size: 0.88rem; font-weight: 600; color: #334155; margin-bottom: 0.35rem; }
.form-textarea { resize: vertical; }

/* Buttons & Alerts */
.btn-primary { background-color: #0f172a; color: #ffffff; border: none; padding: 0.85rem 1.25rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.2s ease; }
.btn-primary:hover { background-color: #1e293b; }
.btn-full { width: 100%; }

.alert { padding: 0.85rem 1rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 1.25rem; }
.alert-success { background-color: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.alert-danger { background-color: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }

/* Sidebar & Office Card */
.card-title, .sidebar-title { color: #1e293b; margin-top: 0; margin-bottom: 0.5rem; }
.sidebar-subtitle { color: #64748b; font-size: 0.88rem; margin-bottom: 1.25rem; }
.office-icon { margin-right: 0.3rem; }
.empty-state-text { color: #94a3b8; font-size: 0.9rem; }