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

:root {
  /* Brand Colors from Images */
  --primary-dark: #0f5b5c;
  /* Dark teal for footer, headings, main hero */
  --primary-light: #1c8e8f;
  /* Lighter teal for buttons, active states */
  --accent-color: #d9534f;
  /* Red for strikethrough price */

  /* Neutral Colors */
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f9fafb;
  --bg-form: #e6f0f0;
  /* Light tealish background for forms */
  --white: #ffffff;
  --border-color: #e5e7eb;

  /* UI Elements */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

/* --- Header / Navbar --- */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
  border-bottom: 2px solid var(--primary-light);
}

/* Sticky Social Links (Left Side) */
.sticky-social {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.sticky-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: width 0.3s ease;
}

.sticky-social a:hover {
  width: 50px;
}

.social-fb {
  background-color: #3b5998;
}

.social-tw {
  background-color: #000000;
}

.social-yt {
  background-color: #ff0000;
}

.social-ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@keyframes levitate-horizontal {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  33% { transform: translateY(-50%) translateX(-15px); }
  66% { transform: translateY(-50%) translateX(15px); }
}

.levitate-x {
  animation: levitate-horizontal 5s ease-in-out infinite;
}

/* --- Hero Banner --- */
.hero {
  position: relative;
  overflow: hidden;
  height: 750px;
  /* Force strict consistent size */
  display: block;
}

.hero-slide {
  display: none;
  /* Hide all by default, JS will show active */
  width: 100%;
  height: 100%;
  /* Fill the fixed hero container perfectly */
  padding: 0;
}

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

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hero-text h1 {
  color: var(--primary-dark);
}

.hero-text .highlight {
  color: var(--primary-light);
}

/* Removed hero-bg-shape entirely */

.hero-slide.theme-dark {
  color: white;
}

.hero-slide.theme-dark .hero-text h1,
.hero-slide.theme-dark .hero-text p {
  color: white;
}

.hero-slide.theme-dark .hero-text .highlight {
  color: #aae0e0;
}

.hero-image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #e0e0e0, #f5f5f5);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

/* Feature List Card in Hero */
.hero-features-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.hero-features-card ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.hero-features-card ul li::before {
  content: '✓';
  color: var(--primary-light);
  font-weight: bold;
}

/* Pricing block in Hero */
.hero-pricing {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.actual-price {
  color: var(--text-light);
  text-align: center;
}

.actual-price span {
  text-decoration: line-through;
  text-decoration-color: var(--accent-color);
  text-decoration-thickness: 2px;
  font-size: 1.2rem;
  font-weight: bold;
}

.offer-price {
  color: var(--primary-dark);
  font-weight: bold;
  text-align: center;
}

.offer-price span {
  font-size: 1.5rem;
}

.hero-slide.theme-dark .actual-price {
  color: #ddd;
}

.hero-slide.theme-dark .offer-price {
  color: white;
}

/* Carousel Controls */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--primary-dark);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary-dark);
}

.carousel-dots.dots-light .dot {
  border-color: white;
}

.carousel-dots.dots-light .dot.active {
  background: white;
}


/* --- Courses Section --- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  color: var(--primary-dark);
}

.course-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 20px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  color: var(--text-light);
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}

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

.course-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

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

.course-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1f2937, #111827);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
}

.course-img-placeholder.alteryx {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.course-img-placeholder.sql {
  background: linear-gradient(135deg, #7c2d12, #9a3412);
}

.course-img-placeholder.tableau {
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}

.course-img-placeholder.powerbi {
  background: linear-gradient(135deg, #ca8a04, #eab308);
}


.course-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-stats {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.rating {
  color: #fbbf24;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.students {
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.course-footer > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 15px;
}

.course-footer .btn {
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-size: 1rem;
}


/* --- Clients & Stats --- */
.clients-section {
  background-color: var(--bg-light);
  text-align: center;
}

.clients-logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.client-logo-placeholder {
  width: 150px;
  height: 60px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: bold;
}

.stats-ribbon {
  background-color: #f4f6f9;
  /* the light strip */
  border: none;
  padding: 50px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  flex: 1;
  border-right: 1px solid #d1d5db;
  /* vertical line */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 10px;
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 47px;
  height: 47px;
}

.stat-content {
  text-align: left;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #090e2f;
  line-height: 1.1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.3;
}

/* --- Testimonials --- */
.testimonials-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  flex: 0 0 calc((100% - 60px) / 3);
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.testimonial-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  margin: 0 auto 20px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 0.9rem;
  font-style: italic;
}


/* --- Footer --- */
.footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: inline-block;
  background: var(--white);
  padding: 0 30px 0 0;
  border-radius: 0 0 50px 0;
  margin-top: -60px;
  margin-bottom: 25px;
  box-shadow: 5px 12px 15px -5px rgba(0, 0, 0, 0.15);
}

.footer-contact p {
  color: #aae0e0;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

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

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: #aae0e0;
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #aae0e0;
}

/* --- Explicit Footer Consistency Overrides --- */
.footer,
.footer * {
  font-family: 'Inter', sans-serif;
}

.footer p,
.footer-text,
.footer a {
  font-size: 0.9rem;
  color: #aae0e0;
  text-decoration: none;
}

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

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

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

.footer-bottom,
.footer-bottom div,
.footer-bottom span {
  font-size: 0.85rem;
}

.footer-social i {
  font-size: 1.2rem;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: #aae0e0;
  font-size: 1.2rem;
}

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


/* --- Course Details Page --- */
.course-hero {
  background: url('../Assets/group816.png') center/cover no-repeat;
  color: var(--white);
  height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.course-hero p {
  color: #aae0e0;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.course-hero .rating {
  color: #fbbf24;
  margin-bottom: 0;
}

.course-hero .students {
  color: white;
  margin-left: 10px;
}

.course-details-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  padding: 60px 0;
}

.course-main h3 {
  color: var(--primary-dark);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.course-main h3:first-child {
  margin-top: 0;
}

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

.learn-list li {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.learn-list li span {
  font-weight: 600;
  color: var(--primary-dark);
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.accordion-header {
  background-color: var(--white);
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--bg-light);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background-color: var(--bg-light);
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 500px;
  /* arbitrary max height for transition */
}

.accordion-header::after {
  content: '+';
  font-size: 1.2rem;
}

.accordion-item.active .accordion-header::after {
  content: '-';
}


/* Form / Sidebar */
.sidebar-form {
  background-color: var(--bg-form);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
}

.sidebar-form h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.sidebar-form p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.form-group label span {
  color: var(--accent-color);
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 0.9rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* --- Coming Soon & Contact Pages --- */
.page-hero {
  background-image: url('../Assets/bgimg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: 100px 0;
}

.page-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-hero p {
  color: white;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.page-hero .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.page-hero .social-icons a {
  color: white;
  font-size: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: -50px auto 80px;
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.contact-info {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 50px;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info p {
  color: #aae0e0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-social {
  margin-top: 40px;
  display: flex;
  gap: 15px;
}

.contact-info-social a {
  color: white;
  font-size: 1.2rem;
}

.contact-form-area {
  padding: 50px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form-grid .full-width {
  grid-column: span 2;
}

.map-container {
  width: 70%;
  margin: 0 auto 80px auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* Icons (using generic text for now or simple shapes) */
.icon {
  font-style: normal;
}


/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-bg-shape {
    display: none;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .course-details-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-form {
    position: static;
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Add mobile menu later if needed */
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    flex-direction: column;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    width: 100%;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    margin-top: 0;
    border-radius: 0;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-grid .full-width {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}