﻿@import url('/css/home.css');
/* About page styles. Existing home.css supplies the shared-looking header and footer. */
.about-hero {
    min-height: 545px;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(180deg,rgba(18,25,60,.12),rgba(24,27,73,.88)),url('/images/backgrounds/aboutbackground.png') center/cover no-repeat;
    background-color: #181b49
}

    .about-hero > .container {
        padding-block: 75px
    }

    .about-hero h1 {
        font-size: clamp(40px,4.6vw,66px);
        font-weight: 400;
        margin-bottom: 52px
    }

    .about-hero p {
        font-size: 18px;
        margin-bottom: 70px
    }

.about-consult {
    display: inline-block;
    background: #fff;
    color: #181b49;
    padding: 20px 65px;
    min-width: 350px;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 6px 9px #0003
}

.about-main {
    background: #f0f1f3;
    color: #242a58;
    padding: 25px 0 65px
}

    .about-main h2 {
        font-weight: 500
    }

.ai-promise h2 {
    text-align: center;
    font-size: 19px;
    margin: 0 0 23px
}

.promise-panel {
    max-width: 1200px;
    margin: 0 auto;
    background: #424569;
    border: 3px solid #181b49;
    border-radius: 6px;
    color: #fff;
    padding: 24px;
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: .2px
}

.team-section {
    margin-top: 65px
}

    .team-section h2 {
        font-size: 26px;
        margin-bottom: 0
    }

    .team-section > p {
        font-size: 17px;
        margin-bottom: 24px
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 65px;
    max-width: 1200px;
    margin: 0 auto
}

.team-member .team-photo {
    background: #24294d;
    border: 10px solid #24294d;
    border-radius: 7px;
    aspect-ratio: 1;
    overflow: hidden
}

.team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.team-member h3 {
    font-size: 23px;
    font-weight: 400;
    margin: 12px 8px 0
}

.team-member p {
    font-size: 17px;
    margin: 0 8px
}

.story-section {
    margin-top: 95px
}

    .story-section h2 {
        text-align: center;
        font-size: 30px;
        font-weight: 700;
        margin-bottom: 26px
    }

    .story-section > p, .story-copy p {
        font-size: clamp(17px,1.8vw,23px);
        line-height: 1.32;
        margin-bottom: 30px
    }

.story-street {
    display: block;
    width: min(85%,1050px);
    height: auto;
    margin: 35px auto 65px;
    object-fit: cover
}

.story-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 55px;
    align-items: start
}

.story-copy {
    display: grid;
    gap: 20px
}

.story-placeholder {
    background: #ddd;
    color: #666;
    min-height: 430px;
    padding: 40px;
    text-align: center;
    font-size: 23px;
    line-height: 2
}

.values-section {
    margin-top: 105px
}

    .values-section h2 {
        font-size: 25px;
        margin: 0
    }

    .values-section > p {
        font-size: 16px;
        margin-bottom: 35px
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 60px;
    padding-inline: 25px
}

.value-card {
    background: #46496d;
    border: 5px solid #181b49;
    border-radius: 10px;
    color: #fff;
    min-height: 350px;
    padding: 22px 18px 28px;
    text-align: center
}

.value-icon {
    font-size: 86px;
    line-height: 1.2;
    color: #0c2035;
    margin-bottom: 20px
}

.value-card h3 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 12px
}

.value-card p {
    text-align: left;
    font-size: 16px;
    line-height: 1.55;
    color: #e3e4ef;
    margin: 0
}

@media(max-width:900px) {
    .team-grid {
        gap: 20px
    }

    .values-grid {
        gap: 20px;
        padding-inline: 0
    }

    .value-card {
        padding: 16px
    }

    .story-placeholder {
        min-height: 320px
    }
}

@media(max-width:650px) {
    .about-hero {
        min-height: 400px
    }

        .about-hero h1 {
            margin-bottom: 25px
        }

        .about-hero p {
            margin-bottom: 40px
        }

    .about-consult {
        min-width: 0;
        width: 100%;
        padding: 18px
    }

    .promise-panel {
        font-size: 15px
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px
    }

    .team-section {
        margin-top: 45px
    }

    .story-section {
        margin-top: 60px
    }

    .story-street {
        width: 100%;
        margin: 25px auto 35px
    }

    .story-split {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .story-placeholder {
        min-height: 250px
    }

    .values-section {
        margin-top: 65px
    }

    .values-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto
    }

    .value-card {
        min-height: 0
    }
}

/* ========================================
   FOOTER CONTENT LAYOUT
======================================== */

.footer-top {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

    .footer-top img {
        width: 150px;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
    }

.footer-company-info {
    flex: 1;
}

.footer-tagline {
    font-size: 100px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: bold;
}

.footer-description {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* Four footer columns */

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr 0.8fr 1.15fr;
    gap: 30px;
    align-items: start;
}

/* Contact form */

.footer-contact {
    min-width: 0;
}

    .footer-contact form {
        padding: 15px;
        border-radius: 10px;
    }

    .footer-contact h3 {
        font-size: 13px;
        margin: 0 0 12px;
        font-weight: 600;
        color: black;
    }

.footer-form-fields {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 10px;
}

.footer-form-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form-fields input,
.footer-form-fields textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    padding: 10px;
}

.footer-form-fields textarea {
    height: 100%;
    min-height: 92px;
    resize: vertical;
}

.footer-contact button {
    display: block;
    width: 60%;
    margin: 15px auto 0;
    padding: 10px;
    cursor: pointer;
}

/* Links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

    .footer-links h3 {
        margin: 0 0 5px;
        font-size: 16px;
    }

    .footer-links a {
        display: block;
        font-size: 13px;
        text-decoration: none;
    }

/* Contact details */

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

    .footer-detail a {
        color: inherit;
        text-decoration: none;
    }

.footer-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #91c65b;
    color: #fff;
    font-size: 13px;
}



/* Copyright */

.footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
}

/* Responsive */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-form-fields {
        grid-template-columns: 1fr;
    }

        .footer-form-fields textarea {
            min-height: 100px;
        }
}

/* ========================================
   DESKTOP / MOBILE LOGO SWITCHING
======================================== */

/* DESKTOP */
.site-header .navbar > a > img:first-child,
.footer-top > img:first-child {
    display: block;
}

.site-header .navbar > a > img.logo-mobile,
.footer-top > img.logo-mobile {
    display: none;
}

/* MOBILE */
@media (max-width: 750px) {

    .site-header .navbar > a > img:first-child,
    .footer-top > img:first-child {
        display: none;
    }

    .site-header .navbar > a > img.logo-mobile,
    .footer-top > img.logo-mobile {
        display: block;
    }

    .site-header .navbar > a > img.logo-mobile {
        width: 120px;
        height: auto;
    }

    .footer-top > img.logo-mobile {
        width: 150px;
        height: auto;
    }
}

/* Hide Solutions and Quick Links on mobile */
@media (max-width: 750px) {
    .footer-grid > .footer-links {
        display: none;
    }
}



/* Mobile Get in Touch hidden on desktop */
.nav-contact-mobile {
    display: none;
}

@media (max-width: 750px) {

    .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

        /* Logo on the left */
        .navbar > a:first-child {
            flex-shrink: 0;
        }

    /* Get in Touch on the right */
    .nav-contact-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        background: #111934;
        color: white;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Navigation links on second row */
    .navbar .nav-links {
        display: flex;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

        /* Hide ONLY the original Get in Touch */
        .navbar .nav-links .nav-contact {
            display: none;
        }

        .navbar .nav-links a {
            font-size: 11px;
        }
}