/* General Reset 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}*/

.logo {
    display: flex;
    align-items: center; /* Vertically center-align the items */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline from the link */
    color: inherit; /* Keep the text color as it is */
}

.logo-image {
    width: 30px; /* Adjust the size of the logo */
    height: auto;
    margin-right: 10px; /* Space between the logo and text */
}


/* Body Style */
body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: #333;
        }

/* Navbar logo*/

.logo a {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
}

/* CSS for the active menu item */
.navbar .menu-item.active {
    font-weight: bold;
    /*color: #007bff; Active color */
}

/* Hero Section */
    .bg-image {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)),
                url('https://computicslab.in/assets/images/dc_with_bgc.png'); /* Add gradient overlay */
        background-size: cover; /* Make the image cover the entire container */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Prevent image repetition */
        height: 450px; /* Set the desired height */
        width: 100%; /* Full width */
    }
        
    
/* Contact form */
.contact-form {
            background: #ffffff;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin: 30px auto;
            max-width: 600px;
        }
        .contact-form .form-control {
            border-radius: 5px;
        }
        .contact-form button {
            background-color: #007bff;
            border: none;
            color: #fff;
            border-radius: 5px;
            padding: 10px 20px;
        }
        .contact-form button:hover {
            background-color: #0056b3;
        }


 .popular-course {
            background-color: #f9f9f9;
            padding: 50px 0;
        }
        .popular-course .title-small {
            color: #007bff;
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase;
        }
        .popular-course .title-large {
            font-size: 36px;
            font-weight: 700;
            color: #333;
            margin: 10px 0;
        }
        .popular-course .description {
            color: #6c757d;
            font-size: 16px;
            line-height: 1.6;
            max-width: 600px;
        }
        .popular-course h2 {
            font-size: 2rem;
        }
    
        .popular-course img {
            max-height: 300px;
            object-fit: cover;
        }
    
        .popular-course .text-muted {
            font-size: 1rem;
            line-height: 1.6;
        }
    
        .popular-course .mt-3 img {
            vertical-align: middle;
        }
 
        
.zoom-image {
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoom-image:hover {
    transform: scale(1.1);
}

/* Ensures the modal image stretches appropriately */
.modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Ensures the image fits the container without cropping */
}



/* Custom Styling for Cards on Course Page */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
}

/* Styling table header */
.table th {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    text-align: center; /* Center text */
    padding: 10px 15px; /* Add padding for better spacing */
    vertical-align: middle; /* Ensure alignment of text vertically */
}

/* Styling table cells */
.table td {
    text-align: left; /* Align content to the left in cells */
    padding: 10px 15px; /* Add padding for better spacing */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .card {
        width: 100%;
        margin-bottom: 20px;
    }
}
