/* Reset default margin and padding for the whole document */
* {
    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: 150px;
}

/* 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: rgb(9, 75, 125);
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(9, 75, 125);
}

/* Responsive Navbar */
@media (max-width: 1024px) {
    .logo {
        width: 130px;
    }
    .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: 100px;
    }
    .nav-links {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
    }
    .nav-links li {
        margin: 5px;
    }
    .nav-links a {
        font-size: 14px;
    }
}





/* Banner Section */
.banner {
    background-color: rgb(9, 75, 125); /* Dark Blue */
    padding: 40px 20px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(248, 205, 26); /* Yellow */
}

.banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.enquire-btn {
    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;
}

.enquire-btn:hover {
    background-color: rgb(248, 205, 26); /* Add color on hover */
    color: white; /* Change text color for better contrast */
}

/* About Section Styling */
.about-content {
    padding: 60px 10%;
    background: linear-gradient(135deg, #f8f9fa, #e3f2fd);
}

/* Each Section */
.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Alternate Section Styling */
.reverse {
    flex-direction: row-reverse;
}

/* Text Styling */
.about-text {
    width: 50%;
    text-align: left;
    padding: 20px;
}

.about-text h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    color: #094b7d;
    margin-bottom: 10px;
    position: relative;
}

.about-text p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: #444;
    line-height: 1.6;
}

/* Image Styling */
.about-image {
    width: 25%;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

/* Hover Effects */
.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        padding: 40px 5%;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .reverse {
        flex-direction: column;
    }

    .about-text {
        width: 100%;
    }

    .about-image {
        width: 100%;
    }
}


/* Board of Directors Section */
.board-directors {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 95%;
    margin: 0 auto;
    background-color: #fff;
}

.board-directors h2 {
    color: rgb(9, 75, 125);
    font-size: 2rem;
    margin-top: 25px;
}

.board-directors p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Principal Section Styling */
.principal-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 50px 5%;
    background-color: #f8f9fa; /* Light background for contrast */
}

/* Container for Image & Message */
.principal-container {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center; /* Ensure center alignment */
    max-width: 1200px;
    width: 100%;
    gap: 40px;
    flex-wrap: wrap;
}

/* Left Side - Principal's Image with Yellow Blur Background */
.principal-image {
    position: relative;
    width: 400px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* Ensure centering */
}

.image-box_p {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 215, 0, 0.4); /* Yellow Blur Effect */
    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: 50px;
    height: 50px;
    border: 3px solid rgb(9, 75, 125);
}

.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

/* Right Side - Principal's Message */
.principal-message {
    max-width: 700px;
    flex: 1;
}

.principal-message h2 {
    font-size: 24px;
    color: rgb(9, 75, 125);
    margin-bottom: 10px;
}

.principal-message p {
    font-size: 18px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .principal-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .principal-image {
        width: 320px;
        height: 360px;
    }
}

@media (max-width: 768px) {
    .principal-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .principal-image {
        width: 250px;
        height: 300px;
        margin: 0 auto;
    }

    .principal-message {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .principal-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        width: 100%;
    }

    .principal-image {
        width: 220px;
        height: 260px;
        margin: 0 auto; /* Ensure proper centering */
    }

    .principal-message {
        width: 100%;
        padding: 0 15px; /* Ensure padding to prevent overflow */
    }

    .principal-message h2 {
        font-size: 20px;
    }

    .principal-message p {
        font-size: 14px;
    }
}












#verticle-line{
    width: 75%;
    height: 2px;
    margin: 20px auto;
    background-color: rgb(9, 75, 125);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    
}

.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;
}