/*index.html {body}*/

/* Highlights Section */
.highlights {
    display: flex;
    justify-content: space-between;
    padding: 0rem;
    background-color: #f7f7f7;
    gap: 0rem; /* Add gap between boxes */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}
.highlight {
    flex: 1 1 22%; /* Allow boxes to take up space and wrap */
    color: #555;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    min-width: 250px;
}

/* Add styles for images inside the highlight boxes */
.highlight img {
    width: 60px; /* Adjust width as needed */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Add space between the image and the heading */
    display: block; /* Ensure proper alignment */
    margin-left: auto; /* Center the image horizontally */
    margin-right: auto;
    filter: invert(1);
}

/* Style for the 1st box - Orange background, white text */
.highlight:nth-child(1) {
    background-color: #ff6600; /* Orange */
    color: white;
}

/* Style for the 2nd box - Purple background, white text */
.highlight:nth-child(2) {
    background-color: #1a1a2e; /* Purple */
    color: white;
}

/* Style for the 3rd box - Orange background, white text */
.highlight:nth-child(3) {
    background-color: #ff6600; /* Orange */
    color: white;
}

/* Style for the 4th box - Purple background, white text */
.highlight:nth-child(4) {
    background-color: #1a1a2e; /* Purple */
    color: white;
}

.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.highlight p {
    font-size: 1rem;
    color: inherit; /* Inherit text color from the parent */
}


/* Responsive Highlights Section for Mobile */
@media (max-width: 768px) {
    .highlights {
        flex-direction: column;
        align-items: center;
    }
    .highlight {
        width: 100%;
    }
}

/* Keyframes for bottom-to-top animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(180px); /* Start below the viewport */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End in the original position */
    }
}

/* Add an animation class */
.animate-slide-up {
    animation: slideUp 1.7s ease-out forwards; /* Smooth slide-up */
}


/* Overall Offer Section */
.offer {
    padding: 2rem;
    background-color: #f9f9f9;
}

.offer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem; /* Add consistent spacing between text and image */
}

/* Offer Text Section */
.offer-text {
    flex: 1;
    padding: 1rem;
    max-width: 500px;
    text-align: left; /* Align text properly */
}

.offer-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.offer-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #555;
}

.offer-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for larger screens */
    gap: 1.5rem;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    width: 150px;
    height: 60px;
    background-color: #ff6b35;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ensures no overflow from the child element */
    padding: 0; /* Remove extra padding if any */
    margin: 0 auto; /* Center the circle in its container */
}

.icon-circle img {
    width: 32px;
    height: 32px;
    object-fit: contain; /* Prevent distortion */
    filter: invert(1);
}

/* Offer Image Section */
.offer-image {
    flex: 1;
    display: block; /* Ensure the image is visible on desktops */
    max-width: 500px; /* Limit image width to avoid excessive size */
    height: 600px;
    width: 100%; /* Ensure it scales responsively */
    margin: 0 auto; /* Center the image horizontally */
    text-align: center; /* Align image properly */
}

.offer-image img {
    width: 100%;
    max-width: 800px;
    height: 600px; /* Maintain aspect ratio */
    border-radius: 8px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 768px) {
    .offer-container {
        flex-direction: column; /* Stack text and image */
        align-items: center; /* Center everything */
    }

    .offer-image {
        display: none; /* Hide image on smaller screens */
    }

    .offer-highlights {
        grid-template-columns: 1fr; /* One column for smaller screens */
    }
}


/* Apply the animation to the offer section */
.offer {
    animation: fadeInFromBottom 2.5s ease-out forwards;
    opacity: 0; /* Initially hidden */
}

/* If you want to apply animation to child elements like offer-text or offer-image */
.offer-text, .offer-image {
    animation: fadeInFromBottom 2.5s ease-out forwards;
    opacity: 0; /* Initially hidden */
}

.offer-text {
    animation-delay: 0.4s; /* Delay to animate offer-text slightly after the offer-image */
}

.offer-image {
    animation-delay: 1.6s; /* Delay to animate offer-image slightly after the offer-text */
}


/* Landscape Section */
.landscape-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust the height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landscape-section img {
    position: absolute;
    top: 70%;
    left: -20%;
    width: 120%;
    height: 180%;
    object-fit: cover; /* Ensures the image covers the entire section */
    transform: translateY(0); /* Initial position */
    will-change: transform; /* Optimize rendering performance */
}

/* Orange Transparent Overlay */
.landscape-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 102, 0, 0.445); /* Orange with 50% transparency */
    z-index: 1; /* Ensure it's above the image */
}

