
@import url(./Nav.css);
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;

    
}
/* slider of images */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}


.slide {
    position: relative;
    width: 100%;
    height: 80vh; /* Full viewport height */
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 1s ease-in-out;
    height: 100%;
    width: 100%;
}

.slide-image {
    min-width: 100%;
    min-height: 100%;
    /* object-fit: contain; */
    background-image: contain;
     /* Ensure the entire image is visible */
    transition: opacity 1s ease-in-out;
    background-color: #4b9aee;
    background-color: #1dad9b;
    background: #8ef6e4; 
    background: #f5e1da; 

}

/* Add responsive design for smaller devices */
@media (max-width: 768px) {
    .slide {
        height: 60vh; /* Increased height for tablets */
    }
    .slide-image {
        height: 60vh; /* Adjust image height for tablets */
    }
}

@media (max-width: 480px) {
    .slide {
        height: 55vh; /* Increased height for mobile devices */
    }
    .slide-image {
        height: 55vh; /* Adjust image height for mobile devices */
    }
}




/* about institute */

/* Global Styles */

/* General Styling for Courses Offered Section */
.about-courses_offered {
    padding: 50px 20px; /* Increased padding for better spacing */
    background-color: #e9ecef; /* Slightly darker background for better contrast */
    color: #333; /* Text color */
    font-family: 'Arial', sans-serif;
}

/* Container Styling */
.about-courses_offered .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center; /* Center text and list items */
}

/* Heading Styling */
.about-courses_offered h2 {
    font-size: 30px; /* Increased font size */
    color: #2c3e50; /* Dark color for headings */
    margin: 30px 0; /* Increased margin for better spacing */
    text-transform: uppercase;
    letter-spacing: 3px; /* Increased letter spacing for emphasis */
    border-bottom: 1.5px solid #e74c3c; /* Thicker decorative underline */
    display: inline-block;
    padding-bottom: 10px;
}

/* List Styling */
.about-courses_offered .course-list,
.about-courses_offered .service-list {
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 20px auto; /* Center lists */
    display: grid;
    gap: 15px; /* Increased gap between items */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted minimum width for better alignment */
    max-width: 1000px; /* Limit list width for better alignment */
}

/* List Item Styling */
.about-courses_offered .course-list li,
.about-courses_offered .service-list li {
    background-color: #ffffff; /* White background for list items */
    padding: 20px; /* Increased padding */
    border-radius: 10px; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Enhanced shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600; /* Increased font weight */
    font-size: 24px; /* Increased font size */
    color: #444; /* Slightly darker text color for better readability */
}

/* Hover Effect */
.about-courses_offered .course-list li:hover,
.about-courses_offered .service-list li:hover {
    transform: translateY(-8px); /* Increased hover effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow effect */
    font-weight: 900;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .about-courses_offered {
        padding: 40px 15px; /* Adjusted padding */
    }
    
    .about-courses_offered h2 {
        font-size: 28px; /* Adjusted font size */
        margin: 25px 0; /* Adjusted margin */
    }

    .about-courses_offered .course-list li,
    .about-courses_offered .service-list li {
        font-size: 18px; /* Adjusted font size */
        padding: 15px; /* Adjusted padding */
    }
}

@media (max-width: 480px) {
    .about-courses_offered {
        padding: 30px 10px; /* Adjusted padding */
    }

    .about-courses_offered h2 {
        font-size: 24px; /* Adjusted font size */
        margin: 20px 0; /* Adjusted margin */
    }

    .about-courses_offered .course-list li,
    .about-courses_offered .service-list li {
        font-size: 16px; /* Adjusted font size */
        padding: 12px; /* Adjusted padding */
    }
}


 /* about courses section */


#courses_offer {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
    flex-wrap: wrap;
    background-color: #40D3DC;
    background: #e6a4b4; 
    background: #bef2ff; 


}

#courses_offer .card {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    min-width: 280px;
    max-width: 300px;
    text-align: center;
    font-weight: bold; /* Makes text bold */
    font-size: 1.1em; /* Increases font size */
    color: #333333;

}

#courses_offer .card:hover {
    transform: translateY(-10px);
}

#courses_offer .mission-card {
    /* background-color: rgb(41, 41, 236); */
    background-color: #8ed6ff;
    color:white;
    font-weight: bold; /* Text bold */
    background-color: #ea9085;
    background-color: #002f35;
}

#courses_offer h3 {
    margin-top: 0;
    font-size: 1.6em; /* Increases heading font size */
    text-align: center;
}

#courses_offer p {
    font-size: 1.1em; /* Increases paragraph font size */
    line-height: 1.8; /* Adjusts line height for better readability */
}

@media (max-width: 768px) {
    #courses_offer {
        flex-direction: column;
        align-items: center;
    }
}







/* students view */

