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

.ast-separate-container #primary {
    margin: 0;
}

h1,h2, h3, h4 {
    color: var(--teflie-text-primary-dark) !important;
}

p {
    color: var(--teflie-text-primary) !important;
    line-height: 140% !important;
}

#content>.ast-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 !important;
}

.ast-container {
    /* max-width: 1300px !important; */
    margin: auto !important;
}

body.page-template-contact #content>.ast-container {
    padding: 0 20px !important;
}

body.page-template-careers .ast-container,
body.page-template-careers .ast-container-fluid {
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.section-title {
    font-size: 40px;
    font-weight: 550;
    line-height: 120%;
    letter-spacing: 0.5px;
    margin-bottom: var(--teflie-space-md);
}

#primary {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.outer-section-hero {
    width: 100%;
    padding: 5rem 0;
    background: #DFE4E5;
}

.hero-container {
    max-width: 1300px;
    margin: auto;
    padding: 020px;
}

.outer-section {
    width: 1300px;
    padding: 0 20px !important;
}

.row {
    flex-direction: row;
    display: flex;
    justify-content: center;
}

.hero-container ul li {
    list-style: disc;
    margin-left: 1.25rem;
}

.hero-label {
    font-family: "Outfit", sans-serif;
    display: inline-block;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    font-size: 1.75rem;
    background: linear-gradient(90deg, #029494 0%, #2AC6C7 100%);
    margin-bottom: 3rem;
    border-radius: 0 2rem;
    display: none;
}

.hero-label .number {
    background: white;
    color: #029494;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
}

.hero-heading {
    text-align: center;
    margin-top: -3rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--teflie-text-primary-dark);
}

.hero-title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--teflie-text-primary);
}

.hero-title p {
    margin: 0;
}

.hero-content {
    margin-top: 2rem;
    font-size: 18px;
}

.hero-content p {
    margin: 0;
    padding-bottom: 1rem;
    color: var(--teflie-text-primary);
}

.hero-cta {
    margin-top: 1rem;
    display: flex;
}

.hero-cta-href {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .hero-cta-href:hover {
    background: #f12c3e;
    color: #fff;
} */

.explore-section {
    text-align: center;
    padding: 3rem 0;
    /* width:1300px; */
    margin: 0 auto;
}

.explore-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: #111e3e;
}

.explore-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.explore-card {
    flex: 1 1 500px;
    max-width: 540px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.explore-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 100px;
    position:relative;
    background-size:cover;
    background-position:center;
}

.explore-image-overlay{
    position:absolute;
    inset:0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.75) 10%,
        rgba(0,0,0,0) 60%
    );
    display:flex;
    align-items:flex-end;
    justify-content:center;
    padding:30px;
    border-radius:inherit;
}


.explore-image-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--teflie-white) !important;
    text-align: center;
}

.explore-card-text {
    font-size: 18px;
    margin-top: 2rem;
}

.explore-card-text p {
    margin: 0;
    height: 7rem;
}

.explore-card-btn {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.explore-btn {
    display: inline-block;
    padding: 0.75rem 3rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-teal {
    background-color: #030D36;
}

.btn-teal:hover {
    opacity: 0.9;
}

.btn-salmon {
    background-color: #030D36;
}

.btn-salmon:hover {
    opacity: 0.9;
}

.video-inline {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-thumb {
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    border: 3px solid #d38221;
    border-radius: 0 80px;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 77px;
}

.video-play-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.video-play-icon::before {
    content: "";
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.video-play-icon::after {
    content: "";
    position: absolute;
    margin-left: 3px;
    border-left: 18px solid #d38221;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.student-icon {
    width: 120px;
    position: absolute;
    right: -30px;
    top: -30px;
    z-index: 2;
}

@media screen and (max-width:768px) {
    .student-icon {
        width: 60px;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
    }

    .explore-section {
        padding: 20px;
    }
}