/*
Theme Name: Bimbel Akmil SEO Theme
Theme URI: https://patriotmuda.id/
Description: Custom, lightweight, and super fast SEO-friendly WordPress theme designed for tutoring program landing pages.
Version: 1.0
Author: Antigravity AI
Author URI: https://github.com/google-deepmind
Text Domain: bimbel-akmil
*/

/* ==========================================
   1. CSS VARIABLES (DESIGN SYSTEM)
   ========================================== */
:root {
    --primary: #F48C06;
    --primary-hover: #D77A00;
    --secondary: #1D293D;
    --secondary-dark: #111827;
    --secondary-light: #2C3E50;
    --accent: #25D366;
    --accent-hover: #1EBE57;
    --text-dark: #1F2937;
    --text-light: #4B5563;
    --bg-light: #F3F4F6;
    --bg-card: #FFFFFF;
    --border-color: #E5E7EB;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

/* ==========================================
   2. GENERAL STYLES & RESET
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   3. TYPOGRAPHY & BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 140, 6, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 41, 61, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

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

.section-title span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* ==========================================
   4. NAVIGATION HEADER
   ========================================== */
.site-header {
    background-color: rgba(29, 41, 61, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0;
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.nav-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: var(--transition);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
    background: linear-gradient(135deg, rgba(29, 41, 61, 0.9), rgba(17, 24, 39, 0.95)), url('https://images.unsplash.com/photo-1579824233869-f77b2f6e79da?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(244, 140, 6, 0.15) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    background-color: rgba(244, 140, 6, 0.2);
    color: var(--primary);
    border: 1px solid rgba(244, 140, 6, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-img:hover {
    transform: rotate(0deg) scale(1.02);
}

/* ==========================================
   6. STATS / PROOF STRIP
   ========================================== */
.proof-strip {
    background-color: var(--secondary);
    color: white;
    padding: 30px 0;
}

.proof-flex {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.proof-item {
    text-align: center;
}

.proof-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.proof-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* ==========================================
   7. WHY US SECTION
   ========================================== */
.why-us {
    padding: 100px 0;
    background-color: white;
}

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

.why-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.why-card:hover {
    background-color: white;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(244, 140, 6, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 1.75rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background-color: var(--primary);
    color: white;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   8. PROGRAMS (TABS SYSTEM)
   ========================================== */
.programs {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.tab-content {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.pane-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.pane-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.pane-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pane-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-check svg {
    color: var(--accent);
    flex-shrink: 0;
}

.pane-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* ==========================================
   9. TESTIMONIALS SECTION
   ========================================== */
.testimonials {
    padding: 100px 0;
    background-color: white;
}

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

.testi-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.testi-card::before {
    content: '“';
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 5rem;
    color: rgba(244, 140, 6, 0.1);
    font-family: serif;
    line-height: 1;
}

.testi-rating {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testi-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testi-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.testi-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================
   10. FAQ SECTION
   ========================================== */
.faq {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-header {
    width: 100%;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-content {
    padding: 0 24px 24px 24px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Active FAQ States */
.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-body {
    max-height: 300px; /* Adjust according to content */
}

/* ==========================================
   11. BOTTOM CTA (CALL TO ACTION)
   ========================================== */
.bottom-cta {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary)), url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    background-blend-mode: overlay;
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ==========================================
   12. FLOATING WHATSAPP CTA
   ========================================== */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    font-size: 1.75rem;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.floating-wa:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

/* ==========================================
   13. FOOTER
   ========================================== */
.site-footer {
    background-color: #0d1521;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-primary);
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-desc {
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.footer-widget h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-contact svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
}

/* ==========================================
   14. ANIMATIONS & RESPONSIVENESS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats-row {
        justify-content: center;
        width: 100%;
    }
    .hero-image-container {
        order: -1;
        max-width: 450px;
        margin: 0 auto;
    }
    .pane-grid {
        grid-template-columns: 1fr;
    }
    .pane-image {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        padding: 24px;
        border-bottom: 2px solid var(--primary);
        gap: 20px;
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.open {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pane-features {
        grid-template-columns: 1fr;
    }
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
