/*
 * Health and Safety Page Specific Styles
 * One Sphere Solutions
 */

/* Logo positioning - hidden as we only want one logo */
.services-logo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 576px) {
    .services-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

/* Icon colors */
.icon-gold {
    color: #d9a442;
    margin-right: 10px;
}

/* Button styles */
.btn-call {
    background-color: #222; /* Match navbar button color */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-call:hover {
    background-color: #d9a442; /* Gold color on hover, matching navbar button hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}

.btn-call i {
    font-size: 1.1em;
}

.btn-gold {
    background-color: #222; /* Match navbar button color */
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-gold:hover {
    background-color: #d9a442; /* Gold color on hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 164, 66, 0.3);
    text-decoration: none;
}

.btn-dark {
    background-color: #222; /* Match navbar button color */
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-dark:hover {
    background-color: #d9a442; /* Gold color on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(217, 164, 66, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline {
    border: 1px solid #222; /* Match navbar button color */
    color: #222;
    transition: all 0.3s ease;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-outline:hover {
    background-color: #d9a442; /* Gold color on hover */
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    border-color: #d9a442;
}

/* List item styles */
.feature-list-item {
    margin-bottom: 1rem;
}

.feature-list-item i {
    color: #d9a442;
    margin-right: 12px;
    font-size: 18px;
}

/* Contact CTA Section */
.contact-cta-section {
    background-color: #283848;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}

.contact-cta-section .container {
    position: relative;
    z-index: 2;
}

.contact-cta-section h2 {
    margin-bottom: 1.5rem;
}

.contact-cta-section h2 i {
    margin-right: 10px;
}

/* Enhanced Services Card */
.services-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #d9a442;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.services-card:hover {
    transform: translateY(-5px);
    border-left-width: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.services-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #283848;
    font-family: 'Helvetica Neue', Helvetica;
    transition: color 0.3s ease;
}

.services-card:hover h3 {
    color: #d9a442;
}

.services-card h3 i {
    margin-right: 10px;
    color: #d9a442;
}

.services-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    font-family: 'Helvetica Neue', Helvetica;
    text-align: left;
}

.services-card .btn-call,
.services-card .btn-outline,
.services-card .btn-gold {
    margin-top: 15px;
    display: inline-block;
}

/* Image overlay text */
.image-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
}

.image-overlay-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.image-overlay-text p {
    font-size: 18px;
    max-width: 600px;
}

/* Statistics Section */
.stats-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #d9a442;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #283848;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #fff;
}

.testimonial-card {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: rgba(217, 164, 66, 0.2);
    font-family: Georgia, serif;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author-info h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.testimonial-author-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-overlay-text h2 {
        font-size: 28px;
    }

    .image-overlay-text p {
        font-size: 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .image-overlay-text {
        padding: 20px;
    }

    .image-overlay-text h2 {
        font-size: 24px;
    }

    .image-overlay-text p {
        font-size: 14px;
    }
}
