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





/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
  }
  
  /* Individual Course Card */
  .course-card {
    background: rgba(255, 255, 255, 0.2); /* Slightly transparent background */
    border-radius: 20px;
    backdrop-filter: blur(12px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(12px); /* For Safari */
    box-shadow: 0 4px 10px rgb(0 0 0 / 85%);
    overflow: hidden;
    width: 100%;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
  }
  
  .course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }
  
  /* Course Image */
  .course-card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }
  
  /* Course Body */
  .course-card-body {
    padding: 30px;
    color: white;
    text-align: center;
  }
  
  /* Course Title */
  .course-card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000000;
  }
  
  /* Course Description */
  .course-card-text {
    font-size: 1rem;
    color: rgba(106, 102, 102, 0.7);
    margin-bottom: 40px;
  }

  .card-container a{
    text-decoration: none;
    color: #fff;
  }
  
  /* Button */
  .course-btn {
    background: linear-gradient(45deg, #3498db, #2ecc71);    
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .course-btn:hover {
    background-color: #0056b3;
  }
  













@media (max-width: 350px){
    .card-container {
        height: auto;
        grid-template-columns: repeat(1, 1fr);
    }
    .card {
        width: 280px;
        height: 300px;
    }
}

@media (min-width: 350px) and (max-width: 600px){
    .card-container {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .card {
        width: 280px;
        height: 300px;
    }
}








h3:hover{
    transform: scale(1.1);
    text-decoration: underline;
}

.theme-dark .btn-primary{
    background: #4caf50;
    color:#fff;
  }
  .theme-dark .btn-primary:hover{
    background: #ffc107;
    color:white;
  }
  .btn-primary:hover{
  background: #fbe3e8 ;
  color:black;

  }
  .theme-dark  #scrollToTopBtn{
      background-color:  #ffc107;
        }
  .theme-dark #scrollToTopBtn:hover{
      background-color: #4caf50 ;
  }
/* Dark Theme Styles */
.dark-theme {
    background-color: #222;
    color: #eee;
}

.dark-theme .card {
    background-color: #000000;
    box-shadow: -1px 0px 5px 3px #ccccccdb;
}
/* .dark-theme .card h3,
.dark-theme .card h2 {
    color: #ffffff00;
} */

.dark-theme .search-bar input {
    background-color: #555;
    color: #eee;
}

.dark-theme .search-bar button {
    background-color: #666;
    color: #eee;
}

.dark-theme .navbar a {
    color: #eee;
}

.dark-theme .cta-button,
.dark-theme .Authenticate button {
    background-color: #555;
    color: #eee;
}

.dark-theme .footer {
    background-color: #222;
    color: #ddd;
}

.dark-theme .footer .icons a {
    color: #ddd;
}

.dark-theme .chatbot-toggler {
    background-color: #555;
    color: #eee;
}

.dark-theme .chatbot {
    background-color: #444;
    color: #eee;
}

.dark-theme .chatbox .chat.incoming {
    background-color: #555;
}
.theme-toggle {
    border-radius: 50%;
    color: black;
    background-color: yellow;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-dark .card-container {
    background: rgba(33 33 33 /1);
}
