/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

/* Basic styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: bold;
}

p {
    line-height: 1.6;
    font-size: 16px;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

/* Section Styles */
section {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section p, section ul, section ol {
    margin: 10px 0;
    line-height: 1.6;
}

section ul, section ol {
    padding-left: 20px;
}

section ul li, section ol li {
    margin-bottom: 10px;
}

span {
    color: #00A8E8;
    font-size: 32px;
    font-weight: bold;

}
/* Service Section Styles */
.service-section {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}

.service-section:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}



header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #423E3B;
    background-size: 400% 400%;
    color: #fff;
    text-align: center;
    width: 100%;
    height: 100px;
    z-index: 1000;
    animation: gradient 15s ease infinite;
    position: relative; /* Ensure the header is positioned correctly */
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 33px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo h1 {
    margin-left: 10px;
    animation: textSlide 1s ease-out;
}

.logo img {
    width: 50px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Navigation menu styles */
.nav-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu ul li {
    padding: 10px 20px;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    display: block;
}

.nav-menu.show {
    right: 0;
}

/* Navigation toggle button styles */
.nav-toggle {
    font-size: 45px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #fff;
    margin-left: auto; /* Align to the right within the header */
}



/* Social icons styles */
.social-icons {
    justify-content: center;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
    transform: scale(1.1);
    position: relative;
    top: -30px;
    border: 2px solid white;
}

.social-icons img:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .social-icons img {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 769px) {
    .social-icons img {
        width: 42px;
        height: 42px;
    }
}

/* Box styles */
.box {
    background-color: #444;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 25px;
    transition: transform 0.3s ease-in-out;
    margin: 0; /* Remove margin */
}

.box:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Button active state */
button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

/* Text box styles */
.text-box {
    width: 100%;
    background: #666;
    color: #fff;
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0; /* Remove margin */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

/* Add hover effect to text box */
.text-box:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Typography improvements */
.text-box h1, .text-box h2, .text-box h3 {
    margin-bottom: 10px;
    color: #ffcc00;
}

.text-box p {
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Image box styles */
.image-box {
    background: #888;
    width: 100%;
    max-width: 300px;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000000;
    border-radius: 25px;
    margin: 0; /* Remove margin */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    border: 2px solid #000000;
}

/* Add hover effect to image box */
.image-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Grid layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ensure a maximum of 4 items per line */
    gap: 20px; /* Use gap property to control spacing */
    justify-items: center;
}

@media (max-width: 1200px) {
    .grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 5px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 15px;
    margin-top: 4px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffcc00;
}

/* Language selection styles */
#lan {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

#lan button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #fff;
}

#lan button:hover {
    background-color: #555;
    transform: scale(1.1); /* Scale up on hover */
    animation: pulse 1s infinite;
}



/* Language selection styles for mobile version */
.lan-mobile {
    display: none;
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 325px;
    left: 10px;
    z-index: 1001;
}

.lan-mobile button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #fff;
}

.lan-mobile button:hover {
    background-color: #555;
    transform: scale(1.1); /* Scale up on hover */
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .social-icons {
        display: none !important;
    }
    .lan {
        display: none;
    }
    .lan-mobile {
        display: block;
    }
}

/* Background Image Container */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Ensure it stays behind other content */
}

.bg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg/bg-wall.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Adjust the blur radius as needed */
    -webkit-filter: blur(8px); /* For Safari */
}

/* Section Styles */
.section-bg {
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    height: auto;
    width: 1000px;
    background: linear-gradient(45deg, #7A89C2, #ac4a73);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out, gradientAnimation 15s ease infinite;
    border: 2px solid #ccc;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Other CSS styles... */

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .social-icons {
        display: none !important;
    }
    .lan {
        display: none;
    }
    .lan-mobile {
        display: block;
    }
}

/* About Section Styles */
.about-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.about-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

.about-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
}

/* Add hover effect to about section */
.about-section:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Keyframes for animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Team Section Styles */
.team-section {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.history-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.history-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.history-section ul li {
    margin-bottom: 10px;
}

/* Mission and Vision Section Styles */
.mission-vision-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
}

