/* General Body Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
  }
  
  /* Navbar Styling */
  .navbar {
    background-color: #180669;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: white;
  }
  
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    color: white;
    margin-right: 20px;
    transition: color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: #93ff3b;
  }
  
  .navbar-toggler {
    border-color: white;
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, #16813a, #140b66);
    color: white;
    padding: 100px 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
  
  .hero .btn {
    background-color: #ffeb3b;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .hero .btn:hover {
    background-color: #ff9800;
  }
  
  /* Section Headings */
  h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
  }
  
  /* Card Section (AP & AS Courses) */
  .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
  }
  
  /* Assigning Colors to Cards and Card Body */
  .card.ap-math {
    background-color: #6a5acd;
    color: white;
  }
  
  .card.ap-science {
    background-color: #ff6347;
    color: white;
  }
  
  .card.as-english {
    background-color: #3b9a6f;
    color: white;
  }
  
  .card.as-history {
    background-color: #ff9800;
    color: white;
  }
  
  /* Colorful Text Backgrounds for Cards */
  .card.ap-math .card-body {
    background-color: #6a5acd;
    color: rgb(19, 7, 88);
  }
  
  .card.ap-science .card-body {
    background-color: #ff6347;
    color: white;
  }
  
  .card.as-english .card-body {
    background-color: #3b9a6f;
    color: white;
  }
  
  .card.as-history .card-body {
    background-color: #ff9800;
    color: white;
  }
  
  .card-body {
    padding: 25px;
    text-align: center;
  }
  
  .card-body h5 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .card-body p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Benefits Section */
  #benefits {
    background-color: #e8f0f2;
    padding: 60px 0;
  }
  
  #benefits .list-group-item {
    font-size: 1.2rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  #benefits .list-group-item:hover {
    background-color: #ff6347;
    color: white;
    transform: translateX(5px);
  }
  
  /* Contact Section */
  #contact {
    background-color: #333;
    color: white;
    padding: 60px 0;
  }
  
  #contact .btn {
    background-color: #ff6347;
    color: white;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  #contact .btn:hover {
    background-color: #ff9a8b;
  }
  
  /* Footer */
  footer {
    background-color: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  
  footer p {
    margin: 0;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.8rem;
    }
  
    .hero p {
      font-size: 1.2rem;
    }
  
    .card-body h5 {
      font-size: 1.3rem;
    }
  
    .card-body p {
      font-size: 0.9rem;
    }
  }
  

  /* Custom Styling for Home Button */
.nav-link.btn {
    border-radius: 10px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
  }
  
  .nav-link.btn:hover {
    background-color: #2f8017;
  }
  