/* ============================================
   BIMBELKU - RESPONSIVE & MOBILE-FRIENDLY STYLESHEET
   ============================================ */

:root {
    /* Ceria Colors */
    --red: #FF6B6B;
    --yellow: #FFD93D;
    --green: #6BCB77;
    --blue: #4D96FF;
    --purple: #9B59B6;
    --orange: #FF8E53;
    --pink: #FF6B9D;
    --teal: #45B7D1;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B6B, #FF8E53);
    --gradient-secondary: linear-gradient(135deg, #4D96FF, #9B59B6);
    --gradient-success: linear-gradient(135deg, #6BCB77, #45B7D1);
    --gradient-sunset: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77);
    --gradient-playful: linear-gradient(135deg, #FF6B9D, #FF8E53, #FFD93D);

    /* Light Theme */
    --bg-main: #FFF8F0;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --text-dark: #2D3436;
    --text-gray: #636E72;
    --text-light: #B2BEC3;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 12px;

    /* Typography */
    --font-display: 'Fredoka One', cursive;
    --font-body: 'Nunito', sans-serif;
    --font-accent: 'Quicksand', sans-serif;
}

/* ============================================
   BASE STYLES (MOBILE-FIRST)
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size for mobile */
}

body {
    font-family: var(--font-body);
    background: var(--bg-main);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal overflow */
body, .container, .hero, .about, .programs, .counter-section, .tutors, .testimonials, .contact {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

/* ============================================
   LOADING SCREEN (OPTIMIZED FOR MOBILE)
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--gradient-sunset);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.loading-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 15px;
}

.loading-brain {
    width: 120px;
    max-width: 50%;
    margin: 0 auto 15px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.loading-brain img {
    width: 100%;
    display: block;
}

.loading-bar {
    width: 80%;
    max-width: 200px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: white;
    border-radius: 10px;
    width: 0;
    animation: progress 1.5s ease forwards;
}

@keyframes progress {
    to { width: 100%; }
}

/* ============================================
   FLOATING BUBBLES (OPTIMIZED FOR MOBILE)
   ============================================ */
.bubbles-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatBubble 20s infinite;
}

.bubble-1 { width: 60px; height: 60px; background: var(--red); top: 10%; left: 5%; }
.bubble-2 { width: 80px; height: 80px; background: var(--yellow); top: 60%; right: 5%; animation-delay: 5s; }
.bubble-3 { width: 40px; height: 40px; background: var(--green); bottom: 10%; left: 10%; animation-delay: 10s; }
.bubble-4 { width: 70px; height: 70px; background: var(--blue); top: 30%; right: 15%; animation-delay: 3s; }
.bubble-5 { width: 50px; height: 50px; background: var(--purple); bottom: 20%; right: 20%; animation-delay: 7s; }

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15px, -15px) scale(1.05); }
    50% { transform: translate(-10px, -25px) scale(0.95); }
    75% { transform: translate(-20px, 10px) scale(1); }
}

/* ============================================
   NAVBAR (FIXED FOR MOBILE)
   ============================================ */
.navbar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 500px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 8px 10px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-brain {
    width: 35px;
    height: 35px;
}

.logo-brain img {
    width: 100%;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1001;
    padding: 20px;
    overflow-y: auto;
}

.nav-menu.active {
    display: flex;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    background: var(--gradient-sunset);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.btn-nav {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.05;
}

.shape-circle {
    width: 200px;
    height: 200px;
    background: var(--red);
    border-radius: 50%;
    top: -30px;
    right: -30px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 150px solid var(--yellow);
    bottom: -30px;
    left: -30px;
}

.shape-square {
    width: 120px;
    height: 120px;
    background: var(--green);
    border-radius: 20px;
    transform: rotate(45deg);
    top: 40%;
    left: 10%;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--blue) 1px, transparent 1px);
    background-size: 15px 15px;
    bottom: 10%;
    right: 5%;
}

.hero-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.highlight {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 25px;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.play-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-play:hover .play-circle {
    background: var(--red);
    color: white;
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-emoji {
    font-size: 1.5rem;
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Hero Images */
.hero-images {
    position: relative;
    height: 300px;
    margin: 0 auto;
    width: 100%;
}

.hero-main-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 2;
    animation: floatMain 6s ease-in-out infinite;
}

@keyframes floatMain {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 8px)); }
}

.main-photo {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.image-glow {
    position: absolute;
    inset: -10px;
    background: var(--gradient-sunset);
    border-radius: 25px;
    opacity: 0.15;
    filter: blur(20px);
    z-index: -1;
}

.floating-photo {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    animation: floatPhoto 5s ease-in-out infinite;
    z-index: 3;
}

.floating-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-1 { top: 5%; left: 0; animation-delay: 0s; }
.photo-2 { bottom: 10%; right: 0; animation-delay: 1.5s; }
.photo-3 { top: 30%; right: -15px; animation-delay: 3s; width: 50px; height: 50px; }

@keyframes floatPhoto {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.hero-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 10px 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
    font-size: 0.8rem;
}

.card-top { top: 10%; right: 0; }
.card-bottom { bottom: 5%; left: 0; }

.card-emoji {
    font-size: 1.5rem;
}

.hero-card strong {
    display: block;
    font-size: 0.8rem;
}

.hero-card p {
    color: var(--text-gray);
    font-size: 0.7rem;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-gray);
    font-weight: 600;
    animation: scrollDown 2s infinite;
    z-index: 1;
}

