.hero-heading {
  
  text-align: center;
  color: #222;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.3s;
  text-align: left;
}

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

.fade-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.6s ease-out forwards;
  animation-delay: 0.5s;
  font-size: 1.1rem;
  color: #333;
}

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


.modern-faq {
    padding: 60px 5%;
    background: #f9f9f9;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .faq-header h6 {
    text-transform: uppercase;
    color: #00c9a7;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .faq-header h2 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .faq-header h2 span {
    color: #00bfa5;
  }
  
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  
  .faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  
  .faq-question {
    width: 100%;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: none;
    text-align: left;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .faq-question i {
    transition: transform 0.3s ease;
  }
  
  .faq-item.active .faq-question i {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .faq-answer-inner {
    padding: 15px 20px 20px;
    background: #fcfcfc;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .faq-item.active .faq-answer {
    max-height: 300px;
  }
  
  .faq-item.active .faq-answer-inner {
    opacity: 1;
  }
  
  .faq-answer-inner p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
  }

  .course-showcase {
    padding: 80px 20px;
    align-items: center;
    text-align: center;
    width: 50%;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-heading {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 50px;
  }

  .section-heading span {
    background: linear-gradient(90deg, #3b82f6, #2dd4bf, #a855f7, #3b82f6);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientShine 8s ease infinite;
    position: relative;
    font-weight: 700;
  }

  .course-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 40px;
    overflow-x: inherit;
  }

  .course-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    flex: 1;
    min-width: 33%;
    max-width: 33%;
    transition: transform 0.3s ease;
  }

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

  .card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .card-content {
    padding: 20px;
    text-align: center;
  }

  .card-content h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
  }

  .card-content p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
  }

  .toggle-btn {
    background: #11a125;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .toggle-btn:hover {
    background: #393d3d;
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
  }

  .modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.3s ease;
  }

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

  .modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
    text-align: center;
  }

  .modal-table {
    width: 100%;
    border-collapse: collapse;
  }

  .modal-table tr {
    border-bottom: 1px solid #eee;
  }

  .modal-table td {
    padding: 12px 10px;
    vertical-align: top;
  }

  .modal-table td:first-child {
    font-weight: 600;
    color: #555;
    width: 35%;
  }

  .modal-table td:last-child {
    color: #333;
  }

  .close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.6rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .close-btn:hover {
    color: #333;
  }

  @media (max-width: 768px) {
    .course-showcase {
      padding: 50px 16px;
    }
  
    .section-heading {
      font-size: 1.8rem;
      line-height: 1.3;
    }
  
    .course-grid {
      gap: 16px;
      padding-left: 0;
    }
  
    .course-card {
      flex: 0 0 85%; /* fills most of screen on mobile */
      margin: 0 auto;
    }
  
    .card-image img {
      height: 140px;
    }
  
    .card-content h3 {
      font-size: 1rem;
    }
  
    .card-content p {
      font-size: 0.88rem;
    }
  
    .toggle-btn {
      font-size: 0.85rem;
      padding: 8px 16px;
    }
  
    .modal-content {
      padding: 20px;
      width: 90%;
    }
  
    .modal-content h3 {
      font-size: 1.1rem;
    }
  
    .modal-content ul li {
      font-size: 0.88rem;
    }
  }

  @media (max-width: 1024px) {
    .course-grid {
      flex-wrap: wrap;
    }

    .course-card {
      min-width: 100%;
      max-width: 100%;
    }

    .modal-content {
      padding: 25px;
    }

    .modal-content h3 {
      font-size: 1.4rem;
    }
  }
  .about-section {
    padding: 60px 5%;
    background: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    }
    
    .about-container {
    max-width: 1200px;
    margin: auto;
    }
    
    .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
    }
    
    .text-block {
    flex: 1 1 55%;
    }
    
    .image-block {
    flex: 1 1 40%;
    text-align: right;
    }
    
    .image-block img {
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
    }
    
    .image-block img:hover {
    transform: scale(1.03);
    }
    
    .subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    }
    
    .main-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.2s forwards;
    }
    
    .highlight {
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6, #2dd4bf, #a855f7, #3b82f6);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: gradientShine 8s ease infinite;
    position: relative;
    }
    
    @keyframes gradientShine {
        0% {
            background-position: 0% 50%;
            text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
        }
        50% {
            background-position: 100% 50%;
            text-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
        }
        100% {
            background-position: 0% 50%;
            text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
        }
    }
    
    .description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.4s forwards;
    }
    
    .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
    }
    
    .features-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #333;
    }
    
    .features-list li i {
    color: #3ac569;
    margin-right: 10px;
    font-size: 1rem;
    }
    
    .btn-learn-more {
    display: inline-block;
    padding: 12px 24px;
    background:#cbae06;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.8s forwards;
    }
    
    .btn-learn-more:hover {
    background: #e54b4b;
    }
    
    /* Stats section */
    .stats-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    }
    
    .stat-box {
    background: #f9f9f9;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    }
    
    .stat-box:hover {
    transform: translateY(-5px);
    }
    
    .stat-box h3 {
    font-size: 1.5rem;
    color: #ff5e57;
    margin-bottom: 5px;
    }
    
    .stat-box p {
    font-size: 0.9rem;
    color: #666;
    }
    
    /* Animations */
    @keyframes fadeIn {
    to {
      opacity: 1;
      transform: none;
    }
    }
    
    .fadeIn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
    }

    footer {
      background: linear-gradient(360deg, #0c151c, #348a6e);
      color: #fff;
      padding: 60px 20px;
    }
    .footer-columns {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 30px;
      align-items: flex-start;
    }
    .footer-column {
      flex: 1 1 200px;
    }
    .footer-column h4 {
      color: #ffc107;
      margin-bottom: 15px;
      min-height: 20px;
    }
    .footer-column ul {
      list-style: none;
      margin-left: -0px;
    }
    .footer-column ul li {
      margin-bottom: 10px;
    }
    .footer-column ul li a {
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }
    .footer-column ul li a:hover {
      color: #ffc107;
    }
    .social-icons {
      display: flex;
      gap: 15px;
      margin-top: 20px;
    }
    .social-icons a {
      display: inline-block;
      width: 35px;
      height: 35px;
      border: 1px solid #ffc107;
      border-radius: 50%;
      text-align: center;
      line-height: 35px;
      color: #ffc107;
      text-decoration: none;
      font-size: 16px;
    }
    .footer-contact p {
      margin: 10px 0;
      color: #f1eeaf;
    }
    .footer-bottom {
      text-align: center;
      margin-top: 40px;
      font-size: 14px;
      color: #bbb;
    }