﻿/* --- HOMEPAGE FLEXBOX LAYOUT & RESPONSIVE STYLES --- */
.homepage-flex {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 16px 16px;
}

/* Modern Section Headings */
.section-heading {
    margin: 0 0 12px 0;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .5px;
    background: linear-gradient(90deg,#1d4e89 0%, #4B7CD7 60%, #7fb0ff 100%);
    -webkit-background-clip: text;
    color: #1d4e89; /* fallback for older browsers */
    position: relative;
}
.section-heading::after {
    content: "";
    display: block;
    height: 3px;
    width: 42px;
    background: #4B7CD7;
    border-radius: 2px;
    margin-top: 6px;
}

/* --- Modern Homepage Layout --- */

/* Services Section - Full Width */
.services-cards {
    margin-bottom: 40px;
}
/* Mobile refinement for Services Provided section */
@media screen and (max-width: 768px) {
    .services-cards { margin-bottom: 56px; }
    .services-card-row { gap: 28px; }
    .service-card { padding: 22px 20px 20px; text-align: center; align-items: center; }
    .service-card h3 { font-size: 1.12em; }
    .service-points { align-items: center; }
    .service-points p { line-height: 1.55; text-align: center; }
}
/* Broaden centering up to small tablet widths so "small screen" >768px still centers */
@media screen and (max-width: 900px) {
    .services-cards { text-align: center; }
    .services-card-row { flex-direction: column; align-items: center; }
    .service-card { max-width: 560px; width: 100%; text-align: center; align-items: center; }
    .service-card h3 { text-align: center; }
    .service-card p, .service-points p { text-align: center; }
}

/* Bottom Section - News and Industry Side by Side */
.homepage-bottom-flex {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
}

@media screen and (min-width: 1025px) {
    .homepage-bottom-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        align-items: start;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .homepage-bottom-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Services Card Row */
.services-card-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media screen and (min-width: 769px) {
    .services-card-row {
        flex-direction: row;
        gap: 24px;
    }
}
@media screen and (min-width: 901px) {
    .service-card {
        text-align: left;
        align-items: flex-start;
    }
    .service-card h3,
    .service-card p,
    .service-points p {
        text-align: left;
    }
}
.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px 22px 22px;
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    line-height: 1.5;
    word-wrap: break-word;
    gap: 8px;
    text-align: center;
}
.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}
.service-card h3 {
    margin: 0 0 4px;
    font-size: 1.05em;
    font-weight: 600;
    color: #1f3a52;
    letter-spacing: .3px;
}
.service-card p {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
    color: #333;
}
.service-points {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.service-points p {
    margin: 0;
    font-size: 0.92em;
    color: #333;
    line-height: 1.45;
}

/* News Section - Vertical Stack */
.homepage-news-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.homepage-news-section h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.news-items-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 14px 16px;
    border-left: 3px solid #4B7CD7;
    font-size: 0.95em;
    color: #222;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s;
}

/* Spacing between stacked news items (homepage legacy horizontal variant) */
.news-items-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
@media screen and (max-width: 520px) {
    .services-cards { padding: 0 6px; }
    .services-card-row { padding: 0 2px; }
    .service-card { padding: 20px 18px 18px; }
    .service-card h3 { font-size: 1.18em; line-height: 1.3; }
    .service-card p, .service-points p { font-size: 0.95em; line-height: 1.6; }
    .service-card + .service-card { border-top: 1px solid #e2e8f0; }
}

.news-item:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    transform: translateX(2px);
}

.news-item strong {
    display: block;
    margin-bottom: 6px;
    color: #1a2a3a;
    font-size: 0.92em;
}

.news-item span {
    line-height: 1.5;
}

