@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --primary-color-1: #000;
    --primary-color-2: #000;

    --secondary-color-1: #fff;
    --secondary-color-2: #fff;
}

* {
    transition: all .5s;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'sans-sarif';
}

.logo {
    width: 180px;
}

h1,
h2 {
    font-weight: 600;
}

h2 {
    font-size: 1.9rem;
    text-transform: uppercase;
}

h3,
h4,
h5,
h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: navy;
}

input:not([type="checkbox"]),
select {
    height: 45px;
    border-radius: .6rem !important;
}

textarea {
    border-radius: .6rem !important;
}

/* Error message CF7*/
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: .8rem;
    font-weight: normal;
    display: block;
    margin-bottom: -.8rem;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.btn.btn-primary {
    width: 100%;
    background: navy;
    border-color: navy;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 0 0em;
}

.wpcf7-list-item label {
    display: flex;
    gap: 1rem;
}

.wpcf7-list-item label span {
    font-weight: 500;
}

span.wpcf7-spinner {
    display: none;
}

.wpcf7-response-output {
    margin: 0 !IMPORTANT;
    border-radius: .5rem;
}

/* End CF7 */

header nav.navbar.navbar-expand-lg.bg-body-tertiary {
    box-shadow: 1px 0 5px #00000045;
}

.hero-section {
    background: linear-gradient(45deg, #001f56, #0b3f9c);
    background-size: contain;
    background-position: top right;
    padding: 4.5rem 0;
    position: relative;
    z-index: 1;
    animation: slideBackground 30s linear infinite;
}

.offered-course {
    background: linear-gradient(316deg, #1B86BA, #0C4688);
}

.content-box {
    padding: 1.5rem;
    background: #e5ffea;
    border-radius: 1.5rem;
    height: 100%;
}

.col-lg-3:nth-child(even) .content-box {
    background: #e2eeff;
}

.content-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.content-box.p-5.rounded-4.bg-white.shadow-lg.text-center img {
    margin-bottom: 1rem;
    margin-top: -6rem;
    width: 80px;
}

.content-box.p-5.rounded-4.bg-white.shadow-lg.text-center p {
    font-size: 1.1rem;
}

.card-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bar {
    width: 70px;
    background: #198754;
    height: 5px;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.result-highlights {
    background: linear-gradient(177deg, #C6F9B5, #92DBF2);
}

.result-highlights h2 {
    color: #1E8DBE !important;
}

.result-highlights .item {
    background: #fff;
    text-align: center;
    padding: 1rem;
    border-radius: 1.5rem;
}

/* NAV ARROWS */
.result-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.result-slider .owl-nav button {
    background: #000 !important;
    color: #fff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.result-slider .owl-nav button:hover {
    background: #ff6600 !important;
}

/* Position arrows outside */
.result-slider .owl-nav .owl-prev {
    margin-left: -50px;
}

.result-slider .owl-nav .owl-next {
    margin-right: -50px;
}

/* Responsive fix */
@media (max-width: 768px) {

    .result-slider .owl-nav .owl-prev,
    .result-slider .owl-nav .owl-next {
        margin: 0;
    }
}


.why-choose-box {
    text-align: center;
}

.why-choose-box h4 {
    font-size: 1.2rem;
    padding: 0 2rem;
}

.about_allen {
    background: navy;
}

.about_allen.py-5 a {
    height: 50px;
    display: flex;
    justify-content: center;
    width: 335px;
    background: #fff;
    border-radius: .6rem;
    align-items: center;
    margin: 0 auto;
    text-decoration: none;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: #000;
    font-weight: 500;
}

.address {
    background: #f5f5f5;
}

    .locations {
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
    }

    .locations h2 {
        font-size: 26px;
        margin-bottom: 6px;
        color: #155a8a;
        font-weight: 700;

    }

    .locations p.subtitle {
        font-size: 13px;
        color: #7b8a9a;
        margin-bottom: 24px;
    }

    /* Tabs row */
    .tabs {
        display: inline-flex;
        background: #e7f7f1;
        padding: 4px;
        border-radius: 40px;
        margin-bottom: 24px;
        gap: 4px;
    }

    .tab {
        padding: 10px 22px;
        border-radius: 999px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #187055;
        transition: background 0.2s ease, color 0.2s ease, transform 0.08s ease;
        user-select: none;
        white-space: nowrap;
    }

    .tab:hover {
        transform: translateY(-1px);
    }

    .tab.active {
        background: navy;
        color: #ffffff;
    }

    /* Panel Area */
    .tab-panels-wrapper {
        background: #ffffff;
        border-radius: 16px;
        padding: 28px;
        border: 1px solid #d9e5ec;
        text-align: left;
    }

    .tab-panel {
        display: none;
    }

    .tab-panel.active {
        display: block;
    }

    /* Grid */
    .locations-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    @media (max-width: 992px) {
        .locations-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .tabs {
            width: 100%;
            overflow-x: auto;
            justify-content: flex-start;
        }

        .locations-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Cards */
    .location-card {
        background: #f4fcff;
        border-radius: 14px;
        padding: 16px 18px 18px;
        border: 1px solid #d7edf7;
        display: flex;
        flex-direction: column;
        gap: 8px;
        height: 100%;
    }

    .location-card:nth-child(2n) {
        background: #ebfbff;
    }

    .location-title {
        font-weight: 700;
        font-size: 15px;
        color: #11628f;
        margin-bottom: 4px;
    }

    .location-address {
        font-size: 13px;
        line-height: 1.55;
        color: #404b57;
    }

    .info-row {
        display: flex;
        align-items: flex-start;
        font-size: 13px;
        line-height: 1.5;
        color: #364350;
        margin-top: 2px;
        gap: 6px;
    }

    .info-row i {
        margin-top: 2px;
        flex-shrink: 0;
        color: navy;
        font-size: 13px;
    }

    .info-row a {
        color: #187055;
        text-decoration: none;
        font-weight: 500;
        word-break: break-all;
    }

    .info-row a:hover {
        text-decoration: underline;
    }

    .phone-list span {
        white-space: nowrap;
    }

    .phone-list span:not(:last-child)::after {
        content: " / ";
        white-space: pre;
    }

    .card-footer {
        margin-top: 10px;
    }

    .btn-map {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 16px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        background: navy;
        color: #ffffff;
        text-decoration: none;
        text-transform: capitalize;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
        transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
    }

    .btn-map i {
        font-size: 12px;
    }

    .btn-map:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
        background: #069341;
    }

    .btn-map:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    }

    .no-centers {
        font-size: 14px;
        color: #4b5968;
    }


    [data-aos]{
    transition-timing-function: cubic-bezier(.2,.65,.3,.9) !important;
}

.content-box,
.why-choose-box,
.formbox{
    transition: all .3s ease;
}

.content-box:hover,
.why-choose-box:hover{
    transform: translateY(-5px);
}
