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

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

#primary {
    margin: 3rem 0 !important;
}

header .ast-container,
.outer-section {
    margin: auto !important;
}

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

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

#primary {
    margin: 0 !important;
}

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

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

.outer-section-hero {
    width: 100%;
    padding: 5rem 0 2rem;
    background-position: right center;
    /* background-size: 50% 100%, 50% 100%; */
    background-repeat: no-repeat;
    background-color: #dbe1e5;
    background-size: contain;
}

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

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

.row {
    flex-direction: row;
    display: flex;
    justify-content: center;
    margin: 5rem 0 15rem;
}

.row:last-of-type {
    margin-bottom: 0;
}

.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-title {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 450;
}

.hero-title p {
    margin: 0;
}

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

.hero-subheading p {
    margin: 0;
    padding-bottom: 1rem;
}

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

.hero-cta-href {
    min-width: 240px;
}

.hero-cta-href svg {
    vertical-align: middle;
    margin-left: 8px;
}

.hero-cta-href.btn-secondary {
    background: none;
    box-shadow: 0 0 0 1px inset #2D3F40;
    color: #2D3F40;
    font-weight: 500;
}

.hero-cta-href.btn-secondary:hover {
    background: #f12c3e;
    color: #2D3F40;
}

.rotate-1 {
    --tilt: -12deg;
}

.rotate-2 {
    --tilt: -9deg;
}

.rotate-3 {
    --tilt: -6deg;
}

.rotate-4 {
    --tilt: -3deg;
}

.rotate-5 {
    --tilt: 0deg;
}

.rotate-6 {
    --tilt: 3deg;
}

.rotate-7 {
    --tilt: 6deg;
}

.tefl-course-price {
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 500;
}

/* Apply rotation everywhere */
.polaroid-card {
    background: white;
    padding: 0.5rem 0.5rem 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    width: 140px;
    height: 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transform: rotate(var(--tilt, 0deg));
    transition: transform .25s ease, box-shadow .25s ease;
}

/* On hover, keep the rotation but add movement */
.polaroid-card:hover {
    transform: rotate(var(--tilt, 0deg)) translateY(-6px);
}

.polaroid-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.polaroid-caption {
    font-weight: 500;
    font-size: 18px;
    height: 24px;
    margin-top: 4px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teflie-turquoise);
}


.graphic {
    background-position: center 330px;
    background-size: contain;
    background-repeat: no-repeat;
}

.outer-section-menu {
    background: #030D36;
    width: 100%;
    padding: 20px;
}

.menu-container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.custom-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-link {
    position: relative;
    padding: 0 2rem;
    color: white;
    text-decoration: none;
}

.menu-link:hover {
    color: white;
    text-decoration: none;
}

.menu-link:active {
    color: white;
    text-decoration: none;
}

.menu-link:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1.2rem;
    width: 1px;
    background-color: white;
}

/* Why Take TEFL? */
.why-tefl {
    padding: 3rem 0;
    text-align: center;
}

section.why-tefl .container,
.tefl-courses-section .container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

.tefl-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.tefl-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1rem 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tefl-card:hover {
    transform: translateY(-5px);
    /* move up by 5px */
}

.tefl-icon {
    width: auto;
    height: 50px;
    margin-bottom: 1rem;
}

.tefl-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tefl-hr {
    background: #DBDBDB;
    height: 1px;
    width: 50%;
    margin: 1rem auto 0.75rem;
}

