/* ==========================================================
   Dial Solutions - Shared Stylesheet
   Colors and fonts taken from dialsolutionsgroup.com
   ========================================================== */


/* ---------- Colour reference ----------
   Charcoal (header / dark sections) : #2F2F2F
   Light grey section               : #F6F6F6
   Footer grey                      : #F1F1F3
   Hero gold (headline)             : #FBBC19
   Soft gold (Our Solutions)        : #EAB85E
   Bright gold (About heading)      : #F2CB07
   Brand green (headline)           : #006847
   Form header green                : #02782F
   Brand red-orange (sub-heading)   : #C44527
   Discovery button blue-grey       : #CBD5E0
   Discovery button text navy       : #011126
   Call-to-action green             : #37CA37
   Form button green                : #18BD5B
   -------------------------------------- */


/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", Arial, sans-serif;
    color: #000000;
    background-color: #FFFFFF;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}


/* ---------- Header / Navigation ---------- */

.site-header {
    background-color: #2F2F2F;
    padding: 30px 0 30px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.site-header .logo img {
    width: 260px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.main-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 19px;
}

.main-nav a:hover {
    text-decoration: underline;
}

.btn-discovery {
    display: inline-block;
    background-color: #CBD5E0;
    color: #011126;
    border: 2px solid #FFFFFF;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    padding: 10px 36px;
    text-decoration: none;
}

.btn-appointment {
    display: inline-block;
    background-color: #CBD5E0;
    color: #011126;
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 40px;
    text-decoration: none;
    text-align: center;
}


/* ---------- Hero sections (image with dark overlay) ---------- */

.hero {
    position: relative;
    background-color: #000000;
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}

.hero .container {
    position: relative;
    max-width: 1140px;
}

.hero-home {
    background-image: url("../images/hero-home.png");
    padding: 70px 0 30px;
}

.hero-home h1 {
    font-family: "Aptos", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    font-size: 40px;
    color: #FBBC19;
    margin: 0 0 20px;
}

.hero-home p {
    font-size: 25px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 30px;
}

.hero-home .tagline {
    margin-bottom: 30px;
}

.hero-home .tagline span {
    display: block;
}

.hero-home hr {
    border: 0;
    border-top: 1px solid #000000;
    margin: 30px 0 0;
}

.hero-page {
    padding: 60px 0;
}

.hero-about {
    background-image: url("../images/about-hero-why-choose.jpeg");
}

.hero-contact {
    background-image: url("../images/contact-hero.jpeg");
}

.hero-page h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
}

.hero-about h1 {
    color: #F2CB07;
}

.hero-contact h1 {
    color: #FFFFFF;
}

.hero-page p {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.6;
    max-width: 760px;
    margin: 0 auto;
}


/* ---------- Home: "Why Organizational Orienteering Matters" ---------- */

.orienteering {
    background-color: #F6F6F6;
    padding: 30px 0 48px;
    text-align: center;
}

.orienteering .thick-rule {
    border: 0;
    border-top: 4px solid #000000;
    max-width: 1150px;
    margin: 0 auto 30px;
}

.orienteering h2.green-heading {
    font-family: "Aptos", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 53px;
    color: #006847;
    margin: 0;
    line-height: 1.2;
}

.orienteering h3.red-heading {
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #C44527;
    margin: 20px 0 20px;
}

.video-frame {
    max-width: 1130px;
    margin: 0 auto;
    border: 4px solid #F6C93C;
    padding: 12px;
    background-color: #FFFFFF;
}

.video-frame .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.chat-link-wrap {
    max-width: 1130px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.chat-link {
    display: inline-block;
    border: 2px solid #14100C;
    padding: 6px 34px;
    text-decoration: none;
    text-align: center;
    background-color: #F6F6F6;
}

.chat-link .chat-question {
    display: block;
    font-weight: 300;
    font-size: 28px;
    color: #14100C;
}

.chat-link .chat-cta {
    display: block;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #078654;
}


/* ---------- Home: "Our Solutions" ---------- */

.solutions {
    background-color: #2F2F2F;
    color: #FFFFFF;
    padding: 43px 0 60px;
}

.solutions .section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 50px;
    color: #EAB85E;
    text-align: center;
    margin: 0 0 40px;
}

.solution-row {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1150px;
    margin: 0 auto 90px;
}

.solution-row:last-child {
    margin-bottom: 0;
}

.solution-image {
    flex: 1 1 50%;
}

.solution-text {
    flex: 1 1 50%;
}

