/* Courses Section */
.courses {
    padding: 20px;
    background-color: #fff;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.courses h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.course-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.course {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.course:hover {
    transform: scale(1.05);
}

.course i {
    font-size: 40px;
    color: #ef7602;
    margin-bottom: 10px;
}

.course h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.course p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.course button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #073e5c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.course button:hover {
    background-color: #0056b3;
}

/* Batches Section */
.batches {
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

.batches h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.batch-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.batch {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.batch:hover {
    transform: scale(1.05);
}

.batch i {
    font-size: 40px;
    color: #ef7602;
    margin-bottom: 10px;
}

.batch h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.batch p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.batch button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #073e5c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.batch button:hover {
    background-color: #0056b3;
}

/* Call Button Styles */
button[onclick*="tel:"] {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #28a745;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px 0;
}

button[onclick*="tel:"]:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

button[onclick*="tel:"]:active {
    transform: translateY(0);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course, .batch {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .course, .batch {
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .course-list, .batch-list {
        flex-direction: column;
        align-items: center;
    }
    
    .courses h2, .batches h2 {
        font-size: 1.8rem;
    }
    
    .course h3, .batch h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .courses, .batches {
        padding: 15px;
    }
    
    .courses h2, .batches h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .course, .batch {
        padding: 15px;
    }
    
    button[onclick*="tel:"],
    .course button, 
    .batch button {
        width: 100%;
        padding: 12px 20px;
    }
}