/* HERO SECTION */
.hero-section {
    height: 100vh;
    background-color: var(--primary-blue-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    animation: slowZoom 20s linear infinite;
    z-index: 2;
}

.hero-slide-1 { background-image: linear-gradient(rgba(14, 59, 125, 0.6), rgba(9, 38, 82, 0.9)), url('../images/Hero/Rectangle 18 (1).png'); }
.hero-slide-2 { background-image: linear-gradient(rgba(14, 59, 125, 0.6), rgba(9, 38, 82, 0.9)), url('../images/Hero/Rectangle 18 (2).png'); }
.hero-slide-3 { background-image: linear-gradient(rgba(14, 59, 125, 0.6), rgba(9, 38, 82, 0.9)), url('../images/Hero/Rectangle 18 (3).png'); }

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

/* Renewal Page Hero - No Carousel */
.hero-section.renewal-hero {
    background-image: linear-gradient(rgba(14, 59, 125, 0.6), rgba(9, 38, 82, 0.9)), url('../images/renewal.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.renewal-hero .hero-slides {
    display: none;
}

.renewal-hero .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
}

.levels-grid-hero {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto 0;
    flex-wrap: wrap;
}

.levels-grid-hero .level-card {
    flex: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 920px;
    padding: 0 10px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-actions .btn {
    padding: 14px 32px;
    font-size: 1.05rem;
}

/* INFO BANNERS (Why Get Certified) */
.info-banners-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background-color: var(--accent-gold);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-blue);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.info-icon img {
    max-width: 100%;
    height: auto;
}

.info-content h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* CRITERIA SECTION */
.criteria-section {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.criteria-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.criteria-header {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-right: 90px;
}

.criteria-toggle {
    background-color: var(--accent-gold);
    color: var(--bg-white);
    width: 60px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
}

.criteria-header-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.criteria-header-icon {
    font-size: 24px;
}

.criteria-header h3 {
    color: var(--bg-white);
    margin: 0 0 5px 0;
    font-size: 1.3rem;
}

.criteria-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.criteria-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.criteria-nav button {
    padding: 16px 30px;
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
}

.criteria-nav button.active {
    color: var(--primary-blue);
}

.criteria-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; width: 100%; height: 3px;
    background-color: var(--primary-blue);
}

.criteria-body {
    padding: 40px 30px;
    display: flex;
    gap: 40px;
}

.steps-list {
    flex: 1;
}

.steps-list h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.steps-list > p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.step-number {
    width: 28px;
    height: 28px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-content h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.85rem;
}

.guidance-box {
    width: 350px;
    background-color: var(--info-blue);
    border-radius: var(--radius-md);
    padding: 24px;
    border-top: 4px solid var(--accent-gold);
    align-self: flex-start;
}

.guidance-box h5 {
    color: var(--info-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.guidance-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* LEVELS SECTION */
.levels-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.levels-grid {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.level-card {
    flex: 1;
    cursor: pointer;
    background-image: linear-gradient(to bottom, rgba(28, 40, 56, 0.5), rgba(15, 20, 28, 0.95)), url('../images/level bg.png');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    color: var(--bg-white);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.level-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.level-card:hover {
    flex: 1.25;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border-color: var(--accent-gold);
    background-image: linear-gradient(to bottom, rgba(14, 40, 60, 0.3), rgba(0, 30, 60, 0.85)), url('../images/level bg.png');
}

.level-card:hover::after {
    opacity: 1;
}

.level-divider {
    width: 60%;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    margin: 15px auto;
}

.level-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.level-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Creating an SVG crest inline via CSS for placeholder */
.crest-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    clip-path: polygon(50% 100%, 100% 80%, 100% 0, 0 0, 0 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.crest-placeholder::after {
    content: '\f005'; /* FontAwesome star */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-gold);
    font-size: 30px;
}
.level-card.level-2 .crest-placeholder::after { content: '\f5a2'; }
.level-card.level-3 .crest-placeholder::after { content: '\f091'; font-size: 35px; }

.level-card h3 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    font-weight: 700;
    line-height: 1.3;
}

.level-card .subtitle {
    font-size: 0.8rem;
    color: var(--bg-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.level-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    min-height: 40px;
    position: relative;
    z-index: 2;
}

.btn-level {
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--bg-white);
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    position: relative;
    z-index: 2;
}

.level-card:hover .btn-level {
    border-color: var(--accent-gold);
    background-color: #042533;
    color: var(--bg-white);
}

/* PATHWAY BANNER */
.pathway-banner {
    position: relative;
    background: linear-gradient(rgba(150, 160, 40, 0.25), rgba(15, 30, 80, 0.45)), url('../images/Rectangle 28.png') center/cover;
    padding: 60px 0;
    color: var(--bg-white);
    overflow: hidden;
}

.pathway-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 62%; height: 100%;
    background: url('../images/Rectangle 25.png') center/cover;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    z-index: 1;
}

.pathway-banner .container {
    position: relative;
    z-index: 2;
}

.pathway-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pathway-content {
    max-width: 60%;
}

.pathway-content h2 {
    color: var(--bg-white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.pathway-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* TESTIMONIALS */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testi-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-base);
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testi-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.testi-content {
    padding: 24px;
}

.testi-name {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.testi-role {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.testi-quote {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
}

.testi-quote::before {
    content: '"';
    color: rgba(14, 59, 125, 0.1);
    font-size: 40px;
    font-family: Georgia, serif;
    position: absolute;
    top: -15px; left: -10px;
}

