/* ===== MERGED global.css (canonical) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "TDCArch";
    src: url("../../TDCArch.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #3d403a;
    --secondary-color: #3d3d36;
    --accent-color: #e88c00; /* TDC Orange */
    --accent-dark: #3d403a; /* dark */
    /* semantic neutrals */
    --muted: #666666;
    --muted-2: #999999;
    --muted-3: #777777;
    --border-light: #e0e0e0;
    --bg-muted: #f9f9f9;
    --light-color: #ffffff;
    --light-alt: #f7f7f7;
    --text-dark: #3d403a; 
    --text-light: #363636;
    --border-color: #363636;
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: auto;
}

/* Reset button default styles */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border: none; 
    background: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Keyboard navigation accessibility */
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

body {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-synthesis: none;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Prevent confirmation modal flashing in the page flow before its stylesheet loads. */
.confirmation-modal { display: none; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-banner-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== LOGO BANNER ===== */
.logo-banner {
    position: relative;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 12px 0;
    overflow: hidden;
    background: var(--primary-color);
    border-top: 6px solid var(--accent-color);
    border-bottom: 6px solid var(--accent-color);
    display: block;
}

.logo-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.banner-logo {
    width: 100%;
    height: auto;
    max-width: 420px;
    max-height: 95px;
    object-fit: contain;
    object-position: center;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}

/* ===== TOP BANNER / FOOTER BANNER ===== */
.footer-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%);
    color: var(--text-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0;
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-text {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text-dark);
}

.banner-text p {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-dark);
}

.banner-divider {
    width: 1px;
    height: 20px;
    background: rgba(42, 42, 42, 0.2);
}

.banner-contact {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.banner-contact span {
    white-space: nowrap;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background: transparent;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
}

.logo-overlay-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    top: auto;
    width: 100%;
    max-width: none;
    padding: 0;
    z-index: 2;
}

.logo-overlay-nav .nav-container {
    padding: 0 20px;
    justify-content: flex-start;
}

