/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    background: transparent;
    transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
    z-index: 3000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
}

.navbar.scrolled li a {
    color: rgb(9, 75, 125);
}

.logo {
    width: 200px;
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.nav-links li {
    margin: 10px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(248, 205, 26);
}

/* Responsive Navbar */
@media (max-width: 1024px) {
    .logo {
        width: 200px;
    }
    .nav-links a {
        font-size: 16px;
    }
    .nav-links li {
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 3%;
        flex-direction: column;
        align-items: center;
    }
    .logo {
        width: 150px;
        margin-bottom: 10px;
    }
    .nav-links {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }
    .logo {
        width: 150px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }
    .nav-links li {
        margin: 5px;
    }
    .nav-links a {
        font-size: 14px;
    }
}




/* Carousel */
.carousel1 {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.carousel-container1 {
    width: 100%;
    height: 100%;
    position: relative; /* Added to properly position overlay */
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark Layer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 5; /* Ensure overlay appears above images */
}

.overlay h1 {
    font-size: 3rem;
    font-weight: bold;
    color:whitesmoke;
    z-index: 11;
}

.overlay h2 {
    font-size: 3rem;
    font-style: italic;
    color:whitesmoke;
    z-index: 11;
}
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: transparent; /* Transparent background */
    color: white; /* Keep text color */
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid white; /* Add a border for visibility */
    border-radius: 25px;
    transition: 0.3s ease-in-out;
}

/* Hover Effect */
.cta-button:hover {
    background-color: rgb(248, 205, 26); /* Add color on hover */
    color: white; /* Change text color for better contrast */
}





/* Responsive Design */
@media (max-width: 1024px) {
    .logo {
        width: 160px;
    }

    .overlay h1 {
        font-size: 3rem;
    }

    .overlay h2 {
        font-size: 1.8rem;
    }
}

/* Tablet View (Medium Screens) */
@media (max-width: 768px) {
    .logo {
        width: 140px;
    }

    /* Reduce Carousel Height */
    .carousel1 {
        height: 75vh;
    }

    .carousel-slide img {
        height: 75vh;
    }

    .overlay h1 {
        font-size: 2.5rem;
    }

    .overlay h2 {
        font-size: 1.5rem;
    }
}

/* Mobile View (Small Screens) */
@media (max-width: 480px) {
    .logo {
        width: 120px;
    }

    /* Fix Image Visibility Issue */
    .carousel1 {
        height: 50vh;
    }

    .carousel-slide {
        height: 100%;
    }

    .carousel-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay h1 {
        font-size: 2rem;
    }

    .overlay h2 {
        font-size: 1.2rem;
    }
}







.w_text {
    text-align: center;
    padding: 20px;
    background-color: white;
    color: black;
}

.w_text h1 {
    color: rgb(248, 205, 26);
    display: inline;
    font-size: 40px;

}

.w_text h2 {
    display: inline;
    font-size: 30px;
}

.w_text p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    padding: 10px;
}


/* Principal Section Styling */
.principal-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vw 5%;
    background-color: #f8f9fa;
}

/* Container for Image & Message */
.principal-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 3vw;
}

/* Left Side - Principal's Image with Yellow Blur Background */
.principal-image {
    position: relative;
    width: 30vw;
    height: 35vw;
    max-width: 400px;
    max-height: 450px;
}

.image-box_p {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}


.image-box_p img {
    width: 85%;
    height: auto;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

/* Line Box Decorations */
.line-box {
    position: absolute;
    width: 3vw;
    height: 3vw;
    border: 0.3vw solid rgb(9, 75, 125);
}

.top-right {
    top: -1vw;
    right: -1vw;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -1vw;
    left: -1vw;
    border-right: none;
    border-top: none;
}

/* Right Side - Principal's Message */
.principal-message {
    max-width: 55vw;
}

.principal-message h2 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    color: #333;
    margin-bottom: 1vw;
}

