/* Alternative Homepage Styles */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    background: #bdd653;
    color: #273039;
}

.hero-cta .btn-primary:hover {
    background: #a8c242;
    color: #273039;
}

/* Section Styles */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #112739;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.services-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.services-section .services-title {
    color: white;
}

.services-section .services-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Services Header Layout */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.services-info {
    flex: 1;
    max-width: 570px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.services-description {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.services-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.services-prev,
.services-next {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.services-prev:hover,
.services-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.services-prev i,
.services-next i {
    font-size: 16px;
    color: #fff;
}

.services-slider {
    margin-top: 0;
    position: relative;
    padding: 0;
    max-height: 400px;
}

.services-slider.slick-slider {
    max-height: 400px;
}

.services-slider.slick-initialized {
    max-height: 400px;
}

.services-slider .slick-list {
    margin: 0;
    max-height: 400px;
}

.services-slider .slick-slide {
    padding: 0;
}

.services-slider .slick-prev,
.services-slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #6c757d;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-slider .slick-prev {
    left: -25px;
}

.services-slider .slick-next {
    right: -25px;
}

.services-slider .slick-prev:hover,
.services-slider .slick-next:hover {
    background: #495057;
    transform: translateY(-50%) scale(1.05);
}

.services-slider .slick-prev:before,
.services-slider .slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 14px;
}

.services-slider .slick-prev:before {
    content: '\f104';
}

.services-slider .slick-next:before {
    content: '\f105';
}

/* Featured Content Section */
.featured-content-section {
    position: relative;
}

.featured-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-content-wrapper.image-left {
    grid-template-columns: 1fr 1fr;
}

.featured-content-wrapper.image-right {
    grid-template-columns: 1fr 1fr;
}

.featured-content-wrapper.image-left .featured-content-image {
    order: -1;
}

.featured-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #112739;
}

.featured-content-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #666;
}

.featured-content-secondary {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
}

.featured-content-cta {
    margin-top: 2rem;
}

.featured-content-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 35px;
    transition: all 0.3s ease;
}

.featured-content-cta .btn i {
    transition: transform 0.3s ease;
}

.featured-content-cta .btn:hover i {
    transform: translateX(5px);
}

/* Services View All Button Animation */
.services-section .btn-primary i {
    transition: transform 0.3s ease;
}

.services-section .btn-primary:hover i {
    transform: translateX(5px);
}

/* Industries View All Button Animation */
.industries-section .btn-primary i {
    transition: transform 0.3s ease;
}

.industries-section .btn-primary:hover i {
    transform: translateX(5px);
}

.featured-content-image {
    position: relative;
    text-align: center;
}

.featured-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-content-image img:hover {
    transform: translateY(-5px);
}

.featured-content-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

/* Background Colors */
.white-bg {
    background-color: #ffffff;
}

.light-gray-bg {
    background-color: #f8f9fa;
}

.dark-gray-bg {
    background-color: #343a40;
    color: white;
}

.dark-gray-bg .featured-content-title,
.dark-gray-bg .featured-content-description,
.dark-gray-bg .featured-content-secondary {
    color: white;
}

.primary-bg {
    background-color: #273039;
    color: white;
}

.primary-bg .featured-content-title,
.primary-bg .featured-content-description,
.primary-bg .featured-content-secondary {
    color: white;
}

.green-bg {
    background-color: #bdd653;
}

.green-bg .featured-content-title {
    color: #273039;
    font-weight: 700;
}

.green-bg .featured-content-description,
.green-bg .featured-content-secondary {
    color: #1a2329;
    font-weight: 500;
}

.green-bg .featured-content-cta .btn {
    background-color: #9bc23a;
    color: white;
    border: 2px solid #9bc23a;
}

.green-bg .featured-content-cta .btn:hover {
    background-color: #8ab32f;
    border-color: #8ab32f;
    color: white;
}