.news-item a {
    color: #0077cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.93em;
    padding: 2px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.news-item a:hover {
    border-bottom-color: #0077cc;
}

.news-item a:focus {
    outline: 2px solid #0077cc;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Industry Comments Section */
.homepage-industry-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.homepage-industry-section h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.industry-content {
    font-size: 0.95em;
    color: #333;
    line-height: 1.7;
}

.industry-content a {
    color: #0077cc;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.industry-content a:hover {
    border-bottom-color: #0077cc;
}

.industry-content a:focus {
    outline: 2px solid #0077cc;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Legacy industry sidebar spacing (current markup uses .homepage-industry) */
.homepage-industry {
    margin-top: 32px;
}
@media screen and (min-width: 1025px) {
    .homepage-industry {
        margin-top: 40px; /* ensure clear separation from news section */
    }
}

/* Section Headings */
.section-heading {
    font-size: 1.25em;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 12px;
}

/* Accessibility: Focus Styles */
a:focus, button:focus, input:focus, select:focus {
    outline: 2px solid #0077cc;
    outline-offset: 2px;
}

/* Touch-Friendly Sizing */
a, button, input, select {
    min-height: 44px;
    padding: 10px;
}

/* Responsive Main Content */
.homepage-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

/* Intro Section Modern Layout */
.intro {
    margin-bottom: 42px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.intro-lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f3a52;
    margin: 0;
    line-height: 1.4;
}
.intro-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}
.intro-chip {
    background: linear-gradient(135deg,#ffffff 0%, #eef5fb 100%);
    border: 1px solid #c9d9e8;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #2a4d63;
    border-radius: 24px;
    letter-spacing: .3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    transition: background .2s, box-shadow .2s;
}
.intro-chip:hover {
    background: #e4f0fa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
}
.intro-chip:focus {
    outline: 2px solid #4B7CD7;
    outline-offset: 2px;
}
.intro-context p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #374955;
    max-width: 900px;
}
@media screen and (min-width: 1025px) {
    .intro {
        flex-direction: column;
    }
    .intro-points {
        max-width: 1000px;
    }
}

/* Print Styles */
@media print {
    .homepage-sections-flex, .services-card-row, .news-items-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .service-card, .news-item, .homepage-industry {
        box-shadow: none !important;
        background: #fff !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
}
.primary-heading {
    font-size: 1.35rem;
    line-height: 1.3;
}

/* Card refinement */
.homepage-sidebar, .homepage-main {
    border: 1px solid #d9e4ef;
}
.homepage-sidebar {
    padding-top: 20px;
}
.homepage-main {
    padding-top: 28px;
}

/* Improve link appearance within news blocks */
.div-content-news a {
    text-decoration: underline;
    font-weight: 600;
}
.div-content-news a:hover, .div-content-news a:focus {
    color: #004a99;
}

@media screen and (min-width: 769px) {
    .homepage-flex {
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        padding: 32px 0;
    }
}

.homepage-sidebar {
    flex: 0 0 240px;
    min-width: 200px;
    max-width: 280px;
    background: #eaf2fa;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 20px 14px 24px 14px;
    margin-bottom: 32px;
}

.homepage-news {
    margin-right: 0;
}
.homepage-industry {
    margin-left: 0;
}

@media screen and (max-width: 768px) {
    .homepage-sidebar {
        max-width: 100%;
        min-width: 0;
        margin-bottom: 16px;
    }
}

.homepage-main {
    flex: 1 1 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 32px 28px 40px 28px;
    min-width: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 760px;
}

@media screen and (max-width: 768px) {
    .homepage-main {
        padding: 20px 14px 28px 14px;
        margin-bottom: 24px;
    }
}

.main-header-img {
    width: 100%;
    max-width: 403px;
    height: auto;
    margin: 0 auto 16px auto;
    display: block;
}
.main-divider-img {
    width: 100%;
    max-width: 403px;
    height: 12px;
    margin: 16px auto;
    display: block;
}

.div-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
    margin-bottom: 0;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
}
.div-content-services {
    margin-top: 0;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
}
.div-content-news {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #222;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
}

/* Sidebar images */
.homepage-sidebar img {
    display: block;
    margin: 0 auto 12px auto;
    max-width: 100%;
    height: auto;
}

/* Responsive stacking for mobile */
@media screen and (max-width: 768px) {
    .homepage-flex {
        flex-direction: column;
        gap: 16px;
        padding: 8px 0;
    }
    .homepage-main {
        gap: 16px;
    }
}

/* Site Header */
.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #d9e4ef;
}
.site-header-inner {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
    padding: 12px 16px;
    align-items: center;
}
.hero-media img { 
    width: 240px;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: opacity 0.5s ease-in-out;
}
.site-brand img {
    width: 210px;
    height: auto;
    display: block;
}
@media screen and (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        gap: 12px;
        padding: 12px 12px 4px 12px;
    }
    .hero-media img, .site-brand img {
        width: 100%;
        max-width: 340px;
    }
}

