/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(230, 202, 206);;
    color: #333;
}

/* Navbar */
.navbar {
    padding: 1rem;
}
.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}
.navbar-brand span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f8f9fa;
}
.navbar-nav .nav-link {
    font-size: 1.1rem;
    margin: 0 10px;
    transition: color 0.3s;
}
.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}

/* Hero Section */
.hero {
    padding: 10px 0;
    text-align: center;
    color: white;
    background-color: rgb(230, 202, 206);
}
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
}
.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Features Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}
.features-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 50px;
}
.features-container div {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Image Slider */
.carousel-item img {
    border-radius: 10px;
    max-height: 500px;
    object-fit: cover;
}

/* Course Cards */
.card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    border-radius: 10px;
    margin: 10px;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.card-body {
    text-align: center;
}
.card-title {
    font-weight: bold;
}
.btn-primary {
    background-color: #007bff;
    border: none;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #0056b3;
}

/* About Section */
.bg-light {
    padding: 50px 0;
    text-align: center;
}

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 20px 0;
}
.footer p {
    margin: 5px 0;
}
.hero img {
    display: block;
    margin: auto;
    max-width: 80%; /* Adjust size as needed */
    height: auto;
}
.container .row .col-md-6 {
    border: 2px solid white; /* White border */
    padding: 20px; /* Add some space inside */
    border-radius: 10px; /* Smooth rounded corners */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.853); /* Optional subtle glow */
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    text-align: left;
}


@media (max-width: 576px) {
    .hero img {
        max-width: 80%; /* Reduce size for extra small screens */
    }
    .container .row .col-md-6 {
        margin-bottom: 15px; /* Add space between sections on smaller screens */
    }
}