/* =========================================================
   GLOBAL
   ========================================================= */
body {
    margin: 0;
    padding-left: 24px;
    padding-right: 24px;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #2a2a2a;
    background: #f4f5fa;
    line-height: 1.7;
}

@media (max-width: 768px) {
    body {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: auto;
}

/* =========================================================
   HEADER
   ========================================================= */
header {
    background: #3A3EBB;
    color: white;
    padding: 15px 24px; /* ADDED horizontal padding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {

    /* Keep your existing header padding */
    header {
        padding: 15px 16px;
    }

    /* Reflow header on mobile */
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Logo scales nicely */
    .logo {
        height: 40px;
        width: auto;
        flex-shrink: 0;
    }

    /* Navigation becomes left-aligned and wraps cleanly */
    .main-nav {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 15px;
    }
}


.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 55px;
}

header h1 {
    margin: 0;
    font-size: 28px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   NAVIGATION (Header)
   ========================================================= */
.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 16px;
}

.main-nav .main-link {
    color: #f0f0f0;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.main-nav .main-link:hover {
    color: white;
}

.more-menu {
    position: relative;
    cursor: pointer;
}

.more-label {
    color: #f0f0f0;
    opacity: 0.8;
    font-size: 0.95em;
    text-decoration: none;
    transition: 0.2s;
}

.more-label:hover {
    opacity: 1;
}

.more-menu .dropdown {
    display: none;
    position: absolute;
    top: 22px;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 999;
}

.more-menu .dropdown a {
    display: block;
    padding: 6px 12px;
    font-size: 0.9em;
    opacity: 0.7;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.more-menu .dropdown a:hover {
    background: #f5f5f5;
    opacity: 1;
}

.more-menu:hover .dropdown {
    display: block;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    background: #E8E9F5;
    color: #2a2a2a;
    padding: 22px 0;
    text-align: center;
    border-bottom: 4px solid #3A3EBB;
}

.hero h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.hero p {
    font-size: 15px;
    opacity: 0.95;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.button {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: #3A3EBB;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.25s;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.button:hover {
    background: transparent;
    color: white;
}

/* =========================================================
   CONTENT
   ========================================================= */
.content {
    padding: 60px 24px;
}

@media (max-width: 768px) {
    .content {
        padding: 40px 16px;
    }
}

/* =========================================================
   SERVICES CARDS
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.25s;
}

.card:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================================================
   EXPERTISE GRID
   ========================================================= */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

/* =========================================================
   HEADQUARTER CARD
   ========================================================= */
.hq-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 15px;
}

.hq-left {
    font-size: 17px;
    line-height: 1.6;
}

.hq-right p {
    margin: 6px 0;
    font-size: 16px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
    background: #3A3EBB;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    font-size: 15px;
    opacity: 0.95;
}

.footer-brand {
    text-decoration: none;
    color: inherit;
}
