/* Root variables for consistent theming */
:root {
    --primary-color: #0d3b66;      /* deep navy for accents */
    --secondary-color: #ee964b;    /* warm orange for calls to action */
    --secondary-dark: #d77f36;     /* darker shade of the secondary for hover states */
    --text-color: #1a1a1a;         /* dark grey for body text */
    --light-bg: #f9f9f9;           /* very light grey for section backgrounds */
    --footer-bg: #0d3b66;          /* reuse primary color for footer */
}

/* Global styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 0;
}

p {
    margin: 0 0 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.between {
    justify-content: space-between;
}

.center {
    align-items: center;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.logo-initials {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    padding: 0.4rem 0.6rem;
    font-family: 'Montserrat', sans-serif;
}

.logo-text {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.nav a {
    margin-left: 1.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--secondary-color);
}

/* Hero */
.hero {
    position: relative;
    min-height: 75vh;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-overlay {
    background: rgba(13, 59, 102, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 700px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
}

.btn-outline {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #555;
}

.about-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    background-color: var(--light-bg);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    flex: 1 1 250px;
    max-width: 350px;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.service-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.service-subheading {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.7rem;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Leadership */
.leadership-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.leader-info, .approach-info {
    flex: 1 1 300px;
}

.leader-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.leader-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.leader-bio, .approach-list {
    list-style: none;
    padding-left: 1rem;
}

.leader-bio li, .approach-list li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.leader-bio li::before, .approach-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
}

.approach-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

/* Contact */
.contact-form {
    margin-top: 2rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

input, textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(238, 150, 75, 0.2);
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .services-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }
    .hero-content {
        text-align: center;
    }
    .leadership-content {
        flex-direction: column;
    }
    .leader-info, .approach-info {
        flex: 1 1 100%;
    }
    .service-card {
        flex: 1 1 100%;
    }
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .nav a {
        margin-left: 0.6rem;
    }
}
