/* Base styles that apply to all screen sizes */
:root {
    --gold: #ffd700;
    --bronze: #cd7f32;
    --card-bg: rgba(17, 17, 17, 0.6);
    --darker: #111;
  }
    .module-content{
      display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
    }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hoursofcontent {
    padding: 30px 0;
    text-align: center;
  }
  
  h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--gold), var(--bronze));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }
  
  .stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
  }
  
  .stat-card {
    text-align: center;
    flex: 1;
    min-width: 100px;
  }
  
  .stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.7);
  }
  
  .module-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(30px);
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    
    /* Animation properties */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floatIn 0.8s ease-out forwards;
    position: relative;
  }
  
  /* Hover effects */
  .module-card:hover {
    transform: translateY(10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  /* Float-in animation */
  @keyframes floatIn {
    0% {
      opacity: 0;
      transform: translateY(50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Add this class to stagger the animations when multiple cards are present */
  .module-card:nth-child(1) { animation-delay: 0.1s; }
  .module-card:nth-child(2) { animation-delay: 0.2s; }
  .module-card:nth-child(3) { animation-delay: 0.3s; }
  .module-card:nth-child(4) { animation-delay: 0.4s; }
  .module-card:nth-child(5) { animation-delay: 0.5s; }
  .module-card:nth-child(6) { animation-delay: 0.6s; }
  
  .module-content {
    padding: 1.5rem;
  }
  
  .module-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  
  .module-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
  }
  
  .module-meta-icon {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
  }
  
  .module-title {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 15px;
  }
  
  .module-description {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: clamp(0.9rem, 2vw, 1rem);
  }
  
  .module-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #333;
    border-radius: 10px;
  }
  
  .dighlight {
    color: var(--bronze);
    font-weight: 600;
  }
  
  .module-number {
    background: linear-gradient(135deg, var(--gold), var(--bronze));
    color: var(--darker);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
  }
  
  .module-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .module-text {
    flex: 2;
    min-width: 250px;
  }
  
  .module-img-container {
    flex: 1;
    min-width: 200px;
  }
  
  /* Responsive Styles */
  
  /* Small mobile devices (up to 480px) */
  @media (max-width: 480px) {
    .stats-container {
      flex-direction: column;
      gap: 15px;
      padding: 15px;
    }
    
    .module-content {
      padding: 1rem;
    }
    
    .module-image {
      height: 180px;
    }
    
    .module-flex {
      flex-direction: column;
    }
    
    .module-text {
      padding-right: 0;
    }
    
    .module-img-container {
      min-width: 100%;
    }
  }
  
  /* Medium mobile devices and small tablets (480px - 767px) */
  @media (min-width: 481px) and (max-width: 767px) {
    .stats-container {
      flex-wrap: wrap;
      gap: 15px;
    }
    
    .stat-card {
      min-width: 120px;
    }
    
    .module-flex {
      flex-direction: column;
    }
    
    .module-text {
      padding-right: 0;
    }
    
    .module-img-container {
      min-width: 100%;
    }
  }
  
  /* Tablets and small laptops (768px - 1023px) */
  @media (min-width: 768px) and (max-width: 1023px) {
  
    .module-flex {
      gap: 15px;
    }
    
    .module-text {
      padding-right: 10px;
    }
  }
  
  /* Large screens (1024px and above) */
  @media (min-width: 1024px) {
    .container {
      padding: 0 20px;
    }
    
    .hoursofcontent {
      padding: 40px 0;
    }
    
    .stats-container {
      gap: 30px;
      padding: 20px;
    }
    
    .module-content {
      padding: 2rem;
    }
  }
  
  /* Extra large screens (1440px and above) */
  @media (min-width: 1440px) {
    .container {
      max-width: 1400px;
    }
  }
  
  /* Add animations for when elements come into view */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .module-card.visible {
    animation: fadeInUp 0.6s ease forwards;
  }

  .module-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  
  .module-img {
    object-fit: cover;
  }
    