/**
 * Landing Page Styles
 * Kampung Inggris Batam - Public Landing Page
 * Generated: 2025-12-02
 *
 * Contains:
 * - Custom CSS variables (KIB brand colors)
 * - Hero section with gradient backgrounds
 * - Feature cards, testimonials, pricing tables
 * - FAQ accordion, trust badges
 * - Enrollment banner with animations
 * - Responsive breakpoints (991px, 768px, 576px)
 * - WhatsApp floating button
 */

/* Custom Landing Page Styles */
:root {
    --kib-primary: #5B5EA6;
    --kib-primary-dark: #4A4D8C;
    --kib-primary-light: #7477BA;
    --kib-accent: #FFE600;
    --kib-accent-hover: #FFD000;
    --kib-accent-text: #1a1b1e;
    --kib-dark: #1a1b1e;
    --kib-gray: #6c757d;
    --kib-light: #f8f9fa;
    --kib-success: #10b981;
}

/* Base Typography */
body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 0; /* Default no padding */
}

/* Add padding only when enrollment banner is visible */
body.has-enrollment-banner {
    padding-top: 80px; /* Space for sticky enrollment banner */
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--kib-primary) 0%, var(--kib-primary-dark) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: var(--kib-accent);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-rating-stars {
    color: var(--kib-accent);
}

.hero-rating-text {
    opacity: 0.9;
}

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

.btn-cta-primary {
    background: var(--kib-accent);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    color: var(--kib-accent-text);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta-primary:hover {
    background: var(--kib-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 230, 0, 0.4);
    color: var(--kib-accent-text);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
    color: white;
}

/* Stats Section */
.stats-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--kib-primary);
    line-height: 1;
}

.stat-label {
    color: var(--kib-gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--kib-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--kib-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--kib-light);
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--kib-primary) 0%, var(--kib-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--kib-dark);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--kib-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Enrollment Progress Banner - Sticky with Blinking Effect */
.enrollment-banner {
    background: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(245, 158, 11, 0.5);
    animation: bannerBlink 2s ease-in-out infinite;
}

@keyframes bannerBlink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 30px rgba(245, 158, 11, 0.5);
        transform: translateY(0);
    }
    25% {
        opacity: 0.7;
        box-shadow: 0 8px 40px rgba(245, 158, 11, 0.8), 0 0 30px rgba(220, 38, 38, 0.7);
    }
    50% {
        opacity: 1;
        box-shadow: 0 4px 30px rgba(245, 158, 11, 0.5);
    }
    75% {
        opacity: 0.7;
        box-shadow: 0 8px 40px rgba(245, 158, 11, 0.8), 0 0 30px rgba(220, 38, 38, 0.7);
    }
}

.enrollment-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.enrollment-icon {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.enrollment-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: white;
    flex: 0 0 auto;
}

.enrollment-label {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.enrollment-count {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 500;
}

.enrollment-progress-bar {
    flex: 1;
    min-width: 180px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
    border-radius: 13px;
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-weight: 700;
    color: #DC2626;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
    }
}

.enrollment-cta {
    background: white;
    color: #DC2626;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

.enrollment-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #DC2626;
}

.enrollment-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    z-index: 10;
}

.enrollment-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) rotate(90deg);
}

/* Programs Section */
.programs-section {
    padding: 5rem 0;
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.program-card.featured {
    border-color: #F59E0B;
    box-shadow: 0 15px 50px rgba(245, 158, 11, 0.25);
}

.program-card.featured:hover {
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.35);
}

