:root {
    --primary-blue: #0057b8;
    /* Example Blue */
    --primary-yellow: #ffd700;
    /* Example Yellow */
    --primary-red: #d70026;
    /* Example Red */
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --text-color: #555;
    --heading-color: #222;
    --section-padding: 60px 0;
    --container-width: 90%;
    --max-container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    width: var(--container-width);
    max-width: var(--max-container-width);
    margin: 0 auto;
    overflow: hidden;
    /* Clear floats */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    margin-bottom: 15px;
}

h2.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-yellow);
    margin: 10px auto 0;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
}

a:hover {
    color: var(--primary-yellow);
}

.btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: var(--dark-grey);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: #fff;
}


/* --- Header --- */
header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust as needed */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-grey);
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-blue);
}

nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width .3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    /* Hidden on desktop */
    font-size: 24px;
    background: none;
    border: none;
    color: var(--dark-grey);
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-grey);
    color: #f4f4f4;
    padding: 40px 0 20px;
    text-align: center;
}

footer .container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    /* Ensure columns don't get too squished */
    text-align: left;
    margin-bottom: 20px;
}

.footer-col img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-col h4 {
    color: var(--primary-yellow);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li a {
    color: #ccc;
    display: block;
    margin-bottom: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
}

.footer-col p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    width: 100%;
    font-size: 0.9em;
}


/* --- Responsive (Basic) --- */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 70px;
        /* Adjust based on header height */
        left: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    nav ul li a::after {
        /* Hide underline for mobile dropdown */
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    header .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .footer-col {
        text-align: left;
        width: 100%;
        max-width: 300px;
    }
    .footer-col {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col h4,
    .footer-col p ,
    .footer-col ul li a {
        text-align: left;
    }
    .footer .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-col {
      
        width: 100%;
        max-width: 300px;
    }

    .footer-col img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Certificates Section Styles */
#certificates, #about-certificates {
    background-color: var(--light-grey);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.certificates-grid img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certificates-grid img:hover {
    transform: scale(1.03);
}