.logo-overlay-nav .nav-menu {
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: flex-end;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.navbar-fixed {
    display: none;
}

.nav-container-fixed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container-fixed .nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: none;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

/* Map popup and marker typography: use the site's TDC font for HTML popups/labels. */
.leaflet-popup-content,
.leaflet-popup-content strong,
.leaflet-popup-tip,
.map-popup-city,
.map-popup-link {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
}

.leaflet-popup-content .map-popup-link a,
.leaflet-popup-content a {
    color: var(--accent-color) !important;
    text-decoration: none;
    font-weight: 600;
}

.leaflet-popup-content .map-popup-link a:hover,
.leaflet-popup-content a:hover {
    text-decoration: underline;
}

/* Ensure any custom marker labels or generated HTML uses the font */
.custom-marker,
.custom-marker * {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Note: base map raster tiles (street/place labels inside the tile images) cannot be restyled via CSS.
   To style map UI text (controls, popups, markers) we use CSS above. For full control of map label fonts
   consider switching to vector tiles (Mapbox/MapLibre) with custom style including the TDC font. */

.nav-link.active::after {
    width: 100% !important;
}

body.loaded .nav-link {
    transition: var(--transition);
}

body.loaded .nav-link::after {
    transition: var(--transition);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a.active {
    color: var(--accent-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-color);
    color: white;
    padding: 0; /* banner and .footer-inner provide spacing */
    margin-top: 0; /* remove extra gap so footer fits its content */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p,
.footer-section a {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.footer-section a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo-banner {
        height: 140px;
        padding: 10px 0;
        border-top-width: 5px;
        border-bottom-width: 5px;
    }

    .logo-banner-inner {
        justify-content: center;
    }

    .banner-logo {
        max-width: 320px;
        max-height: 70px;
    }

    .footer-banner {
        padding: 0.9rem 0;
    }

    .navbar-fixed {
        display: flex;
        position: absolute;
        top: 18px;
        left: 1rem;
        width: auto;
        height: 36px;
        background: rgba(0, 0, 0, 0.25);
        color: white;
        padding: 0.25rem 0.6rem;
        z-index: 100;
        box-shadow: none;
        border-radius: 3px;
    }

    .navbar {
        display: none;
    }

    .nav-container-fixed {
        justify-content: space-between;
    }

    .nav-container-fixed .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        max-height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 3rem 1.5rem 1rem;
        gap: 0;
        z-index: 1001;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-container-fixed .nav-menu.active {
        left: 0;
    }

    .nav-container-fixed .nav-menu li {
        padding: 0.3rem 0;
        border-bottom: none;
        width: 100%;
    }

    .nav-container-fixed .nav-menu li:first-child {
        padding-top: 0.3rem;
    }

    .nav-container-fixed .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-container-fixed .nav-menu li a.active {
        color: var(--accent-color) !important;
    }

    .nav-container-fixed .nav-menu li a:hover {
        color: var(--accent-color) !important;
    }

    body.loaded .nav-container-fixed .nav-menu li a {
        transition: color var(--transition);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
        background: white;
        margin: 4px 0;
        transition: var(--transition);
    }

    .nav-link::after {
        display: none;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .banner-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
    }

    .banner-text {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        row-gap: 0.25rem;
    }

    .banner-text h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .banner-text p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .banner-divider {
        display: none;
    }

    .banner-contact {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

}

/* End merged global styles */

/* Projects styles moved to assets/css/projects.css */
@media (max-width: 600px) {
    .logo-banner {
        padding-top: 0 !important;
    }
    .navbar-fixed .hamburger {
        top: 16px !important;
        left: 6px !important;
        transform: none !important;
        margin: 0 !important;
    }
}
@media (max-width: 955px) {
    .logo-banner {
        position: relative !important;
        padding-top: 0 !important;
    }
    .navbar-fixed {
        display: block !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        z-index: 200 !important;
        background: none !important;
        pointer-events: auto;
    }
    .navbar-fixed .nav-container-fixed {
        width: auto;
        height: auto;
        display: block;
        pointer-events: auto;
    }
    .navbar-fixed .nav-menu {
        display: none !important;
        flex-direction: column !important;
        background: var(--primary-color) !important;
        position: absolute !important;
        top: 100%;
        left: 0;
        width: 100vw;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        border-bottom: 2px solid var(--accent-color);
        padding: 0.5rem 0;
    }
    .navbar-fixed .hamburger {
        display: block !important;
        position: absolute;
        top: 16px;
        left: 16px;
        width: 36px;
        height: 36px;
        z-index: 210;
        background: none;
        border: none;
        cursor: pointer;
        margin: 0;
        pointer-events: auto;
        transform: none;
    }
    .navbar-fixed .hamburger span {
        display: block;
        width: 28px;
        height: 4px;
        margin: 5px auto;
        background: var(--accent-color);
        border-radius: 2px;
        transition: all 0.3s;
    }
    .navbar-fixed .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .navbar-fixed .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .navbar-fixed .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    .navbar-fixed .nav-menu.active {
        display: flex !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        left: 16px !important;
        transform: none !important;
        right: auto !important;
        position: absolute !important;
        top: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
    }
}
@media (max-width: 480px) {
    .logo-banner {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: visible !important;
        padding: 4px 0 !important;
        width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        background: var(--primary-color) !important;
    }
    .logo-banner-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100vw !important;
        min-width: 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }
    .logo-banner,
    .logo-banner-inner {
        overflow-x: auto !important;
        overflow-y: visible !important;
        width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
    .banner-logo {
        width: 100vw !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
        background: transparent !important;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "TDCArch";
    src: url("../../TDCArch.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #3d403a;
    --secondary-color: #3d3d36;
    --accent-color: #e88c00;
    --accent-dark: #3d403a;
    --light-color: #ffffff;
    --light-alt: #f7f7f7;
    --text-dark: #3d403a;
    --text-light: #363636;
    --border-color: #363636;
    --border-radius: 4px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: auto;
}

/* Reset button default styles */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Ensure buttons use the brand font (some browsers use system UI for form controls) */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.cta-button,
.project-button {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Keyboard navigation accessibility - Focus visible states */
button:focus-visible,
input[type="button"]:focus-visible,
input[type="submit"]:focus-visible,
input[type="reset"]:focus-visible,
a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Link focus states */
a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    outline: none;
}

/* Keyboard navigation accessibility - Focus visible for all interactive elements */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

body {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-synthesis: none;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Contact form: remove heavy focus outline and avoid laggy animations
   Keep a subtle, fast border-color change for keyboard users */
.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 1px solid var(--border-color);
    padding: 0.75rem 0.9rem;
    border-radius: var(--border-radius);
    background: #fff;
    box-shadow: none;
    transition: border-color 120ms linear, box-shadow 120ms linear;
}

.contact-form input:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus,
.contact-form textarea:focus-visible,
.contact-form select:focus,
.contact-form select:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: rgba(232,140,0,0.9);
}

/* Ensure labels and spacing remain consistent */
.contact-form .form-group { margin-bottom: 0.75rem; }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-banner-wrap {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== LOGO BANNER ===== */
.logo-banner {
    position: relative;
    width: 100%;
    height: 120px;
    margin: 0;
    padding: 12px 0;
    overflow: hidden;
    background: var(--primary-color);
    border-top: 6px solid var(--accent-color);
    border-bottom: 6px solid var(--accent-color);
    display: block;
}

.logo-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.banner-logo {
    width: 100%;
    height: auto;
    max-width: 420px;
    max-height: 95px;
    object-fit: contain;
    object-position: center;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 955px) {
    .logo-banner {
        height: auto !important;
        min-height: 0 !important;
        padding: 8px 0 !important;
        border-top-width: 5px !important;
        border-bottom-width: 5px !important;
        overflow: visible !important;
    }
    .logo-banner-inner {
        justify-content: center !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
  
    .banner-logo {
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 320px !important;
        max-height: 60px !important;
        height: auto !important;
        object-fit: contain !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
}

/* Ensure desktop overlay nav is visible on wide screens */
@media (min-width: 956px) {
    .logo-overlay-nav {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .navbar-fixed {
        display: none !important;
    }
}

/* Mobile: hide the overlay nav and show the fixed mobile navbar at small widths */
@media (max-width: 955px) {
    .logo-overlay-nav {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
    }
    .navbar-fixed {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* ===== FOOTER BANNER ===== */
.footer-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color) 100%);
    color: var(--text-dark);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.banner-text {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.banner-text h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--text-dark);
}

/* Footer logos and copyright */
.site-footer {
    background: var(--primary-color);
    color: var(--light-color);
    padding-top: 0; /* allow banner to sit flush at the top of the footer */
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Make the footer banner full-bleed across the viewport while keeping
   its inner content constrained to the normal site width. */
.site-footer .footer-banner {
    /* Use 100% instead of 100vw to avoid horizontal scroll when a
       vertical scrollbar is present (100vw includes scrollbar width). */
    position: relative;
    width: 100%;
    box-sizing: border-box;
    border-bottom: none;
    padding: 0; /* banner-container handles vertical padding */
    margin: 0;
    display: block;
    overflow: visible;
}
.site-footer .footer-banner .banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer .footer-banner {
    border-bottom: none; /* banner is inside footer, no need for divider */
}
.footer-logos {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: flex-end;
}
.footer-logos img {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.95;
    /* Force logos to render white on dark footer backgrounds. Works for
       monochrome SVGs and bitmap logos; if an SVG uses currentColor this
       will also ensure it's visible. */
    filter: brightness(0) invert(1);
}
.footer-copyright {
    margin: 0;
    font-size: 0.95rem;
    text-align: left;
}

@media (max-width: 600px) {
    .footer-logos img { height: 28px; }
    .site-footer .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .footer-logos { justify-content: center; }
    .footer-copyright { text-align: center; }
}

.banner-text p {
    font-size: 0.85rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-dark);
}

.banner-divider {
    width: 1px;
    height: 20px;
    background: rgba(42, 42, 42, 0.2);
}

.banner-contact {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.banner-contact span {
    white-space: nowrap;
}
/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background: transparent;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
}

.logo-overlay-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    top: auto;
    width: 100%;
    max-width: none;
    padding: 0;
    z-index: 2;
}

.logo-overlay-nav .nav-container {
    padding: 0 20px;
    justify-content: flex-start;
}

.logo-overlay-nav .nav-menu {
    margin: 0;
    gap: 2rem;


}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Fixed navbar at top - MOBILE ONLY */
.navbar-fixed {
    display: none;
}

.nav-container-fixed {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container-fixed .nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
        padding-top: 0;
        padding-bottom: 0;
        line-height: 1;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: none;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: none;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Enable transitions after page loads */
body.loaded .nav-link {
    transition: var(--transition);
}

body.loaded .nav-link::after {
    transition: var(--transition);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
}

.hero-intro {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--text-light) 100%);
    padding: 80px 20px;
    text-align: center;
}

.hero-intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-intro h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.value-propositions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.value-prop {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.value-prop h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.value-prop p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(54, 54, 54, 0.7) 0%, rgba(54, 54, 54, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out 0.3s forwards;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 14px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.cta-button:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(232, 140, 0, 0.3);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--light-alt);
    color: var(--primary-color);
    padding: 28px 20px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.header-content h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.header-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.header-content h1::after {
    content: "";
    display: block;
    width: 90px;
    height: 2px;
    background: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 999px;
}

/* Projects styles moved to assets/css/projects.css */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.portfolio-item {
    opacity: 1;
    transition: var(--transition);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: var(--border-radius);
    background: var(--border-color);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(54, 54, 54, 0.85) 0%, rgba(54, 54, 54, 0.75) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--accent-color);
    color: white;
    padding: 6px 12px;
    border-radius: var(--border-radius);
    width: fit-content;
    margin-bottom: 1rem;
}

.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.overlay p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.5;
}

.view-project {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

/* ===== Stats Section: hero-style large numbers ===== */
.stats-section { margin: 28px 0; }
.stats-section.stats-hero {
    position: relative;
    background: var(--light-color);
    padding: 2.25rem 1.5rem;
    border-radius: calc(var(--border-radius) + 4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.stats-section.stats-hero::before { display: none; }
.stats-section.stats-hero .hero-grid {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}
.hero-stat {
    min-width: 160px;
    flex: 0 1 220px;
    text-align: center;
}
.hero-number {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}
/* no background badge — keep numbers clean */
.hero-label {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}
.hero-label::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    margin: 8px auto 0;
    opacity: 0.95;
}

@media (max-width: 900px) {
    .hero-number { font-size: 2.6rem; }
}
@media (max-width: 520px) {
    .hero-number { font-size: 2rem; }
    .stats-section.stats-hero .hero-grid { gap: 18px; }
}

.stats-heading {
    margin: 0 0 1rem 0;
    text-align: center;
    font-size: 1.55rem;
    color: var(--primary-color);
    font-weight: 700;
}

.view-project:hover {
    transform: translateX(4px);
}

.view-all {
    text-align: center;
}

.link-btn {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    transition: var(--transition);
}

.link-btn:hover {
    color: var(--accent-dark);
    border-bottom-color: var(--accent-dark);
}

/* ===== EXPERTISE SECTION ===== */
.expertise {
    padding: 100px 20px;
    background: white;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.expertise-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.expertise-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.expertise-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 20px;
    background: var(--light-color);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.highlight h4 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.highlight p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 100px 20px;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-color: var(--accent-color);
}

/* Strong override for contact form fields to remove heavy outline and avoid double borders */
.contact-form .form-group input:focus-visible,
.contact-form .form-group textarea:focus-visible,
.contact-form .form-group select:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border-color: rgba(232,140,0,0.9) !important;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 140, 0, 0.3);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--accent-dark);
}

/* ===== FOOTER ===== */
.footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    padding: 15px 20px;
    box-sizing: border-box;
}

.footer .container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    gap: 0.75rem;
    padding-bottom: 15px;
}

.footer-links {
    flex: 0 0 auto;
}

.footer-links h4 {
    display: none;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-copyright {
    flex: 0 0 auto;
    text-align: left;
}

.footer p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

.bottom-banner {
    background: var(--accent-dark);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 120px;
}

.bottom-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Banner container for mobile - prevent shrinking too small */
    body > div:first-child {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;
        min-height: 80px;
    }

    body > div:first-child img {
        width: 100%;
        height: auto;
        min-height: 80px;
        object-fit: cover;
        display: block;
    }

    body {
        padding-top: 0;
    }

    .navbar-fixed {
        display: flex;
        position: absolute;
        top: 18px;
        left: 1rem;
        width: auto;
        height: 36px;
        background: rgba(0, 0, 0, 0.25);
        color: white;
        padding: 0.25rem 0.6rem;
        z-index: 100;
        box-shadow: none;
        border-radius: 3px;
    }

    /* Hide desktop overlay navbar on mobile */
    .navbar {
        display: none;
    }

    .nav-container-fixed {
        justify-content: space-between;
    }

    .nav-container-fixed .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        max-height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding: 3rem 1.5rem 1rem;
        gap: 0;
        z-index: 1001;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: center;
    }

    .nav-container-fixed .nav-menu.active {
        left: 0;
    }

    .nav-container-fixed .nav-menu li {
        padding: 0.3rem 0;
        border-bottom: none;
        width: 100%;
    }

    .nav-container-fixed .nav-menu li:first-child {
        padding-top: 0.3rem;
    }

    .nav-container-fixed .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-container-fixed .nav-menu li a.active {
        color: var(--accent-color) !important;
    }

    .nav-container-fixed .nav-menu li a:hover {
        color: var(--accent-color) !important;
    }

    /* Enable transitions after page load */
    body.loaded .nav-container-fixed .nav-menu li a {
        transition: color var(--transition);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
        background: white;
        margin: 4px 0;
        transition: var(--transition);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        color: var(--accent-color);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .banner-container {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        text-align: center;
    }

    .banner-divider {
        display: none;
    }

    .banner-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .expertise-item {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .footer-links ul {
        flex-direction: row;
        gap: 0.75rem;
    }

    .footer-copyright {
        text-align: center;
        width: 100%;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }
}

/* Projects styles moved to assets/css/projects.css */

.project-footer {
    padding-bottom: 20px;
    padding-left: 20px;
}

/* Projects styles moved to assets/css/projects.css */

/* About Page */
.about-page {
    padding: 80px 20px;
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch; /* ensure columns match height */
    margin-bottom: 5rem;
}

.about-text-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-image-section {
    display: block;
    height: 100%;
}
.about-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: block;
}

.stats-section {
    background: var(--light-color);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 4rem;
    text-align: center;
}

.stats-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

.stat-box h3 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-light);
    margin: 0;
}

.values-section {
    margin-top: 3rem;
}

/* ===== LOCATIONS MAP ===== */
.locations-map-section {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--light-alt);
    border-radius: var(--border-radius);
    border: 1px solid rgba(61, 64, 58, 0.08);
}

