* {
    margin: 0px;
    padding: 0px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(135deg, #3b63b6, #7aa1e2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin: 0 12px;
    display: flex;
    align-items: center;
}

nav ul li a {
    padding: 8px 14px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 6px;
    font-size: 1.2rem;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.call-to-action {
    background-color: white;
    color: #3b63b6;
    font-weight: bold;
    padding: 8px 18px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.call-to-action:hover {
    background-color: #3b63b6;
    color: white;
}


main {
    padding-top: 25px;
}

.banner {
  background: #111827;
  color: white;
  text-align: center;
  padding: 100px 20px; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

.banner-content {
  max-width: 800px;
}

.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f3f4f6;
}

.banner-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: bold;
  color: black;
  background-color: white;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-btn:hover {
  background-color:#34d399;
  color: white;
}

.container h3 {
    display: block;
    margin: 0px 140px 40px;
    font-size: 1.8rem;
    color: #3b63b6;
}

.courses {
  padding: 50px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #1a3e8b;
  margin-bottom: 30px;
}

.course-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-content: center;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 250px; /* biar tingginya seragam */
  transition: transform 0.2s ease;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.course-card h3 {
  font-size: 1.4rem;
  margin: 10px 0;
  color: #333;
}

.course-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.course-card .level {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 15px;
}

.course-card .btn {
  display: inline-block;
  padding: 8px 16px;
  border: 2px solid #1a3e8b;
  border-radius: 30px;
  text-decoration: none;
  color: #1a3e8b;
  font-weight: bold;
  transition: all 0.3s ease;
}

.course-card .btn:hover {
  background: #1a3e8b;
  color: #fff;
}

footer {
  background: linear-gradient(135deg, #3b63b6, #7aa1e2); 
  color: #d1d5db;      
  padding: 40px 24px;
  margin-top: 80px;  
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1280px;   
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-brand h2 {
    font-size: 1.5rem;   
    font-weight: bold;
    color: white;      
}

.footer-brand p {
    margin-top: 12px;    
    font-size: 0.9rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.footer-section ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px; 
    padding-right: 30px;
}

.footer-section a {
    text-decoration: none;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #464b53;
}

.footer-bottom {
    border-top: 1px solid #374151; 
    margin-top: 32px; 
    padding-top: 16px; 
    text-align: center;
    font-size: 0.75rem;
}