.main-navigation {
    background: #002b55;
    color: #fff;
    width: 100%;
}
.main-navigation .style1 a {
    color: #fff;
    font-weight: 600;
}
.main-navigation .style1 a:hover, .main-navigation .style1 a:focus {
    color: #cfe6ff;
}
@media screen and (max-width: 768px) {
    .main-navigation {
        background: transparent;
    }
    .main-navigation .style1 a {
        color: #002b55;
    }
}

/* Footer */
.site-footer {
    margin-top: 40px;
    border-top: 1px solid #d9e4ef;
    background: #f8f9fa;
    padding: 20px 16px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    align-items: center;
}
.footer-contact-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
}
.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #002b55;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    min-height: auto;
    padding: 0;
}
.footer-link:hover,
.footer-link:focus {
    color: #0077b5;
}
.footer-link svg {
    flex-shrink: 0;
}
.footer-legal {
    font-size: 0.85rem;
    color: #445b72;
}
.footer-legal a {
    color: #002b55;
    text-decoration: none;
    min-height: auto;
    padding: 0;
    display: inline;
}
.footer-legal a:hover,
.footer-legal a:focus {
    color: #004a99;
    text-decoration: underline;
}
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .footer-contact-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #000;
    text-align: center;
}

/* Legacy table layout (phased out) */
.table-layout {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 24px auto;
    border-spacing: 0;
    border-collapse: collapse;
}

/* Unify table rendering to avoid visible seams */
.table-layout table {
    border-collapse: collapse;
}

.table-layout th,
.table-layout td {
    border: 0;
    padding: 0;
}

/* Ensure header/divider images don’t introduce gaps */
.table-layout img {
    display: block;
}

/* Remove fixed height constraints from legacy content blocks */
.div-content, .div-content-services, .div-content-news { height: auto; overflow: visible; }

.page-content-service
{
    font-size: 14px;
}

/* Neutralize legacy table cell styling */
.table-left, .table-right, .table-news-left, .table-news-right, .table-spacer { width: 0; background: transparent; }
.table-content, .table-content-right, .table-news-content { background: transparent; padding: 0; width: auto; }

.footer
{
    font-size: 13px;
    text-align: right;
    font-weight: bold;
}

a:link
{
    color: #6666CC;
	text-decoration: underline;
}
a:visited 
{
    color: #6666CC;
	font-weight: normal;
	text-decoration: underline;
}
a:active 
{
    color: #6666CC;
	font-weight: normal;
	text-decoration: underline;
}
a:hover
{
	color: #CC0000;
	text-decoration: none;
}

.page-header-table
{
    vertical-align: top;
    text-align: left;
}

.page-header
{
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline;
}

.page-aff-links
{
    text-align: left;
    font-size: 14px;
}

.page-content
{
    text-align: left;
    width: 400px;
}

.page-content-news
{
    text-align: center;
    width: 840px;
}

