/* General Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    color: #333; /* Default text color */
    font-size: 16px; /* Default font size */
    line-height: 1.8; /* Default line height */
}

/* Headings */
h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 28px; /* Default is 24px; adjust based on need */
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 20px; /* Default is 18px; adjust based on need */
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 16px; /* Default is 14px; adjust based on need */
    font-weight: 500;
    line-height: 1.5;
}

/* Body Text */
p {
    font-size: 16px;
    line-height: 1.8;
}

/* Captions */
.caption {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Buttons */
button {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    line-height: 1.5;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

/* Hero Section */
.hero {
    background: url('../images/background-hero.jpg') no-repeat center center/cover;
    height: 80vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 32px;
    font-family: 'Poppins';
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Custom Button */
.custom-button {
    background-color: #14559E;
    color: white;
    padding: 20px 40px;
    font-family: 'Poppins';
    font-size: 16px;
    border: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.custom-button:hover {
    background-color: #0f3e7b;
}

/* Services Section */
.services {
    background-color: #f8f9fa;
}

.services h2 {
    font-size: 36px;
    font-weight: 700;
}

.services p.lead {
    font-size: 18px;
    color: #000000;
    margin-bottom: 40px;
    line-height: 35px;
    font-weight: 400;
    font-family: 'Poppins';
}

.service-box img {
    width: 100%;
    height: 274px;
    object-fit: cover;
    border-radius: 10px;
}

.service-heading {
    text-align: left;
    color: #800000;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins';
}

.service-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    font-family: 'Poppins';
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    line-height: 36px;
    color: #000000;
}

/* Bottom Section */
.bottom-section {
    background-color: #800000;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.bottom-section p {
    font-size: 18px;
    font-weight: 400;
    line-height: 35px;
    font-family: 'Poppins';
    margin-bottom: 20px;
}

.bottom-section .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Quality Assurance Section */
.quality-assurance-section {
    background: url('../images/op-back.jpeg') no-repeat center center/cover;
    background-size: cover;
    color: black;
    font-family: 'Poppins', sans-serif;
    padding: 60px 0;
    position: relative;
    filter: grayscale(100%);
}

.quality-heading {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.quality-assurance-section p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 1130px;
    margin: 0 auto 20px auto;
}

.quality-assurance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.quality-assurance-section .container {
    position: relative;
    z-index: 2;
}

/* Clients Section */
.clients-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.clients-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
}

.client-logo {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .client-logo {
        width: 100%;
        height: auto;
    }
}

/* Responsive Text Sizes */
@media (max-width: 992px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 18px;
    }

    p, .caption {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 16px;
    }

    p, .caption {
        font-size: 12px;
    }
}

/* Accessibility - ensuring minimum text size */
html {
    font-size: 100%; /* Ensures root font size is not reduced below 16px by default */
}

/* Contrast checks */
/* h1, h2, h3, p {
    color: #333; 
} */
