/* Reset margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    background-color: rgb(19, 57, 113);
}

header {
    text-align: center;
    padding: 20px;
    background-color: rgb(19, 57, 113);
    color: white;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.logo {
    text-align: center;
    margin: 20px 0;
}

.logo img {
    width: 150%;
    height: auto;
    max-width: 250px;
    border-radius: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.grid-item {
    text-align: center;
}

.grid-item img {
    width: 150%;
    height: auto;
    max-width: 250px;
    border-radius: 15px;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: rgb(19, 57, 113);
    color: white;
    margin-top: 40px;
}

/* About Us Section */
.about-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: rgb(19, 57, 113);
    line-height: 1.8;
}

.about-section p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-section a {
    color: rgb(19, 57, 113);
    text-decoration: underline;
}

.about-section strong {
    font-size: 18px;
    color: rgb(19, 57, 113);
}

/* Team Section */


/* General grid styling for desktop */
.team-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for larger screens */
    gap: 20px;
    padding: 20px;
}

.team-member {
    text-align: center;
}

/* Image responsive styling */
.team-member img {
    width: 100%;
    /* Make images responsive */
    height: auto;
    max-width: 150px;
    /* Optional: Set a maximum width */
}

/* Mobile styling: Adjust grid and text size for mobile */
@media (max-width: 768px) {

    /* Set two items in two rows on mobile */
    .team-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for mobile */
        gap: 15px;
        /* Adjust gap for smaller screens */
    }

    /* Increase font size for all text on mobile */
    h1,
    h2,
    h3,
    p,
    a {
        font-size: 18px;
        /* Adjust this value based on preference */
    }

    /* Adjust team member images for mobile */
    .team-member img {
        max-width: 120px;
        /* Smaller image size on mobile */
    }
}



.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: auto;
    border-radius: 10px;
}

.team-member p {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
}

/* Experience Section */
.experience-section {
    margin-top: 20px;
    line-height: 1.6;
    /* Compact the text */
}

.experience-section ul {
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}

.experience-section li {
    margin-bottom: 5px;
    /* More compact list items */
}

/* Ensure links are white */
.link-text {
    color: white;
    /* White color for links */
    text-decoration: none;
    /* No underline */
    font-size: 16px;
    /* Adjust font size if necessary */
    display: block;
    text-align: center;
    margin-top: 5px;
}

.link-text:hover {
    text-decoration: underline;
    /* Underline on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .team-container {
        grid-template-columns: 1fr;
        /* Stack team members vertically on mobile */
    }

    .about-section {
        padding: 15px;
        /* Reduce padding on smaller screens */
    }

    header h1 {
        font-size: 36px;
        /* Make the main header larger */
    }

    header h2 {
        font-size: 24px;
        /* Make "Your SOURCE for IT expertise!" larger */
        margin-top: 10px;
        color: rgb(19, 57, 113);
        /* Keep the same text color as rest of the page */
    }

    .team-member img {
        width: 120px;
        /* Adjust image size for mobile */
    }

    footer {
        margin-top: 20px;
        /* Adjust footer spacing on mobile */
    }

    .experience-section {
        font-size: 14px;
        /* Smaller font for compact text on mobile */
    }

    .experience-section ul {
        padding-left: 15px;
        /* Compact list padding for mobile */
    }

    .experience-section li {
        margin-bottom: 3px;
        /* Tighten spacing between list items on mobile */
    }
}

/* Style for the line separator */
.styled-separator {
    border: none;
    border-top: 3px solid rgb(19, 57, 113);
    /* Same color as background */
    margin: 40px 0;
    /* Increased padding for more space */
}

/* Cursive text */
em {
    font-style: italic;
    font-size: 18px;
    color: rgb(19, 57, 113);
}

/* General grid styling for desktop */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Two columns on larger screens */
    gap: 20px;
    padding: 20px;
}

/* Grid items styling */
.grid-item {
    text-align: center;
}

/* Image responsive styling */
.grid-item img {
    width: 100%;
    /* Make images responsive */
    height: auto;
    max-width: 250px;
    /* Optional: Set a maximum width */
}

/* Mobile styling: Stack grid items on smaller screens */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* One column for mobile */
        gap: 15px;
        /* Adjust gap for smaller screens */
    }
}