/* Owner: site/ui. Existing visual rules extracted from style.css. */
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    animation: slideInUp 1.4s ease-out 0.8s both;
}

.primary-btn {
    background: var(--gradient-reverse);
    color: white !important;
    border: none;
    padding: 10px 27px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 165, 80, 0.3);
    display: inline-block;
}

.primary-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 165, 80, 0.4);
    color: white !important;
}

.primary-btn:hover::before {
    left: 100%;
}

.secondary-btn {
    background: var(--secondary-color);
    color: #fff;
    border: 2px solid var(--secondary-color);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgb(255 255 255 / 39%),
        inset 0 0 20px rgb(0 165 80 / 18%);
    /* box-shadow: 0 0 30px rgb(0 165 80 / 45%), 0 0 60px rgb(0 165 80 / 45%), inset 0 0 30px rgb(0 165 80 / 22%); */
}

.secondary-btn:hover {
    color: #fff;
    background: transparent;
    transform: translateY(-3px);
    border-color: #fff;
}

.padding {
    padding: var(--site-section-space) 0;
}

.breadcrumb-nav {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb-nav a {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.btn-gradient {
    background: var(--gradient);
    color: #fff !important;
    border: none;
    padding: 12px 0;
}

.btn-gradient:hover {
    background: var(--gradient-reverse);
}

.form-control {
    padding: 9px 10px;
    color: #595c5f;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgb(0 132 152 / 54%);
}

.hover-img {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.hover-img:hover img {
    transform: scale(1.2) rotate(2deg);
    filter: brightness(0.7);
}

.hover-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inner-banner {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.inner-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.inner-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.8;
    z-index: 2;
}

.inner-banner-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'><defs><pattern id='grid' width='50' height='50' patternUnits='userSpaceOnUse'><path d='M 50 0 L 0 0 0 50' fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1'/></pattern></defs><rect width='100%' height='100%' fill='url(%23grid)'/></svg>");
    /* fallback base color */
    z-index: 3;
    /* animation: float 20s ease-in-out infinite; */
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='partners-pattern' width='40' height='40' patternUnits='userSpaceOnUse'><path d='M20 0v40M0 20h40' stroke='rgba(255,255,255,0.08)' stroke-width='1'/><circle cx='20' cy='20' r='3' fill='rgba(255,255,255,0.1)'/><circle cx='10' cy='10' r='1.5' fill='rgba(255,255,255,0.08)'/><circle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,0.08)'/></pattern></defs><rect width='100%' height='100%' fill='url(%23partners-pattern)'/></svg>");
    opacity: 0.6;
}

.inner-banner-content {
    position: relative;
    z-index: 4;
    text-align: left;
    padding: 100px 0 80px;
    width: 100%;
}

.inner-banner h1 {
    font-size: 3.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* animation: slideUp 1s ease-out; */
}

.inner-banner .lead,
.inner-banner p {
    font-size: 1.4rem;
    /*opacity: 0.9;*/
    /* animation: slideUp 1s ease-out 0.2s both; */
}

.breadcrumb-custom {
    background: transparent;
    padding: 0;
    margin-top: 30px;
    justify-content: center;
    animation: slideUp 1s ease-out 0.4s both;
}

.breadcrumb-custom .breadcrumb-item {
    font-size: 1rem;
}

.breadcrumb-custom .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.breadcrumb-custom .breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-custom .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}
.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gradient-reverse);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 114, 190, 0.3);
}

.bg-light-custom {
    background: var(--bg-gradient) !important;
}
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}
.text-muted-custom {
    color: #64748b !important;
}

.card-hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control.textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--gradient-reverse);
    transform: translateY(-2px);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 114, 190, 0.1);
    transform: translateY(-2px);
}

.form-control.textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
}

.btn-primary-custom {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-custom:hover {
    background: var(--gradient-reverse);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 114, 190, 0.3);
    color: white;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 114, 190, 0.1);
}

.form-control.textarea {
    resize: vertical;
    min-height: 120px;
}

