* {
  margin: 0px;
  padding: 0px;
  
}
body{
  overflow-x: hidden;
}

/* General Body and Typography */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

/* Header Section */
.header {
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky; /* Changed from relative to sticky */
    top: 0; /* This is essential for sticky positioning */
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    height: 60px;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-number {
    display: flex;
    align-items: center;
    background-color: #2a2a2a;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.phone-number:before {
   
    margin-right: 8px;
}

.phone-number:hover {
    background-color: #e0444d;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background: url("Assets/nps-college.webp") no-repeat center center/cover;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Overlay to make text readable */
}

.hero-text {
    position: relative;
    max-width: 60%;
    padding: 0 50px;
}

.hero-text h1 {
    font-size: 130px;
    font-weight: 700;
    color: #ffc107; /* Yellow color */
    margin-bottom: 0;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-top: 0;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 500px;
}

.admission-banner {
    display: inline-block;
    background-color: #d9534f;
    color: #fff;
    font-weight: 700;
    padding: 15px 30px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

/* Enquiry Form Section */
.enquiry-form-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.enquiry-form-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    width: 350px;
    height: 430px;
}

.enquiry-form-box h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.enquiry-form-box form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

.enquiry-form-box form input:focus {
    outline: none;
    border-color: #007bff;
}

.apply-btn {
    width: 100%;
    background-color: #d9534f;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.apply-btn:hover {
    background-color: #c9302c;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .hero-text {
        max-width: 50%;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-text h2 {
        font-size: 1.5rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-info {
        margin-top: 10px;
    }
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        height: auto;
        padding: 50px 0;
    }
    .hero-text {
        max-width: 90%;
        padding: 0;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text h2 {
        font-size: 1.2rem;
    }
    .hero-text p {
        font-size: 0.9rem;
    }
    .admission-banner {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .enquiry-form-container {
        position: static;
        transform: none;
        margin-top: 30px;
        width: 100%;
    }
    .enquiry-form-box {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text h2 {
        font-size: 1rem;
    }
    .phone-number {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .enquiry-form-box {
        padding: 20px;
    }
}

/* overview */


.overview-section {
 background-color: #003366; /* Dark blue background */
 color: #fff;
 padding: 40px 20px;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 20px;
}

.overview-section h2 {
 text-align: center;
 margin-bottom: 30px;
 color: #fff;
}

.overview-content {
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 align-items: flex-start;
}

.overview-image {
 flex: 1 1 400px; /* Minimum width of 400px */
 max-width: 100%;
}

.overview-image img {
 display: block;
 width: 100%;
 height: auto;
 border-radius: 8px;
}

.overview-text {
 flex: 1 1 500px; /* Minimum width of 500px */
 max-width: 100%;
}

.overview-text p {
 line-height: 1.7;
 margin-bottom: 15px;
}

.overview-text ul {
 list-style: none;
 padding-left: 0;
}

.overview-text li {
 margin-bottom: 10px;
 padding-left: 25px;
 position: relative;
}

.overview-text li strong {
 color: #fdd835; /* Yellow accent color */
}

.overview-text li:before {
 content: "\2022"; /* Bullet point */
 position: absolute;
 left: 0;
 top: 0;
 color: #fdd835;
 font-size: 1.5em;
 line-height: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
 .overview-content {
  flex-direction: column;
 }

 .overview-image,
 .overview-text {
  width: 100%;
 }

 .container {
  padding: 0 15px;
 }

 .overview-section {
  padding: 30px 10px;
 }

 .overview-section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
 }
}


/* -------------------- COURSES SECTION -------------------- */
.courses-section {
    padding: 60px 20px;
    background-color: #fff;
}

.section-heading{
    text-align: center;
    font-weight: bold;
    font-size: 50px;
}

.courses-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Updated Grid Layout for 4-3 layout */
.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* To center the last 3 cards, we use a different approach */
/* This ensures the 2nd row is centered regardless of the number of cards */
@media (min-width: 1024px) {
    .course-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .course-card:nth-child(n+5) {
        grid-column: span 1;
        margin-left: 0;
        margin-right: 0;
    }
    /* This rule explicitly centers the 5th card */
    .course-card:nth-child(5) {
        grid-column-start: 2;
    }

    .section-heading{
    text-align: center;
    font-weight: bold;
    
}
}

.course-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
}

.course-detail {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.course-detail span {
    font-weight: 500;
    color: #333;
    margin-left: 5px;
}

.degree:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 0-2 2v2H5a1 1 0 0 0-1 1v4H3a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1V6a1 1 0 0 0-1-1h-1V3a2 2 0 0 0-2-2zM4 11h9v2H4v-2zm-1 0h.5a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-.5a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5zm12 0h-1a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5z'/%3E%3C/svg%3E");
    margin-right: 8px;
    height: 16px;
}

.duration:before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E");
    margin-right: 8px;
    height: 16px;
}

.know-more-btn {
    display: inline-block;
    background-color: #e33434;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
    position: relative;
    padding-right: 45px;
    transition: background-color 0.3s ease;
}

.know-more-btn:hover {
    background-color: #c92f2f;
}

.know-more-btn::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
}

/* -------------------- MOBILE RESPONSIVENESS -------------------- */
@media (max-width: 992px) {
    .section-heading {
        font-size: 2rem;
    }
    .hero-text h1 { font-size: 3rem; }
    .hero-text h2 { font-size: 1.5rem; }
    .hero-text p { font-size: 1rem; }

    .course-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .course-card:nth-child(5) {
        grid-column-start: 1;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    .contact-info {
        margin-top: 10px;
    }
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: center;
        height: auto;
        padding: 50px 0;
    }
    .hero-text {
        max-width: 90%;
        padding: 0;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h2 { font-size: 1.2rem; }
    .hero-text p { font-size: 0.9rem; }
    .admission-banner {
        font-size: 1rem;
        padding: 10px 20px;
    }
    .enquiry-form-container {
        position: static;
        transform: none;
        margin-top: 30px;
        width: 100%;
    }
    .enquiry-form-box {
        width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-text h2 { font-size: 1rem; }
    .phone-number {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .enquiry-form-box {
        padding: 20px;
    }
    .course-cards-grid {
        grid-template-columns: 1fr;
    }
    .course-card {
        padding: 20px;
    }
    .course-title {
        font-size: 1.1rem;
    }
    .know-more-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Placement Section Styling */
.placement-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center; /* Center the heading and description */
}

.placement-container {
    max-width: 1200px;
    margin: 0 auto;
}

.placement-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.placement-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 50px auto; /* Center and add bottom margin */
    line-height: 1.8;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 30px;
    justify-content: center; /* Center grid items if they don't fill the row */
    align-items: start; /* Align items to the top */
}

.stat-card {
    padding: 30px 20px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Background Colors for Cards */
.red-bg {
    background-color: #dc3545; /* Bootstrap danger red */
}

.dark-blue-bg {
    background-color: #007bff; /* Bootstrap primary blue */
}

.light-blue-bg {
    background-color: #17a2b8; /* Bootstrap info blue */
}

.blue-bg {
    background-color: #0d6efd; /* A slightly darker blue for contrast */
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-text {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .placement-heading {
        font-size: 2.2rem;
    }
    .placement-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }
    .stat-card {
        padding: 25px 15px;
    }
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .placement-section {
        padding: 40px 15px;
    }
    .placement-heading {
        font-size: 1.8rem;
    }
    .placement-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    .stats-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 15px;
    }
    .stat-card {
        padding: 20px 10px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-text {
        font-size: 0.9rem;
    }
}


/* Recruiters Section */
.recruiters-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.recruiters-container {
    max-width: 1200px;
    margin: 0 auto;
}

.recruiters-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Slider Wrapper */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%; /* Ensure it fits within its container */
}

/* Logo Slider Container */
.logo-slider {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* For smooth snapping */
    -webkit-overflow-scrolling: touch; /* For smoother scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    gap: 30px; /* Space between logos */
    padding: 20px 0; /* Padding for logos */
    width: 100%; /* Take full width of slider-wrapper */
}

/* Hide scrollbar for Chrome, Safari, Opera */
.logo-slider::-webkit-scrollbar {
    display: none;
}

.logo-slider img {
    flex-shrink: 0; /* Prevent logos from shrinking */
    width: 150px; /* Fixed width for logos as per image */
    height: 80px; /* Fixed height for logos as per image */
    object-fit: contain; /* Ensure logo fits without cropping */
    border: 1px solid #eee; /* Light border as seen in some logos */
    border-radius: 5px;
    background-color: #fff; /* Ensure background is white for logos */
    padding: 10px; /* Internal padding for logos */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    scroll-snap-align: start; /* Snap each logo to the start */
}

/* Slider Navigation Arrows */
.slider-arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%; /* Circular buttons */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .recruiters-heading {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .logo-slider {
        gap: 20px;
        padding: 15px 0;
    }
    .logo-slider img {
        width: 120px;
        height: 60px;
    }
    .slider-arrow {
        padding: 8px 12px;
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
    .left-arrow {
        left: 5px;
    }
    .right-arrow {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .recruiters-section {
        padding: 40px 15px;
    }
    .recruiters-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .logo-slider {
        gap: 15px;
        padding: 10px 0;
    }
    .logo-slider img {
        width: 100px; /* Smaller logos on very small screens */
        height: 50px;
    }
    .slider-arrow {
        font-size: 1rem;
        width: 30px;
        height: 30px;
        padding: 5px;
    }
    .left-arrow {
        left: 0px;
    }
    .right-arrow {
        right: 0px;
    }
}


/* Admission Process Section */
.admission-process-section {
    background-color: #00aaff; /* Bright blue color from image */
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px; /* Ensure a minimum height for the section */
}

.admission-process-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center items horizontally */
    align-items: center;
    gap: 30px; /* Space between text and button */
}

.admission-text {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center; /* Center text on smaller screens */
    margin: 0; /* Remove default paragraph margin */
    flex-grow: 1; /* Allow text to grow and take available space */
    line-height: 1.3;
}

.click-here-btn {
    background-color: #ff0000; /* Red button color from image */
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow from image */
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.click-here-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Styles for the Pop-up Form (Modal) */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Auto margin for centering */
    padding: 30px;
    border: 1px solid #888;
    width: 90%; /* Responsive width */
    max-width: 500px; /* Max width for larger screens */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-out; /* Simple fade-in animation */
}

.modal-content h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
}

.modal-content form input {
    width: calc(100% - 24px); /* Account for padding */
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

.modal-content form input:focus {
    outline: none;
    border-color: #007bff;
}

.modal-content .apply-btn {
    width: 100%;
    background-color: #d9534f;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content .apply-btn:hover {
    background-color: #c9302c;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


/* Mobile Responsiveness */
@media (max-width: 992px) {
    .admission-text {
        font-size: 1.5rem;
    }
    .click-here-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .modal-content {
        max-width: 400px;
    }
    .modal-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .admission-process-container {
        flex-direction: column; /* Stack text and button vertically */
        gap: 20px;
    }
    .admission-text {
        font-size: 1.3rem;
        max-width: 90%; /* Constrain width on smaller screens */
    }
    .click-here-btn {
        width: auto; /* Allow button to size based on content */
        padding: 10px 20px;
    }
    .modal-content {
        width: 95%; /* Wider on small screens */
        padding: 20px;
    }
    .modal-content h3 {
        font-size: 1.3rem;
    }
    .modal-content form input {
        padding: 10px;
    }
    .modal-content .apply-btn {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .admission-process-section {
        padding: 30px 15px;
    }
    .admission-text {
        font-size: 1rem;
    }
    .click-here-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    .modal-content {
        padding: 15px;
    }
    .close-button {
        font-size: 24px;
        right: 15px;
    }
}


/* Why Choose Section */
.why-choose-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Reason Cards Grid */
.reason-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center grid items */
    align-items: center; /* Vertically align content in grid */
}

/* Adjusting grid for 2nd and 3rd rows to be centered */
@media (min-width: 1024px) {
    /* For the 2nd row (cards 5-8), start at column 1 */
    .reason-card:nth-child(5) {
        grid-column-start: 1;
    }
    /* For the 3rd row (cards 9-10), center them under the 4-column grid */
    .reason-card:nth-child(9) {
        grid-column-start: 2; /* Start at the 2nd column */
    }
}


.reason-card {
    background-color: #c99e6b; /* Brownish-gold color from image */
    color: #fff;
    padding: 25px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80px; /* Ensure consistent height for cards */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.reason-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0; /* Remove default paragraph margin */
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .why-choose-heading {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .reason-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 15px;
    }
    /* Reset grid-column-start for tablet layout */
    .reason-card:nth-child(5),
    .reason-card:nth-child(9) {
        grid-column-start: auto;
    }
    .reason-card {
        padding: 20px 10px;
        min-height: 70px;
    }
    .reason-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .why-choose-section {
        padding: 40px 15px;
    }
    .why-choose-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .reason-cards-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 10px;
    }
    .reason-card {
        padding: 15px 10px;
        min-height: 60px;
    }
    .reason-text {
        font-size: 0.9rem;
    }
}

/* Campus Life Section */
.campus-life-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.campus-life-container {
    max-width: 1200px;
    margin: 0 auto;
}

.campus-life-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
}

/* Amenity Cards Grid */
.amenity-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 30px; /* Space between cards */
    justify-content: center; /* Center grid items */
    align-items: start; /* Align items to the top */
}

.amenity-card {
    background-color: #5bc0be; /* Teal color from image */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.amenity-icon {
    width: 80px; /* Size of the icon container */
    height: 80px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.amenity-icon svg {
    width: 100%;
    height: 100%;
}

.amenity-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.3;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .campus-life-heading {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .amenity-cards-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }
    .amenity-icon {
        width: 70px;
        height: 70px;
    }
    .amenity-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .campus-life-section {
        padding: 40px 15px;
    }
    .campus-life-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .amenity-cards-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 15px;
    }
    .amenity-icon {
        width: 60px;
        height: 60px;
    }
    .amenity-text {
        font-size: 0.9rem;
    }
}

/* Approvals Section */
.approvals-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.approvals-container {
    max-width: 1200px;
    margin: 0 auto;
}

.approvals-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow logos to wrap on smaller screens */
    gap: 40px; /* Space between logos */
}