/* Overlay Text Styling */
.landscape-overlay {
    position: absolute;
    text-align: center;
    color: white;
    z-index: 2; /* Ensure it's above the overlay */
    max-width: 80%; /* Prevent text from being too wide */
    padding: 1rem;
}

.landscape-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.7); /* Adds a subtle text shadow */
}

.landscape-overlay p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.6); /* Adds a subtle text shadow */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .landscape-section {
        height: 50vh; /* Adjust height for smaller screens */
    }

    .landscape-section img {
        object-position: 65% center;
    }

    .landscape-overlay h1 {
        font-size: 2rem;
    }

    .landscape-overlay p {
        font-size: 1rem;
    }
}

/* About college sec */
.about-college-section {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.about-college-section h2 {
    font-size: 2.8rem;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-college-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 1000px;
    margin: 0 auto;
    text-align: justify;
}

.know-more-btn {
    display: inline-block;
    background-color: #ff6a00;
    color: #fff;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.know-more-btn:hover {
    background-color: #1a1a2e;
}

/* Teacher Section Styling */
.teachers-section {
    position: relative; /* Ensure the content and background are properly positioned */
    padding: 50px 20px;
    background-size: cover; /* Scale the background image to cover the entire section */
    background-position: center center; /* Center the image horizontally and vertically */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    text-align: center;
    overflow: hidden; /* Avoid unwanted overflow */
}

/* Transparent Black Layer */
.teachers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Black overlay with 50% transparency */
    z-index: 1; /* Keeps it behind the content */
}

/* Ensures Content is Above the Overlay */
.teachers-section h2,
.teachers-section p,
.teacher-slider-container,
.teacher-navigation {
    position: relative;
    z-index: 2; /* Bring content above the overlay */
}

/* Heading and Paragraph */
.teachers-section h2 {
    font-size: 2.5rem;
    color: #e55a00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Add shadow for contrast */
}

.teachers-section p {
    font-size: 1.1rem;
    color: #fff; /* Change text color to white for better visibility */
    max-width: 700px;
    margin: 0 auto 10px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
}

/* Teacher Slider */
.teacher-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 60%;
    margin: 0 auto;
}

.teacher-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.teacher-box {
    flex: 0 0 50%;
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.6); /* Slight transparency for the box background */
    border: 0px solid #ddd;
    border-radius: 30%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.teacher-box img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 30% 30% 0% 30%;
    border: 4px solid #003366;
    margin-bottom: 20px;
}

.teacher-box h3 {
    font-size: 1.5rem;
    color: #003366;
    margin: 0 0 5px;
}

.teacher-box p {
    font-size: 1rem;
    color: #333; /* Adjust text color for better readability */
}

/* Navigation Arrows */
.teacher-nav-arrow {
    width: 50px;
    height: 50px;
    filter: invert(1);
    cursor: pointer;
    margin: 0 1rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
    transition: transform 0.3s ease;
}

.teacher-nav-arrow:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

#teacher-left-arrow {
    left: 10px;
}

#teacher-right-arrow {
    right: 10px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .teacher-box img {
        width: 280px;
        height: 280px;
    }

    .teacher-slider-container {
        max-width: 400px;
    }

    .teacher-box {
        flex: 0 0 100%;
    }

    .teacher-slider-container {
        width: 100%;
        max-width: 340px;
    }
}

/* Courses Section Styling */
.courses-section {
    background-color: #ffffff; /* White background */
    padding: 3rem 1.5rem; /* Add spacing inside the box */
    text-align: center; /* Center align text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a lifted effect */
    margin: 0rem auto; /* Add spacing above and below */
    max-width: 100%; /* Default max width for smaller screens */
    border-radius: 8px; /* Rounded corners for better aesthetics */
}

.courses-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333333; /* Darker text for contrast */
}

.courses-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555555; /* Slightly muted text color for readability */
    margin: 0.5rem 0;
}

/* White Boxes Section */
.courses-box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-box {
    background-color: #fff;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-icon {
    width: 50px; /* Icon width */
    height: 50px; /* Icon height */
    margin-bottom: 1rem; /* Adds space below the icon */
    object-fit: contain; /* Maintains aspect ratio */
}

.course-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.course-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.course-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); /* Elevates on hover */
}

/* Increase Width on Desktop Screens */
@media (min-width: 1024px) {
    .courses-section {
        max-width: 90%; /* Minimize the width for desktops */
        padding: 4rem 2rem; /* Add more padding for larger screens */
    }
}

/* Remove underline and reset link styling */
.course-link {
    text-decoration: none; /* Remove the underline */
    color: inherit; /* Inherit text color from the parent */
}