#success-stories {
    padding: 20px;
    background-color: #f9f9f9;
    background-color: #E8FFF6;
    text-align: center;
}

#success-stories h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.stories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.story {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}

.story:hover {
    transform: scale(1.05);
}

.story img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.story h3 {
    margin: 10px 0;
    font-size: 1.2em;
}

.story p {
    color: #555;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .stories-container {
        flex-direction: column;
        align-items: center;
    }
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#success-stories {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#success-stories h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

.stories-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.story {
    position: relative; /* Position relative to contain pseudo-element */
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    
    
    p{
        font-size: 1rem;
        line-height:1.6rem;
    }

}

.story:hover {
    transform: scale(1.05);
}

/* Styling the image */
.story img ,.faculty-card img{
    border-radius: 5px;
    width: 100%;
    max-width: 120px; /* Ensures the images are a good size */
    height: auto;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease, border 0.3s ease;
    position: relative; /* Positioning for pseudo-element */
    z-index: 1; /* Keeps the image above the pseudo-element */
}
.faculty-card img{
    text-align: center;

}
.faculty-card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


/* Adding a pseudo-element for the rotating border */
.story img::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px; /* Slightly larger than the image */
    height: 130px;
    border: 2px solid #007BFF; /* Adjust border color as needed */
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.5s ease;
    z-index: -1; /* Keeps the border behind the image */
    pointer-events: none; /* Ensures no impact on hover */
}

/* Hover effect for image */
.story:hover img {
    transform: scale(1.1); /* Scales the image on hover */
   
}
.story:hover p{
    font-weight: 600;
}

/* Rotate the border on hover */
.story:hover img::before {
    transform: translate(-50%, -50%) rotate(360deg);
}

@media (max-width: 768px) {
    .stories-container {
        flex-direction: column;
        align-items: center;
    }
}

.faculty-highlights-heading {
    font-size: 36px; /* Adjusts the size of the text */
    font-weight: bold; /* Makes the text bold */
    color: #2c3e50; /* Sets the color of the text */
    text-align: center; /* Centers the text horizontally */
    margin-top: 20px; /* Adds some space above the heading */
    margin-bottom: 20px; /* Adds some space below the heading */
    text-transform: uppercase; /* Makes the text uppercase */
    letter-spacing: 1.5px; /* Adds some space between letters */
    font-family: 'Arial', sans-serif; /* Sets the font family */
}



header h1 {
    font-size: 2.5rem;
}

/* Faculty container styling */
.faculty-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    margin: 0 0.3rem;
}

/* Faculty card styling */
.faculty-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin-right: 1rem;

}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.faculty-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.faculty-card h2 {
    background: #007bff;
    background-color:  #8971d0 ;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
}

.faculty-card p {
    padding: 1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.9rem;
    font-weight:lighter
    
    
}

/* Responsive adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
}


/* faculty 2 */


/* Faculty container styling */
#faculty2 {
    display: flex; /* Use flexbox to center the card */
    justify-content: center; /* Center the card horizontally */
    align-items: center; /* Center the card vertically if there's enough height */
    padding: 2rem; /* Add some padding */
    height: 100%; /* Ensure the container takes full height if needed */
}

/* Faculty card2 styling */
.faculty-card2 {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    margin: 1rem; /* Add margin for spacing */
    max-width: 325px; /* Limit the card's maximum width */
    width: 100%; /* Make the card responsive */
}

.faculty-card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.faculty-card2 img {
    width: 80%;
    height: auto; /* Allow the image to maintain aspect ratio */
    object-fit: contain;
    padding-left: 45px;

}

.faculty-card2 h2 {
    background: #007bff;
    background-color: #8971d0;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
}

.faculty-card2 p {
    padding: 1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.9rem;
    font-weight: lighter;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #faculty2 {
        flex-direction: column; /* Stack cards vertically on small screens */
    }
    
    header h1 {
        font-size: 2rem;
    }



}


/* why choose us */



.why-choose-us {
    padding: 50px 20px;
    background-color: #e8f1f7; /* Light blue background for the section */
   background-color:  #E8E5FF;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2.5em;
    color: #2f4153; /* Dark blue-grey color for the heading */
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
}

.why-choose-us p {
    color: #4b9aee; /* Darker grey-blue for the introductory text */
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.3em;
    font-weight: lighter;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #ffffff; /* White background for cards */
    background-color: #b1cfee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for a subtle 3D effect */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

.card h3 {
    color: #2980b9; /* Bright blue for card headings */
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card p {
    color: #7f8c8d; /* Medium grey for card text */
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-choose-us h2 {
        font-size: 2em;
    }

    .why-choose-us p {
        font-size: 1em;
    }
}

/* Additional CSS for fade-in effect */
.why-choose-us {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.why-choose-us.visible {
    opacity: 1;
    transform: translateY(0);
}





/* map */


.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #f0f0f0;
    border: 1px solid #ddd;
    margin: 20px auto; /* Centering the map with some margin */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adding a light shadow for aesthetics */
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .map-container {
        padding-bottom: 75%; /* Adjust aspect ratio for smaller screens */
    }
}

@media (max-width: 480px) {
    .map-container {
        padding-bottom: 100%; /* Adjust aspect ratio for mobile screens */
    }
}

/* get in touch */

.contact-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #e9ecef;
    min-height: 100vh;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;

    h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #635f5f;
    }
}