.solution-text h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.25;
}

.solution-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
}

.solution-text p {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    line-height: 1.8;
}

.solution-text.large p {
    font-size: 21px;
}

.solution-text .italic {
    font-style: italic;
}

.btn-outline {
    display: block;
    width: fit-content;
    margin: 35px auto 0;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 35px;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #FFFFFF;
    color: #2F2F2F;
}


/* ---------- Home: Testimonials ---------- */

.testimonials {
    position: relative;
    background-image: url("../images/testimonials-bg.jpeg");
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    padding: 43px 0 60px;
}

.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.testimonials .container {
    position: relative;
}

.testimonials .eyebrow {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 28px;
    color: #EAB85E;
    text-align: center;
    margin: 0;
}

.testimonials .section-title {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 32px;
    color: #FFFFFF;
    text-align: center;
    margin: 0 0 60px;
}

.testimonial-grid {
    display: flex;
    gap: 100px;
    max-width: 1060px;
    margin: 0 auto;
}

.testimonial {
    flex: 1 1 50%;
}

.testimonial .stars {
    text-align: center;
    color: #EAB85E;
    font-size: 16px;
    letter-spacing: 2px;
    margin: 0 0 10px;
}

.testimonial blockquote {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.testimonial .author {
    text-align: center;
    font-size: 20px;
    margin: 15px 0 0;
}

.testimonial .author strong {
    font-weight: 700;
}

.community {
    text-align: center;
    margin-top: 60px;
}

.btn-white {
    display: inline-block;
    background-color: #FFFFFF;
    color: #2F2F2F;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 35px;
    text-decoration: none;
}


/* ---------- About: content sections ---------- */

.about-section {
    background-color: #F1F1F3;
    padding: 50px 0;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1150px;
    margin: 0 auto;
}

.about-row > div {
    flex: 1 1 50%;
}

.about-row h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 20px;
}

.about-row h2.align-right {
    text-align: right;
}

.about-row p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 20px;
}


/* ---------- "Ready to Transform Your Team?" call-to-action ---------- */

.cta {
    background-color: #2F2F2F;
    color: #FFFFFF;
    padding: 53px 0 60px;
    text-align: center;
}

.cta h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: 28px;
    margin: 0 0 20px;
}

.cta p {
    font-size: 20px;
    font-weight: 500;
    max-width: 950px;
    margin: 0 auto 20px;
}

.btn-green {
    display: inline-block;
    background-color: #37CA37;
    color: #FFFFFF;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 25px;
    text-decoration: none;
    margin-top: 10px;
}


/* ---------- Contact form ---------- */

.contact-form-section {
    background-color: #F6F6F6;
    padding: 50px 15px;
}

.form-card {
    max-width: 650px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 40px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    font-family: "Inter", Arial, sans-serif;
}

.form-card .form-title {
    background-color: #02782F;
    color: #FFFFFF;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 40px;
    text-align: center;
    margin: 0 0 25px;
    line-height: 1.2;
    padding: 4px 0;
}

.form-card label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2C3345;
    margin: 0 0 6px;
}

.form-card input,
.form-card textarea {
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid #ACACAC;
    border-radius: 5px;
    padding: 8px 15px;
    margin: 0 0 20px;
}

.form-card textarea {
    height: 140px;
    resize: vertical;
}

.form-card button {
    width: 100%;
    background-color: #18BD5B;
    color: #FFFFFF;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    border: 0;
    border-radius: 5px;
    padding: 12px 50px;
    cursor: pointer;
}


/* ---------- Footer ---------- */

.site-footer {
    background-color: #F1F1F3;
    padding: 40px 0 40px;
}

.site-footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
}

.site-footer .footer-logo img {
    width: 200px;
}

.footer-contact {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.85;
}

.footer-contact a {
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 30px;
}

.footer-social img {
    width: 40px;
    height: 40px;
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

    .site-header .container,
    .site-footer .container {
        flex-direction: column;
        text-align: center;
    }

    .solution-row,
    .about-row,
    .testimonial-grid {
        flex-direction: column;
        gap: 30px;
    }

    .solution-row.reverse-mobile,
    .about-row.reverse-mobile {
        flex-direction: column-reverse;
    }

    .about-row h2.align-right {
        text-align: left;
    }

    .hero-home h1 {
        font-size: 30px;
    }

    .hero-home p {
        font-size: 20px;
    }

    .orienteering h2.green-heading {
        font-size: 36px;
    }

    .chat-link-wrap {
        justify-content: center;
    }
}