.tefl-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Our Irish Partners */
.irish-partners {
    padding: 3rem 0;
    background-color: var(--teflie-background-light-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading {
    font-size: 2.5rem;
    position: relative;
    font-weight: 450;
    display: inline-block;
    margin: 0 0 1rem 0 !important;
    color: var(--teflie-text-primary-dark);
}

.section-heading::before {
    bottom: -4px;
}

.section-heading::after {
    bottom: -10px;
}

.partners-subheading {
    font-size: 20px;
    margin-bottom: 2rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.partners-logos-wrapper {
    overflow: hidden;
    width: 100%;
    background-color: var(--teflie-background-light-blue);
    padding: 2rem 0;
    position: relative;
}

.partners-logos {
    display: flex;
    width: max-content;
    animation: scroll-logos 50s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    margin: 0 2rem;
}

.partner-logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* Keyframes */
@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Testimonials */
.testimonial-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-heading h2 {
    background-color: #0c154d;
    color: white;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 1rem;
    font-size: 1.5rem;
}

.testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-box {
    background-color: white;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-logo img {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.testimonial-content {
    flex: 1;
}

.testimonial-review {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #111c3b;
}

.outer-section-pattern {
    width: 100%;
    display: flex;
    justify-content: center;
    /* background-image: url(https://tefl.ie/wp-content/uploads/2025/07/pattern-3.png);
    background-position: center;
    background-repeat: inherit;
    background-size: cover; */
    padding: 3rem 0;
}

.two-columns {
    width: 1300px;
    padding: 0 20px !important;
    display: flex;
    gap: 3rem;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
    font-size: 18px;
    display: inline-block;
    margin-top: 3rem;
    padding: 15px 30px;
    font-weight: 600;
    margin-right: -4rem;
}

.testimonials {
    width: 50%;
    position: relative;
    top: -1rem;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.testimonial-logo {
    margin: 0rem 2rem;
}

.testimonials-heading {
    text-align: center;
    padding-bottom: 2rem;
    font-weight: 600;
}

.prospectus {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.prospectus-heading {
    text-align: center;
    font-weight: 600;
}

.prospectus a {
    width: 70%;
    font-size: 20px;
}

/* Meet Our School Elective Team */

.outer-section-team {
    background: var(--teflie-background-light-blue);
    width: 100%;
}

.team-section {
    padding: 3rem 0;
    text-align: center;
    max-width: 1300px;
    margin: 50px auto 0;
}

.section-subtitle {
    color: #111c3b;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.team-member {
    max-width: 280px;
}

.team-avatar img {
    width: 100%;
    border-radius: 1.5rem;
    object-fit: cover;
}

.team-name {
    font-size: 25px;
    font-weight: bold;
    margin: 1rem 0 0.25rem;
}

.team-role {
    margin: 0;
    font-weight: 500;
}

/* Our Accreditation */
.accreditation-section {
    text-align: center;
    max-width: 1300px;
    margin: auto;
    padding: 20px 0;
}
.accreditation-section h2 {
    text-align: center;
}

.accreditation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin: 1rem auto 0;
    border-top: 1px dashed #C2C2C2;
    border-bottom: 1px dashed #C2C2C2;
    padding: 3rem 0;
    text-align: left;
}

.accreditation-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accreditation-item .flag {
    width: 20px;
    height: auto;
}

.accreditation-item .logo {
    max-height: 60px;
    width: auto;
    margin: 1rem auto;
}

.accreditation-item .by {
    margin-bottom: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.provider-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}



/* === Layout === */
.tefl-courses-section {
    padding: 3rem 0;
}

.tefl-courses-section .section-subheading {
    max-width: 100%;
}

.container {
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #0a0a0a;
    margin-bottom: 10px;
}

.section-subheading {
    font-size: 20px;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* === Grid === */
.courses-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    text-align: left;
}

/* === Card === */
.course-card {
    width: 100%;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* smooth animation */
}

.course-card:hover {
    transform: translateY(-5px);
    /* move up by 5px */
}

/* === Image Section === */
.course-image-wrapper {
    position: relative;
    margin-top: 2rem;
}

.course-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0rem 8rem 0rem 8rem;
}

.course-badge {
    position: absolute;
    top: -21px;
    left: 30px;
    padding: 6px 24px;
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 0 4px 0 4px;
    background-color: #00b3a4;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-badge img {
    height: 22px;
    width: auto;
}

.course-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 0rem 8rem 0rem 8rem;
}

.overlay-outline {
    border: 4px solid #00b3a4;
}

.course-icon {
    width: 150px;
    height: 150px;
    display: block;
    margin-bottom: 1rem;
}

/* === Content === */
.course-content {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 2rem;
}

.course-title {
    width: 14rem;
    font-size: 33px;
    font-weight: 600;
    color: white !important;
}

.course-type {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #DEDFE2;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.course-type img {
    height: 50px;
    width: auto;
}

.course-type-content {
    display: flex;
    flex-direction: column;
}

.course-type strong {
    font-size: 24px;
    color: var(--teflie-text-primary);
}

.course-tagline {
    font-size: 16px;
    font-weight: 500;
    color: var(--teflie-text-primary);
}

.course-description-wrapper {
    position: relative;
}

.course-description-wrapper .course-description {
    max-height: 325px;
    font-size: 18px;
    font-weight: 500;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.course-description.expanded {
    max-height: 2000px;
}

.course-description-wrapper button.read-more-btn {
    all: unset;
    color: var(--teflie-turquoise);
    font-weight: var(--teflie-font-weight-bold);
    display: inline-flex;
    align-items: center;
    gap: var(--teflie-space-xs);
    cursor: pointer;
}

.course-benefits {
    list-style: disc;
    padding-left: 18px;
    font-size: 14px;
    color: #444;
    margin-bottom: 24px;
}

.course-benefits li {
    margin-bottom: 6px;
}

/* === Footer === */
.course-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.course-price {
    font-size: 16px;
}

.old-price {
    font-size: 14px;
    color: #aaa;
    text-decoration: line-through;
    margin-right: 8px;
}

.new-price {
    font-weight: bold;
    font-size: 18px;
    color: #0a0a0a;
}

.course-button {
    background-color: #030D36;
    color: #fff;
    padding: 10px;
    font-size: 22px;
    font-weight: 600;
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 33px;
    width: 100%;
}


.blog-section {
    text-align: center;
}

.reading-corner-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    text-align: left;
    margin-top: 1rem;
}

/* === Left Big Card === */
.featured-card {
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    padding-top: 73.5%;
    border-radius: 20px;
    overflow: hidden;
    color: #000;
    text-decoration: none;
}

.featured-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.featured-meta {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-date,
.badge-category {
    background: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.featured-title {
    position: absolute;
    bottom: 70px;
    left: 16px;
    background: #fff;
    padding: 10px 14px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 12px;
}

.read-more-button {
    position: absolute;
    bottom: 20px;
    left: 16px;
    background: #00b3a4;
    color: white;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: bold;
}

/* === Right Column === */
.right-stacked {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stacked-card {
    display: block;
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    text-decoration: none;
    color: #000;
}

.stacked-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.stacked-title {
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    max-width: 90%;
}

.stacked-card .read-more-button {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 13px;
    padding: 8px 16px;
}

/* === Responsive === */
@media (max-width: 900px) {
    .reading-corner-layout {
        grid-template-columns: 1fr;
    }

    .right-stacked {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stacked-card {
        flex: 1 1 45%;
    }
}

.outer-section-pro-courses {
    width: 100%;
    background: var(--teflie-background-vanilla);
    margin: 3rem 0;
}

.tefl-pro-series-section {
    padding: 60px 0;
    max-width: 1300px;
    margin: auto;
}

.section-subheading {
    font-size: 20px;
    color: #111c3b;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tefl-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tefl-pro-card {
    background: white;
    border-radius: 20px;
    padding: 30px 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.tefl-pro-card:hover {
    transform: translateY(-5px);
    /* move up by 5px */
}

.tefl-course-icon {
    width: 80px;
}

.tefl-course-title {
    font-size: 18px;
    font-weight: 600;
    border-left: 2px solid #F12C3E;
    padding-left: 10px;
}

.discount-badge {
    background: #ff4f4f;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: bold;
}

.tefl-content {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 60px;
    min-height: 14rem;
}

.tefl-content ul {
    margin: 0;
}

.tefl-content ul li {
    list-style: disc;
    margin-left: 1.25rem;
}

.tefl-benefits {
    list-style: disc;
    padding-left: 18px;
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-bottom: 24px;
}

.tefl-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    bottom: 28px;
    left: 10%;
    width: 80%;
}

/* .btn-primary {
    background: #0b0c1a;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
} */

.btn-outline {
    border: 2px solid #0b0c1a;
    color: #0b0c1a;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
}

.tefl-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.faq-section {
    padding: 3rem 0 0;
}

.faq-heading {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .faq-list {
        max-width: 75%;
        margin: 0 auto;
    }
}

.faq-item {
    padding: 10px 0;
    background: var(--teflie-background-vanilla);
    margin-bottom: var(--teflie-space-sm);
    border-radius: 10px;
}


.faq-question {
    font-size: 18px;
    /* większa czcionka */
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    padding-left: 1rem;
}

.faq-answer {
    display: none;
    font-size: 18px;
    padding: 0 var(--teflie-space-sm) var(--teflie-space-sm);
    font-weight: 400;
    color: var(--teflie-text-primary);
    line-height: 140%;
    margin-top: 5px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-text {
    color: var(--teflie-text-primary);
}

.faq-number {
    margin-right: 0.5rem;
    font-weight: bold;
    color: var(--teflie-text-primary);
}

.faq-footer {
    text-align: center;
    margin-top: 40px;
}

.faq-more-btn {
    background-color: #0b0c1a;
    color: white;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-more-btn .arrow {
    margin-left: 8px;
    font-size: 16px;
}


.enquire-section {
    background: #03B4B4;
    color: white;
    text-align: center;
    padding: 3rem;
    border-radius: 3rem;
}

.enquire-section h2 {
    color: white;
}

.enquire-section p {
    color: white;
    margin-bottom: 1rem;
}

.enquire-section form p {
    margin: 0;
}

.instagram-gallery__actions {
    display: none;
}

.social-media-container {
    padding-top: 3rem;
}

.social-media-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.social-media-top .text {
    background: #030D36;
    color: white;
    text-transform: uppercase;
    padding: 5px 25px;
    border-radius: 0 15px;
    font-size: 18px;
    font-weight: 500;
}

.social-media-top .links {
    display: flex;
    gap: 1rem;
    margin-left: 1rem;
}

.social-media-top .links a {
    background: #030D36;
    border-radius: 0 15px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.instagram-gallery-square .instagram-gallery-item__media {
    border-radius: 0px 33px;
}

i.instagram-gallery-item__icon.qligg-icon-gallery.instagram-gallery-item__icon--views {
    display: none;
}

.howitworks-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    text-align: center;
}

.howitworks-header .section-title {
    font-size: 2.5rem;
    font-weight: 450;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subheading {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #334155;
}

.howitworks-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.howitworks-card {
    background: #fff;
    border-radius: 25px;
    padding: 2rem;
    max-width: 300px;
    text-align: center;
    box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    margin-top: 20px;
}

.howitworks-icon img {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
}

.howitworks-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.howitworks-hr {
    background: #DBDBDB;
    width: 8rem;
    height: 1px;
    margin: 1rem auto 0.5rem;
}

.course-description ul li {
    list-style-type: unset;
}

.course-description ul {
   margin: 0;
}

.course-date-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 5.5rem;
}

.course-date-picker select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: white;
    border: 2px solid #000642;
    /* match site navy */
    border-radius: 0 10px;
    padding: 1rem 2.5rem 1rem 2.5rem;

    font-size: 1.25rem;
    font-weight: 600;
    color: #000642;

    min-width: 280px;
    text-align: right;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000642" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: 1rem center;
    background-size: 50px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.course-date-picker select:hover {
    border-color: #1b1b6d;
}

.course-date-picker select:focus {
    outline: none;
    border-color: #1b1b6d;
    box-shadow: 0 0 0 2px rgba(0, 6, 66, 0.2);
}

.calendar-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #000642;
}

.course-date-picker img {
    width: 50px;
    height: auto;
}

.hero-cta-btn-row {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-cta-btn-row {
        flex-direction: column;
    }

    .graphic {
        display: none;
    }

    .custom-menu {
        flex-direction: column;
    }

    .menu-link:not(:last-child)::after {
        display: none;
    }

    .tefl-grid {
        grid-template-columns: auto;
    }

    .outer-section {
        width: 100%;
    }

    .irish-partners {
        width: 100%;
    }

    .outer-section-partners {
        width: 100%;
    }

    .partners-subheading {
        padding: 0 20px;
    }

    .outer-section-pattern {
        flex-direction: column;
    }

    .two-columns {
        width: 100%;
        flex-direction: column;
    }

    .testimonials {
        width: 100%;
    }

    .prospectus {
        width: 100%;
    }

    .courses-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .course-icon {
        width: 50px;
        height: 50px;
    }

    .course-footer {
        margin-top: 0;
    }

    .course-date-picker {
        flex-direction: column;
        margin: 1rem auto;
        width: auto;
    }
    .course-date-picker select {
        min-width: auto;
        font-weight: 600;
    }

    .reading-corner-layout {
        padding: 0 20px;
    }

    .social-media-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tefl-pro-series-section {
        width: 100%;
        padding: 60px 20px;
    }

    .team-grid {
        gap: 0;
    }

    .outer-section-hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-cta-href {
        width: 100%;
    }

    .section-heading {
        font-size: 24px;
    }

    .partner-logo img {
        height: 50px;
    }

    .prospectus a {
        width: 90%;
        font-size: 16px;
        padding: 8px;
    }

    .course-button {
        font-size: 18px;
        padding: 5px;
    }

    .tefl-buttons .btn-primary {
        font-size: 16px;
        padding: 8px;
    }

    .howitworks-header .section-title {
        font-size: 24px;
    }

    .howitworks-title {
        font-size: 20px;
    }

    .team-name {
        font-size: 20px;
    }

    .team-avatar img {
        width: 80%;
    }

}


.testimonials-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    font-weight: 700;
}

.splide__track {
    padding: 20px 0;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px;
    /* text-align: center; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-logo img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
}

.testimonial-review {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.splide--vertical {
    height: 400px;
}

.splide--vertical .splide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .splide__arrow {
    background: #007bff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.splide__arrow svg {
    fill: white;
} */

.splide__pagination__page {
    background: #ddd;
    border: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 3px;
    transition: all 0.3s ease;
}

.splide__pagination__page.is-active {
    background: #007bff;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .testimonials-heading {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 20px;
        margin: 10px;
    }

    .splide--vertical {
        height: 350px;
    }
}

.ribbon {
    --f: 15px;

    position: absolute;
    top: 0;
    color: #fff;
    padding: .3em 2em;
    background: var(--c, #00b3a4);
    border-bottom: var(--f) solid #0007;
    clip-path: polygon(100% calc(100% - var(--f)), 100% 100%, calc(100% - var(--f)) calc(100% - var(--f)),
            var(--f) calc(100% - var(--f)), 0 100%, 0 calc(100% - var(--f)),
            999px calc(100% - var(--f) - 999px), calc(100% - 999px) calc(100% - var(--f) - 999px));
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ribbon.left {
    left: 0;
    transform: translate(calc((cos(45deg) - 1)*100%), -100%) rotate(-45deg);
    transform-origin: 100% 100%;
}

.ribbon-icon-img {
    height: 18px;
    width: auto;
}

@supports (-moz-appearance:none) {
    .ribbon {
        background:
            linear-gradient(to top, #0000 1px, #0005 0 var(--f), #0000 0) border-box,
            linear-gradient(var(--c, #00b3a4) 0 0) 50% / calc(100% - 2px) calc(100% - 2px) no-repeat border-box;
        border-bottom-color: #0000;
    }
}

.course-badge {
    display: none;
}