/* General Reset and Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Header */
header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-around;  /* Align items to the right */
    align-items: center;
    position: fixed; /* Keep the header fixed at the top */
    top: 0;
    left: 0;
    width: 100%; /* Ensures the header spans the full width */
    z-index: 1000; /* Keeps the header above other content */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Adds shadow to header */
}

/* Brand Style */
header .brand {
    font-size: 1.5em;
    font-weight: bold;
}

/* Navigation Bar */
.nav-bar {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.nav-bar li {
    display: inline-block;
}

.nav-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-bar a:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* Main Content Styling */
main {
    padding: 40px 20px;
    text-align: left;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
}

/* Section Styling */
section {
    margin-bottom: 40px;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2em;
}

p,
ul {
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px; /* Adds space between list items */
}

/* About Us and Services Sections */
.about-content, .services-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.about-content .text, .services-content .text {
    flex: 1;
    margin-right: 20px;
}

.about-content .image, .services-content .image {
    flex: 1;
}

.about-content img, .services-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: box-shadow 0.3s ease-in-out;
}

/* Hover effect for images */
.about-content img:hover, .services-content img:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Loader Styling */
.loader_bg {
    position: fixed;
    z-index: 9999999;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    width: 100%;
    height: 100%;
}

.loader {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader img {
    width: 280px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px; /* Added space below header */
    }

    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Increase padding-top on smaller screens to avoid header overlap */
    main {
        padding-top: 120px; /* Adjust padding-top to account for header height */
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .about-content, .services-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content .text, .services-content .text {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .about-content img, .services-content img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Certification Badges Section */
.certification-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.badge {
    text-align: center;
    width: 150px;
}

.badge img {
    width: 100%;
    max-width: 120px; /* You can adjust the size as needed */
    height: auto;
    border-radius: 10px; /* Optional: For rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adding a subtle shadow */
}

.badge p {
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

/* Responsive Design for Certifications */
@media (max-width: 768px) {
    .certification-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        margin-bottom: 20px;
    }

    .badge img {
        width: 80%;  /* Ensure badges scale on small screens */
        max-width: 120px;
    }
}