/* ================================================
   Deutschzone - Main Stylesheet
   Color: Harvard Crimson #A51C30
   ================================================ */

/* ============ CSS VARIABLES ============ */
:root {
  --primary: #A51C30;
  --primary-dark: #7b1020;
  --primary-light: #c92438;
  --primary-bg: #fff5f6;
  --primary-border: rgba(165, 28, 48, 0.2);
  --accent: #c9a227;
  --accent-dark: #9a7c1e;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
  --navbar-height: 80px;
  --topbar-height: 40px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 { font-family: 'Raleway', sans-serif; font-weight: 700; line-height: 1.3; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-label { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); background: var(--primary-bg); padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(165,28,48,0.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn-white:hover { background: var(--primary-bg); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ============ BADGE ============ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: #ecfdf5; color: #059669; }

/* ============ TOP BAR ============ */
.topbar { background: var(--dark); color: rgba(255,255,255,0.85); height: var(--topbar-height); display: flex; align-items: center; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; }
.topbar-info { display: flex; align-items: center; gap: 24px; font-size: 0.8rem; }
.topbar-info a, .topbar-info span { color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: var(--white); }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a { color: rgba(255,255,255,0.65); width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; transition: var(--transition); }
.topbar-social a:hover { background: var(--primary); color: var(--white); }

/* ============ NAVBAR ============ */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.08); height: var(--navbar-height); display: flex; align-items: center; transition: var(--transition); }
.navbar.scrolled { height: 64px; box-shadow: 0 4px 30px rgba(0,0,0,0.12); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { width: 44px; height: 44px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; font-weight: 800; font-family: 'Raleway', sans-serif; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-name { font-size: 1.3rem; font-weight: 800; font-family: 'Raleway', sans-serif; color: var(--dark); }
.nav-logo-sub { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: 0.875rem; font-weight: 600; color: var(--dark); border-radius: var(--radius-sm); transition: var(--transition-fast); cursor: pointer; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-bg); }
.nav-link .chevron { font-size: 0.65rem; transition: transform 0.2s; }
.nav-item:hover .chevron { transform: rotate(180deg); }

.nav-dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); min-width: 210px; padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: var(--transition); z-index: 200; }
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 0.845rem; font-weight: 500; color: var(--text); transition: var(--transition-fast); }
.nav-dropdown a:hover { background: var(--primary-bg); color: var(--primary); padding-left: 22px; }
.nav-dropdown a::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-border); flex-shrink: 0; transition: var(--transition-fast); }
.nav-dropdown a:hover::before { background: var(--primary); }

.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border-radius: var(--radius-sm); border: none; background: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ============ HERO ============ */
.hero { position: relative; height: 600px; overflow: hidden; }
.hero-slides { display: flex; width: 100%; height: 100%; transition: transform 0.65s cubic-bezier(0.77,0,0.175,1); }
.hero-slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: center; }