.mission-vision-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.mission-vision-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.mission-vision-section p:hover {
    color: #ffcc00;
}

/* Testimonials Section Styles */

.testimonials {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.testimonials p {
    font-style: italic;
    color: #555;
}
.testimonials-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonials-section h2 {
    color: #333;
    margin-bottom: 20px;
}

.testimonials-section blockquote {
    background-color: #fff;
    padding: 20px;
    border-left: 5px solid #E56399;
    margin-bottom: 20px;
    border-radius: 25px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}

.testimonials-section blockquote p {
    color: #666;
    margin-bottom: 10px;
}

.testimonials-section blockquote cite {
    color: #999;
    font-style: normal;
}

/* History Section Styles */
.history-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.history-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

.history-section p {
    line-height: 1.6;
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
}

.history-section ul {
    list-style-type: disc;
    padding-left: 20px;
    animation: fadeIn 1s ease-in-out;
}

.history-section ul li {
    margin-bottom: 10px;
    animation: fadeIn 1s ease-in-out;
}

/* Add hover effect to history section */
.history-section:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Section Styles */
.contact-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.contact-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    color: #333;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #fff;
}

.contact-form button:hover {
    background-color: #555;
    transform: scale(1.1);
    animation: pulse 1s infinite;
}

.contact-form button:active {
    transform: scale(0.95);
    transition: transform 0.1s ease-in-out;
}

/* Map Section Styles */
.map-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.map-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 25px;
    border: 2px solid #ccc;
}

/* Add hover effect to history section */
.history-section:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Keyframes for animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Director Contact Section Styles */
.director-contact-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.director-contact-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

.director-contact {
    display: flex;
    align-items: center;
}

.director-contact img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #ccc;
}

.director-info {
    color: #333;
}

.director-info h3 {
    margin-bottom: 5px;
}

.director-info p {
    margin-bottom: 5px;
}

.director-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.director-info a:hover {
    color: #ffcc00;
}

.secretary-contact {
    display: flex;
    align-items: center;
}

.secretary-contact img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #ccc;
}

.secretary-info {
    color: #333;
}

.secretary-info h3 {
    margin-bottom: 5px;
}

.secretary-info p {
    margin-bottom: 5px;
}

.secretary-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.secretary-info a:hover {
    color: #ffcc00;
}

/* Director and Secretary Contact Section Styles */
.director-contact-section {
    background-color: #f4f4f4;
    padding: 40px;
    border-radius: 25px;
    border: 2px solid #ccc;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

.director-contact-section h2 {
    color: #333;
    margin-bottom: 20px;
    position: relative;
    animation: slideInLeft 1s ease-in-out;
}

.director-contact, .secretary-contact {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.director-contact img, .secretary-contact img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid #ccc;
}

.director-info, .secretary-info {
    color: #333;
}

.director-info h3, .secretary-info h3 {
    margin-bottom: 5px;
}

.director-info p, .secretary-info p {
    margin-bottom: 5px;
}

.director-info a, .secretary-info a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.director-info a:hover, .secretary-info a:hover {
    color: #ffcc00;
}



/* Testimonials Styles */
.testimonials {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.testimonials p {
    font-style: italic;
    color: #555;
}

/* FAQs Styles */
.faqs {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    width: 80%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq h3 {
    color: #333;
    margin-bottom: 10px;
}

.faq p {
    color: #555;
}

/* Contact Button Styles */
.contact-button {
    text-align: center;
    margin: 20px auto;
}

.contact-button button {
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button button:hover {
    background-color: #555;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-button button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Button Styles */
.i-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.i-btn:hover {
    background-color: #555;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.i-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.i-btn a {
    color: #fff;
    text-decoration: none;
    display: block;
}

/* Price list styles */
.price-list {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
}

.price-list table {
    width: 100%;
    border: 1px solid #ddd;
}

.price-list th, .price-list td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-list th {
    background-color: #f2f2f2;
}

.price-list tr:hover {
    background-color: #f5f5f5;
}