/* =========================================
   POMADE CONSULTING LIMITED
   OUR ENROLLMENT CENTERS
========================================= */


/* =========================================
   BASIC RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #f6f8fb;
}


/* =========================================
   GENERAL CONTAINER
========================================= */

.centers-container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 92%;
    max-width: 1100px;
    min-height: 72px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.site-header .logo {
    display: inline-block;

    color: #071d35;
    text-decoration: none;

    font-size: 20px;
    font-weight: 700;

    white-space: nowrap;
}


/* NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 25px;
}

.main-nav a {
    display: inline-block;

    color: #071d35;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    padding: 8px 0;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #0b5aa7;
}

.main-nav a.active {
    color: #0b5aa7;
}


/* =========================================
   HERO
========================================= */

.centers-hero {
    width: 100%;

    padding: 90px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #071d35,
            #0b355d
        );

    color: #ffffff;
}

.hero-label {
    display: inline-block;

    margin-bottom: 15px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: 0.85;
}

.centers-hero h1 {
    margin: 0 0 15px;

    font-size: clamp(36px, 5vw, 58px);

    line-height: 1.1;

    color: #ffffff;
}

.centers-hero p {
    max-width: 650px;

    margin: 0 auto;

    font-size: 18px;

    line-height: 1.7;

    color: #ffffff;

    opacity: 0.9;
}


/* =========================================
   CENTERS SECTION
========================================= */

.centers-section {
    width: 100%;

    padding: 70px 20px 90px;

    background: #f6f8fb;
}


/* =========================================
   HEADING
========================================= */

.centers-heading {
    text-align: center;

    margin-bottom: 35px;
}

.centers-heading h2 {
    margin: 0 0 10px;

    font-size: 36px;

    line-height: 1.2;

    color: #071d35;
}

.centers-heading p {
    margin: 0;

    color: #687385;

    font-size: 16px;
}


/* =========================================
   SEARCH + STATE FILTER
========================================= */

.center-filters {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto 20px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) 250px;

    gap: 15px;

    align-items: center;
}


/* SEARCH BOX */

.center-search-box {
    width: 100%;
    margin: 0;
    padding: 0;

    background: transparent;
}

.center-search-box input {
    display: block;

    width: 100%;

    height: 52px;

    padding: 0 18px;

    margin: 0;

    border: 1px solid #dce2e9;

    border-radius: 8px;

    background: #ffffff;

    color: #222;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    outline: none;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.center-search-box input::placeholder {
    color: #8a94a3;
}

.center-search-box input:focus {
    border-color: #0b5aa7;

    box-shadow:
        0 0 0 3px
        rgba(11, 90, 167, 0.1);
}


/* STATE SELECT */

.state-box {
    width: 100%;
    margin: 0;
    padding: 0;

    background: transparent;
}

.state-box select {
    display: block;

    width: 100%;

    height: 52px;

    padding: 0 16px;

    margin: 0;

    border: 1px solid #dce2e9;

    border-radius: 8px;

    background: #ffffff;

    color: #222;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 15px;

    outline: none;

    cursor: pointer;

    box-shadow: none;
}

.state-box select:focus {
    border-color: #0b5aa7;

    box-shadow:
        0 0 0 3px
        rgba(11, 90, 167, 0.1);
}


/* =========================================
   RESULTS COUNT
========================================= */

.results-info {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto 20px;

    color: #687385;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================
   CENTERS GRID
========================================= */

.centers-grid {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* =========================================
   CENTER CARD
========================================= */

.center-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #edf0f4;

    border-radius: 14px;

    padding: 28px;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.center-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.11);
}


/* =========================================
   CENTER ICON
========================================= */

.center-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #eef5fb;

    color: #0b5aa7;

    font-size: 22px;
}


/* =========================================
   STATE LABEL
========================================= */

.center-state {
    display: inline-block;

    padding: 5px 10px;

    margin-bottom: 10px;

    border-radius: 20px;

    background: #eaf3fb;

    color: #0b5aa7;

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================
   CENTER NAME
========================================= */

.center-card h3 {
    margin: 5px 0 15px;

    color: #071d35;

    font-size: 21px;

    line-height: 1.3;
}


/* =========================================
   CENTER INFORMATION
========================================= */

.center-card p {
    margin: 8px 0;

    color: #657184;

    font-size: 14px;

    line-height: 1.6;
}

.center-card a {
    color: #0b5aa7;
}


/* =========================================
   DIRECTIONS BUTTON
========================================= */

.directions-btn {
    display: inline-block;

    margin-top: 18px;

    padding: 11px 18px;

    border-radius: 7px;

    background: #071d35;

    color: #ffffff !important;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.directions-btn:hover {
    background: #0b5aa7;

    transform: translateY(-1px);
}


/* =========================================
   NO RESULTS
========================================= */

.no-results {
    display: none;

    width: 100%;
    max-width: 600px;

    margin: 50px auto 0;

    padding: 50px 20px;

    text-align: center;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.05);
}

.no-results h3 {
    margin: 0 0 10px;

    color: #071d35;

    font-size: 22px;
}

.no-results p {
    margin: 0;

    color: #687385;

    line-height: 1.6;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    width: 100%;

    padding: 25px 20px;

    background: #071d35;

    color: #ffffff;

    text-align: center;
}

.site-footer p {
    margin: 0;

    font-size: 14px;

    line-height: 1.6;

    color: #ffffff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .header-container {
        padding: 15px 0;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 15px;
    }

    .main-nav {
        justify-content: center;

        flex-wrap: wrap;

        gap: 18px;
    }

    .centers-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .centers-container {
        width: 94%;
    }

    .centers-hero {
        padding: 65px 20px;
    }

    .centers-hero h1 {
        font-size: 36px;
    }

    .centers-hero p {
        font-size: 16px;
    }

    .centers-section {
        padding: 50px 15px 65px;
    }

    .centers-heading {
        margin-bottom: 28px;
    }

    .centers-heading h2 {
        font-size: 30px;
    }

    .center-filters {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .centers-grid {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .center-card {
        padding: 23px;
    }

    .site-header .logo {
        font-size: 18px;

        white-space: normal;
    }

    .main-nav {
        gap: 12px 16px;
    }

    .main-nav a {
        font-size: 14px;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 400px) {

    .centers-hero h1 {
        font-size: 30px;
    }

    .centers-heading h2 {
        font-size: 27px;
    }

    .center-card h3 {
        font-size: 19px;
    }

}