@media only screen and (max-width: 767px) {

    .breadcrumb-nav a {
        font-size: 1rem;
        padding: 4px 10px;
    }

    .padding {
        padding: 2.7rem 0;
    }

    .secondary-btn {
        font-size: 14px;
        padding: 8px 25px;
    }

    .inner-banner {
        min-height: 275px;
    }

    .inner-banner-content {
        padding: 70px 0 50px;
    }

    .inner-banner h1 {
        font-size: 2.4rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 10px 20px;
        font-size: 14px;
        line-height: normal;
    }
}

@media only screen and (max-width: 575px) {

    .primary-btn {
        display: inline-block;
        padding: 7px 23px;
    }
}

@media only screen and (max-width: 500px) {
    a.secondary-btn.industry-btn {
        text-align: end;
        float: inline-start;
    }
}
@media (max-width: 767.98px) {

    .modal-dialog.popupForm .form-control {
        background: #f8fafc;
        border: 1px solid #dee2e6;
        font-size: 16px;
    }

    .modal-dialog.popupForm .form-control:focus {
        background: #ffffff;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 114, 190, 0.15);
    }
}
.banner-slider .slick-track {
    min-height: 450px;
}
.testimonial-wrapper .slick-track {
    min-height: 400px;
}
.slick-client {
    min-height: 100px;
}
.slick-client .slick-track {
    min-height: 100px;
}
.awards-slider .slick-track {
    min-height: 120px;
}
.location-slider .slick-track {
    min-height: 350px;
}
article.blog-content img {
    aspect-ratio: 16/9;
}
.award-logo {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.award-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.service-video-card img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}
.why-img img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}
.slick-client:not(.slick-initialized),
.partners-grid:not(.slick-initialized),
.youtube-slider:not(.slick-initialized),
.testimonial-slider:not(.slick-initialized),
.team-slider:not(.slick-initialized),
.location-slider:not(.slick-initialized),
.popular-articles-slider:not(.slick-initialized),
.awards-slider:not(.slick-initialized) {
    display: flex !important;
    flex-wrap: nowrap;
    overflow: hidden;
}

