﻿/* Reuse the existing Horizontech header and footer exactly as on Atlas */
@import url('/css/home.css');

.testimonials-hero {
    background: linear-gradient(180deg,rgba(24,27,73,.22),rgba(24,27,73,.92)), url('/images/backgrounds/Testimonialbackground.png') center/cover no-repeat;
    background-color: #202b55;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #fff;
}

    .testimonials-hero .container {
        width: min(100% - 48px,1440px);
        margin-inline: auto;
        padding-block: 70px
    }

    .testimonials-hero h1 {
        font-size: clamp(42px,5vw,64px);
        font-weight: 400;
        margin-bottom: 50px
    }

    .testimonials-hero p {
        font-size: 19px;
        margin-bottom: 65px
    }

.testimonials-consult {
    display: inline-block;
    background: #fff;
    color: #17264a;
    border-radius: 12px;
    padding: 19px 80px;
    box-shadow: 0 5px 10px #0003;
    font-weight: 700;
    text-align: center
}

.testimonials-main {
    background: #f1f2f4;
    color: #181b49;
    padding: 32px 0 26px
}

    .testimonials-main > .container {
        width: min(100% - 40px,1440px);
        margin-inline: auto
    }

.testimonials-intro {
    font-size: clamp(20px,2.15vw,27px);
    font-weight: 500;
    line-height: 1.75;
    margin-bottom: 18px
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 22px
}

.testimonial-card {
    background: #35395f;
    border: 5px solid #181b49;
    border-radius: 6px;
    color: #fff;
    padding: 22px;
    min-height: 370px
}

.testimonial-wide {
    grid-column: 1/-1;
    min-height: 275px
}

.testimonial-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px
}

.person-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    background: #9db6c5
}

.person-info {
    min-width: 0;
    flex: 1
}

    .person-info h3 {
        font-size: 26px;
        font-weight: 400;
        margin: 0 0 9px
    }

    .person-info p {
        font-size: 18px;
        font-weight: 300;
        line-height: 1.35;
        color: #d7d9e6;
        margin: 0
    }

.company-logo {
    max-width: 32%;
    max-height: 78px;
    object-fit: contain;
    background: #fff;
    padding: 5px
}

.company-logo-wide {
    max-width: 35%
}

.testimonial-card blockquote {
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
    margin: 0
}

.placeholder-avatar {
    background: linear-gradient(145deg,#a6c6d4,#52627c)
}

.placeholder-logo {
    background: #d4d5da;
    color: #000;
    min-width: 140px;
    padding: 15px 25px;
    text-align: center;
    font-size: 23px;
    font-weight: 700
}

.placeholder-logo-wide {
    width: 48%
}

.testimonials-outro {
    font-size: 22px;
    line-height: 1.8;
    font-weight: 500;
    margin: 26px 0 0
}

@media(max-width:850px) {
    .testimonials-hero {
        min-height: 420px
    }

    .testimonials-grid {
        grid-template-columns: 1fr
    }

    .testimonial-wide {
        grid-column: auto
    }

    .testimonial-card {
        min-height: 0
    }

    .person-photo {
        width: 66px;
        height: 66px
    }

    .person-info h3 {
        font-size: 21px
    }

    .person-info p {
        font-size: 14px
    }

    .testimonial-card blockquote {
        font-size: 14px
    }

    .testimonials-outro {
        font-size: 18px
    }
}

@media(max-width:480px) {
    .testimonials-hero .container {
        padding-block: 45px
    }

    .testimonials-hero h1 {
        margin-bottom: 30px
    }

    .testimonials-hero p {
        margin-bottom: 35px
    }

    .testimonials-consult {
        padding: 17px 25px
    }

    .testimonial-card {
        padding: 14px
    }

    .testimonial-heading {
        gap: 9px
    }

    .person-photo {
        width: 50px;
        height: 50px
    }

    .person-info h3 {
        font-size: 17px
    }

    .company-logo {
        max-width: 27%
    }

    .placeholder-logo {
        min-width: 75px;
        font-size: 15px;
        padding: 10px
    }
}

/* ========================================
   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;
        }
}