/* ==========================================
   Test Preparation Page Styles (Native)
   Compiled from original custom inline styles
   ========================================== */

/* --- Font & Animations --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-element.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes subtleRotate-v3 {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(8deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1); }
}
@keyframes subtleRotateAlt-v3 {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-8deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1); }
}

/* --- Hero Section Background & Shapes --- */
.hero-layered-section-imat-v3 {
    background-color: #f8f9fa;
    background-image: radial-gradient(circle, rgba(66, 66, 66, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 100px 25px; 
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.hero-layered-section-imat-v3::before,
.hero-layered-section-imat-v3::after,
.hero-shape-3-v3 {
    content: ''; position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.06; z-index: 0; will-change: transform;
}
.hero-layered-section-imat-v3::before {
    width: 600px; height: 600px; background-color: #25ad5f;
    top: -10%; left: -10%;
    animation: subtleRotate-v3 50s alternate linear infinite;
}
.hero-layered-section-imat-v3::after {
    width: 500px; height: 500px; background-color: #ed5121;
    bottom: -15%; right: -10%;
    animation: subtleRotateAlt-v3 45s alternate-reverse linear infinite;
}
.hero-shape-3-v3 {
    width: 300px; height: 300px; background-color: #25ad5f;
    opacity: 0.05; top: 35%; right: 2%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: subtleRotate-v3 55s alternate linear infinite;
}

/* --- Content Layout --- */
.hero-layered-content-v4 {
    position: relative;
    z-index: 10; 
    max-width: 1600px; 
    margin: auto;
    text-align: center;
    width: 100%; 
}

/* --- Text Area --- */
.hero-layered-text-v4 {
    margin-bottom: 60px;
}

.eyebrow-v4 {
    font-size: 0.95em;
    font-weight: 700;
    color: #ed5121;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 25px;
    display: block;
}

.headline-v4 {
    font-size: clamp(2.8em, 6vw, 5.2em); 
    font-weight: 800; 
    color: #2d3436; 
    line-height: 1.05;
    margin: 0 auto 30px;
    max-width: 1100px;
    letter-spacing: -2px;
}
.headline-v4 .highlight { 
    color: #25ad5f;
    font-style: italic;
}

.subheadline-v4 {
    font-size: 1.25em; 
    color: #636e72; 
    line-height: 1.8;
    margin: 0 auto 45px; 
    max-width: 850px;
    font-weight: 500;
}

.hero-layered-cta-buttons-v4 {
    display: flex; 
    gap: 20px; 
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.hero-layered-button-v4 {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 18px 40px; border: 1px solid transparent; border-radius: 12px;
    font-size: 1.15em; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    gap: 12px;
}
.hero-layered-button-v4 svg { width: 24px; height: 24px; fill: currentColor; }

.hero-layered-button-v4.primary { background-color: #25ad5f; color: #ffffff; }
.hero-layered-button-v4.primary:hover { background-color: #1e8a4c; transform: translateY(-4px); box-shadow: 0 12px 25px rgba(37, 173, 95, 0.3);}
.hero-layered-button-v4.secondary { background-color: #ed5121; color: #ffffff; }
.hero-layered-button-v4.secondary:hover { background-color: #c54017; transform: translateY(-4px); box-shadow: 0 12px 25px rgba(237, 81, 33, 0.3);}

/* --- Stats Grid --- */
.hero-layered-stats-container-v4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 80px;
    position: relative;
    z-index: 10;
}
.stat-box {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    text-align: center;
    border-bottom: 5px solid #25ad5f;
    transition: all 0.4s ease;
}
.stat-box:nth-child(even) { border-bottom-color: #ed5121; }
.stat-box:hover { transform: translateY(-12px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }

.stat-num-wrapper {
    font-size: 2.8em;
    font-weight: 800;
    color: #2d3436;
    line-height: 1;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stat-num-wrapper .prefix { font-size: 0.6em; margin-right: 4px; }
.stat-num-wrapper .suffix { color: #25ad5f; }
.stat-box:nth-child(even) .stat-num-wrapper .suffix { color: #ed5121; }

.stat-lbl {
    font-size: 0.85em;
    color: #636e72;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .hero-layered-stats-container-v4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .headline-v4 { font-size: 3.5em; }
}

@media (max-width: 600px) {
    .hero-layered-stats-container-v4 { grid-template-columns: 1fr; }
    .hero-layered-section-imat-v3 { padding: 80px 20px; }
    .headline-v4 { font-size: 2.5em; }
    .hero-layered-button-v4 { width: 100%; }
    .stat-box { padding: 30px 15px; }
    .stat-num-wrapper { font-size: 2.2em; }
}

/* ==========================================
   SECTION 2: Tab Navigation & Course Cards
   ========================================== */

@keyframes heroFadeInUp-v4 {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ke-tab-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ke-tab-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.test-prep-container {
    max-width: 1600px; 
    margin: 60px auto;
    padding: 0 20px;
}

/* --- Tab Navigation --- */
.tabs-nav-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 20px 25px;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    justify-content: flex-start;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}
.tabs-nav-wrapper::-webkit-scrollbar { display: none; } 

@media (min-width: 1200px) {
    .tabs-nav-wrapper {
        justify-content: center;
    }
}

.tab-btn {
    padding: 12px 24px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 600;
    color: #546e7a;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.tab-btn:hover {
    transform: translateY(-2px);
    border-color: #25ad5f;
    color: #25ad5f;
}
.tab-btn.active {
    background-color: #25ad5f;
    color: #ffffff;
    border-color: #25ad5f;
    box-shadow: 0 4px 12px rgba(37, 173, 95, 0.25);
}

/* --- Content Layout --- */
.tab-content-area {
    display: none;
    max-width: 1600px;
    margin: 0 auto;
    animation: heroFadeInUp-v4 0.6s ease-out forwards;
}
.tab-content-area.active {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.content-left {
    text-align: left;
}

.test-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.test-title {
    font-size: 3em;
    font-weight: 800;
    color: #25ad5f;
    margin: 0 0 5px 0;
    line-height: 1;
}

.test-fullname {
    font-size: 1.1em;
    color: #546e7a;
    font-weight: 600;
    margin-bottom: 30px;
}

/* Story Box */
.story-box {
    background-color: #ffffff;
    border-left: 5px solid #ed5121;
    padding: 25px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.story-box p {
    font-style: italic;
    color: #37474f;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.test-desc {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95em;
    color: #444;
    font-weight: 500;
    line-height: 1.4;
}
.feature-item i { color: #25ad5f; font-size: 0.8em; margin-top: 4px; }

/* Sections Covered Strip */
.sections-covered-strip {
    border-top: 1px solid #e0e0e0;
    padding-top: 25px;
}
.sections-covered-strip h4 {
    font-size: 0.85em;
    font-weight: 700;
    color: #546e7a;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}
.section-pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.section-pill-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.85em;
    color: #555;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Course Card */
.course-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    position: sticky;
    top: 20px;
}
.card-head {
    background-color: #25ad5f;
    padding: 30px;
    color: #ffffff;
    text-align: center;
}
.card-head span {
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    opacity: 0.9;
}
.card-head h3 {
    margin: 10px 0 0;
    font-size: 1.6em;
    font-weight: 800;
}

.card-body { padding: 30px; }

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}
.metric-item {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
}
.metric-val {
    display: block;
    font-size: 1.5em;
    font-weight: 800;
    color: #25ad5f;
}
.metric-lbl {
    font-size: 0.7em;
    color: #777;
    font-weight: 700;
    text-transform: uppercase;
}

.imat-bonus-box {
    background: rgba(37, 173, 95, 0.08);
    border: 1px dashed rgba(37, 173, 95, 0.5);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}
.imat-bonus-box .bonus-title {
    font-size: 0.75em; color: #25ad5f; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px;
}
.imat-bonus-box .bonus-desc {
    font-size: 0.85em; color: #555; line-height: 1.5; font-weight: 500;
}

.price-section {
    background-color: #e0f7fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.price-info span { font-size: 0.8em; color: #546e7a; font-weight: 600; }
.price-info p { margin: 2px 0 0; font-size: 0.65em; color: #888; }
.price-val { font-size: 1.8em; font-weight: 800; color: #37474f; }

.cta-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: #25ad5f;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 173, 95, 0.2);
    margin-bottom: 12px;
    box-sizing: border-box;
}
.cta-btn:hover { background-color: #1e8a4c; transform: translateY(-3px); }

.demo-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    color: #546e7a;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.demo-btn:hover { border-color: #25ad5f; color: #25ad5f; }

/* Responsive */
@media (max-width: 992px) {
    .tab-content-area.active { grid-template-columns: 1fr; }
    .course-card { position: static; max-width: 500px; margin: 0 auto; }
    .test-title { font-size: 2.4em; }
}
@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
    .test-title { font-size: 2em; }
    .tab-btn { padding: 10px 18px; font-size: 0.8em; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================
   SECTION 3: Trust Benefits Section
   ========================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
}
.section-label.reveal, .section-title.reveal, .section-desc.reveal {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.why-us-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle, rgba(37, 173, 95, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.why-us-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* --- Section Header --- */
.section-label {
    font-size: 0.85em;
    font-weight: 700;
    color: #ed5121;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(237, 81, 33, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2.2em, 4vw, 3.2em);
    font-weight: 800;
    color: #37474f;
    margin: 0 auto 20px;
    line-height: 1.2;
    max-width: 800px;
}

.section-title .highlight {
    color: #25ad5f;
    font-style: italic;
}

.section-desc {
    font-size: 1.15em;
    color: #546e7a;
    line-height: 1.7;
    margin: 0 auto 50px;
    max-width: 750px;
    font-weight: 500;
}

/* --- Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Benefit Card --- */
.benefit-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: left;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 8px 15px rgba(37, 173, 95, 0.05);
    border-color: rgba(37, 173, 95, 0.2);
}

.benefit-card:nth-child(even):hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06), 0 8px 15px rgba(237, 81, 33, 0.05);
    border-color: rgba(237, 81, 33, 0.2);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: rgba(37, 173, 95, 0.1);
    color: #25ad5f;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-card:nth-child(even) .card-icon {
    background: rgba(237, 81, 33, 0.1);
    color: #ed5121;
}

.benefit-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: transparent;
    color: #25ad5f;
}

.benefit-card:nth-child(even):hover .card-icon {
    background: transparent;
    color: #ed5121;
}

.card-title {
    font-size: 1.25em;
    font-weight: 700;
    color: #37474f;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.benefit-card:hover .card-title {
    color: #25ad5f;
}
.benefit-card:nth-child(even):hover .card-title {
    color: #ed5121;
}

.card-text {
    font-size: 0.95em;
    color: #546e7a;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 992px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .why-us-section { padding: 60px 20px; }
    .section-desc { font-size: 1.05em; }
}
@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: 1fr; }
    .benefit-card { padding: 30px 25px; }
}

/* ==========================================
   SECTION 4: Pricing Table Section
   ========================================== */

.pricing-section {
    padding: 80px 20px;
    text-align: center;
}

.pricing-container {
    max-width: 1600px;
    margin: 0 auto;
}

.table-wrapper {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #e0e0e0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.price-table th {
    background-color: #fafbfc;
    padding: 20px 25px;
    font-size: 0.85em;
    font-weight: 700;
    color: #546e7a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 2px solid #e0e0e0;
}

.price-table td {
    padding: 20px 25px;
    font-size: 1em;
    color: #37474f;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tbody tr:hover td {
    background-color: rgba(37, 173, 95, 0.03);
}

.test-name-cell {
    font-weight: 700;
    color: #37474f;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot-cell {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: #25ad5f;
}

.price-table tbody tr:nth-child(even) .dot-cell {
    background-color: #ed5121;
}

.price-tag {
    font-weight: 800;
    color: #ed5121;
    font-size: 1.1em;
    background: rgba(237, 81, 33, 0.08);
    padding: 6px 12px;
    border-radius: 6px;
}

.type-cell {
    color: #777;
    font-size: 0.9em;
}

.gst-note {
    text-align: center;
    font-size: 0.8em;
    color: #7a849a;
    margin-top: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pricing-section { padding: 60px 15px; }
}

@media (max-width: 600px) {
    .price-table th, .price-table td {
        padding: 15px;
    }
}

/* ==========================================
   SECTION 5: Testimonials Carousel Section
   ========================================== */

.testimonials-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1600px;
    margin: 0 auto;
}

.carousel-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 -20px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    color: #25ad5f;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #25ad5f;
    color: #ffffff;
    border-color: #25ad5f;
    box-shadow: 0 6px 20px rgba(37, 173, 95, 0.3);
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

.testi-grid {
    display: flex;
    gap: 30px;
    text-align: left;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 5px;
    margin: -20px -5px;
}

.testi-grid::-webkit-scrollbar {
    display: none;
}

.testi-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: center;
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(37, 173, 95, 0.2);
}

.testi-card:nth-child(even):hover {
    border-color: rgba(237, 81, 33, 0.2);
}

.testi-exam {
    display: inline-block;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(37, 173, 95, 0.1);
    color: #25ad5f;
    align-self: flex-start;
}

.testi-card:nth-child(even) .testi-exam {
    background: rgba(237, 81, 33, 0.1);
    color: #ed5121;
}

.testi-card:nth-child(3n) .testi-exam {
    background: rgba(55, 71, 79, 0.1);
    color: #37474f;
}

.stars {
    color: #f39c12;
    font-size: 1.1em;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 1em;
    color: #546e7a;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
    font-weight: 500;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1em;
    color: #ffffff;
    background-color: #25ad5f;
    flex-shrink: 0;
}

.testi-card:nth-child(even) .author-avatar { background-color: #ed5121; }
.testi-card:nth-child(3n) .author-avatar { background-color: #37474f; }

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1em;
    color: #37474f;
    margin-bottom: 3px;
}

.author-info {
    font-size: 0.8em;
    color: #7a849a;
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .testi-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 15px;
    }
    .section-title {
        font-size: 2em;
    }
    .carousel-wrapper {
        padding: 0;
    }
    .testi-card {
        flex: 0 0 88%;
    }
    .carousel-btn {
        top: auto;
        bottom: -60px;
        transform: none;
    }
    .prev-btn { left: 35%; }
    .next-btn { right: 35%; }
    .testimonials-container {
        padding-bottom: 60px;
    }
}

/* ==========================================
   SECTION 6: Final CTA Section Styles
   ========================================== */

.ke-cta-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ke-cta-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.ke-cta-section {
    padding: 100px 20px;
    text-align: center;
    background-color: #ffffff; 
}

.ke-cta-card {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #f8fcfb 0%, #e0f7fa 100%);
    border-radius: 32px;
    padding: 80px 40px;
    overflow: hidden;
    border: 1px solid rgba(37, 173, 95, 0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.ke-cta-card::before,
.ke-cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
.ke-cta-card::before {
    width: 350px; height: 350px;
    background-color: #25ad5f;
    top: -100px; left: -100px;
}
.ke-cta-card::after {
    width: 250px; height: 250px;
    background-color: #ed5121;
    bottom: -80px; right: -80px;
}

.ke-cta-content-wrapper {
    position: relative;
    z-index: 1;
}

.ke-cta-heading {
    font-size: clamp(2.2em, 5vw, 3.8em);
    font-weight: 900;
    color: #2c3e50;
    line-height: 1.15;
    margin: 0 0 25px 0;
    letter-spacing: -0.02em;
}

.ke-cta-heading em {
    font-style: normal;
    color: #25ad5f; 
    display: inline-block;
    position: relative;
}

.ke-cta-heading em::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: rgba(37, 173, 95, 0.2);
    bottom: 4px;
    left: 0;
    border-radius: 4px;
    z-index: -1;
}

.ke-cta-desc {
    font-size: 1.15em;
    color: #546e7a;
    line-height: 1.8;
    margin: 0 auto 45px;
    font-weight: 500;
    max-width: 650px;
}

.ke-cta-buttons-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; 
}

.ke-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px; 
    font-size: 1.05em;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap; 
}

.ke-btn-icon {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    fill: currentColor;
    flex-shrink: 0;
}

.ke-cta-btn-primary {
    background-color: #25ad5f;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(37, 173, 95, 0.25);
    border: 2px solid #25ad5f;
}
.ke-cta-btn-primary:hover {
    background-color: #1e8a4c;
    border-color: #1e8a4c;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 173, 95, 0.35);
}

.ke-cta-btn-ghost {
    background-color: #ffffff;
    color: #37474f;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.ke-cta-btn-ghost:hover {
    border-color: #ed5121;
    color: #ed5121;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(237, 81, 33, 0.15);
}

.ke-cta-btn-ghost .ke-btn-icon-right {
    margin-right: 0;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.ke-cta-btn-ghost:hover .ke-btn-icon-right {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .ke-cta-card { padding: 60px 30px; }
}

@media (max-width: 600px) {
    .ke-cta-section { padding: 60px 15px; }
    .ke-cta-card { padding: 50px 20px; border-radius: 24px; }
    .ke-cta-buttons-wrapper { flex-direction: column; gap: 15px; }
    .ke-cta-btn { width: 100%; box-sizing: border-box; }
}
