:root {
    --primary-color: #b3001b; /* Red */
    --secondary-color: #001f3f; /* Navy */
    --light-color: #f8f9fa;
}
html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef, #dee2e6); /* Light fluid gradient */
    background-size: 400% 400%; /* Smooth gradient animation */
    animation: gradientAnimation 15s ease infinite; /* Animate the gradient */
    color: #333;
}

/* Keyframes for gradient animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-section {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    background-color: var(--light-color);
    border: 1px solid #ddd;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    top: 0;
    height: 100%;
}


.service-card:hover {
    transform: translateY(-10px);
}

.about {
    background-color: var(--secondary-color);
    padding: 60px 20px;
}

.contact {
    background-color: #fefefe;
    padding: 40px 20px;
}

.footer {
    background-color: black; /* Navy background */
    color: var(--light-color);
    padding: 40px 20px;
}

.footer a {
    color: var(--light-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--primary-color); /* Red on hover */
}

.footer img {
    max-width: 150px;
    margin-bottom: 15px;
}

.navbar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
}

.navbar-brand img {
    margin-right: 10px;
}

.navbar-nav .nav-link {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #fff; /* Brighter white for hover effect */
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #a30017; /* Slightly darker shade */
    border-color: #a30017;
    transform: scale(1.05);
}

.hero-image-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: calc(100vh - 70px); /* Adjust height to exclude navbar */
    display: flex;
    align-items: center;
    color: var(--light-color);
    padding: 0 20px;
    padding-top: 40px; /* No overlap with navbar */
}

.hero-image-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.hero-image-section p {
    font-size: 1.25rem;
    margin-top: 15px;
    margin-bottom: 30px;
}

.hero-image-section form .form-control {
    border-radius: 5px;
}

.hero-image-section form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    margin-bottom: 20px;
}


.hero-image-section form .btn-primary:hover {
    background-color: #a30017;
    border-color: #a30017;
}

.hero-logo {
    max-width: 250px; /* Adjust the size of the logo */
    margin-bottom: 20px; /* Add spacing below the logo */
}

.form-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.form-container .form-label {
    font-weight: bold;
    color: #333;
}

.form-container .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-container .btn-primary:hover {
    background-color: #a30017;
    border-color: #a30017;
}

.cta-buttons .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: var(--light-color);
    margin-bottom: 10px;
}

.cta-buttons .btn-primary:hover {
    background-color: #fff;
    color: var(--secondary-color);
}

.cta-buttons .btn-outline-light {
    color: var(--light-color);
    border-color: var(--light-color);
    margin-bottom: 10px;
}

.cta-buttons .btn-outline-light:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: 0;
}

.features {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    backdrop-filter: blur(10px);
    padding: 60px 20px;
}

/* Ensure all feature cards have the same height */
.features .row {
    display: flex;
    flex-wrap: wrap;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure the card takes up the full height */
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h5 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Styling for the colleges section */
.colleges {
    background: var(--light-color);
    color: var(--light-color);
    padding: 80px 20px;
}

.colleges .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}
.college-card img {
  width: 100%;
  height: 300px;           /* Set a fixed height */
  object-fit:cover;       /* Crop to fit, maintain aspect ratio */
  border-radius: 8px;
  
}

/* Styling for the college cards */
.college-card {
    background:var(--secondary-color);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    margin: 10px;
    transition: transform 0.3s;
  }
  .college-card img {
    width: 100%;
    border-radius: 8px;
  }
  .college-card h5 {
    margin-top: 10px;
    font-weight: bold;
  }
  

.pricing {
    padding: 50px 10px;
    background:  var(--primary-color);
    color: var(--light-color);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.pricing-card h5 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--light-color);
}

.pricing-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.pricing-card .btn {
    border-radius: 50px;
    font-size: 1rem;
    padding: 10px 20px;
}

.pricing-card .btn-outline-success {
    color: #28a745;
    background-color: var(--light-color);
    border-color: #28a745;
}

.pricing-card .btn-outline-success:hover {
    background-color: #28a745;
    color: #fff;
}

.testimonials {
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 80px 20px;
}

.testimonials .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--light-color);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 10px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--light-color);
}

.testimonial-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--light-color);
}

.top-header {
    color: var(--light-color);
    font-size: 0.9rem;
}

.top-header a {
    color: var(--dark-color);
    text-decoration: none;
    
}

.top-header a:hover {
    text-decoration: underline;
   
}
.header-logo{
    margin: 10px;
}

/* WhatsApp Chat Button */
.whatsapp-chat-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-chat-button img {
    width: 35px;
    height: 35px;
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
it
/* Header Logo */
.header-logo {
    max-width: 150px;
    height: auto;
}

/* FAQ Section */
.faq {
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.faq .section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Styling for smaller screens */
@media (max-width: 768px) {
    #slider-part .single-slider {
        background-position: calc(70% - 100px) center;
        background-size:auto;
        ; /* Align background image to the right */
    }
}
.accordion-button {
    background-color: var(--light-color);
    color: var(--dark-color);
    font-weight: bold;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
}
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 20px; /* Add vertical spacing between cards */
    }
}
.accordion-button:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-body {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .hero-image-section {
        flex-direction: column;
        text-align: center;
        padding-bottom: 40px;
        height: 100%;
    }
    .form-container {
        margin-top: 20px;
    }
}
.form-label {
    display: none; /* Hides the labels */
}
/* Adjustments for mobile screens */
@media (max-width: 768px) {
    /* General body adjustments */
    body {
        font-size: 14px; /* Reduce base font size */
    }

    /* Hero Section */
    .hero-image-section {
        flex-direction: column; /* Stack content vertically */
        text-align: center; /* Center-align text */
        padding: 20px; /* Reduce padding */
        height: auto; /* Allow height to adjust dynamically */
    }

    .hero-image-section h1 {
        font-size: 2rem; /* Reduce heading size */
        line-height: 1.3;
    }

    .hero-image-section p {
        font-size: 1rem; /* Reduce paragraph size */
        margin-bottom: 20px;
    }

}