.service-section {

}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    margin: 0 20px;
    min-height: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.service-image {
    position: relative;
    height: 66%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #273039, #1a2329);
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 1.5rem;
    height: 34%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-excerpt {
    color: #f1f1f1;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-size: 0.85rem;
    flex: 1;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

/* Clients Section */
.m-partners {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.colors-inverted {
    padding: 3rem 0;
    width: 100%;
}

.partners-scroll {
    display: flex;
    align-items: center;
    gap: 4rem;
    white-space: nowrap;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    padding: 0 2rem;
}

.partners-scroll-left {
    animation-name: scrollLeft;
}

.partners-scroll-right {
    animation-name: scrollRight;
    margin-top: 2rem;
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    filter: grayscale(100%) brightness(0.7);
    transition: all 0.3s ease;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.1);
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 160px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

/* Scrolling Animations */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover */
.m-partners:hover .partners-scroll {
    animation-play-state: paused;
}

/* Industries Section */
.industries-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.industries-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.industries-section .section-title {
    color: white;
}

.industries-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.industry-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 250px;
    width: 100%;
}

.industry-card:last-child {
    margin-right: 0;
}

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

.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.industry-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #273039, #1a2329);
    color: white;
    font-size: 2.5rem;
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 73, 94, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.industry-card:hover .industry-overlay {
    background: rgba(52, 73, 94, 0.8);
}

.industry-content {
    text-align: center;
    color: white;
    padding: 2rem;
    width: 100%;
}

.industry-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.3;
}

.industry-hover-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.industry-card:hover .industry-hover-content {
    opacity: 1;
    transform: translateY(0);
}

.industry-excerpt {
    color: #f0f0f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.industry-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
}

.industry-link:hover {
    color: #273039;
    background: white;
    gap: 0.75rem;
}

.industry-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.industry-link:hover i {
    transform: translateX(3px);
}

/* Testimonials Section */
.testimonials-slider {
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #112739;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #112739;
    margin-bottom: 0.25rem;
}

.author-title,
.author-company {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating .fa-star {
    color: #ddd;
    font-size: 1rem;
}

.testimonial-rating .fa-star.filled {
    color: #ffc107;
}

/* Awards Section */
.awards-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: scrollAwards;
    padding: 0 2rem;
    margin-top: 3rem;
    overflow: hidden;
    width: max-content;
    min-width: 100%;
}

.awards-grid:hover {
    animation-play-state: paused;
}

.award-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    min-width: 300px;
    margin-right: 2rem;
}

.award-logo img {
    max-width: 120px;
    max-height: 100px;
    height: auto;
    object-fit: contain;
}

.award-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #112739;
    margin-bottom: 0.25rem;
}

.award-organization {
    color: #666;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.award-year {
    color: #273039;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Awards Scrolling Animation */
@keyframes scrollAwards {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 2rem));
    }
}

/* Blog Section */
.blog-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.blog-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.blog-section .section-title {
    color: white;
}

.blog-section .section-subtitle {
    color: #cccccc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    height: auto;
}

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

.blog-image {
    position: relative;
    height: 200px;
    padding: 12px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #34495e, #0056b3);
    color: white;
    font-size: 2rem;
    border-radius: 12px;
}

.blog-content {
    position: relative;
    padding: 1.5rem;
    background: none;
    z-index: 2;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: white;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.blog-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    color: white;
    gap: 0.75rem;
}

.blog-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

/* Quote Section */
.quote-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
}

.quote-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.quote-title {
    font-size: 2.5rem;
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

.quote-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quote-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    color: #112739;
}

/* Quote Form Label Alignment Fixes */
.quote-form .gform_wrapper.gravity-theme .gfield_label {
    text-align: left !important;
    justify-content: flex-start !important;
}

.quote-form .gform_wrapper.gravity-theme .gfield_description {
    text-align: left !important;
}

.quote-form .gform_wrapper.gravity-theme .gfield_required {
    text-align: left !important;
}

/* Fix email field width */
.quote-form .gform_wrapper.gravity-theme .gfield input.medium,
.quote-form .gform_wrapper.gravity-theme .gfield select.medium {
    width: 100% !important;
}

/* Hide field descriptions and slider values */
.quote-form .gform_wrapper.gravity-theme .gfield_description {
    display: none !important;
}

.quote-form .gf-slider-value, .gform_required_legend {
    display: none !important;
}

