/* Services Section Styles */
.services-section {
    padding: 80px 0;
    background: #ffffff; /* Changed to solid white background */
}

.services-section .auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-section .sec-title.text-center {
    text-align: center;
}

.services-section .sec-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222222; /* Changed to dark color for contrast on white background */
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.services-section .sec-title h3 span {
    margin-left: 0.3em;
    color: #e74c3c;
}

.services-section .sec-title .text {
    font-size: 1.1rem;
    color: #555555; /* Changed to darker color for readability */
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-section .service-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.services-section .service-item:hover {
    transform: translateY(-5px);
}

.services-section .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.services-section .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.services-section .image-wrapper .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(231, 76, 60, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-section .service-item:hover .image-wrapper .gradient-overlay {
    opacity: 1;
}

.services-section .caption {
    padding: 10px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 10px 10px;
    width: 100%;
    box-sizing: border-box;
}

.services-section .caption h3 a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.services-section .caption h3 a:hover {
    color: #e74c3c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-section .sec-title h3 {
        font-size: 2rem;
    }
    .services-section .sec-title .text {
        font-size: 1rem;
    }
    .services-section .caption h3 a {
        font-size: 1.1rem;
    }
    .services-section .service-item {
        margin-bottom: 20px;
    }
    .services-section .image-wrapper img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .services-section .caption {
        padding: 8px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .services-section .sec-title h3 {
        font-size: 1.8rem;
    }
    .services-section .sec-title .text {
        font-size: 0.9rem;
    }
    .services-section .caption h3 a {
        font-size: 1rem;
    }
    .services-section .image-wrapper {
        max-width: 80%;
        margin: 0 auto;
    }
    .services-section .image-wrapper img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
    .services-section .caption {
        padding: 6px;
        width: 80%;
        margin: 0 auto;
    }
}
/* Leadership Section Styles */
.leadership-section {
    padding: 80px 0;
    background: url('images/background/1.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.leadership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.leadership-section .auto-container {
    position: relative;
    z-index: 1;
}

.leadership-section .sec-title.light h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.leadership-section .sec-title.light h3 span {
    color: #e74c3c;
}

.leadership-section .sec-title.light .text {
    font-size: 1.1rem;
    color: #ddd;
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.leadership-section .leader-block .inner-box h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.leadership-section .leader-block .inner-box p {
    font-size: 1rem;
    color: #bbb;
    margin-bottom: 10px;
    font-style: italic;
}

.leadership-section .leader-block .inner-box .text {
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.5;
}

.leadership-section .leader-block .image-box img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-section .leader-block .image-box img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.leadership-section .theme-btn.btn-style-one {
    background-color: #e74c3c;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.leadership-section .theme-btn.btn-style-one:hover {
    background-color: #c0392b;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .leadership-section .sec-title.light h3 {
        font-size: 2rem;
    }
    .leadership-section .leader-block .inner-box h4 {
        font-size: 1.3rem;
    }
    .leadership-section .leader-block {
        text-align: center;
    }
    .leadership-section .link-box {
        margin-top: 20px;
    }
}
/* Testimonial Section Styles */
.testimonials-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.testimonials-section .auto-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.testimonials-section .sec-title h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 10px;
}

.testimonials-section .sec-title h3 span {
    color: #e74c3c;
}

.testimonials-section .sec-title .text {
    font-size: 1.2rem;
    color: #555555;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.testimonial-carousel {
    margin-top: 30px;
}

.testimonial-block {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.testimonial-block .inner-box {
    background: linear-gradient(135deg, rgba(245, 245, 245, 0.95) 0%, rgba(230, 230, 230, 0.95) 100%);
    border: 2px solid rgba(231, 76, 60, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-block .inner-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-block .quote-icon {
    margin-bottom: 15px;
}

.testimonial-block .quote-icon svg {
    transition: transform 0.3s ease;
}

.testimonial-block .inner-box:hover .quote-icon svg {
    transform: scale(1.1);
}

.testimonial-block h4 {
    font-size: 1.4rem;
    color: #222222;
    margin-bottom: 12px;
    font-weight: 600;
}

.testimonial-block .text {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.testimonial-block .info-box .name {
    font-size: 1.2rem;
    color: #222222;
    font-weight: 500;
    margin-bottom: 5px;
}

.testimonial-block .info-box .designation {
    font-size: 0.95rem;
    color: #555555;
}

/* Responsive Adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .testimonial-carousel {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .testimonial-block {
        width: calc(50% - 10px);
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section .sec-title h3 {
        font-size: 1.8rem;
    }

    .testimonials-section .sec-title .text {
        font-size: 1rem;
        max-width: 90%;
    }

    .testimonial-block {
        max-width: 400px;
    }

    .testimonial-block .inner-box {
        padding: 20px;
    }

    .testimonial-block h4 {
        font-size: 1.2rem;
    }

    .testimonial-block .text {
        font-size: 0.9rem;
    }

    .testimonial-block .info-box .name {
        font-size: 1.1rem;
    }

    .testimonial-block .info-box .designation {
        font-size: 0.85rem;
    }

    .testimonial-block .quote-icon svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 30px 0;
    }

    .testimonials-section .sec-title h3 {
        font-size: 1.6rem;
    }

    .testimonials-section .sec-title .text {
        font-size: 0.9rem;
    }

    .testimonial-block {
        max-width: 100%;
    }

    .testimonial-block .inner-box {
        padding: 15px;
    }

    .testimonial-block h4 {
        font-size: 1.1rem;
    }

    .testimonial-block .text {
        font-size: 0.85rem;
    }

    .testimonial-block .info-box .name {
        font-size: 1rem;
    }

    .testimonial-block .info-box .designation {
        font-size: 0.8rem;
    }

    .testimonial-block .quote-icon svg {
        width: 20px;
        height: 20px;
    }
}