/* News page: collapse non-active years */
.news-year-section.collapsed {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.news-year-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.news-year-section.active {
    max-height: 5000px; /* large enough to show contents */
    opacity: 1;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

/* Controls bar */
.news-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 20px 0;
    justify-content: center;
}

.news-control-btn {
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    cursor: pointer;
}

.news-control-btn:hover,
.news-control-btn:focus {
    background-color: #eee;
}

.news-years-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-year-chip {
    display: inline-block;
    padding: 4px 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    background-color: #fff;
}

.news-year-chip:hover,
.news-year-chip:focus {
    border-color: #4B7CD7;
    color: #000;
}

@media screen and (max-width: 768px) {
    .news-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .news-years-nav {
        justify-content: center;
    }
}

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


.page-content-service-header
{
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
}
/* Common utility styles */
.style1 {
    font-weight: normal;
}

.style2 {
    font-weight: normal;
    font-size: small;
    text-align: left;
}

.style3 {
    width: 100%;
}

.style4 {
    font-size: small;
}

.auto-style1 {
    width: 330px;
}

.auto-style2 {
    font-size: medium;
}

.auto-style3 {
    font-size: small;
}

/* Rounded corner boxes */
.roundedcornr_box_887437 {
    background: #e1e1e1;
}

.roundedcornr_top_887437 div {
    border-bottom: 1px solid black;
    border-top: 1px solid black;
    background: #e1e1e1;
}

.roundedcornr_top_887437 {
    background: #e1e1e1;
}

.roundedcornr_bottom_887437 div {
    background: url(../images/db00p9V379ry.png) no-repeat bottom left;
}

.roundedcornr_bottom_887437 {
    background: url(../images/mJHlJBJ3rQRs.png) no-repeat bottom right;
}

.roundedcornr_top_887437 div, .roundedcornr_top_887437, 
.roundedcornr_bottom_887437 div, .roundedcornr_bottom_887437 {
    width: 100%;
    height: 25px;
    text-align: left;
}

.roundedcornr_content_887437 {
    margin: 0 30px;
    text-align: left;
}

/* ==========================================
   RESPONSIVE & MOBILE OPTIMIZATION
   ========================================== */

/* Mobile-first responsive improvements */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .table-layout {
        width: 100% !important;
        max-width: 100%;
    }
    
    .table-content,
    .table-content-right {
        width: 100%;
        font-size: 13px;
    }
    
    .table-news-content {
        width: 100%;
        font-size: 13px;
    }
    
    .page-content {
        width: 100%;
    }
    
    .page-content-news {
        width: 100%;
    }
    
    .div-content {
        height: auto;
        overflow: visible;
    }
    
    .div-content-services {
        height: auto;
        overflow: visible;
    }
    
    .div-content-news {
        height: auto;
        overflow: visible;
    }
    
    /* Touch-friendly navigation */
    #ctl00_lblHeaderMenu a,
    #ctl00_lblFooterMenu a {
        padding: 10px 8px;
        display: inline-block;
    }
    
    /* Responsive images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better table stacking on mobile */
    table {
        max-width: 100%;
    }
    
    th, td {
        padding: 8px;
    }
}

/* Tablet optimization */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .table-layout {
        width: 90%;
    }
}

/* Modern accessibility improvements */
*:focus {
    outline: 2px solid #4B7CD7;
    outline-offset: 2px;
}

/* Modernized Header Navigation */
.main-navigation ul.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: #002b55;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.main-navigation ul.main-nav > li {
    position: relative;
    margin: 0;
}
.main-navigation ul.main-nav > li > a {
    display: block;
    color: #fff;
    font-weight: 600;
    padding: 12px 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border-radius: 0 0 8px 8px;
}
.main-navigation ul.main-nav > li > a:hover,
.main-navigation ul.main-nav > li > a:focus {
    background: #4B7CD7;
    color: #fff;
}
.main-navigation ul.main-nav > li.submenu > a::after {
    content: " ▼";
    font-size: 0.8em;
    margin-left: 4px;
}
.main-navigation ul.main-nav > li .dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    z-index: 100;
    padding: 8px 0;
}
.main-navigation ul.main-nav > li.submenu:focus-within .dropdown,
.main-navigation ul.main-nav > li.submenu:hover .dropdown {
    display: block;
}
.main-navigation ul.main-nav > li .dropdown li {
    width: 100%;
}
.main-navigation ul.main-nav > li .dropdown a {
    color: #002b55;
    background: none;
    padding: 10px 18px;
    display: block;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}
