/* SAME BASE STYLES AS INDEX */
:root {
    --primary: #0b2c48;
    --secondary: #f5f5f5;
    --dark: #222;
    --light: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 80px 0;
}

.center {
    text-align: center;
}

/* HEADER & FOOTER (COPIED) */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 60px;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.nav a.active,
.nav a:hover {
    color: var(--primary);
}

.footer {
    background: #081f33;
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* PAGE TITLE */
.page-title {
    /* hero background with dark overlay for readable text (matches Services/Contact) */
    background: linear-gradient(rgba(11, 44, 72, 0.55), rgba(11, 44, 72, 0.55)), url("../assets/about/about\ BG.png") center/cover no-repeat;
    padding: 80px 0;
    min-height: 240px;
    display: flex;
    align-items: center;
}

.page-title h1,
.page-title p {
    color: #fff;
}

/* ABOUT GRID */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.box {
    background: rgba(255, 255, 255, 0.96);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(11, 44, 72, 0.06);
}

.box h3 {
    margin-top: 20px;
    color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
    }

    .nav a {
        margin: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* VISION & VALUES */
.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.vision h2,
.values h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.values-list {
    list-style: none;
    margin-top: 10px;
    color: var(--dark);
}

.values-list li {
    margin-bottom: 10px;
}

/* TEAM */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.team-member {
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* TESTIMONIALS */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.testimonials-grid blockquote {
    background: var(--secondary);
    padding: 20px;
    border-left: 4px solid var(--primary);
    margin: 0;
    border-radius: 6px;
    color: var(--dark);
}

/* CTA */
.cta {
    background: linear-gradient(90deg, rgba(11, 44, 72, 0.04), rgba(11, 44, 72, 0.02));
    padding: 60px 0;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 12px;
    font-weight: 600;
}

.btn:hover {
    opacity: 0.95;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ABOUT: new visuals */
.about-figure {
    margin-bottom: 18px;
}

.about-hero {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(11, 44, 72, 0.08);
    display: block;
}

.about-figure figcaption {
    font-size: 0.9rem;
    color: var(--light);
    margin-top: 8px;
}

.services-list {
    list-style: none;
    padding-left: 0;
    margin-top: 12px;
}

.services-list li {
    margin-bottom: 10px;
}

/* Number badges inside services box */
.services-list {
    counter-reset: services;
}

.services-list li {
    position: relative;
    padding-left: 64px;
}

.service-num {
    position: absolute;
    left: 0;
    top: 2px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
    background: linear-gradient(90deg, rgba(11, 44, 72, 0.06), rgba(11, 44, 72, 0.02));
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(11, 44, 72, 0.04);
}

@media (max-width: 768px) {
    .service-num {
        font-size: 1.1rem;
        padding: 5px 8px;
    }

    .services-list li {
        padding-left: 56px;
    }
}

.feature-icons {
    display: flex;
    gap: 14px;
    margin: 18px 0 8px;
    align-items: flex-start;
}

.feature {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(11, 44, 72, 0.04);
    flex: 1;
}

.feature svg {
    width: 38px;
    height: 38px;
    fill: var(--primary);
    flex-shrink: 0;
}

.feature .muted {
    font-size: 0.85rem;
    color: var(--light);
}

.gallery {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 28px;
}

.gallery img {
    width: 33.333%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(11, 44, 72, 0.05);
}

/* Solutions hero styling (copied from Services with tweaks for About) */
.services-intro.solutions-hero {
    text-align: left;
    padding: 12px 0 18px;
}

.services-intro.solutions-hero .solutions-label {
    display: inline-block;
    background: #eeeeee;
    color: #222;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.services-intro.solutions-hero h2 {
    font-size: 36px;
    line-height: 1.08;
    margin: 8px 0 14px;
    font-weight: 700;
    max-width: 1000px;
    color: var(--primary);
}

.services-intro.solutions-hero p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 1000px;
    color: var(--dark);
    margin-bottom: 22px;
}

@media (max-width: 992px) {
    .services-intro.solutions-hero h2 {
        font-size: 30px;
    }

    .services-intro.solutions-hero p {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .services-intro.solutions-hero h2 {
        font-size: 22px;
    }

    .services-intro.solutions-hero p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .feature-icons {
        flex-direction: column;
    }

    .gallery {
        flex-direction: row;
    }

    .gallery img {
        width: 33%;
        height: 80px;
    }

    /* Challenge section */
    .challenge-section {
        padding: 50px 0;
    }

    .challenge-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        align-items: center;
    }

    .challenge-text h3 {
        color: var(--primary);
        margin-bottom: 8px;
    }

    .challenge-text p {
        color: var(--dark);
    }

    .challenge-photo img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(11, 44, 72, 0.06);
    }

    @media (max-width: 992px) {
        .challenge-grid {
            grid-template-columns: 1fr;
        }

        .challenge-photo img {
            height: 200px;
        }
    }

    /* Contact button */
    .contact-cta {
        text-align: center;
        padding: 28px 0 40px;
    }

    .btn-contact {
        background: var(--primary);
        color: #fff;
        padding: 14px 28px;
        border-radius: 8px;
        font-weight: 700;
        text-decoration: none;
        display: inline-block;
        box-shadow: 0 12px 30px rgba(11, 44, 72, 0.12);
        transition: transform 160ms ease, box-shadow 160ms ease;
    }

    .btn-contact:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(11, 44, 72, 0.16);
    }

    @media (max-width: 480px) {
        .btn-contact {
            width: 100%;
            padding: 12px 18px;
        }
    }
}

/* Three numbered features (large muted numbers) */
.three-features {
    background: var(--secondary);
    /* background: rgba(11, 44, 72, 0.12); */
    /* border-radius: 10px;
    box-shadow: 0 12px 30px rgba(11, 44, 72, 0.06);   */
    padding: 50px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.feature-col {
    background: transparent;
    padding: 6px 12px;
}

.feature-col {
    position: relative;
    overflow: visible;
}

.feature-num {
    font-size: 6.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    position: relative;
    display: inline-block;
    color: white;
    -webkit-text-stroke: 0.4px rgba(11, 44, 72, 0.06);
    text-shadow: 0 8px 18px rgba(11, 44, 72, 0.06);
    z-index: 5;
}

.feature-col h3 {
    margin: 0 0 10px 0;
    color: var(--dark);
    font-size: 1.25rem;
}

.feature-col p {
    color: var(--light);
    max-width: 36rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-num {
        font-size: 4.5rem;
    }
}

/* Per-number accents to make each feature unique */
.features-grid .feature-col:nth-child(1) .feature-num {
    transform: rotate(-3deg) scale(1.02);
    background: linear-gradient(180deg, #0b2c48, #274e6b);
}

.features-grid .feature-col:nth-child(2) .feature-num {
    transform: rotate(1deg) scale(1.04);
    background: linear-gradient(180deg, #274e6b, #3b6f8f);
}

.features-grid .feature-col:nth-child(3) .feature-num {
    transform: rotate(2.5deg) scale(1.06);
    background: linear-gradient(180deg, #3b6f8f, #5a9ab8);
}

/* Small decorative label under number */
.feature-num::after {
    content: '';
    display: block;
    width: 42px;
    height: 4px;
    background: linear-gradient(90deg, rgba(11, 44, 72, 0.9), rgba(11, 44, 72, 0.6));
    margin-top: 10px;
    border-radius: 2px;
    opacity: 0.9;
}


@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member img {
        width: 80px;
        height: 80px;
    }
}