/* FONT FACES */
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Thin.ttf') format('truetype'); font-weight: 100; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ThinItalic.ttf') format('truetype'); font-weight: 100; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraLightItalic.ttf') format('truetype'); font-weight: 200; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-SemiBoldItalic.ttf') format('truetype'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-ExtraBoldItalic.ttf') format('truetype'); font-weight: 800; font-style: italic; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; }
@font-face { font-family: 'Raleway'; src: url('../fonts/Raleway-BlackItalic.ttf') format('truetype'); font-weight: 900; font-style: italic; }

/* BODY */
body {
    font-family: 'Raleway', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.main-content {
    flex: 1;
}

/* PAGE HEADER */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 80px 40px 60px;
    text-align: center;
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: -20px; /* compensate for blur edge fade */
    background: url('../images/header_3.avif');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #00569d80;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 20px;
    font-weight: 300;
    margin: 0;
    opacity: 0.95;
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 40px;
    background: #E9F9FF;
    min-height: 50vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* OFFICE GRID */
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* OFFICE CARDS */
.office-card {
    background: white;
    padding: 40px 35px;
    border-top: 4px solid #00579D;
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
}

.sister-company-aside {
    width: min(320px, 100%);
    margin: -30px 0 40px auto;
    padding: 18px 20px;
    background: #fff;
    border-top: 4px solid #00579D;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sister-company-label {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #00579D;
}

.sister-company-link {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #00579D;
    text-decoration: none;
}

.sister-company-link:hover {
    color: #0076D1;
    text-decoration: underline;
}

.office-name {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00579D;
    margin: 0 0 4px;
    letter-spacing: 0.3px;
}

.office-location {
    display: inline-block;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #00579D;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    padding: 4px 12px;
    background: #E9F9FF;
    border: 1px solid #00579D30;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.office-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.detail-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #00579D;
    margin-top: 2px;
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.detail-value {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.detail-link {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #00579D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.detail-link:hover {
    color: #0076D1;
    text-decoration: underline;
}

/* IDENTIFICATION SECTION */
.ident-section {
    background: white;
    padding: 50px 40px;
    border-top: 4px solid #00579D;
}

.ident-title {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #00579D;
    margin: 0 0 35px;
    text-align: center;
    letter-spacing: 0.5px;
}

.ident-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.ident-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 15px 20px;
    border-left: 3px solid #00579D;
    background: #f8fcff;
}

.ident-label {
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.ident-value {
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
}

.ident-link {
    color: #00579D;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ident-link:hover {
    color: #0076D1;
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .office-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 20px 40px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 17px;
    }

    .contact-section {
        padding: 50px 20px;
    }

    .office-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .office-card {
        padding: 30px 25px;
    }

    .sister-company-aside {
        margin: 0 0 28px 0;
        width: 100%;
    }

    .ident-section {
        padding: 40px 25px;
    }

    .ident-title {
        font-size: 24px;
    }

    .ident-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

/* MAP SECTION */
.map-section {
    margin: 48px 0 0 0;
    background: #fff;
    position: relative;
    z-index: 0;
}

#officesMap {
    width: 100%;
    height: 480px;
    position: relative;
    z-index: 0;
}

.map-pin {
    width: 20px;
    height: 20px;
    background: #00569d;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.map-popup {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 13px;
    min-width: 160px;
}

.map-popup strong {
    font-size: 14px;
    color: #00569d;
    margin-bottom: 2px;
}

.map-popup-loc {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 2px;
}

@media (max-width: 480px) {
    .page-title {
        font-size: 30px;
    }

    .office-name {
        font-size: 18px;
    }

    .ident-grid {
        grid-template-columns: 1fr;
    }
}
