@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body, html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: url("../Images/about-1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: -1;
    min-height: 100vh;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* Or any background color you prefer */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Ensure it’s above all other content */
}

#loading-screen img {
    width: 300px; /* Adjust size as needed */
    height: auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 9%;
    padding: 20px 100px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
}

.logo img {
    width: 75px;
    height: auto;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.navbar a {
    position: relative;
    font-size: 18px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: .3s;
}


.navbar a:hover::before {
    width: 100%;
}

.navbar a.selected::before {
    width: 100%;
}


.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 75px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 900px;
    color: #333;
    animation: fadeIn 0.8s ease-out;
}

.section-title {
    font-size: 2rem;
    font-weight: 650;
    color: #0e4406;
    text-align: center;
    margin-bottom: 20px;
}

.info-text img {
    width: 100%;
    max-width: 700px;
    height: 250px;
    border-radius: 5px; /* Rounds the image */
    box-shadow: 0 5px 15px black; /* Adds shadow to the image itself */
    transition: transform 0.3s ease;
    object-fit: cover;
}

.info-text img:hover {
    transform: scale(1.05); /* Adds a hover effect for emphasis */
}

.content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin-top: 20px;
    text-align: center;
}

/* Vision and Mission Section */
.vision-mission {
    display: flex;
    flex-direction: column; /* Change to column for vertical layout */
    gap: 20px;
    margin-top: 40px;
    max-width: 900px;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Vision and Mission Boxes */
.vision, .mission {
    width: 100%; /* Make each section take full width in a column layout */
    padding: 20px;
    background-color: #f6f6f6;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center; /* Center the content within the boxes */
}

/* Vision Section Styles */
.vision {
    font-family: "Roboto", sans-serif; /* Professional font */
    font-weight: 500;
}

.vision h3 {
    font-size: 2rem; /* Increased font size */
    font-weight: 650;
    color: #0e4406;
    margin-bottom: 15px;
    letter-spacing: 1px; /* Adds some space between letters for a refined look */
}

.vision p {
    font-size: 1.2rem; /* Increased font size */
    color: #333;
    line-height: 1.8; /* Better readability */
    font-family: "Arial", sans-serif; /* A clean, professional font for paragraph */
    font-weight: 400;
    margin-bottom: 20px; /* Adds spacing between the text and other elements */
}

/* Mission Section Styles */
.mission h3 {
    font-size: 2rem;
    font-weight: 650;
    color: #0e4406;
    margin-bottom: 10px;
}

.mission p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}


/* Certification Section */
.certifications {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Certification Title */
.certifications h3 {
    font-size: 2rem;
    font-weight: 650;
    color: #0e4406;
    margin-bottom: 20px;
}

/* Images Container */
.certifications-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Individual Image */
.certifications-images img {
    width: 100%; /* Makes the image fill the container */
    max-width: 250px; /* Increases the maximum width to 250px */
    height: auto; /* Maintains the aspect ratio */
    margin: 8px; /* Adds space between the images */
    border-radius: 8px; /* Rounds the corners of the images */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Adds a subtle shadow */
    transition: transform 0.3s ease; /* Adds a transition effect for hover */
}

.certifications-images img:hover {
    transform: scale(1.05); /* Adds a zoom effect on hover */
}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .certifications-images img {
        width: calc(50% - 20px); /* 2 images per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .certifications-images img {
        width: 100%; /* 1 image per row on very small screens */
    }
}


.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 70px 0;
    color: #fff;
}

/* Footer specific styles */
.footer .container2 {
    max-width: 1170px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    text-transform: capitalize;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    background-color: #2abb0d;
    height: 2px;
    width: 50px;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li a {
    font-size: 16px;
    color: #bbbbbb;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255,255,255,0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-col .social-links a:hover {
    background-color: #2abb0d;
    color: #fff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    color: #fff;
    font-size: 14px;
}
