@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Nunito:wght@400;700;800&display=swap');

:root {
  /* Updated Golden & White Color Palette */
  --primary: #FFB300; /* Rich Golden Yellow */
  --primary-dark: #FF8F00; /* Deep Orange-Gold */
  --secondary: #424242; /* Dark Gray for accents */
  --accent: #E53935; /* Vibrant Red for highlights */
  --background: #FFFFFF;
  --light-bg: #F5F5F5; /* Soft Off-White */
  --text-primary: #212121; /* Dark Gray for text */
  --text-secondary: #757575; /* Lighter Gray */
  --light-shadow: rgba(255, 179, 0, 0.1);
  --medium-shadow: rgba(255, 179, 0, 0.2);
}

body {
  margin: 0; padding: 0;
  font-family: 'Nunito', sans-serif;
  background-color: var(--light-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem; }
.page-main { padding-top: 4rem; padding-bottom: 5rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; color: var(--text-primary); }
.section-title {
    font-size: 2.8rem; font-weight: 800; text-align: center;
    margin-bottom: 1.5rem; color: var(--text-primary);
}
.section-title span { /* Gradient text for titles */
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-title { /* For other pages */
    font-size: 3rem; font-weight: 800; text-align: center; margin-bottom: 1rem;
}
.page-title span {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
.subtitle {
    font-size: 1.2rem; max-width: 700px;
    margin: -1rem auto 4rem auto; text-align: center;
    background: none; -webkit-text-fill-color: initial;
    color: var(--text-secondary); font-weight: 400;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px var(--light-shadow);
  padding: 1rem 0; position: sticky; top: 0; z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-container {
    display: flex; align-items: center; gap: 10px;
}
.logo-img { max-height: 50px; width: auto; }
.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
nav ul { display: flex; gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
nav ul li a {
  color: var(--text-primary); font-weight: 600; font-size: 1rem;
  padding-bottom: 5px; position: relative;
}
nav ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.3s ease;
}
nav ul li a:hover::after { width: 100%; }

/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    padding: 0.9rem 2.2rem; border-radius: 50px; color: white;
    font-weight: 700; font-size: 1.1rem; border: none;
    box-shadow: 0 8px 20px var(--medium-shadow);
    transition: all 0.3s ease; display: inline-block;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 12px 25px var(--medium-shadow); }
.btn-secondary {
    background: var(--secondary); padding: 0.7rem 1.8rem; border-radius: 50px; color: white;
    font-weight: 600; box-shadow: 0 6px 15px rgba(66, 66, 66, 0.4);
    transition: all 0.3s ease; display: inline-block;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(66, 66, 66, 0.5); }


/* Hero Section */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 5rem 1.5rem; text-align: left; }
.hero-content h2 { font-size: 3.2rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.3; }
.hero-content p { font-size: 1.25rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 2.5rem; }
.hero-image img { max-width: 450px; width: 100%; }

/* About & Courses Sections (On Homepage) */
.about-section, .courses-section, .demo-section { padding: 4rem 1rem; }
.about-section { text-align: center; }
.about-section p { font-size: 1.1rem; color: var(--text-secondary); max-width: 750px; margin: 1rem auto; }

.course-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.course-card {
  background: var(--background); border-radius: 20px;
  padding: 2.5rem 2rem; border: 1px solid #eee;
  box-shadow: 0 10px 30px var(--light-shadow);
  transition: all 0.3s ease; text-align: center;
}
.course-card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px var(--medium-shadow); }
.course-thumb { width: 100%; border-radius: 14px; margin-bottom: 1.5rem; }
.course-card h4 {
    font-weight: 700; color: #333; margin-bottom: 0.7rem; font-size: 1.6rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Demo Form */
.demo-section { background: var(--background); border-radius: 24px; }
form { max-width: 500px; margin: 2rem auto 0; }
form label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
form input {
  width: 100%; padding: 0.9rem 1.1rem; border-radius: 12px;
  font-size: 1rem; border: 1px solid #ddd; margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
form input:focus {
  border-color: var(--primary); outline: none;
  box-shadow: 0 0 0 4px var(--light-shadow);
}
form button { width: 100%; cursor: pointer; }


/* --- Other Pages --- */

/* Impact Section (Testimonials) */
.impact-section {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; text-align: center; margin-bottom: 5rem;
}
.impact-card { background: var(--background); padding: 2rem; border-radius: 16px; box-shadow: 0 10px 30px var(--light-shadow); }
.impact-card h4 {
    font-size: 2.5rem; margin: 0 0 0.5rem 0; font-weight: 800;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.impact-card p { margin: 0; color: var(--text-secondary); font-weight: 600; }

/* Testimonials */
.testimonial-card {
  display: flex; align-items: center; gap: 2rem;
  background: var(--background); border-radius: 20px;
  padding: 2.5rem; margin-bottom: 2rem;
  border: 1px solid #eee; box-shadow: 0 8px 30px var(--light-shadow);
}
.testimonial-image { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent); }
.testimonial-name { color: var(--text-primary); font-weight: 700; font-size: 1.2rem; }
.star-rating { font-size: 1.1rem; margin: 0.5rem 0; color: var(--primary); }

/* Careers Page */
.job-listing {
    background: var(--background); padding: 2.5rem; border-radius: 16px;
    margin-bottom: 2rem; box-shadow: 0 5px 25px var(--light-shadow);
    border-left: 5px solid var(--primary);
}
.job-listing h4 { margin-top: 0; font-size: 1.4rem; }

/* Contact Page */
.contact-info {
    text-align: center; background: var(--background);
    padding: 3rem; border-radius: 20px;
    max-width: 700px; margin: 0 auto 3rem auto;
    box-shadow: 0 8px 30px var(--light-shadow);
}
.contact-info p { margin: 0.5rem 0; font-size: 1.2rem; }

/* Pricing */
.pricing-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; }
.pricing-card {
  background: var(--background); border-radius: 18px;
  padding: 2.5rem 2rem; max-width: 280px;
  box-shadow: 0 10px 40px var(--light-shadow);
  transition: all 0.3s ease; text-align: center; border-top: 5px solid;
  border-image: linear-gradient(90deg, var(--primary), var(--primary-dark)) 1;
}
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 15px 50px var(--medium-shadow); }
.pricing-card h4 { font-size: 1.6rem; margin-bottom: 1.5rem; }
select.select-pricing {
    width: 100%; padding: 0.7rem 1rem; font-size: 1rem;
    border: 2px solid #eee; border-radius: 12px;
    font-weight: 600; cursor: pointer; margin-bottom: 1.5rem;
}
.pricing-price { font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); }