.locations-map-header {
    text-align: center;
    margin-bottom: 2rem;
}

.locations-map-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.locations-map-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.locations-map {
    width: 100%;
    height: 650px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.locations-map-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--muted-3);
}

.map-popup-city {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.map-popup-link {
    margin-top: 0.5rem;
}

.map-popup-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.map-popup-link a:hover {
    text-decoration: underline;
}

/* Custom map markers */
.custom-marker {
    background: transparent;
    border: none;
}

.marker-pin {
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    background: var(--accent-color);
    position: absolute;
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.marker-pin::after {
    content: '';
    width: 10px;
    height: 10px;
    margin: 7px 0 0 7px;
    background: white;
    position: absolute;
    border-radius: 50%;
}

.custom-marker:hover .marker-pin {
    background: var(--accent-dark);
}

.values-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    /* Neutral hover: keep original border color, no glow or lift */
    border-color: var(--border-color);
    box-shadow: none;
    transform: none;
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

/* Team Page */
.team-page {
    padding: 60px 20px;
    background: white;
}

.team-page + .team-page-alt {
    padding-top: 30px;
}

.team-page-alt {
    background: var(--light-color);
}

.team-featured {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.team-featured-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.team-featured-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(232, 140, 0, 0.5);
}

.team-featured-card .member-image {
    height: 220px;
    min-height: 220px;
    overflow: hidden;
}

.team-featured-card .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: var(--transition);
}

.team-featured-card:hover .member-image img {
    transform: scale(1.05);
}

.team-featured-card.richard-bailey .member-image img {
    object-position: center 35%;
}

.member-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 999px; 
    background: rgba(232, 140, 0, 0.15);
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    justify-items: center;
}