.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333333e3;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    /* border: px solid #ddd; */
    border: 1px solid #7c6b6b;

    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    button {
        padding: 10px;
    }
}



/* footer */
/* Footer Styling */
footer {
    background-color: #2c3e50; /* Dark background */
    color: #ecf0f1; /* Light text color */
    padding: 20px 0; /* Padding for top and bottom */
    text-align: center; /* Center text alignment by default */
  }
  
  .footer-container {
    display: flex; /* Flexbox layout */
    flex-direction: column; /* Column layout by default */
    align-items: center; /* Center align items */
    gap: 60px; /* Space between sections on smaller screens */
    max-width: 1200px; /* Maximum width for content */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Side padding for responsiveness */
  }
  
  .footer-contact,
  .footer-social {
    width: 100%; /* Full width on smaller screens */
    max-width: 500px; /* Max width for sections */
    text-align: center; /* Center align text */
  }
  
  .footer-contact h3,
  .footer-social h3 {
    margin-bottom: 20px; /* Space below headings */
    font-size: 1.4em; /* Heading size */
  }
  
  .footer-contact p {
    margin: 10px 0; /* Space between paragraphs */
    font-size: 1em; /* Font size */
  }
  
  .footer-social {
    display: flex; /* Flexbox layout */
    flex-direction: column; /* Stack icons below heading */
    align-items: center; /* Center align items */
    gap: 10px; /* Space between heading and icons */
  }
  
  .social-icons {
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    display: flex; /* Flexbox layout for icons */
    gap: 15px; /* Space between icons */
    justify-content: center; /* Center justify icons */
    flex-direction: column;
    margin-left: 2px;
    /* border:1px solid red; */
    i{
        font-size: 1.8rem;
    }
  }
  
  .social-icons li {
    display: inline-block; /* Inline block for list items */
  }
  
  .social-icons a {
    color: #ecf0f1; /* Icon color */
    font-size: 1.5em; /* Icon size */
    transition: color 0.3s; /* Smooth color transition */
  }
  
  .social-icons a:hover {
    color: #3498db; /* Change color on hover */
  }
  
  .footer-bottom {
    margin-top: 20px; /* Space above bottom text */
    font-size: 0.9em; /* Font size */
  }


  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column; /* Row layout on larger screens */
      justify-content: space-between; /* Space between contact and social sections */
      align-items: flex-start; /* Align items to the top */
      gap: 750px; /* Increased space between sections on larger screens */
    }
  
    .footer-contact,
    .footer-social {
      width: 45%; /* Width for side-by-side layout */
      text-align: left; /* Align text to the left */
    }
  
    .footer-social {
      align-items: flex-start; /* Align icons and text to the left */
    }
  }
  
  /* Responsive Design */
  
  


  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column; /* Stack items vertically */
      justify-content: center; /* Center all content vertically */
      align-items: center; /* Center items horizontally */
      gap: 20px; /* Adjust space between sections for smaller screens */
    }
  
    .footer-contact,
    .footer-social {
      width: 100%; /* Full width for better stacking */
      text-align: center; /* Center text */
    }
  
    .footer-social {
      display: flex; /* Flex layout for social icons */
      justify-content: center; /* Center icons within the container */
      align-items: center; /* Center icons vertically */
      gap: 10px; /* Adjust gap between social icons */
    }
  }
  
  @media (max-width: 468px) {
    .footer-container {
      gap: 10px; /* Reduce the gap further on smaller screens */
    }
  
    .footer-contact,
    .footer-social {
      width: 100%; /* Full width for stacking */
      text-align: center; /* Keep text centered */
      margin-bottom: 10px; /* Add spacing below each section */
    }
  
    .footer-social {
      display: flex; /* Flex layout for social icons */
      justify-content: center; /* Center icons within the container */
      align-items: center; /* Center icons vertically */
      gap: 10px; /* Adjust gap between social icons */
    }
  }
  


/* Fixed Icons (WhatsApp and Call) */
#fixed-icons {
    position: fixed;
    top: 350px; /* Adjusted to 150px from the top */
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
}

#whatsapp-icon, #call-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#whatsapp-icon img, #call-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effects */
#whatsapp-icon:hover, #call-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
