body {
  font-family: Roboto, Arial, sans-serif;
}

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

.row {
  margin-left: 0px;
  margin-right: 0px;
}

.col-lg-12 {
  padding-left: 0px;
  padding-right: 0px;
}

#page {
  margin: 0;
  padding: 0;
}

.page-title-area {
  display: none;
  /* Hide the default page title */
}

.esg-page {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.esg-header {
  background: #fff;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

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

.esg-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.esg-nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.esg-nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.esg-nav-menu a:hover {
  color: #007bff;
}

.esg-login-btn {
  background: #28a745;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
}

/* Hero Section */
.esg-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23228B22" width="1200" height="400"/></svg>');
  background-size: cover;
  color: white;
  text-align: center;
}

.esg-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.esg-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Content Container */
.esg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

#tagline {
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 2rem;
}

/* Certificates Grid */
.esg-certificates-section {
  padding: 30px 0;
}

.esg-section-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #333;
}

.esg-certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.esg-certificate-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.esg-certificate-image {
  width: 100%;
  height: auto;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
}

.esg-certificate-content {
  padding: 20px;
  cursor: pointer;
}
.esg-certificate-content-1 {
  padding: 20px;
}
.esg-certificate-code {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 0px;
}

.esg-certificate-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0px;
  color: #333;
}

.course-overview p
{
  line-height: 1.6rem !important;
}

.course-overview ul {
  margin-left: 20px !important;
}

.esg-course-info {
  background: #f8f9fa;
  padding: 5px;
  border-radius: 5px;
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.1rem;
}

.esg-course-title {
  color: #333;
  margin-bottom: 0px;
}

.esg-pricing {
  display: flex;
  align-items: center;
  gap: 10px;
}

.esg-original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1.1rem;
}

.esg-discounted-price {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.1rem;
}

.esg-discount-badge {
  background: #333;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.6rem;
}

/* Individual Courses Section - Enhanced Mobile Responsive */
.esg-courses-section {
  padding: 30px 0;
  background: #f8f9fa;
}

/* Course Category Styling */
.esg-course-category {
  margin-bottom: 20px;
}

.esg-course-category-title {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 2px solid #007bff;
  margin-bottom: 15px;
}

/* Desktop Table Container */
.esg-courses-table-container {
  margin-bottom: 30px;
}

.esg-courses-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.esg-courses-table th,
.esg-courses-table td {
  padding: 15px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.esg-courses-table th {
  background: #d7d9da;
  color: black;
  font-weight: bold;
}

.esg-courses-table tr:hover {
  background: #f8f9fa;
}

.esg-course-number {
  color: #666;
  font-size: 0.9rem;
}

.course_title {
  width: 60%;
}

/* Mobile Card Layout */
.esg-courses-cards {
  display: none;
  /* Hidden by default, shown on mobile */
}

.esg-course-card {
  background: white;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.esg-course-card:hover {
  transform: translateY(-2px);
}

.esg-course-card-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 20px 10px 20px;
  border-bottom: 1px solid #eee;
}

.esg-course-card-header .esg-course-number {
  font-weight: bold;
  color: #007bff;
  font-size: 1rem;
  min-width: 25px;
}

.esg-course-info {
  flex: 1;
}

.esg-course-card .esg-course-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 5px;
  line-height: 1.3;
}

.esg-course-card .esg-course-title a {
  color: #333;
  text-decoration: none;
}

.esg-course-card .esg-course-title a:hover {
  color: #007bff;
}

.esg-course-code {
  color: #666;
  font-size: 0.9rem;
}

.esg-course-pricing {
  padding: 15px 20px 20px 20px;
}

.esg-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.esg-price-row:last-child {
  margin-bottom: 0;
}

.esg-price-label {
  font-weight: 500;
  color: #555;
  font-size: 0.95rem;
}

.esg-regular-price {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
}

.esg-discounted-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.esg-discounted-price {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.1rem;
}

.esg-discount-badge {
  background: #333;
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Responsive Controls */
.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

/* Mobile Responsive Media Queries */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .esg-course-category-title {
    font-size: 1.3rem;
    text-align: center;
    padding: 10px 0;
  }

  .esg-courses-cards {
    display: block;
  }

  .esg-course-card-header {
    padding: 15px 15px 8px 15px;
  }

  .esg-course-pricing {
    padding: 10px 15px 15px 15px;
  }

  .esg-price-row {
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .esg-container {
    padding: 0 15px;
  }

  .esg-course-card {
    margin: 0 5px 15px 5px;
  }

  .esg-course-card-header {
    padding: 12px;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }

  .esg-course-card-header .esg-course-number {
    align-self: flex-start;
  }

  .esg-course-info {
    width: 100%;
  }

  .esg-course-pricing {
    padding: 10px 12px 12px 12px;
  }

  .esg-price-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 12px;
  }

  .esg-discounted-pricing {
    align-self: flex-end;
  }
}

/* FAQ Section */
.esg-faq-section {
  padding: 60px 0;
  background: #8E9EB2;
  color: white;
}

/* New: FAQ Grid Container */
.esg-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.esg-faq-column {
  display: flex;
  flex-direction: column;
}

.esg-faq-item {
  margin-bottom: 10px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.esg-faq-question {
  background: white;
  color: black;
  border: none;
  padding: 15px;
  width: 100%;
  height: 75px;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease;

  /* Add flexbox to center content vertically */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1.3rem;
}

.esg-faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.esg-faq-question::after {
  content: '\25BC'; /* Down arrow */
  /* float: right; */
  font-size: 1.2rem;
  transition: transform 0.3s ease;

  /* Remove float: right since we're using flexbox */
  margin-left: auto;
  padding-left: 5px;
}

.esg-faq-question.active {
  padding-bottom: 0px;
}

.esg-faq-question.active::after {
  transform: rotate(180deg);
}

.esg-faq-answer {
  padding: 0 20px;
  transition: all 0.3s ease;
  display: none;
  line-height: 1.5rem;}

.esg-faq-answer p{
  line-height: 1.5rem;
}

.esg-faq-answer ol, .esg-faq-answer ul {
  padding-left: 30px;
}

.esg-faq-answer.active {
  padding: 20px;
  display: block;
  padding-top: 0px;
}

/* Mobile Responsive for FAQ Grid */
@media (max-width: 768px) {
  .esg-faq-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.course_title
{
  width: 60%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .esg-nav-menu {
    display: none;
  }

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

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

  .esg-certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .esg-courses-table {
    font-size: 0.9rem;
  }

  .esg-courses-table th,
  .esg-courses-table td {
    padding: 10px 8px;
  }

  .esg-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .esg-container {
    padding: 0 15px;
  }

  .esg-certificate-card {
    margin: 0 10px;
  }

  .esg-courses-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
