html {
    scroll-behavior: smooth;
}

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

.hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.image-block{
    /* z-index: -1; */
    margin: 0 auto;
}

@media(max-width: 922px){
    .hero-section {
        height: 450px;
    }
}

@media(max-width: 545px){
    .hero-section {
        height: 394px;
    }
}

.hero-overlay-link{
    position: absolute;
    inset: 0;
    z-index: 2;
}

.accreditation-cards .card >img {
    height: 100px;
    width: 100px;
    margin-bottom: 10px;
}

.content-block h2{
    font-size: var(--teflie-font-md);
    font-weight: var(--teflie-font-weight-medium);
    color: var(--teflie-navy-blue);
    padding-top: 20px;;
    padding-bottom: 20px;
    font-family: var(--teflie-font-primary) !important;
}

.content-block img{
    border-radius: 16px;
    /* width: 450px;
    height: auto; */
}

.intro-quote p{
    font-weight: 800;
    color: var(--teflie-text-primary);
    padding-bottom: 20px;
    line-height: 2rem;
}

blockquote p {
    font-weight: var(--teflie-font-weight-extrabold);
    line-height: 2rem;
}

blockquote {
    border-left: 5px solid var(--teflie-background-light-blue);
}


section:nth-of-type(12) h2::after {
   content: '';
   background-image: url('/wp-content/uploads/2025/11/Vector-18.svg');
   background-size: contain;
   background-repeat: no-repeat;
   display: inline-block;
   width: 50px; 
   height: 50px; 
   margin:auto; 
   vertical-align: middle; 
   position: relative;
   top: 20px;
}

section:nth-of-type(15) h2::after {
   content: '';
   background-image: url('/wp-content/uploads/2025/11/Vector-19.svg');
   background-size: contain;
   background-repeat: no-repeat;
   display: inline-block;
   width: 50px; 
   height: 50px; 
   margin:auto; 
   vertical-align: middle; 
}

section:nth-of-type(16) h2::after {
   content: '';
   background-image: url('/wp-content/uploads/2025/11/Vector-20.svg');
   background-size: contain;
   background-repeat: no-repeat;
   display: inline-block;
   width: 50px; 
   height: 50px; 
   margin:auto; 
   vertical-align: middle; 
}



.breadcrumb-container {
    padding: 20px 0;
    position: relative;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    font-size: 15px;
    backdrop-filter: blur(10px);
    position: absolute;
    top:  50px;
    left: 50px;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.breadcrumb a:hover {
    color: #000;
}

.breadcrumb .separator {
    color: #999;
    font-weight: 300;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 15px 0;
    }
    
    .breadcrumb {
        gap: 8px;
        padding: 12px 20px;
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .breadcrumb .current {
        max-width: 200px;
    }
}
@media (max-width: 480px) {
    .breadcrumb {
        gap: 6px;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .breadcrumb .current {
        max-width: 150px;
    }
}

/* section:nth-of-type(17) h2::before {
   content: '';
   background-image: url('/wp-content/uploads/2025/11/Group-1707480579-1.svg');
   background-size: contain;
   background-repeat: no-repeat;
   display: inline-block;
   width: 100px; 
   height: 100px; 
   margin:auto; 
   vertical-align: middle; 
} */

#social_media_reels {
    padding-top: 50px;
}

/* Accredited & Recognised Section  */

.accreditation-section {
    padding: 0 0 var(--teflie-space-xl);
}

.accreditation-section .ast-container {
    display: block;
}

.accreditation-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.accreditation-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--teflie-space-md);
    margin-top: 40px;
    max-width: 80%;
    margin: auto;
}

.card {
    background-color: var(--teflie-white);
    border-radius: 24px;
    padding: 20px 20px 5px;
    flex: 1;
    box-shadow: 0px 2px 10px 0px #00000014;
    text-align: center;
}

.card img {
    margin-bottom: 16px;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--teflie-navy-blue);
}

.card .flag {
    width: 15px;
    height: 10px;
    margin-right: 8px;
    vertical-align: text-top;
}

.card p {
    font-size: 14px;
    color: var(--teflie-navy-blue);
}

/* Accredited & Recognised Section  */
@media (max-width:767px) {
    .accreditation-cards {
        flex-wrap: nowrap;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        gap: var(--teflie-space-md);
        max-width: 90%;
    }

    .card {
        white-space: nowrap;
    }
}

/* Quiz Section */

.quiz-section {
  background: #CCE7E2;
  padding: 80px 0;
}

.quiz-section .ast-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.quiz-section .image-box {
    flex: 1;
    position: relative;
}

.quiz-section .image-box img {
    border-radius: 24px;
    position: relative;
}

.quiz-section .image-box::before {
    content: '';
    position: absolute;
    top: -70px;
    right: 120px;
    background-image: url('/wp-content/uploads/2025/11/spark-sparkle-26.png');
    width: 100px;
    height: 100px;
}

.quiz-section .text-box {
    flex: 1;
}

.text-box h2 {
    font-size: 40px;
    font-weight: 450;
    margin-bottom: 20px;
    color: var(--teflie-text-primary-dark);
}

.text-box p {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--teflie-text-primary);
}

/* Quiz Section */
@media (max-width:767px) {
    
    .quiz-section {
        background: transparent;
        padding: 0;
    }

    .quiz-section .ast-container {
        flex-direction: column;
        gap: 20px;
        background: #CCE7E2;
        padding: 0 !important;
    }

    .quiz-section .image-box img {
        border-radius: 0;
    }

    .quiz-section .text-box {
        padding: 0 20px 40px;
    }

    .text-box h2 {
        font-size: 16px;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .text-box p {
        font-size: 14px !important;
        margin-bottom: 20px;
    }

    .quiz-section .teflie-btn {
        width: 100%;
    }

    .quiz-section .image-box::before {
        display: none;
    }
}