.principal-message p {
    font-size: clamp(1rem, 1.5vw, 1.8rem);
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .principal-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5vw;
    }

    .principal-image {
        width: 40vw;
        height: 45vw;
    }

    .principal-message {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .principal-image {
        width: 50vw;
        height: 55vw;
    }

    .principal-message h2 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .principal-message p {
        font-size: clamp(0.9rem, 3vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .principal-image {
        width: 60vw;
        height: 70vw;
    }

    .principal-message {
        max-width: 90%;
    }

    .principal-message h2 {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }

    .principal-message p {
        font-size: clamp(0.8rem, 4vw, 1.2rem);
    }
}




/* Container for the section */
.curriculum-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    padding: 0 10px; /* Added padding to the section */
}

/* Card styling */
.curriculum-card {
    background-color: rgb(9, 75, 125); /* Updated background color to blue */
    padding: 20px;
    border-radius: 10px;
    width: 22%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Icon size and style */
.curriculum-card i {
    font-size: 50px;
    color: rgb(248, 205, 26); /* Updated icon color to yellow */
    margin-bottom: 15px;
}

/* Title styling */
.curriculum-card h3 {
    font-size: 1.5rem;
    color: white; /* White text color for the title */
    margin-bottom: 10px;
}

/* Paragraph styling */
.curriculum-card p {
    font-size: 1rem;
    color: #ddd; /* Lighter text color for the paragraph */
    line-height: 1.6;
}

/* Hover effect for the cards */
.curriculum-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}


.achievements-wrapper {
    background-color: #f7f9fc;
    padding: 80px 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
  }
  
  .section-heading {
    text-align: center;
    font-size: 36px;
    color: rgb(9, 75, 125);
    margin-bottom: 10px;
    font-weight: 700;
  }
  
  .section-subtext {
    text-align: center;
    color: #5a6a82;
    font-size: 17px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .achievement-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }
  
  .card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    flex: 1 1 30%;
    min-width: 300px;
    max-width: 100%;
    padding: 30px;
    transition: transform 0.3s ease;
    border-top: 4px solid rgb(9, 75, 125);
  }
  
  .card:hover {
    transform: translateY(-6px);
  }
  
  .card-icon {
    font-size: 42px;
    color: rgb(9, 75, 125);
    margin-bottom: 20px;
  }
  
  .card-title {
    font-size: 22px;
    color: rgb(9, 75, 125);
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  .card-text {
    color: #444;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .card-list {
    list-style: none;
    padding-left: 0;
    color: #2d3a4b;
    font-size: 15px;
    line-height: 1.6;
  }
  

  
  .closing-quote {
    margin-top: 60px;
    text-align: center;
    font-size: 18px;
    font-style: italic;
    color: #4b5c6b;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
  }
  
  @media (max-width: 768px) {
    .achievement-cards {
      flex-direction: column;
      align-items: center;
    }
    .card {
      flex: 1 1 100%;
    }
  }



.highlights {
    text-align: center;
    padding: 10px;
    background-color: white;
    color: black;
    background-image: url(./images/abstract_background_banner.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.highlights .highlights_1{
    justify-content: center;
    text-align: center;
}

.highlights .box1 {
    display: flex;
    text-align: center;
   justify-content: center;
    
}
.highlights .box2 {
    display: flex;
    text-align: center;
   justify-content: center;
    
}


.highlights h1 {
    color: rgb(9, 75, 125);
    display: inline;
    font-size: 35px;
    font-family: Brush Script MJ, cursive;
}

.highlights .icons{
    border: 2px solid rgb(9, 75, 125);
    background-color:rgb(9, 75, 125) ;
    height: 250px;
    width: 300px;
    margin: 30px;
    padding: 20px;
    border-radius: 10px;

}

.highlights .icons img {
    height: 100px;
    width: 100px;
}
.icons h2 {
    color: rgb(248, 205, 26);
    font-family: Brush Script MJ,cursive;

}
.icons p {
    color: white
}

.about{
    background-color: white;
    text-align: center;
    justify-content: center;

}
.about .title h2{
    color: rgb(248, 205, 26);
    font-family: Brush Script MJ,cursive;
    display: inline;
    font-size: 35px;
}
/* Media Queries */

/* Mobile View */
@media (max-width: 768px) {
    .highlights .header h1 {
        font-size: 30px;
    }

    .highlights_1 {
        flex-direction: column;
        align-items: center;
    }

    .box1, .box2 {
        flex-direction: column;
        align-items: center;
    }

    .icons {
        width: 80%;
        max-width: 250px;
        margin: 10px 0;
    }

    .icons h2 {
        font-size: 22px;
    }

    .icons img {
        height: 90px;
        width: 90px;
    }
}

/* Tablet View */
@media (max-width: 1024px) {
    .highlights_1 {
        flex-direction: row;
        justify-content: space-around;
    }

    .icons {
        width: 45%;
    }

    .icons h2 {
        font-size: 26px;
    }

    .icons img {
        height: 100px;
        width: 100px;
    }
}

/* PC View */
@media (min-width: 1025px) {
    .highlights_1 {
        flex-direction: row;
        justify-content: space-between;
    }

    .icons {
        width: 300px;
        margin: 20px;
    }

    .icons h2 {
        font-size: 28px;
    }

    .icons img {
        height: 100px;
        width: 100px;
    }
}

.teaching-beyond {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px; /* Added space around the container */
    margin: 0 auto; /* Centering the section */
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Added space between the sections */
}

.content-box1,
.content-box2 {
    display: flex;
    width: 100%;
}

.left-half {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-half img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.right-half {
    width: 70%;
    text-align: center;
}

.right-half h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(9, 75, 125); 
}

.right-half p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.right-half ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    text-align: left;
}

.right-half ul li {
    margin-bottom: 10px;
    padding-left: 0;        
    text-align: left;       
}

.right-half ul li .tick {
    color: green;
    font-size: 1.2rem;
    margin-right: 10px;
}


.facilities-container {
    background-color: #004a7c;
    padding: 40px 20px;
    color: white;
    text-align: center;
    position: relative;
}

.facilities-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFD700;
}

.facilities-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.facility-item {
    display: none;
}

.facility-item.active {
    display: block;
}

.facility-box {
    background: white;
    color: #000;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 30px;
    align-items: center;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.facility-box img {
    width: 400px;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}

.facility-text {
    flex: 1;
}

.facility-heading {
    font-size: 1.8rem;
    color: #004a7c;
    margin-bottom: 15px;
}

/* FIX: Make sure nav-buttons-wrapper is visible */
.nav-buttons-wrapper {
    position: absolute;
    width: 100%;
    bottom: 30px;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 0 50px;
    box-sizing: border-box;
    z-index: 2;
}


/* FIX: Button styling */
.nav-button {
    background-color: white;
    color: #000;
    border: none;
    padding: 10px 28px;
    font-size: 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.prev-button {
    display: none;
}


.nav-button:hover {
    background-color: #e6c200;
}

.scroll-dots {
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 10px 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #FFD700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .facility-box {
        flex-direction: column;
        text-align: center;
    }

    .facility-box img {
        width: 100%;
        height: auto;
    }

    .nav-buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .nav-button {
        width: 150px;
        margin: 5px 0;
    }
}


/* General Styling */
.gallery-section {
    text-align: center;
    padding: 50px 20px;
    background: #f8f8f8;
    margin: 20px;
    border-radius: 10px;
}
.gallery-title {
    font-size: 32px;
    color: rgb(9, 75, 125);
    margin-bottom: 20px;
}
.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ensures 4 images per row */
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    padding: 25px;
}

/* Image Box Styling */
.image-box {
    position: relative;
    background: white;
    border-radius: 12px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Ensures image box fully fits */
    height: 260px; /* Fixed height to make all boxes uniform */
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* L-Shaped Frame */
.image-frame {
    position: relative;
    width: 95%;
    height: 95%;
    border: 2px solid rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner Box (Ensures Image fits inside the L-shape) */
.inner-box {
    position: relative;
    width: 90%;
    height: 90%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Styling - Perfect Fit */
.inner-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the box without stretching */
    border-radius: 5px;
}

/* L-Shaped Corners */
.image-frame::before,
.image-frame::after,
.image-frame .corner-left,
.image-frame .corner-right {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.6);
}

/* Top-Left Corner */
.image-frame::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

/* Bottom-Right Corner */
.image-frame::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Bottom-Left Corner */
.image-frame .corner-left {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
}

/* Top-Right Corner */
.image-frame .corner-right {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
}

/* Responsive Design (For Smaller Screens) */
@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* 2 images per row */
    }
}
@media (max-width: 768px) {
    .gallery-container {
        grid-template-columns: repeat(1, 1fr); /* 1 image per row */
    }
}