.program-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.program-header {
    background: linear-gradient(135deg, var(--kib-primary) 0%, var(--kib-primary-dark) 100%);
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.program-card.featured .program-header {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

.program-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.program-duration {
    opacity: 0.95;
    font-size: 0.95rem;
    font-weight: 500;
}

.program-body {
    padding: 2rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-price-breakdown {
    background: #F8FAFC;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #64748B;
}

.price-item:not(:last-child) {
    border-bottom: 1px solid #E2E8F0;
}

.price-item.total {
    border-top: 2px solid #CBD5E1;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.price-item-label {
    font-weight: 500;
}

.price-item.total .price-item-label {
    font-weight: 700;
    color: #1E293B;
}

.price-item-value {
    font-weight: 600;
    color: #1E293B;
}

.price-item.total .price-item-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--kib-primary);
    letter-spacing: -0.5px;
}

.program-card.featured .price-item.total .price-item-value {
    color: #2563EB;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.program-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
}

.program-features li svg {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}

.program-cta {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.program-cta-primary {
    background: linear-gradient(135deg, var(--kib-primary) 0%, var(--kib-primary-dark) 100%);
    color: white;
}

.program-card.featured .program-cta-primary {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 100%);
}

.program-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.program-urgency {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #DC2626;
    font-weight: 600;
}

.program-urgency svg {
    vertical-align: middle;
    margin-right: 4px;
}

/* Programs Table Styling */
.programs-section .card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.programs-section .card-body {
    padding: 0;
}

.programs-table {
    margin-bottom: 0;
}

.programs-table thead {
    background: #e9ecef !important;
    border-bottom: 2px solid var(--kib-primary);
}

.programs-table thead th {
    padding: 1rem 1.25rem;
    font-weight: 700;
    border: none;
    color: var(--kib-primary) !important;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.programs-table thead tr {
    color: var(--kib-primary) !important;
}

.programs-table tbody td {
    padding: 1.25rem;
    border-color: rgba(0, 0, 0, 0.05);
}

.programs-table .featured-row {
    background-color: #FFF9E6 !important;
    border-left: 4px solid #FFD000;
}

.programs-table .featured-row:hover {
    background-color: #FFF4D1 !important;
}

.programs-table .featured-row td {
    font-weight: 500;
}

.programs-table tbody tr:hover {
    background-color: rgba(91, 94, 166, 0.03);
    transition: background-color 0.2s ease;
}

/* Merged cells styling */
.programs-table td[rowspan] {
    vertical-align: middle;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fafafa;
}

.programs-table tbody tr:first-child td[rowspan] {
    border-top: none;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--kib-light);
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--kib-primary);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kib-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--kib-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--kib-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--kib-gray);
}

.testimonial-rating {
    color: #fbbf24;
    margin-top: 0.25rem;
}