.team-grid-compact {
    margin-top: 1.75rem;
}

.team-member {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    width: 100%;
    max-width: 280px;
}

.team-grid > .team-member:last-child {
    grid-column: 2;
}

.team-member:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
    border-color: rgba(232, 140, 0, 0.5);
}

.member-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member.andrew-farr .member-image img {
    object-position: center 20%;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.newsletter-accordion-item {
    transition: var(--transition);
}

.newsletter-accordion-item:hover,
.newsletter-accordion-item:focus-within {
    border-color: rgba(232, 140, 0, 0.8) !important;
    box-shadow: 0 10px 24px rgba(232, 140, 0, 0.12);
}

.newsletter-iframe {
    width: 100%;
    border: 0;
    height: 600px;
    display: block;
}

.newsletter-latest-meta,
.newsletter-latest-title,
.newsletter-latest-read,
.newsletter-accordion-date,
.newsletter-accordion-title,
.newsletter-accordion-read {
    font-family: "TDCArch", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.newsletter-latest-meta {
    color: var(--accent-color) !important;
    font-weight: 600;
}

.newsletter-latest-title,
.newsletter-accordion-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.member-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.member-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}

.member-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.member-social a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.member-social a:hover {
    color: var(--accent-dark);
}

/* Contact Page */
.contact-page {
    padding: 80px 20px;
    background: white;
}

.contact-wrapper-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section,
.contact-info-section {
    display: flex;
    flex-direction: column;
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.info-card-full {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.info-card-full h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-card-full p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.info-card-full a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-card-full a:hover {
    color: var(--accent-dark);
}

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.info-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.info-item a:hover {
    color: var(--accent-dark);
}

.social-contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-contact-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.social-contact-links a:hover {
    background: var(--accent-color);
    color: white;
}

/* Map Section */
.map-section {
    padding: 40px 20px 80px 20px;
    background: var(--light-color);
}

.map-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.map-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.map-header {
    padding: 1.5rem;
    background: var(--light-color);
    border-bottom: 3px solid var(--accent-color);
}

.map-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.map-card iframe {
    display: block;
    width: 100%;
}

.map-info {
    padding: 1.5rem;
    background: white;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
}

.map-info p {
    margin: 0;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 60px 20px;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===== RESPONSIVE - PAGE-SPECIFIC ===== */
@media (min-width: 769px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper-full {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .maps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-card iframe {
        height: 300px !important;
    }

    .map-placeholder {
        height: 300px;
    }

    .page-header {
        padding: 60px 20px;
        min-height: 250px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-page {
        padding: 40px 16px;
    }

    .team-featured {
        gap: 1.25rem;
        margin-bottom: 2rem;
        grid-template-columns: 1fr;
    }

    .team-featured-card {
        border-radius: var(--border-radius);
    }

    .team-featured-card .member-image {
        min-height: 180px;
    }

    .member-info {
        padding: 0.9rem 1rem 1.1rem;
    }

    .member-info h3 {
        font-size: 1rem;
    }

    .member-role {
        font-size: 0.75rem;
    }

    .member-bio {
        font-size: 0.82rem;
    }

    .member-social {
        gap: 0.5rem;
    }

    .member-social a {
        font-size: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

    .project-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }


    .project-image {
        width: 100%;
        height: 250px;
        min-height: 160px;
        aspect-ratio: 16/9;
        overflow: hidden;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        min-height: 160px;
        aspect-ratio: 16/9;
        object-fit: cover;
        transition: var(--transition);
        display: block;
    }
@media (max-width: 600px) {
    .project-image {
        height: 38vw;
        min-height: 120px;
        max-height: 220px;
        aspect-ratio: 16/9;
    }
    .project-image img {
        min-height: 120px;
        aspect-ratio: 16/9;
    }
}

    .project-card:hover .project-image img {
        transform: scale(1.05);
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
    }

    .project-type {
        color: var(--accent-color);
        font-weight: 600;
        font-size: 0.85rem;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .project-description {
        color: var(--text-light);
        margin-bottom: 1.5rem;
        line-height: 1.6;
        padding-bottom: -10px;
    }

    .project-link {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 600;
        transition: var(--transition);
    }

    .project-link:hover {
        color: var(--accent-dark);
    }

    /* ===== ABOUT PAGE ===== */
    .about-page {
        padding: 80px 20px;
        background: white;
    }

    .about-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
        margin-bottom: 5rem;
    }

    .about-text-section h2 {
        font-size: 2.5rem;
        color: var(--primary-color);
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .about-text-section p {
        color: var(--text-light);
        margin-bottom: 1.5rem;
        line-height: 1.8;
        font-size: 1.05rem;
    }

    .about-image-section img {
        width: 100%;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .stats-section {
        background: var(--light-color);
        padding: 4rem 2rem;
        border-radius: var(--border-radius);
        margin-bottom: 4rem;
        text-align: center;
    }

    .stats-section h2 {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 3rem;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }

    .stat-box {
        background: white;
        padding: 2rem;
        border-radius: var(--border-radius);
        border-left: 4px solid var(--accent-color);
    }

    .stat-box h3 {
        color: var(--accent-color);
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .stat-box p {
        color: var(--text-light);
        margin: 0;
    }

    .values-section {
        margin-top: 3rem;
    }

    .values-section h2 {
        font-size: 2rem;
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 3rem;
    }

    .values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .value-card {
        background: var(--light-color);
        padding: 2rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
        border: 1px solid var(--border-color);
    }

    .value-card:hover {
        /* Neutral hover in responsive rules as well */
        transform: none;
        border-color: var(--border-color);
        box-shadow: none;
    }

    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        display: block;
    }

    .value-card h3 {
        color: var(--primary-color);
        margin: 0 0 1rem 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

    .value-card p {
        color: var(--text-light);
        line-height: 1.7;
        margin: 0;
        font-size: 0.95rem;
    }

    /* ===== TEAM PAGE ===== */
    .team-page {
        padding: 60px 20px;
        background: white;
    }

    .team-page + .team-page-alt {
        padding-top: 30px;
    }

    .team-page-alt {
        background: var(--light-color);
    }

    .team-featured {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .team-featured-card {
        display: flex;
        flex-direction: column;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: var(--border-radius);
        overflow: hidden;
        transition: var(--transition);
    }

    .team-featured-card:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        transform: translateY(-4px);
        border-color: rgba(245, 166, 35, 0.5);
    }

    .team-featured-card .member-image {
        height: 220px;
        min-height: 220px;
    }

    .member-chip {
        display: inline-flex;
        align-items: center;
        padding: 0.35rem 0.8rem;
        border-radius: 999px;
        background: rgba(245, 166, 35, 0.15);
        color: var(--accent-dark);
        font-weight: 600;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0.75rem;
    }

    .team-grid-compact {
        margin-top: 1.75rem;
    }

    .team-member {
        background: var(--light-color);
        border-radius: var(--border-radius);
        overflow: hidden;
        transition: var(--transition);
        width: 100%;
    }

    .team-member:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transform: translateY(-5px);
    }

    .member-image {
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .member-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition);
    }

    .team-member:hover .member-image img {
        transform: scale(1.05);
    }

    .member-info {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .member-info h3 {
        color: var(--primary-color);
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .member-role {
        color: var(--accent-color);
        font-weight: 600;
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .member-bio {
        color: var(--text-light);
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.55;
    }

    .member-social {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .member-social a {
        color: var(--accent-color);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 600;
        transition: var(--transition);
    }

    .member-social a:hover {
        color: var(--accent-dark);
    }

    /* ===== CONTACT PAGE ===== */
    .contact-page {
        padding: 80px 20px;
        background: white;
    }

    .contact-wrapper-full {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .contact-form-section,
    .contact-info-section {
        display: flex;
        flex-direction: column;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        color: var(--primary-color);
        font-size: 2rem;
        margin-bottom: 2rem;
        margin-top: 0;
    }

    .info-card-full {
        background: var(--light-color);
        padding: 1.5rem;
        border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
        border-left: 4px solid var(--accent-color);
    }

    .info-card-full h3 {
        color: var(--primary-color);
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .info-card-full p {
        color: var(--text-light);
        margin: 0;
        line-height: 1.6;
    }

    .info-card-full a {
        color: var(--accent-color);
        text-decoration: none;
        transition: var(--transition);
    }

    .info-card-full a:hover {
        color: var(--accent-dark);
    }

    .info-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid var(--border-light);
    }

    .info-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .info-item strong {
        display: block;
        color: var(--primary-color);
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.5rem;
    }

    .info-item p {
        margin: 0;
        color: var(--text-color);
        line-height: 1.6;
    }

    .info-item a {
        color: var(--accent-color);
        text-decoration: none;
        transition: var(--transition);
        font-weight: 500;
    }

    .info-item a:hover {
        color: var(--accent-dark);
    }

    .social-contact-links {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-contact-links a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 600;
        padding: 0.5rem 1rem;
        border: 1px solid var(--accent-color);
        border-radius: var(--border-radius);
        transition: var(--transition);
    }

    .social-contact-links a:hover {
        background: var(--accent-color);
        color: white;
    }

    /* Map Section */
    .map-section {
        padding: 40px 20px 80px 20px;
        background: var(--light-color);
    }

    .map-section h2 {
        font-size: 2rem;
        color: var(--primary-color);
        text-align: center;
        margin-bottom: 3rem;
    }

    .maps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .map-card {
        background: white;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .map-header {
        padding: 1.5rem;
        background: var(--light-color);
        border-bottom: 3px solid var(--accent-color);
    }

    .map-header h3 {
        margin: 0;
        font-size: 1.2rem;
        color: var(--primary-color);
    }

    .map-card iframe {
        display: block;
        width: 100%;
    }

    .map-info {
        padding: 1.5rem;
        background: white;
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--text-color);
    }

    .map-info p {
        margin: 0;
    }

    .map-placeholder {
        width: 100%;
        height: 400px;
        background: white;
        border-radius: var(--border-radius);
        border: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-light);
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 20px;
        background: var(--primary-color);
        color: white;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        opacity: 0.95;
    }

    /* Responsive - New Pages */
    @media (max-width: 768px) {
        .about-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .contact-wrapper-full {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .maps-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .map-card iframe {
            height: 300px !important;
        }

        .projects-grid {
            grid-template-columns: 1fr;
        }

        .team-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .team-featured {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .team-featured-card {
            flex-direction: column;
        }

        .team-featured-card .member-image {
            min-height: 200px;
        }

        .team-featured {
            grid-template-columns: 1fr;
        }

        .member-info {
            padding: 1rem 1.25rem 1.25rem;
        }

        .member-info h3 {
            font-size: 1rem;
        }

        .member-role {
            font-size: 0.75rem;
        }

        .member-bio {
            font-size: 0.82rem;
        }


    @media (max-width: 480px) {
        .team-page {
            padding: 40px 16px;
        }

        .team-featured {
            gap: 1.25rem;
            margin-bottom: 2rem;
        }

        .team-featured-card {
            border-radius: var(--border-radius);
        }

        .team-featured-card .member-image {
            min-height: 180px;
        }

        .member-info {
            padding: 0.9rem 1rem 1.1rem;
        }

        .member-social {
            gap: 0.5rem;
        }

        .member-social a {
            font-size: 0.75rem;
        }
    }
        .values-grid {
            grid-template-columns: 1fr;
        }

        .map-placeholder {
            height: 300px;
        }

        .page-header {
            padding: 60px 20px;
            min-height: 250px;
        }

        .header-content h1 {
            font-size: 2rem;
        }

        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