/* Mobile form field stacking */
@media (max-width: 768px) {
    .quote-form .gform_wrapper.gravity-theme .gfield {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    
    .quote-form .gform_wrapper.gravity-theme .gfield input,
    .quote-form .gform_wrapper.gravity-theme .gfield select,
    .quote-form .gform_wrapper.gravity-theme .gfield textarea {
        width: 100% !important;
    }
    
    .quote-form .gform_wrapper.gravity-theme .gfield.gf_left_half,
    .quote-form .gform_wrapper.gravity-theme .gfield.gf_right_half {
        width: 100% !important;
        float: none !important;
        clear: both !important;
    }
}

/* Rangeslider Value Bubble Fixes */
.rangeslider__value-bubble {
    font-size: 16px !important;
    width: 100px !important;
    margin-left: -50px !important;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
	min-width: 180px;
}

.btn-primary {
    background: #112739;
    color: white;
}

.btn-primary:hover {
    background: #1a2329;
    color: white;
}

.btn-secondary {
    background: white;
    color: #273039;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f8f9fa;
    color: #273039;
}

.btn-outline {
    background: transparent;
    color: #273039;
    border: 2px solid #273039;
}

.btn-outline:hover {
    background: #273039;
    color: white;
}

/* Utility Classes */
.bg-light {
    background-color: #e6eaec !important;
}

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

.mt-5 {
    margin-top: 3rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    /* Services Header Responsive */
    .services-header {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    
    .services-info {
        max-width: 100%;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-description {
        font-size: 1rem;
    }
    
    .services-slider {
        padding: 0 40px;
        max-height: 400px;
    }
    
    .services-slider .slick-prev {
        left: -20px;
    }
    
    .services-slider .slick-next {
        right: -20px;
    }
    
    /* Featured Content Mobile Improvements */
    .featured-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .featured-content-wrapper.image-left .featured-content-image {
        order: 0;
    }
    
    .featured-content-image {
        width: 100%;
        order: -1; /* Image on top */
        margin-bottom: 2rem;
    }
    
    .featured-content-text {
        width: 100%;
        order: 1; /* Text on bottom */
    }
    
    .featured-content-title {
        font-size: 2rem;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Case Studies Mobile Improvements */
    .case-studies-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-studies-left {
        order: -1; /* Case studies on top */
        width: 100%;
    }
    
    .case-studies-right {
        order: 1; /* Content on bottom */
        padding-left: 0;
        width: 100%;
    }
    
    .case-studies-title {
        font-size: 2rem;
    }
    
    /* Keep case-studies-stats in a row on mobile */
    .case-studies-stats {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }
    
    .case-study-cards-small {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .case-study-card-large .case-study-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }
    
    .case-study-card-small .case-study-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
    }
    
    .awards-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        height: auto;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-title {
        font-size: 1.1rem;
    }
    
    .blog-excerpt {
        font-size: 0.9rem;
    }
    
    .partners-scroll {
        gap: 2rem;
        animation-duration: 20s;
        padding: 0 1rem;
    }
    
    .partner-logo {
        min-width: 120px;
        padding: 1rem;
    }
    
    .partner-logo img {
        max-width: 100px;
        max-height: 60px;
    }
    
    .colors-inverted {
        padding: 2rem 0;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .award-card {
        flex-direction: column;
        text-align: center;
        min-width: 250px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.case-study-card.hover,
.industry-card.hover,
.blog-card.hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #273039;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a2329;
}

/* Testimonials Section - Redesigned */
.testimonials-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.testimonials-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

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

.testimonials-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 620px;
}

/* Left Side - Scrolling Testimonials */
.testimonials-left {
    position: relative;
    height: 620px;
    overflow: hidden;
}

.testimonials-scroll {
    animation: scrollTestimonials 48s linear infinite;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.testimonials-scroll:hover {
    animation-play-state: paused;
}

/* CSS Gradient Fade Effect */
.testimonials-section::before,
.testimonials-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-section::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 100%);
}

.testimonials-section::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0) 100%);
}

/* Duplicate testimonials for seamless loop */
.testimonials-scroll::after {
    content: '';
    display: block;
    height: 2rem;
}

.testimonial-bubble {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    max-width: 400px;
    opacity: 1;
    position: relative;
}

.testimonial-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ccc;;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #273039, #1a2329);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    color: #273039;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.testimonial-author .author-name {
    color: #273039;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-author .author-company {
    color: #666;
    font-size: 0.8rem;
}

/* Right Side - Metrics Cards */
.testimonials-right {
    text-align: left;
}

.metrics-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.metrics-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
    transition: transform 0.3s ease;
    flex: 1;
    max-width: 200px;
}

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

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon i {
    font-size: 1.5rem;
    color: white;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.metric-suffix {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.metric-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Animations */
@keyframes scrollTestimonials {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-left {
        height: 300px;
    }
    
    .testimonial-bubble {
        max-width: 100%;
    }
    
    /* Keep metrics-grid as a row on mobile */
    .metrics-grid {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .metric-card {
        padding: 1rem;
        max-width: calc(50% - 0.5rem);
        min-width: 140px;
    }
    
    .metric-value {
        font-size: 1.8rem;
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
    }
    
    .metric-icon i {
        font-size: 1.2rem;
    }
    
    .metrics-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Additional mobile improvements */
    .featured-content-section {
        padding: 3rem 0;
    }
    
    .case-studies-section {
        padding: 3rem 0;
    }
    
    .testimonials-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .testimonials-layout {
        min-height: auto;
    }
    
    /* Improve mobile spacing for stats */
    .stat-number, .metric-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Better mobile spacing for case study cards */
    .case-studies-grid {
        gap: 15px;
    }
    
    .case-study-card-large {
        height: 250px;
    }
    
    .case-study-card-small {
        height: 180px;
    }
}