.slick-client:not(.slick-initialized) > *,
.partners-grid:not(.slick-initialized) > *,
.youtube-slider:not(.slick-initialized) > *,
.testimonial-slider:not(.slick-initialized) > *,
.team-slider:not(.slick-initialized) > *,
.location-slider:not(.slick-initialized) > *,
.popular-articles-slider:not(.slick-initialized) > *,
.awards-slider:not(.slick-initialized) > * {
    flex: 0 0 auto;
}
@media (max-width: 767.98px) {
    .modal-dialog.popupForm {
        margin: 0.5rem;
    }

    .modal-dialog.popupForm .modal-content {
        border-radius: 12px;
    }

    .modal-dialog.popupForm .form-box {
        background: #ffffff !important;
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .modal-dialog.popupForm .form-control {
        background: #f8fafc;
        border: 1px solid #dee2e6;
        font-size: 16px;
    }

    .modal-dialog.popupForm .form-control:focus {
        background: #ffffff;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(0, 114, 190, 0.15);
    }

    .modal.show .modal-dialog.popupForm {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
    }

    .modal-backdrop.show {
        opacity: 0.5 !important;
    }
}

/* Extracted from web/layout/header.blade.php. */
.modal-backdrop {
            display: none !important;
        }

        .modal.show {
            background: rgba(0, 0, 0, 0.5) !important;
        }

.social-link {
    font-size: 1rem;
    transition: transform 0.3s;
    color: white;
    width: 35px;
    height: 35px;
    display: grid;
    place-content: center;
    border-radius: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.twitter {
    background: #000000;
}

.social-link.github {
    background: #333;
}

.social-link.instagram {
    background: linear-gradient(
        45deg,
        #feda75 0%,
        #fa7e1e 25%,
        #d62976 50%,
        #962fbf 75%,
        #4f5bd5 100%
    );
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.youtube {
    background: #ff0000;
}

.hero-image-wrapper { overflow: hidden; }
.faq-question-icon { color: var(--primary-color); }

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn-submit {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s;
}

.btn-submit:hover {
    background: var(--gradient-reverse);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 114, 190, 0.3);
}

.btn-submit:hover::before {
    left: 100%;
}

.form-subtitle {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 114, 190, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon i {
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-benefits li {
    margin-bottom: 5px;
}

.feature-benefits li i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 0.8rem;
}

        .work-process-section .process-step {
            position: relative;
            padding: 40px 30px;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .work-process-section .process-step:hover {
            transform: translateY(-10px);
        }

        .work-process-section .step-number {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 40px;
            height: 40px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            font-size: 1.2rem;
            border: 4px solid var(--light-color);
        }


        .work-process-section .process-step:nth-child(1) .step-icon {
            background: linear-gradient(135deg, #0072be 0%, #005a96 100%);
        }

        .work-process-section .process-step:nth-child(2) .step-icon {
            background: linear-gradient(135deg, #005a96 0%, #0072be 100%);
        }

        .work-process-section .process-step:nth-child(3) .step-icon {
            background: linear-gradient(135deg, #0072be 0%, #00a550 100%);
        }

        .work-process-section .process-step:nth-child(4) .step-icon {
            background: linear-gradient(135deg, #00a550 0%, #0072be 100%);
        }

.cms-cta-subtitle { opacity: .9; font-size: 1.1rem; }

ul.slick-dots {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

ul.slick-dots li button {
    border: 0;
    font-size: 0;
    width: 20px;
    height: 5px;
    background: var(--primary-color);
    border-radius: 30px;
    margin: 0 0 0 5px;
    transition: 0.4s ease;
}

ul.slick-dots li.slick-active button {
    width: 40px;
    background: var(--secondary-color);
}

/* Shared office map; placement and compact sizing belong to its consumers. */
.site-location-map {
    display: block;
    width: 100%;
    border: 0;
}

/* Shared CTA styles used by the public header, newsletter and page sections. */
.homepage-hero__button,
.top-bar .homepage-hero__button {
    box-sizing: border-box;
    display: inline-flex;
    max-width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid transparent;
    border-radius: var(--site-button-radius);
    color: #fff;
    background: var(--homepage-primary-gradient, var(--gradient));
    box-shadow: 0 6px 18px rgba(0, 114, 190, 0.18);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.homepage-hero__button--primary,
.homepage-hero__button--primary:hover {
    color: #fff;
    background: var(--homepage-primary-gradient, var(--gradient));
}

/* Light contrast CTA for colorful surfaces, matching the newsletter's Call Us button. */
.homepage-hero__button--primary.homepage-hero__button--contrast,
.top-bar .header-quote-btn.homepage-hero__button--contrast {
    color: var(--primary-color);
    background: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.homepage-hero__button--primary.homepage-hero__button--contrast:hover,
.top-bar .header-quote-btn.homepage-hero__button--contrast:hover {
    color: var(--primary-color);
    background: var(--light-color, #f4f9fc);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.28);
}

.homepage-hero__button--secondary {
    color: #07304a;
    border-color: rgba(7, 48, 74, 0.72);
    background: transparent;
    box-shadow: none;
}

.homepage-hero__button--secondary.homepage-hero__button--on-dark {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(6, 24, 39, 0.22);
    backdrop-filter: blur(8px);
}

.homepage-hero__button:hover {
    transform: translateY(-2px);
}

.homepage-hero__button--secondary:hover {
    color: #fff;
    background: #07304a;
}

.homepage-hero__button--secondary.homepage-hero__button--on-dark:hover {
    color: #07304a;
    background: #fff;
}

.homepage-hero__button:focus-visible {
    outline: 3px solid #0879e8;
    outline-offset: 4px;
}

.homepage-hero__button--on-dark:focus-visible {
    outline-color: #78e0ed;
}

.homepage-hero__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.top-bar .header-quote-btn.homepage-hero__button {
    min-height: 38px;
    margin-left: 0;
    padding: 8px 16px;
    border-radius: var(--site-button-radius);
    font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
    .homepage-hero__button {
        transition: none;
    }
}

@media (max-width: 575.98px) {
    .homepage-hero__button,
    .top-bar .homepage-hero__button {
        min-height: 44px;
        padding: 10px 18px;
    }

    .top-bar .header-quote-btn.homepage-hero__button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 0.78rem;
    }
}