.accreditation-logos img {
    max-width: 150px; /* Max size for logos */
    height: auto;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Slight rounded corners */
}

/* Footer Section */
.footer {
    background-color: #333; /* Dark background from image */
    color: #fff;
    padding: 30px 20px;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00aaff; /* Highlight color on hover */
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-address {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 30px;
}

.address-block {
    flex: 1 1 45%; /* Allow blocks to take roughly half width */
    min-width: 280px; /* Minimum width before wrapping */
}

.address-block h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
}

.address-block p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .approvals-heading {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    .accreditation-logos {
        gap: 30px;
    }
    .accreditation-logos img {
        max-width: 120px;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-social p {
        margin-bottom: 10px;
    }
    .footer-address {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .address-block {
        flex: 1 1 100%; /* Full width on smaller screens */
        text-align: center;
    }
}

@media (max-width: 576px) {
    .approvals-section {
        padding: 40px 15px;
    }
    .approvals-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .accreditation-logos {
        gap: 20px;
    }
    .accreditation-logos img {
        max-width: 100px;
    }
    .footer {
        padding: 20px 15px;
    }
    .footer-social p,
    .address-block p,
    .footer-bottom p {
        font-size: 0.8rem;
    }
    .social-icons a {
        font-size: 1rem;
    }
    .address-block h4 {
        font-size: 1rem;
    }
}


/* thankyou.html */

 .thank-you-message {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 30px;
  border-radius: 12px;
  width: 500px !important;
  margin: 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 450px !important;
  margin-top: -10px;
}

.thank-you-message .message-box h3 {
  color: rgb(0, 0, 0);
  font-size: 75px;
  margin-bottom: 10px;
}

.thank-you-message .message-box p {
  font-size: 54px;
  color: #000000;
  margin: 0;
  font-weight: bold;
}

@media (max-width: 576px) {
  .thank-you-message {
    padding: 20px;
    max-width: 90%;
    height: 200px !important;
    margin-top: -20px;
  }

  .thank-you-message .message-box h3 {
    font-size: 24px;
  }

  .thank-you-message .message-box p {
    font-size: 16px;
  }
}