@keyframes scrollDown {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(5px); }
}

/* ============================================
   ABOUT SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.about {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 8px;
}

.color-text {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.about-image {
    position: relative;
    width: 100%;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.about-image-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: var(--shadow-hover);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 3px;
}

.feature-item p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ============================================
   PROGRAMS SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.programs {
    padding: 60px 0;
    background: white;
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--yellow);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.program-card.popular {
    border-color: var(--yellow);
    transform: scale(1.01);
}

.program-card.popular:hover {
    transform: scale(1.01) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
}

.program-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.program-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.program-icon-wrap img {
    width: 35px;
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 3px;
}

.program-level {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.program-price {
    text-align: center;
    padding: 15px 0;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    margin-bottom: 20px;
}

.price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--red);
}

.period {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.program-features {
    list-style: none;
    margin-bottom: 20px;
}

.program-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.program-features i {
    color: var(--green);
    font-size: 0.9rem;
}

.btn-program-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* ============================================
   COUNTER SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.counter-section {
    padding: 60px 0;
    background: var(--gradient-sunset);
    position: relative;
    overflow: hidden;
}

.counter-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M24 22v-2h-2v2h-2v2h2v2h2v-2h2v-2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.counter-item {
    color: white;
}

.counter-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.counter-number {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 3px;
}

.counter-item p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ============================================
   TUTORS SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.tutors {
    padding: 60px 0;
}

.tutor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: start;
    padding: 0 15px;
}

.tutor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tutor-photo {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.tutor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tutor-card:hover .tutor-photo img {
    transform: scale(1.05);
}

.tutor-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: 2px solid white;
}

.tutor-status.online {
    background: #6BCB77;
}

.tutor-info {
    padding: 10px;
    text-align: center;
}

.tutor-info h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 5px;
}

.tutor-subject {
    display: inline-block;
    background: var(--gradient-sunset);
    color: white;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 8px 0;
}

.tutor-desc {
    color: var(--text-gray);
    font-style: italic;
    margin: 8px 0;
    font-size: 0.8rem;
}

.tutor-rating {
    font-weight: 700;
    color: #fbbf24;
    font-size: 0.85rem;
}

/* ============================================
   TESTIMONIALS (MOBILE-OPTIMIZED)
   ============================================ */
.testimonials {
    padding: 60px 0;
    background: white;
}

.testimonialSwiper {
    padding: 20px 0 40px;
}

.testimonial-card {
    background: var(--bg-main);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.testimonial-photo-only {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-width: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

.testimonial-author p {
    color: var(--text-gray);
    font-size: 0.8rem;
    padding: 15px;
}

.stars {
    color: #fbbf24;
    margin-top: 5px;
}

.swiper-pagination-bullet-active {
    background: var(--red) !important;
}

/* ============================================
   CTA SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    display: block;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: none;
    box-shadow: none;
}

.ctaSwiper {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}

.ctaSwiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.cta-slide-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ctaSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
}

.ctaSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--red);
}

.ctaSwiper .swiper-button-prev,
.ctaSwiper .swiper-button-next {
    color: white;
    width: 30px;
    height: 30px;
}

.ctaSwiper .swiper-button-prev::after,
.ctaSwiper .swiper-button-next::after {
    font-size: 1rem;
}

/* ============================================
   CONTACT SECTION (MOBILE-OPTIMIZED)
   ============================================ */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
}

.contact-form-wrap {
    background: var(--bg-main);
    padding: 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    position: relative;
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-family: var(--font-display);
    margin-bottom: 3px;
    font-size: 1rem;
}

.info-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-sunset);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   FOOTER (MOBILE-OPTIMIZED)
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-brand .logo {
    margin-bottom: 10px;
    justify-content: center;
}

.footer-brand p {
    color: #b2bec3;
    line-height: 1.6;
    font-size: 0.85rem;
    text-align: center;
}

.footer-links h4 {
    font-family: var(--font-display);
    margin-bottom: 15px;
    font-size: 1rem;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    text-align: center;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: center;
    color: #b2bec3;
    font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
/* Tablet (768px - 992px) */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }

    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .navbar {
        width: 90%;
        max-width: 600px;
        padding: 10px 20px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-images {
        height: 400px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Desktop (992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .navbar {
        top: 20px;
        width: 90%;
        max-width: 1200px;
        padding: 12px 30px;
    }

    .navbar.scrolled {
        top: 0;
        width: 100%;
        border-radius: 0 0 30px 30px;
    }

    .nav-menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        gap: 5px;
        padding: 0;
        z-index: auto;
    }

    .nav-link {
        padding: 10px 18px;
        font-size: 0.95rem;
    }

    .btn-nav {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .hamburger {
        display: none;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        text-align: left;
    }

    .hero-desc {
        margin: 0 0 30px;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .hero-images {
        height: 500px;
    }

    .hero-main-image {
        width: 80%;
    }

    .floating-photo {
        width: 120px;
        height: 120px;
    }

    .photo-3 {
        width: 80px;
        height: 80px;
    }

    .hero-card {
        font-size: 0.9rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .program-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }

    .counter-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    .tutor-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 40px;
    }

    .footer-brand p {
        text-align: left;
    }

    .footer-links h4,
    .footer-links ul {
        text-align: left;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .counter-number {
        font-size: 3.5rem;
    }

    .tutor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
