:root {
  --primary: #1a5f3c;
  --primary-dark: #134429;
  --secondary: #c9a227;
  --accent: #4caf50;
  --whatsapp: #25D366;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --text: #333333;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
  --container: 1200px;
  --header-height: 80px;
  --contact-bar-height: 40px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
}

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

a:hover {
  color: var(--primary-dark);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 8px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: #b8931f;
  color: var(--gray-900);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

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

.btn-whatsapp:hover {
  background-color: #1da851;
  color: var(--white);
  transform: translateY(-2px);
}

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-center { text-align: center; }
.text-primary { color: var(--primary); }

header {
  position: fixed;
  top: var(--contact-bar-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.contact-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--contact-bar-height);
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 0.875rem;
  z-index: 1001;
}

.contact-bar a {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact-bar a:hover {
  color: var(--secondary);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-img {
    height: 90px;
    width: auto;
}


nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  font-weight: 500;
  color: var(--gray-700);
}

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

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

.hero {
  padding-top: calc(var(--contact-bar-height) + var(--header-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 350px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.hero .btn-primary:hover {
  background-color: var(--gray-100);
}

.hero .btn-secondary {
  background-color: var(--secondary);
  color: var(--gray-900);
}

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

.section-title h2 {
  margin-bottom: 16px;
}

.section-title p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray-500);
}

.courses-section {
  background: var(--light-bg);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.course-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.course-content {
  padding: 24px;
}

.course-content h3 {
  margin-bottom: 12px;
}

.course-content p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonials-section {
  background: var(--white);
}

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

.testimonial-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--gray-700);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.faq-section {
  background: var(--light-bg);
}

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

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

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 20px 20px;
  color: var(--gray-500);
}

.course-tabs {
  margin-bottom: 40px;
}

.course-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 15px;
}

.course-tabs-nav button {
  background: var(--light-bg);
  border: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
}

.course-tabs-nav button:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.course-tabs-nav button.active {
  background: var(--primary);
  color: var(--white);
}

.course-tab-content {
  display: none;
}

.course-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--gray-700);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
  font-size: 1.8rem;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1da851;
}

.page-header {
  padding-top: calc(var(--contact-bar-height) + var(--header-height) + 60px);
  padding-bottom: 40px;
  background: var(--light-bg);
  text-align: center;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--gray-500);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-700);
}

.course-detail {
  padding: 60px 0;
}

.course-detail .container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
}

.course-main h2 {
  margin-bottom: 20px;
}

.course-main p {
  margin-bottom: 20px;
  color: var(--gray-700);
}

.course-main ul {
  list-style: none;
  margin-bottom: 30px;
}

.course-main li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-main li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.course-sidebar {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.course-sidebar h3 {
  margin-bottom: 20px;
}

.course-info {
  margin-bottom: 20px;
}

.course-info p {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.course-info p span:first-child {
  color: var(--gray-500);
}

.course-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.course-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.contact-info-card h3 {
  margin-bottom: 16px;
}

.contact-info-card p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--gray-700);
}

.contact-info-card .icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

@media (max-width: 1024px) {
  .course-detail .container {
    grid-template-columns: 1fr;
  }
  
  .course-sidebar {
    position: static;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 65px;
    --contact-bar-height: auto;
  }
  
  .contact-bar {
    flex-direction: column;
    gap: 5px;
    height: auto;
    padding: 8px;
    font-size: 0.75rem;
  }
  
  header {
    top: 0;
  }
  
  nav {
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + var(--contact-bar-height) + 40px);
    padding-bottom: 60px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .courses-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
