/* --- Global Styles & Theme Setup --- */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #28a745; /* Green */
    --text-color: #333;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* --- Header and Navigation --- */
header {
    background-color: var(--bg-dark);
    color: white;
    padding: 1rem 5%;
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.cta-button {
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #218838;
}

/* --- Buttons --- */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    border: none;
}

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

.btn.primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

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

.btn.secondary:hover {
    background-color: #1e7e34;
    transform: translateY(-1px);
}

/* --- Main Content Sections --- */
main {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 60px 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
    min-height: 60vh;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Features Section */
.features {
    background-color: var(--bg-light);
    text-align: center;
}

.features h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--bg-dark);
}

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

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: var(--border-radius);
    padding: 40px;
    margin: 40px 0;
}

.cta-banner h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* --- Course Page Specific Styles --- */
.course-header {
    text-align: center;
    padding: 60px 0 30px 0;
    border-bottom: 1px solid #eee;
}

.course-header h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.curriculum {
    padding: 40px 0;
}

.module-list details {
    background: var(--bg-light);
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
}

.module-list summary {
    padding: 15px 20px;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    user-select: none;
    font-size: 1.1rem;
}

.module-list ul {
    list-style-type: disc;
    padding: 15px 40px 20px 40px;
    border-top: 1px solid #eee;
}

.module-list li {
    margin-bottom: 8px;
}

.pricing-section {
    text-align: center;
    background-color: var(--bg-light);
    padding: 60px 0;
}

.pricing-section h3 {
    margin-bottom: 30px;
}

.price-card {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 350px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}

.price-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bg-dark);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.price-card li {
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
}

.enrollment-form-section {
    padding: 40px 0;
    text-align: center;
}

#enrollmentForm label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: left;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

#enrollmentForm input[type="text"],
#enrollmentForm input[type="email"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* --- About Page Specific Styles --- */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.team-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.team-member {
    text-align: center;
    flex-basis: 250px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 4px solid var(--primary-color);
}

.values {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: var(--border-radius);
}

.values ul {
    list-style-type: '💡 '; 
    padding-left: 20px;
}

.values li {
    padding: 5px 0;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: #ccc;
    text-align: center;
    padding: 20px 5%;
    font-size: 0.9rem;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    nav ul {
        gap: 0.8rem;
    }
}

@media (max-width: 600px) {
    header {
        padding: 1rem 3%;
    }
    nav {
        flex-direction: column;
        gap: 10px;
    }
    nav h1 {
        margin-bottom: 5px;
    }
    nav ul {
        padding-top: 10px;
    }
    .hero-content {
        padding-top: 20px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .pricing-section {
        padding: 40px 3%;
    }
}

/* Karbon Sites Branding */

  #karbon-promo-banner {
      position: fixed;
      bottom: 10px;
      right: 10px;
      background-color: rgba(0, 0, 0, 0.8);
      color: white;
      padding: 8px 16px;
      border-radius: 8px;
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 14px;
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      transition: transform 0.2s ease-in-out;
  }
  #karbon-promo-banner:hover {
      transform: scale(1.05);
  }
