/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
 
  font-family: 'Poppins', sans-serif;
  position: relative;
   
}


/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-right a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: all 0.3s ease;
}

.nav-right a:hover {
  color: #d9534f;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 50;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: #333;
  font-weight: 500;
  transition: background 0.3s;
}

.dropdown-content a:hover {
  background: #f5f5f5;
}

.nav-buttons {
  display: flex;
  gap: 10px;
}

.nav-buttons button {
  padding: 10px 18px;
  background-color: #d9534f;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-buttons button:hover {
  background-color: #c9302c;
}

 h1 {
      text-align: center;
      color: #333;
      margin-bottom: 40px;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 26px;
      justify-items: center;
    }

    .card {
      width: 324px;
      height: 226px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
      position: relative;
    }

    .card img {
      width: 80%;
      height: 80%;
      object-fit: contain;
      transition: transform 0.4s ease;
    }

    .card:hover {
      transform: scale(1.1);
    }

    /* Focused view container */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0,0,0,0.7);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 100;
    }

    .overlay.active {
      display: flex;
    }

    .popup-image {
      max-width: 90%;
      max-height: 90%;
      border-radius: 10px;
      box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
      animation: zoomIn 0.3s ease;
    }

    @keyframes zoomIn {
      from { transform: scale(0.5); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    /* Blur others */
    .card-grid.blurred .card {
      filter: blur(5px);
      pointer-events: none;
    }

    @media (max-width: 1024px) {
      .card-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media (max-width: 768px) {
      .card-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .card-grid {
        grid-template-columns: 1fr;
      }
    }



    /* Footer */
      .clean-footer {
        background: rgb(255, 255, 255);
        color: rgb(235, 10, 10);;
        font-family: 'Segoe UI', sans-serif;
        padding: 40px 20px;
      }
    
      .footer-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
      }
    
      .footer-section {
        flex: 1 1 250px;
      }
    
      .footer-logo img {
        width: 135px;
        margin-bottom: 5px;
        margin-left: 72px;
      }
    
      .footer-section h4 {
        color: rgb(235, 10, 10);
        font-size: 16px;
        margin-bottom: 10px;
        padding-bottom: 5px;
      }
    
      .footer-section a {
        display: block;
        color: rgb(235, 10, 10);
        font-size: 14px;
        text-decoration: none;
        margin-bottom: 6px;
        margin-right: 15px;
      }
    
      .footer-section a:hover {
        color: rgb(235, 10, 10);
      }
    
    .social-icons-horizontal {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-icons-horizontal img {
  width: 25px;
  height: 25px;
}

    
      .mini-form input,
      .mini-form textarea {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 8px;
        margin-bottom: 10px;
        background: rgb(235, 235, 235);
        color: rgb(235, 10, 10);
        font-size: 14px;
      }
    
      .mini-form button {
        width: 100%;
        padding: 10px;
        background: rgb(235, 10, 10);
        color: rgb(255, 255, 255);
        font-weight: bold;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
      }
    
      .mini-form button:hover {
        background-color: rgb(191, 61, 61);
        transform: translateY(-2px);
      }
    
      .footer-bottom-line {
        text-align: center;
        margin-top: 30px;
        font-size: 14px;
        color: rgb(235, 10, 10);
      }
    
      .footer-section iframe {
        width: 100%;
        height: 180px;
        border-radius: 6px;
      }
      .social-icons-horizontal a {
      display: inline-block;
      padding: 6px;
      border-radius: 50%;
      transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
    .social-icons-horizontal a:hover {
      transform: scale(1.2);
      
    }
    
    .social-icons-horizontal a img {
      width: 25px;
      height: 25px;
      display: block;
    }
    
    
      /* ✅ Responsive */
      @media (max-width: 768px) {
        .footer-content {
          flex-direction: column;
          align-items: center;
        }
    
        .footer-section {
          width: 100%;
          text-align: center;
        }
    
        .social-icons-horizontal {
          justify-content: center;
        }
    
        .footer-logo img {
          margin: 0 auto 15px;
        }
      }



.course-columns {
  display: flex;
    gap: 244px;
  flex-wrap: wrap;
}

.course-columns ul {
  list-style: none;
  padding-left: 0;
}

.course-columns li {
  margin-bottom: 6px;
}
.course-columns a {
  color: #ef0000; /* White text */
  text-decoration: none;
  transition: color 0.3s ease;
}