.course-link:hover {
    cursor: pointer; /* Make it clear the element is clickable */
}


/* Admission Enquiry Section */
.admission-enquiry {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: parallax effect */
    padding: 3rem 0;
    color: #fff; /* Make text white for contrast */
    z-index: 1;
    overflow: hidden;
}

/* Overlay for Darkening Image */
.admission-enquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.486); /* Dark overlay */
    z-index: 1;
}

/* Flex Container for Form Content */
.admission-container {
    position: relative;
    display: flex;
    flex-direction: row; /* Form and space side-by-side */
    width: 90%;
    max-width: 1200px;
    z-index: 2;
}

/* Empty Space on the Left */
.admission-space {
    flex: 0.5;
}

/* Form Section */
.admission-form {
    flex: 0.5;
    background: rgba(224, 220, 220, 0);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.admission-form h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.admission-form p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Placeholder Text */
.admission-form input::placeholder,
.admission-form textarea::placeholder {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 1;
}

/* Input Fields */
.admission-form input,
.admission-form select,
.admission-form textarea {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    font-size: 1.2rem; /* Increase font size */
    color: #ffffff;
    background: none;
}

.admission-form input:focus,
.admission-form textarea:focus,
.admission-form select:focus {
    border-bottom: 1px solid #ff6a00;
}

.admission-form textarea {
    resize: none;
}

/* Dropdown Field Styling */
.admission-form select {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    outline: none;
    font-size: 1.2rem;
    color: #ffffff;
    background: none;
    cursor: pointer;
}

.admission-form select:focus {
    border-bottom: 1px solid #ff6a00;
}

/* Style for the selected option */
.admission-form select option {
    font-size: 1.4rem; /* Increase font size of options */
    color: #333; /* Option text color */
    background: #ffffff; /* Option background color */
}

/* Change styling for hovered option in dropdown */
.admission-form select option:hover {
    background: #ff6a00; /* Highlighted background */
    color: #ffffff; /* Highlighted text color */
}

/* Mobile-specific styles for the dropdown */
@media (max-width: 768px) {
    .admission-form select {
        font-size: 1.2rem; /* Adjust font size for mobile dropdown field */
        padding: 0.7rem 0; /* Adjust padding for better touch interaction */
    }

    .admission-form select option {
        font-size: 1.2rem; /* Adjust font size for options on mobile */
    }

    .admission-form select:focus {
        font-size: 1.2rem; /* Ensure consistent size when dropdown is focused */
        border-bottom: 1px solid #ff6a00; /* Add focus border for better visibility */
    }
}


/* Hidden Fields for International Students */
#international-fields {
    display: none; /* Initially hidden */
    margin-top: 1.5rem;
}

/* Additional Fields Styling */
#admission-form #international-fields input {
    margin-top: 1rem;
}

/* Submit Button */
.admission-form button {
    background-color: #ff6a00;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

.admission-form button:hover {
    background-color: #e55a00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admission-container {
        flex-direction: column;
    }

    .admission-form {
        flex: 1;
        width: 100%;
        padding: 1.5rem;
    }

    .admission-space {
        display: none;
    }
}

@media (max-width: 480px) {
    .admission-form h2 {
        font-size: 2rem;
    }

    .admission-form p {
        font-size: 0.9rem;
    }

    .admission-form input,
    .admission-form select,
    .admission-form textarea {
        font-size: 1rem;
    }

    .admission-form button {
        font-size: 0.9rem;
    }
}


/* Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    padding: 4rem 1.5rem;
    text-align: center;
    border-radius: 8px;
    margin: 0rem auto;
    max-width: 100%;
}

.testimonials-section h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333333;
}

.testimonials-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555555;
    margin-bottom: 2rem;
}

/* Testimonial Slider */
.testimonial-slider-container {
    overflow: hidden; /* Hide overflow for smooth transitions */
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    display: flex; /* Arrange testimonials in a row */
    transition: transform 0.5s ease-in-out; /* Smooth sliding effect */
}

.testimonial-box {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

.testimonial-box img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid #ff6a00;
}

.testimonial-box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 0rem;
}

/* Navigation Arrows */
.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin: 0 1rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.nav-arrow:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}


/* Add responsive design for smaller screens */
@media (max-width: 768px) {
    .testimonial-box p {
        font-size: 1.2rem;
    }
}

/* Increase Width on Desktop Screens */
@media (min-width: 1024px) {
    .testimonials-section {
        max-width: 90%; /* Minimize the width for desktops */
        padding: 4rem 2rem; /* Add more padding for larger screens */
    }
}