﻿@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .logo-pill {
        flex: 1 1 45%;
    }
}

.contact-layout {
    display: grid;
    gap: 2rem;
}


@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
        align-items: flex-start;
    }
}

form {
    display: grid;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.35rem;
    border: 1px solid #cbd2e1;
    font: inherit;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

.field-group {
    display: grid;
    gap: 1rem;
}

.help-text {
    font-size: 0.8rem;
    color: #829ab1;
    margin-top: 0.15rem;
}

@media (min-width: 600px) {
    .field-group-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 600px) {
    .field-group-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: ghostwhite;
    border-radius: 0.6rem;
    padding: 1.25rem 1.3rem;
    border: 1px solid #d9e2ec;
}

/* New logo panel styles (trusted by / partner with) */
.logos-panel {
    border: 1px dashed #d0d7e2;
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.5rem;
    background: #ffffff;
}

.logos-panel-text {
    font-size: 0.92rem;
    color: #364152;
    margin-bottom: 0.9rem;
}

.logos-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.logo-pill {
    min-width: 130px;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid #dde3ee;
    background: #f7f9fc;
    text-align: center;
    font-size: 0.85rem;
    color: #52606d;
    box-shadow: 0 0 0 1px #f2f4fa;
}

.how-it-works-steps {
    display: grid;
    gap: 1rem;
}

.step {
    border-left: 3px solid #27447D;
    padding-left: 0.75rem;
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

section {
    padding: 2.5rem 0;
    border-bottom: 1px solid #e0e7ff;
}

    section:last-of-type {
        border-bottom: none;
    }

.resources-card {
    border-left: 4px solid #27447D;
    padding-left: 1rem;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1 1 320px;
    min-width: 280px;
}

.hero-logo {
    margin-bottom: 1.25rem;
}

    .hero-logo img {
        max-height: 70px;
        height: auto;
        width: auto;
        display: block;
    }

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p.lead {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

    .badge span {
        font-size: 0.9rem;
    }

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

header {
    background: #27447D;
    color: #ffffff;
    padding: 2.5rem 1.5rem 3.5rem;
}


.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

/* Green primary and secondary buttons */
.btn-primary {
    background: #00a651;
    color: #ffffff;
    font-weight: 600;
}

    .btn-primary:hover {
        background: #009347;
    }

.btn-secondary {
    background: transparent;
    color: #00a651;
    border: 1px solid #00a651;
}

    .btn-secondary:hover {
        background: rgba(0, 166, 81, 0.08);
    }

a {
    text-decoration: none;
}

.new-carousel-inner-2 img {
    max-height: 55px;
    width: auto; /* maintain aspect ratio */
    object-fit: contain; /* ensures image scales properly without cropping */
}

.new-carousel-container {
    position: relative;
    /*width: 900px;*/ /* 3 images of 300px each */
    overflow: hidden;
    margin: auto;
}

.new-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.new-carousel-item {
    /*min-width: 300px;*/ /* width of one image */
    margin-left: 35px; /* spacing between images */
    margin-right: 35px; /* spacing between images */
}

    .new-carousel-item img {
        height: 55px;
        display: block;
    }
/* Buttons overlapping images */
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10; /* make sure buttons are on top */
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

.contactLabel {
    display: block;
    margin-bottom: 0.35rem;
}
