/* MODULE SECTION */
.modules {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(to right, #f8f9fa, #eef2f7);
}

.section-title {
    font-size: 36px;
    margin-bottom: 50px;
    color: #243b55;
}

.module-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}
.module-card h3 {
    margin-bottom: 10px;
}
.module-card {
    background: #ffffff;
    width: 320px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;;
}

.module-card:hover {
    transform: translateY(-12px);
box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.module-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.module-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.module-buttons {
    display: flex;
    justify-content: space-between;
  
}

.btn {
    padding: 15px 15px; 
	font-weight: 300;
    text-decoration: none;
    font-size: 19px;
    border-radius: 10px;
    transition: 0.3s;
	
}

 .learn-btn {
    background: #4e73df;
    color: white;
}

.learn-btn:hover {
    background: #2e59d9;
}

.order-btn {
    background: #ff6a00;
    color: white;
}

.order-btn:hover {
    background: #ff8c1a;
}

/* Responsive */
@media (max-width: 768px) {
    .module-container {
        flex-direction: column;
        align-items: center;
    }
}