/* View More Button */
.view-more-btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: transparent; /* Transparent background */
    color: rgb(9, 75, 125); /* Keep text color */
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid rgb(9, 75, 125); /* Add a border for visibility */
    border-radius: 25px;
    transition: 0.3s ease-in-out;
}
.view-more-btn:hover {
    background-color: rgb(248, 205, 26); /* Add color on hover */
    color: white; /* Change text color for better contrast */
}








.carousel-container {
    position: relative;
    width: 95%; /* Container width doubled */
    margin: auto;
    overflow: hidden; /* Hide overflow to keep only one item visible at a time */
    border-radius: 10px; /* Optional: Adds rounded corners to the container */
    background-color: rgb(9, 75, 125); /* Background color updated */
    cursor: pointer; /* Change the cursor to indicate it's interactive */
    padding: 20px;
}
.carousel-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: rgb(248, 205, 26); /* Matches the button color */
    margin-bottom: 20px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease; /* Smooth transition for moving slides */
    will-change: transform; /* Improves performance during the transition */
}

.carousel-item {
    flex: 0 0 100%; /* Each item takes up 100% of the width of the container */
    padding: 20px;
    text-align: center;
    font-size: 18px;
    background-color: rgb(9, 75, 125); /* Carousel item background color updated to match container */
    color: white; /* Text color adjusted to ensure visibility on the dark background */
    border-radius: 10px; /* Optional: Adds rounded corners to the items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Optional: Adds subtle shadow to the items */
    line-height: 1.6; /* Adjusts line height for better readability */
    margin-bottom: 20px; /* Adds space between carousel items */
}