.hero-slide:nth-child(1) .hero-bg { background: linear-gradient(135deg, #A51C30 0%, #1a1a2e 100%); }
.hero-slide:nth-child(2) .hero-bg { background: linear-gradient(135deg, #1a1a2e 0%, #7b1020 50%, #1a1a2e 100%); }
.hero-slide:nth-child(3) .hero-bg { background: linear-gradient(135deg, #2d1a30 0%, #A51C30 60%, #7b1020 100%); }

.hero-bg { position: absolute; inset: 0; }
.hero-bg-pattern { position: absolute; inset: 0; opacity: 0.06; background-image: repeating-linear-gradient(45deg, white 0, white 1px, transparent 0, transparent 50%); background-size: 20px 20px; }

.hero-content { position: relative; z-index: 2; padding: 0 64px; max-width: 680px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); color: white; padding: 5px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 22px; border: 1px solid rgba(255,255,255,0.25); }
.hero-content h1 { color: white; margin-bottom: 18px; text-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 34px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-deco { position: absolute; right: 10%; top: 50%; transform: translateY(-50%); z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.hero-deco-card { background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 18px 22px; min-width: 180px; }
.hero-deco-card .number { font-size: 2rem; font-weight: 800; color: white; font-family: 'Raleway', sans-serif; line-height: 1; }
.hero-deco-card .label { font-size: 0.78rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

.hero-controls { position: absolute; bottom: 28px; left: 64px; display: flex; align-items: center; gap: 10px; z-index: 10; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: var(--transition); border: none; }
.hero-dot.active { background: white; width: 28px; border-radius: 5px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; color: white; font-size: 1.1rem; transition: var(--transition); backdrop-filter: blur(4px); }
.hero-arrow:hover { background: rgba(255,255,255,0.28); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* ============ STATS BAR ============ */
.stats-bar { background: var(--primary); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 24px 16px; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.2rem; font-weight: 800; color: white; font-family: 'Raleway', sans-serif; display: block; line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.8); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ============ ABOUT SECTION ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 460px; object-fit: cover; }
.about-float-badge { position: absolute; bottom: -16px; right: -16px; background: var(--primary); color: white; border-radius: var(--radius); padding: 18px 22px; text-align: center; box-shadow: var(--shadow); }
.about-float-badge strong { display: block; font-size: 1.8rem; font-family: 'Raleway', sans-serif; line-height: 1.1; }
.about-float-badge span { font-size: 0.75rem; opacity: 0.88; white-space: nowrap; }
.about-content .section-label { margin-bottom: 14px; }
.about-content h2 { margin-bottom: 18px; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.about-feature { display: flex; align-items: flex-start; gap: 14px; }
.about-feature-icon { width: 42px; height: 42px; background: var(--primary-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.about-feature-text h5 { color: var(--dark); margin-bottom: 3px; }
.about-feature-text p { font-size: 0.875rem; margin-bottom: 0; }

/* ============ COURSE TYPES ============ */
.course-types { background: var(--bg-light); }
.course-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-type-card { background: var(--white); border-radius: var(--radius); padding: 30px 24px; text-align: center; border: 2px solid transparent; transition: var(--transition); cursor: pointer; box-shadow: var(--shadow-sm); }
.course-type-card:hover { border-color: var(--primary); box-shadow: 0 8px 32px rgba(165,28,48,0.14); transform: translateY(-6px); }
.course-type-icon { width: 64px; height: 64px; background: var(--primary-bg); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.7rem; transition: var(--transition); }
.course-type-card:hover .course-type-icon { background: var(--primary); color: white; }
.course-type-card h4 { margin-bottom: 8px; font-size: 1rem; }
.course-type-card p { font-size: 0.875rem; margin-bottom: 14px; min-height: 42px; }
.course-type-meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; color: var(--text-muted); }

/* ============ UPCOMING COURSES ============ */
.upcoming-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.upcoming-header-row h2 { margin-bottom: 4px; }
.upcoming-header-row p { margin-bottom: 0; }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.course-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.course-card-head { background: var(--primary); padding: 20px 22px 16px; color: white; position: relative; }
.course-card-head.a1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.course-card-head.b1 { background: linear-gradient(135deg, #10b981, #065f46); }
.course-card-head.b2 { background: linear-gradient(135deg, #f59e0b, #92400e); }
.course-card-level { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.22); color: white; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; }
.course-card-head h3 { color: white; font-size: 1rem; margin-bottom: 4px; }
.course-card-head p { color: rgba(255,255,255,0.82); font-size: 0.82rem; margin-bottom: 0; }
.course-card-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.course-info { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.course-info-row { display: flex; align-items: center; gap: 10px; font-size: 0.845rem; }
.course-info-row .ico { width: 28px; height: 28px; background: var(--primary-bg); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.78rem; flex-shrink: 0; }
.course-info-row strong { color: var(--dark); }
.course-price-row { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }
.course-price-original { font-size: 0.78rem; color: var(--text-muted); text-decoration: line-through; }
.course-price-current { font-size: 1.2rem; font-weight: 700; color: var(--primary); font-family: 'Raleway', sans-serif; }
.early-badge { background: #ecfdf5; color: #059669; padding: 4px 10px; border-radius: 12px; font-size: 0.72rem; font-weight: 600; }

/* ============ WHY US ============ */
.why-section { background: var(--bg-light); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { background: var(--white); border-radius: var(--radius); padding: 30px 22px; text-align: center; transition: var(--transition); box-shadow: var(--shadow-sm); border: 2px solid transparent; }
.why-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon { width: 68px; height: 68px; background: var(--primary-bg); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.9rem; transition: var(--transition); }
.why-card:hover .why-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.why-card h4 { margin-bottom: 8px; font-size: 0.975rem; }
.why-card p { font-size: 0.875rem; margin-bottom: 0; }

/* ============ TESTIMONIALS ============ */
.testimonials-section { background: var(--dark); position: relative; overflow: hidden; }
.testimonials-section::before { content: '"'; position: absolute; top: -40px; left: 20px; font-size: 280px; font-family: Georgia, serif; color: rgba(165,28,48,0.08); line-height: 1; pointer-events: none; }
.testimonials-section .section-header h2 { color: white; }
.testimonials-section .section-header p { color: rgba(255,255,255,0.65); }
.testimonials-section .section-label { background: rgba(165,28,48,0.25); color: #ff8fa0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius); padding: 26px 22px; transition: var(--transition); }
.testimonial-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(165,28,48,0.35); }
.testimonial-stars { color: var(--accent); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-text { color: rgba(255,255,255,0.82); font-size: 0.875rem; line-height: 1.75; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.95rem; flex-shrink: 0; }
.testimonial-info h5 { color: white; font-size: 0.875rem; margin-bottom: 2px; }
.testimonial-info span { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

/* ============ STUDY ABROAD ============ */
.study-abroad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.study-abroad-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 380px; display: flex; align-items: flex-end; cursor: pointer; transition: var(--transition); }
.study-abroad-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.study-abroad-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.55s ease; }
.study-abroad-card:hover .study-abroad-bg { transform: scale(1.05); }
.study-abroad-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,46,0.92) 0%, rgba(26,26,46,0.3) 55%, transparent 100%); }
.study-abroad-bg-1 { background: linear-gradient(160deg, #1e3a5f, #2d1a30); }
.study-abroad-bg-2 { background: linear-gradient(160deg, #1a2e1a, #2d2a1a); }
.study-abroad-content { position: relative; z-index: 2; padding: 30px; width: 100%; }
.study-abroad-content .section-label { background: rgba(165,28,48,0.3); color: #ff8fa0; margin-bottom: 10px; }
.study-abroad-content h3 { color: white; margin-bottom: 10px; font-size: 1.45rem; }
.study-abroad-content p { color: rgba(255,255,255,0.72); font-size: 0.875rem; margin-bottom: 18px; }

/* ============ CTA BANNER ============ */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::after { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.05); }
.cta-content { text-align: center; max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-content h2 { color: white; margin-bottom: 14px; }
.cta-content p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-bottom: 34px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .nav-logo-name { color: white; }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p { margin-top: 14px; font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 18px; padding-bottom: 10px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 28px; height: 2px; background: var(--primary); border-radius: 2px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.855rem; display: flex; align-items: center; gap: 7px; transition: var(--transition-fast); }
.footer-links a::before { content: '›'; color: var(--primary); font-size: 1rem; }
.footer-links a:hover { color: white; padding-left: 3px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.855rem; }
.footer-contact-item .ico { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-hours { margin-top: 10px; padding: 12px 14px; background: rgba(255,255,255,0.04); border-radius: 8px; border: 1px solid rgba(255,255,255,0.07); }
.footer-hours p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-hours .hour-row { font-size: 0.78rem; color: rgba(255,255,255,0.62); display: flex; justify-content: space-between; }
.footer-bottom { padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ============ PAGE HERO ============ */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); padding: 56px 0; text-align: center; }
.page-hero h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1.05rem; margin-bottom: 0; max-width: 580px; margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 16px; font-size: 0.82rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,0.35); }
.breadcrumb .current { color: white; }

/* ============ FILTER BAR ============ */
.filter-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; position: sticky; top: var(--navbar-height); z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.filter-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-label { font-size: 0.82rem; font-weight: 700; color: var(--text); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-chip { padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--white); color: var(--text); transition: var(--transition); }
.filter-chip:hover, .filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-sep { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }

/* ============ SCHEDULE GRID ============ */
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.schedule-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.schedule-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.schedule-card.featured { border-color: var(--primary); border-width: 2px; }
.sc-top { padding: 18px 20px 14px; color: white; position: relative; }
.sc-top.a1 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.sc-top.a2 { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.sc-top.b1 { background: linear-gradient(135deg, #10b981, #065f46); }
.sc-top.b2 { background: linear-gradient(135deg, #f59e0b, #92400e); }
.sc-top.c1 { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.sc-level { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.22); color: white; padding: 2px 9px; border-radius: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; }
.sc-top h4 { color: white; margin-bottom: 3px; font-size: 0.975rem; }
.sc-top .sc-type { font-size: 0.73rem; opacity: 0.82; }
.sc-body { padding: 16px 20px; }
.sc-info { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.sc-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; }
.sc-row .ico { width: 18px; text-align: center; color: var(--primary); }
.sc-row strong { color: var(--dark); min-width: 76px; font-size: 0.78rem; }
.sc-row span { color: var(--text-light); }
.sc-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.sc-price strong { display: block; font-size: 1.05rem; color: var(--primary); font-family: 'Raleway', sans-serif; font-weight: 700; }
.sc-price small { font-size: 0.68rem; color: var(--text-muted); }
.disc-tag { background: #ecfdf5; color: #059669; padding: 3px 9px; border-radius: 10px; font-size: 0.7rem; font-weight: 600; }
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); display: none; }
.no-results.show { display: block; }

/* ============ FAQ ============ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--primary); box-shadow: 0 2px 12px rgba(165,28,48,0.1); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; background: var(--white); gap: 14px; }
.faq-q:hover { background: var(--primary-bg); }
.faq-item.open .faq-q { background: var(--primary-bg); }
.faq-q h5 { font-size: 0.93rem; color: var(--dark); flex: 1; }
.faq-item.open .faq-q h5 { color: var(--primary); }
.faq-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; color: var(--text-light); transition: var(--transition); flex-shrink: 0; line-height: 1; }
.faq-item.open .faq-ico { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.32s ease, padding 0.32s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 16px; }
.faq-a p { font-size: 0.875rem; margin-bottom: 0; padding-top: 2px; }

/* ============ FORM ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.83rem; font-weight: 600; color: var(--dark); }
.form-group label .req { color: var(--primary); margin-left: 2px; }
.form-control { width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--text); background: var(--white); transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(165,28,48,0.08); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ============ TEAM CARDS ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; background: var(--white); border-radius: var(--radius); padding: 26px 18px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary-border); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--primary-bg); margin: 0 auto 14px; border: 3px solid var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.team-card h4 { margin-bottom: 4px; font-size: 0.93rem; }
.team-card .role { color: var(--primary); font-size: 0.78rem; font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 0.8rem; margin-bottom: 0; }

/* ============ FLOAT BUTTONS ============ */
.float-wa { position: fixed; bottom: 28px; right: 28px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: white; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 18px rgba(37,211,102,0.4); z-index: 998; transition: var(--transition); cursor: pointer; text-decoration: none; }
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 26px rgba(37,211,102,0.5); }
.scroll-top-btn { position: fixed; bottom: 90px; right: 28px; width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; z-index: 998; transition: var(--transition); opacity: 0; pointer-events: none; border: none; }
.scroll-top-btn.show { opacity: 1; pointer-events: all; }
.scroll-top-btn:hover { background: var(--primary); transform: translateY(-3px); }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-white { color: white; }
.bg-light { background: var(--bg-light); }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); }
.highlight { color: var(--primary); }

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.anim-in { opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; transform: translateY(20px); }
.anim-in.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  .topbar-info { display: none; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: fixed; top: var(--navbar-height); left: 0; right: 0; background: white; padding: 12px 16px 20px; box-shadow: var(--shadow-lg); z-index: 999; gap: 2px; max-height: calc(100vh - var(--navbar-height)); overflow-y: auto; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--primary-bg); padding: 4px 0 4px 12px; margin-left: 12px; display: none; }
  .nav-item.open .nav-dropdown { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { display: none; }
  .course-type-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .study-abroad-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-deco { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { height: 520px; }
  .hero-content { padding: 0 22px; }
  .hero-arrow { display: none; }
  .hero-controls { left: 22px; }
  .courses-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .topbar { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .upcoming-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-btns { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .course-type-grid { grid-template-columns: 1fr 1fr; }
}