/* Google Trust Badge */
.google-trust-badge {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: block;
    max-width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.trust-badge-logo svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.trust-badge-rating {
    text-align: center;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.rating-stars .star-icon {
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.trust-rating-text {
    font-size: 1.75rem;
    color: var(--kib-dark);
    margin: 0;
    text-align: center;
}

.trust-review-count {
    color: var(--kib-gray);
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
    text-align: center;
}

/* Verified Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #e8f4fd;
    color: #4285F4;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.verified-badge svg {
    flex-shrink: 0;
}

/* Google Reviews CTA Button */
.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--kib-primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border: 2px solid var(--kib-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google-reviews:hover {
    background: var(--kib-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-google-reviews svg:last-child {
    transition: transform 0.3s ease;
}

.btn-google-reviews:hover svg:last-child {
    transform: translateX(4px);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-accordion .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion .accordion-button {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--kib-dark);
    background: white;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--kib-light);
    color: var(--kib-primary);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235B5EA6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--kib-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Inhouse Training Section */
.inhouse-section {
    padding: 5rem 0;
    background: var(--kib-light);
}

.inhouse-badge {
    display: inline-block;
    background: var(--kib-primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.inhouse-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--kib-dark);
    margin-bottom: 1rem;
}

.inhouse-desc {
    font-size: 1rem;
    color: var(--kib-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.inhouse-feature-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--kib-dark);
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.inhouse-feature-card svg {
    color: var(--kib-success);
    flex-shrink: 0;
}

.btn-inhouse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--kib-accent);
    color: var(--kib-accent-text);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-inhouse:hover {
    background: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 230, 0, 0.4);
    color: var(--kib-accent-text);
}

.btn-inhouse svg {
    width: 18px;
    height: 18px;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--kib-primary) 0%, var(--kib-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* Footer */
.footer {
    background: var(--kib-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-desc {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-contact li span,
.footer-contact li a {
    font-size: 0.85rem;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--kib-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--kib-success) 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.guarantee-badge svg {
    width: 20px;
    height: 20px;
}

/* ===== MICRO-ANIMATIONS ===== */

/* Animation Timing Variables */
:root {
    --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Keyframe Animations */
@keyframes pulse {
    0% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes iconBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* WhatsApp Pulse Animation */
.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--kib-accent), var(--kib-primary));
    z-index: 99999;
    width: 0%;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
}

/* Navbar Scroll Effect */
.navbar-landing {
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-landing.scrolled {
    background: rgba(91, 94, 166, 0.95) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

/* Nav Link Underline Animation */
.navbar-landing .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.navbar-landing .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--kib-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-landing .nav-link:hover::after {
    width: 100%;
}

/* Button Icon Bounce on Hover */
.btn-cta-primary:hover svg,
.btn-cta-secondary:hover svg,
.btn-inhouse:hover svg {
    animation: iconBounce 0.6s ease infinite;
}

/* Feature Icon Animation on Card Hover */
.feature-card .feature-icon {
    transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Social Icon Bounce */
.footer-social a:hover svg {
    animation: iconBounce 0.5s ease;
}

/* Rating Stars Animation */
.hero-rating-stars {
    display: inline-flex;
    gap: 2px;
}

.hero-rating-stars svg {
    animation: starTwinkle 2s ease-in-out infinite;
}

.hero-rating-stars svg:nth-child(1) { animation-delay: 0s; }
.hero-rating-stars svg:nth-child(2) { animation-delay: 0.2s; }
.hero-rating-stars svg:nth-child(3) { animation-delay: 0.4s; }
.hero-rating-stars svg:nth-child(4) { animation-delay: 0.6s; }
.hero-rating-stars svg:nth-child(5) { animation-delay: 0.8s; }

/* Stats Number Animation Preparation */
.stat-number {
    display: inline-block;
}

/* Program Card Gradient Animation on Hover */
.program-card .program-header {
    background-size: 200% 200%;
    transition: background-position 0.5s ease;
}

.program-card:hover .program-header {
    animation: gradientShift 3s ease infinite;
}

/* Testimonial Avatar Hover */
.testimonial-avatar {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    /* Only disable our custom animations, not AOS */
    .whatsapp-float,
    .hero-rating-stars svg,
    .btn-cta-primary:hover svg,
    .btn-cta-secondary:hover svg,
    .btn-inhouse:hover svg,
    .footer-social a:hover svg,
    .program-card:hover .program-header {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .scroll-progress {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .hero-rating {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .guarantee-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    /* Stats Section Mobile */
    .stats-section {
        margin-top: -40px;
    }

    .stats-card {
        padding: 1.5rem 1rem;
    }

    .stat-item {
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Features Section Mobile */
    .features-section {
        padding: 3rem 0;
    }

    .feature-card {
        padding: 1.5rem;
    }

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

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-desc {
        font-size: 0.9rem;
    }

    /* Enrollment Banner Mobile */
    .enrollment-banner {
        padding: 0.5rem 0;
    }

    .enrollment-content {
        gap: 1rem;
        justify-content: center;
    }

    .enrollment-icon {
        font-size: 1.25rem;
    }

    .enrollment-text {
        text-align: center;
        flex: 1 1 100%;
    }

    .enrollment-label {
        font-size: 0.85rem;
    }

    .enrollment-count {
        font-size: 0.75rem;
    }

    .enrollment-progress-bar {
        flex: 1 1 100%;
        height: 24px;
        min-width: 100%;
    }

    .enrollment-close {
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .enrollment-close svg {
        width: 18px;
        height: 18px;
    }

    .enrollment-cta {
        flex: 1 1 100%;
        text-align: center;
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }

    /* Programs Section Mobile */
    .programs-section {
        padding: 3rem 0;
    }

    .program-card {
        margin-bottom: 1rem;
    }

    .program-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        top: -10px;
        right: 15px;
    }

    .program-header {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .program-name {
        font-size: 1.35rem;
    }

    .program-duration {
        font-size: 0.85rem;
    }

    .program-body {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .program-price-breakdown {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .price-item {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    .price-item.total {
        font-size: 1rem;
    }

    .price-item.total .price-item-value {
        font-size: 1.5rem;
    }

    .program-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }

    .program-cta {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .program-urgency {
        font-size: 0.8rem;
        margin-top: 0.875rem;
    }

    /* Testimonials Section Mobile */
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* Google Trust Badge Mobile */
    .google-trust-badge {
        padding: 1.5rem;
        margin: 0 auto 2rem auto;
    }

    .trust-rating-text {
        font-size: 1.5rem;
    }

    .trust-review-count {
        font-size: 0.9rem;
    }

    .verified-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .verified-badge span {
        display: none;
    }

    .verified-badge::after {
        content: "Verified";
        margin-left: 0.25rem;
    }

    .btn-google-reviews {
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    /* FAQ Section Mobile */
    .faq-section {
        padding: 3rem 0;
    }

    .faq-accordion .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .faq-accordion .accordion-body {
        padding: 0 1.25rem 1rem;
        font-size: 0.85rem;
    }

    /* Inhouse Section Mobile */
    .inhouse-section {
        padding: 3rem 0;
    }

    .inhouse-title {
        font-size: 1.5rem;
    }

    .inhouse-desc {
        font-size: 0.9rem;
    }

    .inhouse-feature-card {
        font-size: 0.8rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.95rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-brand {
        font-size: 1.25rem;
    }

    /* WhatsApp Floating Button Mobile */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* Small mobile devices */
@media (max-width: 576px) {
    .hero-section {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .navbar-landing .navbar-brand img {
        height: 32px;
    }
}

/* Navbar Custom */
.navbar-landing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
}

.navbar-landing .navbar-brand {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-landing .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.navbar-landing .nav-link:hover {
    color: white;
}

/* Navbar CTA Button - Smaller version */
.navbar-landing .btn-nav-cta {
    background: var(--kib-accent);
    color: var(--kib-dark);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-landing .btn-nav-cta:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 230, 0, 0.4);
}

.navbar-landing .btn-nav-cta svg {
    width: 16px;
    height: 16px;
}