.carousel-item p {
    margin: 10px 0;
    color: white;
}

.name-container {
    display: flex;
    justify-content: center; /* Centers the names horizontally */
    gap: 30px; /* Adds space between child and parent names */
    margin-top: 20px;
}

.name {
    font-family: Brush Script MJ, cursive; /* Corrected: Font for child name and parent name */
    color: rgb(248, 205, 26); /* Yellow color for names */
    font-size: 20px;
    font-weight: normal; /* Optional: To keep the child and parent names weight consistent */
}

.name span {
    display: block;
    margin-top: 5px; /* Gives space between title and actual name */
    font-family: Arial, sans-serif; /* Different font for actual names */
    color: white; /* Actual names are in white */
    font-size: 18px;
    font-weight: normal;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(248, 205, 26); /* Button color updated */
    color: black;
    border: none;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    z-index: 100;
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

button:hover {
    background-color: rgb(200, 170, 22); /* Button hover effect */
}






#verticle-line{
    width: 100%;
    height: 2px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgb(9, 75, 125);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    
}


/* Contact Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    z-index: 2000;
}

/* Section Title */
.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: rgb(9, 75, 125);
}

/* Contact Container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    gap: 20px;
}

/* Left Side (Contact Info & Map) */
.contact-info {
    flex: 1;
    text-align: left;
    padding: 20px;
    min-width: 350px;
}

.contact-info h3 {
    font-size: 22px;
    color: rgb(9, 75, 125);
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.contact-info a {
    color: rgb(9, 75, 125);
    text-decoration: none;
    font-weight: bold;
}

/* Google Maps */
.map-container {
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

/* Right Side (Inquiry Form) */
.contact-form {
    flex: 1;
    padding: 20px;
    min-width: 350px;
    text-align: center;
}

.contact-form h3 {
    font-size: 22px;
    color: rgb(9, 75, 125);
    margin-bottom: 15px;
}

/* Input Fields */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    display: block;
}

/* Adjusting Textarea Height */
.contact-form textarea {
    height: 120px;
    resize: none;
}

/* Fixed Button Placement */
.button-container {
    text-align: center;
    margin-top: 10px;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #f8cd1a;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
    z-index: 2001;
    margin-top: 25px;
    border-radius: 5px;
}

.contact-form button:hover {
    background: #e5b517;
}

/* Responsive Design */

/* Tablet (Medium Screens) */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
        min-width: unset;
        text-align: center;
    }

    .map-container iframe {
        height: 200px;
    }
}

