/* Skills.do Educational Website - Main Stylesheet */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-purple: #673DE6;
  --primary-color: #673DE6; /* Added for consistency with new elements */
  --bg-white: #FFFFFF;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --border-color: #E5E5E5;
  --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 16px rgba(0,0,0,0.15);
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --border-radius: 6px;
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  font-size: 16px;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

/* SEO Content Styles */
.seo-content {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.seo-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.seo-content h3 {
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.seo-content h4 {
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.seo-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-gray);
}

.seo-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

.article-list {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style-type: disc;
}

.article-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-gray);
}

/* FAQ Section Styles */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-light);
}

.faq-question {
  background-color: #f8f9fa;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  position: relative;
}

.faq-answer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  color: var(--text-gray);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

/* Course Format Styles */
.course-format {
  background-color: #f8f9fa;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  text-align: center;
  border-left: 4px solid var(--primary-purple);
}

.course-format p {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

/* Weekly Module Styles */
.weekly-module {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.weekly-module h3 {
  color: var(--primary-purple);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.module-topics {
  list-style-type: none;
  margin-left: 1.5rem;
}

.module-topics li {
  position: relative;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  line-height: 1.4;
}

.module-topics li:before {
  content: '•';
  color: var(--primary-purple);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Certification Info Styles */
.certification-info {
  background-color: #f0f4ff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  border-left: 4px solid var(--primary-purple);
}

.certification-info h3 {
  color: var(--primary-purple);
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.certification-info p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Tools Heading Styles */
.tools-heading {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-purple);
  font-size: 1.8rem;
}


.module-topics li:before {
  content: '✓';
  color: var(--primary-purple);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Certification Info Styles */
.certification-info {
  background-color: #f0f4ff;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  text-align: center;
}

.certification-info h3 {
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.certification-info p {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0;
}

.tools-heading {
  text-align: center;
  margin: 2rem 0 1.5rem;
  color: var(--text-dark);
  font-size: 1.6rem;
}

/* Button Styles */
.btn-primary {
  background: var(--primary-purple);
  color: var(--bg-white);
  border: none;
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #5a32c4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  background: transparent;
  border-radius: var(--border-radius);
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary-purple);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header and Navigation */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  margin-left: var(--spacing-lg);
}

/* Mobile Navigation */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

/* Breadcrumbs */
.breadcrumbs {
  color: var(--text-light);
  font-size: 14px;
  padding: var(--spacing-md) 0;
  margin-top: 80px;
}

.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Admission Cards */
.admission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin: var(--spacing-xxl) 0;
}

.admission-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-header {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #8a65f6 100%);
  color: var(--bg-white);
  padding: var(--spacing-lg);
  position: relative;
  text-align: center;
  transition: background 0.3s ease;
}

.admission-card:hover .card-header {
  background: linear-gradient(135deg, #8a65f6 0%, var(--primary-purple) 100%);
}

.step-badge {
  background-color: var(--bg-white);
  color: var(--primary-purple);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(138, 101, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(138, 101, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(138, 101, 246, 0);
  }
}

.card-header h2 {
  margin-top: var(--spacing-md);
  margin-bottom: 0;
  font-size: 1.5rem;
}

.card-body {
  padding: var(--spacing-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
  text-align: center;
  transition: transform 0.3s ease;
}

.admission-card:hover .card-icon {
  transform: scale(1.2);
}

.card-list {
  list-style-type: none;
  margin: var(--spacing-md) 0;
  padding-left: 0;
}

.card-list li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-list li:before {
  content: '✓';
  color: var(--primary-purple);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.card-list li:last-child {
  border-bottom: none;
}

.card-actions {
  margin-top: auto;
  padding-top: var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

/* Course Overview Section */
.course-overview {
  padding: var(--spacing-xxl) 0;
  background-color: #f9f9ff;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  color: var(--text-gray);
  font-size: 1.1rem;
}

.course-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Featured Course Styling */
.featured-course {
  position: relative;
  border: 2px solid var(--primary-purple);
  transform: scale(1.03);
}

.featured-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-purple);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Curriculum Section */
.curriculum-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.curriculum-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.curriculum-column h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--primary-purple);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: var(--spacing-sm);
}

.module {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: #f9f9ff;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.module:hover {
  transform: translateY(-3px);
}

.module h4 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

/* FAQ Section */
.faq-section {
  padding: var(--spacing-xxl) 0;
  background-color: #f5f5ff;
}

.faq-container {
  max-width: 900px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--bg-white);
}

.faq-question {
  padding: var(--spacing-md);
  background: #f9f9ff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.faq-answer {
  padding: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

/* LLM Optimization Section */
.llm-optimization {
  padding: var(--spacing-xxl) 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8eeff 100%);
}

.llm-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.llm-feature-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

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

.llm-feature-card h3 {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-sm);
}

.llm-feature-card h4 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.llm-feature-card h5 {
  color: var(--text-dark);
  margin: var(--spacing-md) 0 var(--spacing-sm);
  font-size: 1rem;
}

.llm-feature-card h6 {
  color: var(--text-gray);
  margin: var(--spacing-md) 0 var(--spacing-xs);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.llm-feature-card ul {
  list-style-position: inside;
  margin-bottom: var(--spacing-md);
}

.breadcrumbs .active {
  font-weight: bold;
  color: var(--text-dark);
}

.breadcrumbs span {
  margin: 0 var(--spacing-sm);
}

/* Main Content */
.main {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
  padding: var(--spacing-xxl) 0;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--text-dark);
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Value Props */
.value-props {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-white);
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.value-prop-card {
  text-align: center;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-prop-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.value-prop-icon {
  font-size: 3rem;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
}

/* Course Grid */
.courses-section {
  padding: var(--spacing-xxl) 0;
  background: #f8f9ff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.course-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-direction: column;    /* stack content top-to-bottom */
  justify-content: space-between; /* push footer to bottom */
}


@media (max-width: 768px) {
  .course-card .card-footer {
    flex-direction: column;  /* stack buttons */
    gap: 15px;               /* add extra space between */
  }
}

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

.course-highlights {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.course-highlights li {
  padding: var(--spacing-sm) 0;
  padding-left: var(--spacing-lg);
  position: relative;
}

.course-highlights li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-purple);
  font-weight: bold;
}

/* Course Detail Page */
.course-detail {
  padding: var(--spacing-xxl) 0;
}

.course-header {
  margin-bottom: var(--spacing-xxl);
  text-align: center;
}

.course-modules {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  margin-bottom: var(--spacing-xl);
}


.module-list {
  list-style: none;
  counter-reset: module-counter;
}

.module-list li {
  counter-increment: module-counter;
  padding: var(--spacing-md) 0;
  padding-left: var(--spacing-xxl);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.module-list li:last-child {
  border-bottom: none;
}

.module-list li::before {
  content: counter(module-counter);
  position: absolute;
  left: 0;
  top: var(--spacing-md);
  background: var(--primary-purple);
  color: var(--bg-white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;   /* stack vertically */
  gap: 20px;               /* spacing between cards */
  max-width: 900px;        /* keeps them aligned */
  margin: 0 auto;          /* center the whole section */
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.08);
  position: relative;       /* reset in case absolute was used */
  width: 100%;
}


.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}




.testimonial-quote {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-rating {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

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

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

.author-info .company {
  color: var(--text-gray);
  font-size: 0.9rem;
}




/* Admission Steps */
.admission-steps {
  padding: var(--spacing-xxl) 0;
}

/* Training Schedule - Mobile alignment fix */
@media (max-width: 768px) {
  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* space between items */
  }

  .step-item {
    display: flex;
    flex-direction: column;  /* stack icon above text */
    align-items: center;     /* center horizontally */
    text-align: center;      /* center text too */
  }

  .step-number {
    font-size: 2rem;  /* make emoji bigger */
    margin-bottom: 10px; /* space between icon and text */
  }
}


.step-content h3 {
  margin-bottom: var(--spacing-sm);
}

/* FAQ Accordion */
.faq-section {
  padding: var(--spacing-xxl) 0;
  background: #f8f9ff;
}

.faq-list {
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-light);
}

.faq-item details {
  border-radius: var(--border-radius);
}

.faq-item summary {
  padding: var(--spacing-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-white);
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
}

.faq-item summary:hover {
  background: #f8f9ff;
}

.faq-item[open] summary {
  background: var(--primary-purple);
  color: var(--bg-white);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  color: var(--text-gray);
  line-height: 1.6;
}

/* Blog Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.blog-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-purple), #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.2rem;
}

.blog-content {
  padding: var(--spacing-lg);
}

.blog-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.blog-excerpt {
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

/* Blog Post */
.blog-post {
  padding: var(--spacing-xxl) 0;
}

.post-header {
  max-width: 800px;
  margin: 0 auto var(--spacing-xxl);
  text-align: center;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.post-content h2,
.post-content h3 {
  margin-top: var(--spacing-xl);
}

.post-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-purple), #8b5cf6);
  border-radius: var(--border-radius);
  margin: var(--spacing-xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-size: 1.2rem;
}/* Fix for Blog page header overlap */
body.blog-page {
  padding-top: 80px; /* match your header height */
}
/* Fix Blog Page Overlap with Header */
.blog-grid,
.blog-post {
  margin-top: 60px; /* adjust to your header height */
}


/* Contact Page */
.contact-section {
  padding: var(--spacing-xxl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  margin-top: var(--spacing-xl);
}

.contact-form {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-purple);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info {
  background: #f8f9ff;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}


/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

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

.footer-section h3 {
  color: var(--bg-white);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  display: flex;
  gap: 12px; /* space between icons */
  margin-top: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  font-size: 18px;   /* size of emoji */
  text-decoration: none;
  color: #fff;       /* link color */
  background: none;  /* remove purple bubble */
  padding: 0;
}

.social-link:hover {
  color: #6a11cb; /* hover effect */
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 1023px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Mobile Navigation */
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xxl) 0;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-medium);
  }
  
  .nav-cta {
    margin-left: 0;
    margin-top: var(--spacing-lg);
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  #menu-toggle:checked ~ .nav-links {
    left: 0;
  }
  
  #menu-toggle:checked ~ .hamburger-menu .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  #menu-toggle:checked ~ .hamburger-menu .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ .hamburger-menu .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  /* Mobile Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content .subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  /* Responsive Admission Cards */
  .admission-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .admission-card {
    margin-bottom: var(--spacing-md);
  }
  
  .card-header h2 {
    font-size: 1.3rem;
  }
  
  .card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .card-actions .btn-primary,
  .card-actions .btn-outline {
    width: 100%;
    margin-bottom: var(--spacing-sm);
    text-align: center;
  }
  
  /* Mobile Layout Adjustments */
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .value-props-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .courses-grid {
    grid-template-columns: 1fr;
  }
  
  .course-card {
    padding: var(--spacing-lg);
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .salary-card {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.bg-light {
  background: #f8f9ff;
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Sticky bottom bar (hidden by default) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none; /* hide by default */
  justify-content: space-around;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  z-index: 9999;
}

/* Buttons */
.sticky-btn {
  flex: 1;
  margin: 0 8px;
  padding: 12px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Call button */
.call-btn {
  background-color: #673de6; /* your brand purple */
}

/* WhatsApp button */
.whatsapp-btn {
  background-color: #25D366; /* WhatsApp green */
}

/* Hover effect */
.sticky-btn:hover {
  opacity: 0.9;
}

/* ✅ Show only on mobile (up to 768px) */
@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
  }
}
/* Fixed header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Push page content below header */
body {
  margin: 0;
  padding: 0;
}

/* Add space at the top equal to header height */
main, .main, .page-content, .breadcrumbs {
  margin-top: 20px; /* adjust this based on actual header height */
}

/* On mobile, header is a bit taller */
@media (max-width: 768px) {
  main, .main, .page-content, .breadcrumbs {
    margin-top: 0px;
  }
}
/* 🔹 Mobile fix for only Enroll Now button size & position */
@media (max-width: 768px) {
  .nav-cta {
    margin-left: 0;              /* remove large desktop gap */
    display: flex;              /* use flex to center it */
    justify-content: flex-end;  /* keep it aligned to the right */
  }

  .nav-cta .btn-primary {
    padding: 8px 16px;          /* reduce padding for mobile */
    font-size: 14px;            /* smaller font size */
    white-space: nowrap;        /* prevent text wrapping */
  }
}
@media (max-width: 768px) {
  .nav-cta {
    margin-left: 0;
    display: flex;
    justify-content: left;
    align-items: flex-start;  /* 🔹 aligns button to the top */
    margin-top: -8px;  /* 🔹 Change this to move button */
  }
}
/* Form Container */
.demo-card {
  background: linear-gradient(135deg, #ffffff, #f9f9ff);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  margin: auto;
  transition: transform 0.3s ease-in-out;
}

.demo-card:hover {
  transform: translateY(-5px);
}

/* Heading */
.demo-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

/* Input Fields */
.demo-card input,
.demo-card select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.demo-card input:focus,
.demo-card select:focus {
  border-color: #673DE6;
  box-shadow: 0 0 6px rgba(103, 61, 230, 0.5);
}

/* Button */
.demo-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #673DE6, #4B7BEC);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.demo-btn:hover {
  background: linear-gradient(90deg, #4B7BEC, #673DE6);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(103, 61, 230, 0.4);
}

/* Close Button */
.demo-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.demo-close:hover {
  color: #673DE6;
}

/* Form Container */
.demo-card {
  background: linear-gradient(135deg, #e0c3fc, #8ec5fc); /* soft purple → blue gradient */
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  margin: auto;
  transition: transform 0.3s ease-in-out;
}

.demo-card:hover {
  transform: translateY(-5px);
}

/* Heading */
.demo-card h3 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  color: #222; /* dark text for contrast */
  margin-bottom: 20px;
}

/* Input Fields */
.demo-card input,
.demo-card select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8); /* translucent white */
}

.demo-card input:focus,
.demo-card select:focus {
  border-color: #673DE6;
  box-shadow: 0 0 8px rgba(103, 61, 230, 0.6);
  background: #fff;
}

/* Button */
.demo-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #673DE6, #4B7BEC);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.demo-btn:hover {
  background: linear-gradient(90deg, #4B7BEC, #673DE6);
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(103, 61, 230, 0.4);
}

/* Close Button */
.demo-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #444;
  transition: color 0.3s;
}

.demo-close:hover {
  color: #673DE6;
}
/* Global fix for header overlap on all pages */
body {
  padding-top: 80px; /* same as your header height */
}
/* Fix for footer button covered by sticky buttons on mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* adjust to match sticky bar height */
  }
}
/* Admission Steps with Number Badges */
.admission-step {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px 24px 24px 70px; /* extra left space for badge */
  margin-bottom: 24px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admission-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.step-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.social-link.facebook:hover { background: #1877f2; color: #fff; }
.social-link.twitter:hover { background: #1da1f2; color: #fff; }
.social-link.instagram:hover { background: #e4405f; color: #fff; }
.social-link.youtube:hover { background: #ff0000; color: #fff; }

/* Section Styling */
.certificates {
  padding: 50px 20px;
  margin: 50px 0;
  text-align: center;
  background: #fff;
}

.certificates h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #222;
}

/* Slider */
.certificate-slider {
  position: relative;
  max-width: 700px; /* desktop medium view */
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.certificate-slide {
  display: none;
}

.certificate-slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.certificate-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Dots */
.certificate-dots {
  margin-top: 15px;
  text-align: center;
}

.certificate-dots .dot {
  display: inline-block;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.certificate-dots .dot.active {
  background-color: #333;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .certificates h2 {
    font-size: 26px;
  }

  .certificate-slider {
    max-width: 95%; /* mobile full width */
  }
}
/* ✅ General About Page Layout */
.about-details {
  max-width: 1000px;
  margin: var(--spacing-xxl) auto;
  padding: 0 var(--spacing-lg);
  line-height: 1.7;
}

/* Headings */
.about-details h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
}

/* Paragraphs */
.about-details p {
  margin-bottom: var(--spacing-lg);
  color: var(--text-gray);
}

/* Lists */
.about-details ul {
  margin-left: 1.5rem;
  margin-bottom: var(--spacing-xl);
}

.about-details li {
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
}

/* Hero Section */
.about-hero {
  text-align: center;
  padding: var(--spacing-xxl) var(--spacing-lg);
  background: #f8f9ff;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.about-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .about-details h2 {
    font-size: 1.6rem;
  }
}