.main-navigation ul.main-nav > li .dropdown a:hover,
.main-navigation ul.main-nav > li .dropdown a:focus {
    background: #eaf2fa;
    color: #004a99;
}

@media screen and (max-width: 768px) {
    .main-navigation ul.main-nav {
        flex-direction: column;
        background: #fff;
        box-shadow: none;
        border-radius: 0;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 999;
        display: none;
    }
    .main-navigation ul.main-nav.active {
        display: flex;
    }
    .main-navigation ul.main-nav > li > a {
        color: #002b55;
        background: none;
        border-radius: 0;
        border-bottom: 1px solid #eee;
        padding: 14px 18px;
    }
    .main-navigation ul.main-nav > li > a:last-child {
        border-bottom: none;
    }
    .main-navigation ul.main-nav > li .dropdown {
        position: static;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
        background: #f8faff;
        padding: 0;
    }
    .main-navigation ul.main-nav > li .dropdown a {
        padding: 12px 18px;
    }
}

/* Visually hidden utility for accessibility */
.visually-hidden {
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
}



/* Skip to content for accessibility */
.skip-link {
    position: absolute;
    left: 0;
    top: -40px;
    background: #0077cc;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 6px 6px;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: top 0.2s, opacity 0.2s;
}
.skip-link:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

/* Print styles */
@media print {
    #header-placeholder,
    #footer-placeholder {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}

/* ===== Mobile Hamburger Menu ===== */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: background-color 0.3s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: absolute;
    transition: transform 0.3s;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

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

/* Mobile navigation styles */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav[role="navigation"] {
        position: relative;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        left: 0;
        background-color: #fff;
        border: 1px solid #ccc;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav .style1 {
        display: flex;
        flex-direction: column;
        padding: 10px;
    }
    
    .main-nav .style1 a {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid #eee;
        text-decoration: none;
    }
    
    .main-nav .style1 a:last-child {
        border-bottom: none;
    }
    
    /* Hide the pipe separators on mobile */
    .main-nav .style1::before,
    .main-nav .style1::after {
        content: none;
    }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px;
}

.contact-intro {
    text-align: left;
    margin-bottom: 32px;
    font-size: 1.1rem;
    color: #445b72;
}

.contact-card {
    display: flex;
    gap: 32px;
    background: #ffffff;
    border: 1px solid #d9e4ef;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    align-items: flex-start;
}

.contact-image {
    flex: 0 0 auto;
}

.contact-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #eaf2fa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-details h2 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    color: #002b55;
    font-weight: 700;
}

.contact-title {
    margin: 0 0 24px 0;
    font-size: 1.1rem;
    color: #4B7CD7;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8faff;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover {
    background: #eaf2fa;
    transform: translateX(4px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #4B7CD7;
}

.contact-item a {
    color: #002b55;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.contact-item a:hover,
.contact-item a:focus {
    color: #4B7CD7;
    text-decoration: underline;
}

/* Mobile responsive contact card */
@media screen and (max-width: 768px) {
    .contact-card {
        flex-direction: column;
        padding: 24px 16px;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    
    .contact-image img {
        width: 160px;
        height: 160px;
    }
    
    .contact-details {
        text-align: center;
        width: 100%;
    }
    
    .contact-details h2 {
        font-size: 1.5rem;
    }
    
    .contact-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .contact-item {
        justify-content: center;
        padding: 14px 12px;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .contact-intro {
        text-align: center;
        margin-bottom: 24px;
        font-size: 1rem;
    }
}