/* Mobile (Small Screens) */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px 10px;
    }

    .section-title {
        font-size: 24px;
    }

    .contact-info p {
        font-size: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px;
        font-size: 14px;
    }

    .contact-form button {
        padding: 10px;
        font-size: 16px;
    }

    .map-container iframe {
        height: 180px;
    }
}



.row {
    display: flex;
    justify-content: center; /* Centers the entire content horizontally */
    align-items: center; /* Vertically centers the content */
    width: 100%; /* Ensures the row uses full width */
    margin-bottom: 10px;
}

.footer-col {
    display: flex;
    align-items: center; /* Vertically aligns the text and icons */
    gap: 20px; /* Adds space between "Follow Us" and the icons */
}

.footer-col h4 {
    font-size: 18px;
    color: black;
    text-transform: capitalize;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.social-links {
    display: flex;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: black;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: white;
    background-color: rgb(9, 75, 125);
}
.footer-col h5{
    line-height: 0;
}
.rights {
    text-align: center;
    margin-bottom: 20px;
}



/* Responsive Design */

/* For devices larger than 1200px */
@media (max-width: 1200px) {
    .curriculum-card {
        width: 30%; /* Increase width to fit 3 items per row */
    }

    .content-container {
        flex-direction: column; /* Stack left and right content vertically */
    }

    .left-half, .right-half {
        width: 100%; /* Full width for each part */
    }

    .carousel-container {
        width: 80%; /* Adjust carousel width */
    }
}

/* For devices between 992px and 1200px */
@media (max-width: 992px) {
    .header img {
        width: 300px; /* Smaller logo for medium screens */
        height: 120px; 
    }

    .curriculum-card {
        width: 45%; /* Two items per row on medium screens */
    }

    .row {
        flex-direction: column; /* Stack items vertically */
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .carousel-container {
        width: 100%; /* Full-width carousel */
    }
}

/* For devices between 768px and 992px */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack header items vertically */
    }

    .header img {
        width: 250px; /* Adjust logo size further */
        height: 100px;
    }

    .nav ul {
        flex-direction: column; /* Stack nav items */
        align-items: center; /* Center items */
    }

    .curriculum-card {
        width: 100%; /* One item per row on small screens */
        margin-bottom: 20px; /* Add space between cards */
    }

    .carousel-container {
        width: 95%; /* Make carousel slightly smaller */
    }

    .line-container .line {
        width: 60%; /* Shorten the line on small screens */
    }

    .footer-col {
        text-align: center; /* Center footer items */
    }

    .footer-col img {
        width: 80%; /* Adjust image size */
        height: auto;
    }

    .footer-col ul {
        padding-left: 0; /* Remove padding */
    }
}

/* For devices smaller than 576px */
@media (max-width: 576px) {
    .header {
        padding: 10px;
    }

    .header img {
        width: 200px; /* Logo size for very small screens */
        height: 80px;
    }

    nav ul li {
        margin-left: 15px; /* Reduce margin for smaller screens */
    }

    .curriculum-card {
        width: 100%; /* One item per row */
    }

    .teaching-beyond {
        gap: 15px; /* Reduce gap between sections */
    }

    .content-box1, .content-box2 {
        flex-direction: column; /* Stack content in smaller screens */
    }

    .left-half, .right-half {
        width: 100%; /* Full width for mobile view */
    }

    .carousel-item {
        font-size: 16px; /* Reduce font size in carousel */
    }

    .name-container {
        gap: 15px; /* Reduce gap between names */
    }

    button {
        font-size: 16px; /* Smaller button text */
        padding: 8px; /* Smaller padding */
    }

    .footer-col h4 {
        font-size: 16px; /* Reduce header font size in footer */
    }

    .footer-col ul li a {
        font-size: 14px; /* Smaller link text */
    }
}
