/* Basic Reset and Font Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f4f4;
}

/* Header and Navbar Container (Desktop) */
header {
    background-color: #fff;
    padding: 15px 50px;
    border-bottom: 1px solid #e0e0e0;
}

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

.aw-header__hamburger,
.aw-header__mobile-placeholder {
    display: none;
}

.aw-header ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.aw-header a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* Logo Styling */
.aw-header__logo a {
    display: flex;
    align-items: center;
}

.aw-header__logo img {
    max-height: 115px; /* Increased from 40px */
    width: auto;
}

.aw-header__right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.aw-header__search-icon {
    font-size: 16px;
    color: #555;
}

.aw-header__contact-btn {
    background-color: #3B5998;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

/* --- Mobile Menu Styles --- */
.aw-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.aw-mobile-menu.is-open {
    transform: translateX(0);
}

.aw-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    min-height: 60px;
}

.aw-mobile-menu__logo img {
    max-height: 45px; /* Increased from 35px */
}

.aw-mobile-menu__search-icon, .aw-mobile-menu__close {
    font-size: 22px;
    color: #555;
    cursor: pointer;
    flex: 0 0 30px;
}

.aw-mobile-menu__logo {
    flex-grow: 1;
    text-align: center;
}

.aw-mobile-menu__links {
    list-style: none;
    padding: 20px 0;
}

.aw-mobile-menu__links li a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 900px) {
    header {
        padding: 10px 20px;
    }

    .aw-header__left, .aw-header__right {
        display: none;
    }

    .aw-header__hamburger {
        display: block;
        font-size: 24px;
        color: #555;
        cursor: pointer;
        flex: 0 0 40px;
        text-align: left;
    }

    .aw-header__mobile-placeholder {
        display: block;
        flex: 0 0 40px;
    }
}


/* --- Sub-page Specific Styles --- */
.subpage-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 50px;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(1, 23, 54, 0.9) 0%, rgba(37, 70, 177, 0.8) 100%);
    z-index: 1;
}

.subpage-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.subpage-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.subpage-hero p {
    font-size: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.section-container {
    padding: 80px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container.bg-light {
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    max-width: 100%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.content-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.content-grid.reverse .text-block {
    grid-column: 2;
}

.content-grid.reverse .image-block {
    grid-column: 1;
    grid-row: 1;
}

.text-block h2 {
    font-size: 32px;
    color: #011736;
    margin-bottom: 24px;
    font-weight: 700;
}

.text-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.text-block ul {
    list-style: none;
    margin-top: 20px;
}

.text-block ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.text-block ul li::before {
    content: 'â– ';
    color: #2546b1;
    position: absolute;
    left: 0;
    font-size: 12px;
    top: 0px;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    object-fit: cover;
    max-height: 400px;
}

/* Downloads specific */
.downloads-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.downloads-container h2 {
    font-size: 36px;
    color: #011736;
    margin-bottom: 20px;
}

.downloads-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
}

.download-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.download-card h3 {
    font-size: 20px;
    color: #011736;
    margin-bottom: 15px;
}

.download-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #2546b1;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #193ca5;
}

/* Services Page list */
.services-list-container {
    text-align: center;
}

.services-list-container h2 {
    font-size: 32px;
    color: #011736;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 35px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card h3 a {
    color: #011736;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: #2546b1;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Careers Page list */
.career-positions {
    max-width: 1000px;
    margin: 0 auto;
}

.career-positions h2 {
    font-size: 32px;
    color: #011736;
    text-align: center;
    margin-bottom: 40px;
}

.position-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.position-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.position-card h3 {
    font-size: 20px;
    color: #011736;
}

.position-card p {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.apply-btn {
    background: #2546b1;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
}

.apply-btn:hover {
    background: #193ca5;
}

/* Contacts Layout */
.contact-grid-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-block h2, .contact-form-block h2 {
    font-size: 28px;
    color: #011736;
    margin-bottom: 30px;
    font-weight: 700;
}

.location-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 20px 25px;
    margin-bottom: 20px;
}

.location-card h3 {
    font-size: 18px;
    color: #2546b1;
    margin-bottom: 10px;
}

.location-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 5px;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #2546b1;
}

.submit-btn {
    width: 100%;
    background-color: #2546b1;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #193ca5;
}

/* Articles layout */
.articles-container h2 {
    font-size: 32px;
    color: #011736;
    text-align: center;
    margin-bottom: 40px;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.article-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

.article-card h3 {
    font-size: 22px;
    color: #011736;
    margin-bottom: 15px;
}

.article-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* Responsive fixes for subpage */
@media (max-width: 900px) {
    .subpage-hero {
        padding: 60px 20px;
        min-height: 250px;
    }
    .subpage-hero h1 {
        font-size: 32px;
    }
    .subpage-hero p {
        font-size: 16px;
    }
    .section-container {
        padding: 50px 20px;
    }
    .content-grid, .content-grid.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .content-grid.reverse .text-block {
        grid-column: 1;
    }
    .content-grid.reverse .image-block {
        grid-column: 1;
        grid-row: 2;
    }
    .download-grid, .services-grid, .contact-grid-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .position-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .contact-form {
        padding: 20px;
    }
}
/* --- Home Page Expanded Content Styles --- */
.home-expanded-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}
.home-expanded-text p {
    margin-bottom: 15px;
}
.home-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.home-feature-item {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #2546b1;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.home-feature-item h4 {
    font-size: 18px;
    color: #011736;
    margin-bottom: 10px;
}
.home-feature-item p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 768px) {
    .home-feature-list {
        grid-template-columns: 1fr;
    }
}