@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto&display=swap');

:root {
    --primary-color: #0d47a1;
    --secondary-color: #212121;
    --tertiary-color: #757575;
}

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

body {
    line-height: 1.6;
    font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-height: 70px;
    width: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

/* Main Content Styles */
main {
    margin-top: 80px;
}

.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-container {
    width: 100%;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.banner {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.content-section {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card {
    text-align: center;
    transition: transform 0.3s ease;
    padding: 2rem;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.about-card:hover {
    transform: translateY(-5px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-grid .service-card-wrapper:last-child:nth-child(7) {
    grid-column: 2;
}

nav a i {
    margin-right: 0.5rem;
}

/* Contact Cards Styles */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-card p {
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #083378;
}

.info-icon {
    display: inline-block;
    font-size: 16px;
    color: #0066cc;
    cursor: help;
    margin-left: 5px;
    position: relative;
}

/* Benefits Section Styles */
.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-item .icon-base {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--secondary-color);
    margin: 1rem 0;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--tertiary-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.job-listings-container {
    margin: 2rem 0;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.job-listings-container:hover {
    transform: translateY(-5px);
}

/* Style the ZipRecruiter elements within the container */
#jobs_widget_company_link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    display: block;
    margin-bottom: 1rem;
}

#jobs_widget_link_split {
    color: var(--tertiary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-top: 1rem;
    text-align: center;
}

#jobs_widget_company_link:hover,
#jobs_widget_link_split:hover {
    color: #083378;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.partner-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.partner-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.partner-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.linkedin-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.linkedin-link:hover {
    background-color: #005885;
}

/* Service Offering Specific Styles */
.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    font-size: 0.9em;
}

.service-detail-item {
    margin: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--tertiary-color);
}

.service-detail-item::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-card-description {
    font-size: 0.95em;
    color: var(--tertiary-color);
    margin: 10px 0;
}

.service-card-wrapper {
    position: relative;
    overflow: hidden;
}

.service-card-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-wrapper:hover::after {
    transform: scaleX(1);
}

.service-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.service-additional-info {
    font-size: 0.85em;
    font-style: italic;
    margin-top: 15px;
    color: var(--tertiary-color);
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 2rem 5%;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.footer-section {
    padding: 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-container {
        padding: 1rem;
        position: relative;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    nav ul li {
        text-align: center;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        padding: 1.5rem;
    }

    .content-section {
        padding: 2rem 5%;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid .service-card-wrapper {
        /* Makes all cards the same width */
        width: 100%;
        max-width: 100%;
    }
    
    /* Centers the last card in 2-column layout */
    .about-grid .service-card-wrapper:last-child:nth-child(odd) {
        grid-column: 1 / span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    /* Resets the centering for mobile view */
    .about-grid .service-card-wrapper:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 20px;
    }

    /* For the third card when in two columns */
    .about-grid .about-card:last-child {
        grid-column: span 2;
        width: 50%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 20px;
    }

    /* For the third card when in two columns */
    .partners-grid .partner-card:last-child {
        grid-column: span 2;
        width: 50%;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .partner-card {
        width: 100%;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
    }

    /* Handle the fifth card (last card) in two-column layout */
    .contact-cards .contact-card:last-child {
        grid-column: span 2;
        justify-self: center;
        max-width: 400px; /* or whatever width matches your design */
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .contact-card {
        width: 100%;
    }
}