/* 
==============================================
CSS Variables & Design Tokens
==============================================
*/
:root {
  --primary-color: #0F3B26; /* Deep Forest Green */
  --primary-color-light: #185E3D;
  --primary-color-dark: #0A2618;
  --accent-color: #D4AF37; /* Gold */
  --accent-color-hover: #F1C40F;
  
  --bg-color: #FFFFFF;
  --bg-light-gray: #F8F9FA;
  --bg-gray-darker: #F1F3F5;
  
  --text-dark: #1F2937;
  --text-gray: #4B5563;
  --text-light: #9CA3AF;
  --text-white: #F9FAFB;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(15, 59, 38, 0.15);
  
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 
==============================================
Reset & Global Styles
==============================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-gray);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 
==============================================
Typography Utils
==============================================
*/
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-padding {
  padding: 6rem 0;
}

.bg-gray {
  background-color: var(--bg-light-gray);
}

/* 
==============================================
Buttons
==============================================
*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff !important;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--bg-gray-darker);
  transform: translateY(-2px);
}

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

.btn-accent:hover {
  background-color: var(--accent-color-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 
==============================================
Navigation
==============================================
*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px; /* Adjusted for typical logo size */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* 
==============================================
Hero Section
==============================================
*/
.hero {
  padding: 6rem 0 8rem 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-gray);
}

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

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/5;
}

/* Floating Elements */
.floating-card {
  position: absolute;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.fc-1 { top: 10%; left: -10%; animation-delay: 0s; }
.fc-2 { bottom: 15%; right: -5%; animation-delay: 2s; }

.floating-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.floating-text p { margin: 0; font-weight: 600; font-family: var(--font-heading); color: var(--text-dark); }
.floating-text span { font-size: 0.875rem; color: var(--text-gray); }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--bg-gray-darker);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-gray);
}

/* 
==============================================
Features Section (Why LearnExcel)
==============================================
*/
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--bg-gray-darker);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: rgba(212, 175, 55, 0.1); /* Accent tint */
  color: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}

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

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* 
==============================================
Courses Components
==============================================
*/
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.course-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--bg-gray-darker);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.course-img-wrapper {
  display: none !important;
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrapper img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-color);
  backdrop-filter: blur(4px);
}

.course-badge.advanced { color: #E11D48; }
.course-badge.intermediate { color: #D97706; }

.course-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.course-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-meta {
  display: none !important;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-gray-darker);
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* 
==============================================
Timeline Journey
==============================================
*/
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  padding: 2rem 0;
  overflow-x: auto; /* Allow scrolling on smaller screens */
  padding-bottom: 1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg-gray-darker);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 14%;
  min-width: 120px;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0 auto 1rem auto;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-step:hover .step-icon {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
}

/* 
==============================================
Testimonials
==============================================
*/
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--bg-gray-darker);
}

.rating {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

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

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

.author-info h4 {
  font-size: 1rem;
  margin: 0;
}

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

/* 
==============================================
Meet the Founder
==============================================
*/
.founder-section {
  background: var(--primary-color);
  color: white;
}

.founder-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founder-section .section-title, 
.founder-section .section-subtitle {
  color: white;
}

.founder-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.founder-slogan {
  font-family: 'Myanmar3', 'Padauk', sans-serif; /* Myanmar fonts */
  font-size: 2rem;
  color: var(--accent-color);
  margin-top: 2rem;
  border-left: 4px solid var(--accent-color);
  padding-left: 1.5rem;
}

.founder-img-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* 
==============================================
CTA Section
==============================================
*/
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--bg-gray-darker) 0%, var(--bg-color) 100%);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* 
==============================================
Courses Page Specific
==============================================
*/
.page-header {
  padding: 6rem 0 4rem 0;
  background: var(--bg-light-gray);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.filters-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--bg-gray-darker);
  background: white;
  position: sticky;
  top: 73px; /* Below navbar */
  z-index: 100;
}

.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.search-bar {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--text-light);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.search-bar input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 59, 38, 0.1);
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.category-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: white;
  border: 1px solid var(--bg-gray-darker);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-gray);
}

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

/* 
==============================================
Footer
==============================================
*/
.footer {
  background: #0A192F;
  color: #8892B0;
  padding: 5rem 0 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-desc {
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.social-links a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

.footer h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: #8892B0;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* 
==============================================
Responsive Utilities
==============================================
*/
@media (max-width: 1024px) {
  .hero .container, .founder-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 { font-size: 3rem; }
  .hero-btns { justify-content: center; }
  .floating-card { display: none; }
  
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item:nth-child(2) { border-right: none; }
  
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 73px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 73px);
    background: white;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn { display: block; }
  
  .stats-bar { margin-top: 2rem; }
  
  .features-grid, .testimonials-grid { grid-template-columns: 1fr; }
  
  .cta-section h2 { font-size: 2rem; }
  .cta-btns { flex-direction: column; }
  
  .footer-grid { grid-template-columns: 1fr; }
}
