@import url('https://fonts.googleapis.com/css2?family=Dawning+of+a+New+Day&display=swap');

body {
    background: var(--teflie-background-warm) !important;
    color: var(--teflie-text-primary);
}

.site-above-header-wrap,
.site-primary-header-wrap {
    max-width: 1240px !important;
    margin: 0 auto !important;
}

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

#primary {
    margin: 0 !important;
}

.site-primary-header-wrap {
    max-width: 1240px !important;
}

.top-header-wrapper .ast-container {
    max-width: 1240px;
}

.ast-container {
    max-width: 100%;
    padding: 0 0;
}

.main-header-bar.ast-header-breadcrumb {
    display: none;
}

.hero-section {
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: bottom;
    background-size: cover;
}

.paragraph-section {
    background: #E2E6E9;
    display: flex;
    width: 100%;
    height: 50px;
    align-items: center;
    color: #193847;
    font-size: 14px;
}

.bottom a {
    font-weight: 700;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    width: 200px;
    justify-content: center;
}

.logo img {
    height: auto;
    width: auto;
}

.hero h2 {
	font-size: 46px;
	font-weight: 700;
	color: #fff !important;
	margin: 50px auto -20px;
}

.hero h3 {
  	font-family: 'Dawning of a New Day', cursive !important;
  	font-size: 60px;
  	font-weight: 500;
  	color: #fff !important;
  	line-height: 1.25;
}

.cta {
    background: #DDB239;
    color: white;
    padding: 10px 40px;
    display: flex;
    border-radius: 50px;
    margin: 40px auto 0;
    text-transform: uppercase;
}

.cta:hover {
	opacity: 0.9; 
  	color: white;
}

.main {
    margin: 50px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 40px;
}

.section-content {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
  	text-align: center;
}

.certificate-section {
    background: #E2E6E9;
}

.section .ast-container {
    max-width: 1240px;
}

.certificate-section .ast-container {
    max-width: 1240px;
    margin: auto;
    justify-content: center;
    padding: 50px;
}

.certificate {
    text-align:  center;
}

.certificate h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.certificate h3 {
    font-size: 18px;
    font-weight: 400;
}

.certificate .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    background-color: #193946;
}

.certificate-section:before {
    content: "";
    background-image: url(https://tefl.ie/wp-content/uploads/2023/04/cert-mockup.jpg);
    background-position: center;
    background-size: cover;
    height: 254px;
    width: 300px;
    position: absolute;
    left: 0;
}

.certificate-section:after {
    content: "";
    background-image: url(https://tefl.ie/wp-content/uploads/2023/04/Cert-approved.png);
    background-position: center;
    background-size: cover;
    height: 254px;
    width: 370px;
    position: absolute;
    right: 0;
    margin: -254px 0 0 0;
}

.section-qualifications {
    background: #E3E6E9;
}

.section-qualifications .ast-container {
    flex-direction: column;
    padding: 50px 0;
    text-align: center;
}

.section-qualifications h1 {
    max-width: 600px;
    margin: auto;
  	padding-bottom: 30px;
}

.qualification {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
}

.qualification .text {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.qualification:nth-child(odd) {
    background: #EFF0F2;
}

.section-content p:last-child {
    margin: 0;
}

.bold {
    font-weight: 700;
}

.bold-icon {
    width: 20px;
    height: 20px;
    display: flex;
}

.bold-icon img {
    width: 100%;
    height: 100%;
}

@media (max-width:767px) {
    .ast-container {
        padding: 0 20px !important;
    }

    .hero h2 {
        font-size: 30px;
        text-align: center;
    }

    .hero h3 {
        font-size: 40px;
        text-align: center;
    }

    .section-title {
        font-size: 28px;
        font-weight: 450;
    }

    .section-qualifications h1 {
        font-size: 28px;
    }

    ul {
        margin: 0;
    }
}