/* Syllabus Page */
.syllabus-tabs {
    display: flex; justify-content: center;
    gap: 1.5rem; margin-bottom: 3rem;
}
.syllabus-tab {
    background: none; border: 2px solid var(--primary);
    color: var(--primary); font-size: 1.2rem;
    font-weight: 700; padding: 0.8rem 2rem;
    border-radius: 50px; cursor: pointer;
    transition: all 0.3s ease;
}
.syllabus-tab:hover {
    background: var(--primary); color: white;
}
.syllabus-tab.active {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white; border-color: transparent;
    box-shadow: 0 6px 15px var(--medium-shadow);
}
.syllabus-content { display: none; }
.syllabus-content.active { display: block; }
.syllabus-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.syllabus-card {
    background: var(--background); padding: 2rem;
    border-radius: 16px; box-shadow: 0 8px 20px var(--light-shadow);
    transition: transform 0.3s ease;
}
.syllabus-card:hover { transform: translateY(-5px); }
.syllabus-card h4 {
    font-size: 1.5rem; margin-top: 0;
    color: var(--primary-dark);
}
.syllabus-card ul { list-style-type: '➡️ '; padding-left: 1.5rem; }
.syllabus-card li { margin-bottom: 0.5rem; color: var(--text-secondary); }


/* Footer */
footer {
  background: var(--text-primary); color: var(--light-bg); text-align: center;
  padding: 3rem 1rem; margin-top: 4rem;
}
footer a { color: var(--primary); }
.adsense-placeholder { min-height: 50px; /* Placeholder for ad visibility */ }

/* Decorative Static Background Images */
.bg-decorations {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1; pointer-events: none;
}
.bg-decorations img { position: absolute; opacity: 0.1; }
.bg-deco-1 { top: 15%; left: 5%; width: 60px; transform: rotate(-15deg); }
.bg-deco-2 { top: 70%; left: 10%; width: 80px; transform: rotate(10deg); }
.bg-deco-3 { top: 20%; right: 5%; width: 50px; transform: rotate(20deg); }

/* Responsive */
@media (max-width: 768px) {
  .section-title, .page-title { font-size: 2rem; }
  .nav-container { flex-direction: column; gap: 1rem; }
  nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; padding: 0 1rem; }
  .hero { flex-direction: column; text-align: center; padding: 3rem 1.5rem; }
  .hero-content h2 { font-size: 2.5rem; }
  .testimonial-card { flex-direction: column; text-align: center; }
}