@charset "utf-8";
/* CSS Document */

/* courses.css */
:root {
  --primary: #1a73e8;
  --light-gradient-start: #1a73e8;
  --light-gradient-end: #2ea3f2;
  --lightest: #f4faff;
  --light: #e0f2fd;
  --dark: #2b2b2b;
  --dark-bg: #0b1620;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; color: var(--dark); background: #fff; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.text-center { text-align: center; }
.btn { display: inline-block; padding: 0.6rem 1.2rem; border-radius: 4px; text-decoration: none; font-weight: 500; transition: background 0.3s, transform 0.3s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); border: 1px solid #fff; }
.btn-dark { background: var(--dark-bg); color: #fff; }

/* Header */
.header { position: sticky; top: 0; background: #fff; z-index: 1000; padding: 1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo { height: 40px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
nav { display: flex; align-items: center; gap:1rem; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; }

/* Hero */
.courses-hero { background: linear-gradient(to right, var(--light-gradient-start), var(--light-gradient-end)); color: #fff; padding: 4rem 0; }
.courses-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.courses-hero p { margin-bottom: 1.5rem; }

/* Features */
.features { background: #fff; padding: 3rem 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 2rem; }
.feature-item { text-align: center; }
.feature-item i { color: var(--primary); margin-bottom: 0.5rem; }
.feature-item h4 { margin-bottom: 0.5rem; }
.feature-item p { color: #555; }

/* Courses Cards */
.courses-section { background: var(--lightest); padding: 4rem 0; }
.courses-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 2rem; }
.course-card { background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s; position: relative; }
.course-card:hover { transform: scale(1.03); }
.level-tag { position: absolute; top: 1rem; left: 1rem; background: #eee; padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.8rem; }
.course-card h3 { margin: 1.5rem 0 0.5rem; }
.price { font-size: 1.5rem; color: var(--primary); margin-bottom: 1rem; }
.course-card p { margin-bottom: 1rem; color: #555; }
.course-card ul { list-style: none; margin-bottom: 1.5rem; padding: 0; }
.course-card ul li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; color: #555; }
.course-card ul li i { color: var(--accent-green); }

/* Pricing Plans */
.pricing-section { background: var(--light); padding: 4rem 0; }
.pricing-section h2 { margin-bottom: 0.5rem; }
.subtext { color: #555; margin-bottom: 2rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 2rem; }
.plan-card { background: #fff; padding: 2rem; border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,0.1); transition:transform 0.3s; text-align:center; position: relative; }
.plan-card:hover { transform: scale(1.03); }
.plan-card.popular { border: 2px solid var(--primary); }
.badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.8rem; }
.plan-card h4 { margin-bottom: 0.5rem; }
.plan-desc { color: #555; margin-bottom:1rem; }
.plan-price { font-size:1.5rem; color: var(--primary); margin-bottom:1rem; }
.plan-price span { font-weight: bold; }
.plan-card ul { list-style: none; padding: 0; margin-bottom:1.5rem; text-align:left; }
.plan-card ul li { display:flex; align-items:center; gap:0.5rem; margin-bottom:0.5rem; color: #555; }
.plan-card ul li i { color: var(--accent-green); }

/* Footer */
.footer { background: var(--dark-bg); color: #fff; padding: 3rem 0 1rem; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget ul li a { color: #fff; text-decoration: none; }
.footer-bottom { text-align:center; font-size:0.9rem; color: #bbb; }

/* Responsive */
@media (max-width:768px) {
  .menu-toggle { display:block; }
  nav { display:none; flex-direction:column; align-items:center; background:#fff; position:absolute; top:60px; left:0; right:0; padding:1rem 0; }
  nav.active { display:flex; }
  .features-grid, .courses-grid, .pricing-grid { grid-template-columns: 1fr; }
}