.industry-content{
    min-height: 400px;
}

.home-top-banner {
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.home-top-banner__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home-top-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(17, 24, 39, 0.82), rgba(191, 12, 18, 0.72));
    z-index: 1;
}

.home-top-banner .container {
    position: relative;
    z-index: 2;
}

.home-top-banner__content {
    max-width: 900px;
}

.home-top-banner__content h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.15;
}

.home-top-banner__content p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.08rem;
    line-height: 1.85;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.site-page-shell {
    animation: pageFadeIn 0.75s ease both;
}

.page-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.page-reveal-content {
    transform: translateY(18px);
    transition-duration: 0.6s;
}

.page-reveal-left {
    transform: translateX(-32px);
}

.page-reveal-right {
    transform: translateX(32px);
}

.page-reveal-scale {
    transform: scale(0.96) translateY(18px);
}

.page-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.jumbotron .container {
    animation: fadeInUp 0.8s ease both;
}

.site-page-shell > .container,
.site-page-shell > .container-fluid {
    position: relative;
}

.site-page-shell .page-reveal img {
    backface-visibility: hidden;
}
.service-item{
    background-color: #e5e5e5e5;
    margin: 0px 20px 20px 20px;
    padding: 10px;
    height: 650px;
}

.service-sidebar,
.service-detail-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.service-sidebar {
    padding: 24px;
    position: sticky;
    top: 24px;
}

.service-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-sidebar p {
    color: #6c757d;
    margin-bottom: 20px;
}

.service-side-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-side-link {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    color: #2b2b2b;
    display: block;
    font-weight: 600;
    padding: 14px 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-side-link:hover,
.service-side-link.active {
    background: #bf0c12;
    border-color: #bf0c12;
    color: #ffffff;
}

.service-detail-card {
    overflow: hidden;
}

.service-detail-hero {
    background: linear-gradient(135deg, rgba(191, 12, 18, 0.96), rgba(17, 24, 39, 0.92)), url('../img/header.jpg') center/cover;
    color: #ffffff;
    padding: 40px;
}

.service-detail-kicker {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    padding: 8px 14px;
    text-transform: uppercase;
}

.service-detail-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.service-detail-hero p {
    font-size: 1.05rem;
    margin: 0;
    max-width: 720px;
}

.service-detail-body {
    padding: 32px 40px 40px;
}

.service-detail-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-detail-body li {
    border-top: 1px solid #e9ecef;
    padding: 24px 0;
}

.service-detail-body li:first-child {
    border-top: 0;
    padding-top: 0;
}

.service-detail-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.service-detail-cta {
    margin-top: 8px;
}

@media (max-width: 991.98px) {
    .service-sidebar {
        margin-bottom: 24px;
        position: static;
    }

    .service-detail-hero,
    .service-detail-body {
        padding: 28px;
    }

    .service-detail-hero h1 {
        font-size: 2rem;
    }
}
.services-img{
    height: 300px;
    overflow: hidden;
}
.services-img img{
    object-fit: cover;
    height: 100%;
}
.accordion-button:not(.collapsed) {
    color:#fff;
    background-color: #bf0c12;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}

.how-we-work-page {
    background:
        radial-gradient(circle at top left, rgba(191, 12, 18, 0.12), transparent 34%),
        linear-gradient(180deg, #f8f7f3 0%, #ffffff 40%, #f6f2eb 100%);
}

.how-work-card,
.how-work-step {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 24px;
    /* box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08); */
    box-shadow: rgb(191 12 18) 0px 3px 8px;;
}

.how-work-card {
    padding: 36px;
}

.how-work-card-primary {
    background:linear-gradient(135deg, rgba(191, 12, 18, 0.96), rgba(17, 24, 39, 0.92)), url('../img/header.jpg') center/cover;
    color: #ffffff;
}

.how-work-card-primary h1,
.how-work-card-primary h2,
.how-work-card-primary p {
    color: #ffffff;
}

.how-work-card-primary h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 12px;
}

.how-work-card-primary h2 {
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 600;
    margin-bottom: 24px;
}

.how-work-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(191, 12, 18, 0.14);
    color: #bf0c12;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.how-work-card-primary .how-work-kicker,
.how-work-card-cta .how-work-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.how-work-card-accent {
    background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
}

.how-work-card-accent h3,
.how-work-contact h2,
.how-work-section-heading h2 {
    color: #14181f;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    margin-bottom: 14px;
}

.how-work-card h2 {
    color: #14181f;
    font-size: clamp(1.7rem, 2.5vw, 2.3rem);
    margin-bottom: 14px;
}

.how-work-lead,
.how-work-closing,
.how-work-card p,
.how-work-step p {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
}

.how-work-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.how-work-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    color: #212529;
    line-height: 1.8;
}

.how-work-list li::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bf0c12;
}

.how-work-list-compact li:last-child,
.how-work-list li:last-child {
    margin-bottom: 0;
}

.how-work-step {
    height: 100%;
    padding: 28px;
}

.how-work-step h3 {
    color: #14181f;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.how-work-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #bf0c12;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
}

.how-work-card-cta {
    background: linear-gradient(135deg, #bf0c12 0%, #7f0f13 100%);
    color: #ffffff;
}

.how-work-card-cta h2,
.how-work-card-cta p {
    color: #ffffff;
}

.how-work-card-cta h3 {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1.35;
}

.how-work-card-cta .btn-primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #bf0c12;
    font-weight: 700;
}

.how-work-card-cta .btn-primary:hover {
    background: transparent;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .how-work-card {
        padding: 28px;
    }
}

@media (max-width: 575.98px) {
    .how-work-card,
    .how-work-step {
        border-radius: 18px;
    }

    .how-work-card-primary h1 {
        font-size: 1.9rem;
    }
}
.form-ul-list{
     list-style: disc;
    padding-left: 20;
}

.testimonials-section {
    background:
        radial-gradient(circle at 15% 15%, rgba(191, 12, 18, 0.12), transparent 30%),
        linear-gradient(180deg, #f7f5f1 0%, #ffffff 55%, #f2ece2 100%);
}

.testimonials-section h1 {
    color: #14181f;
    font-size: clamp(2rem, 3.5vw, 3rem);
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 20px;
    box-shadow:  rgb(191 12 18) 0px 3px 8px;;

   
    padding: 28px;
}

.testimonial-card h3 {
    color: #14181f;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.testimonial-quote {
    color: #495057;
    line-height: 1.8;
}

.testimonial-author {
    color: #bf0c12;
    font-weight: 500;
    line-height: 1.6;
    position: absolute;
    bottom: 30px;
}
.testimonial-sector{
    color: black;
    font-weight: 700;
    line-height: 1.6;
    position: absolute;
    bottom: 10px;
}

.testimonial-footer p {
    color: #495057;
    font-size: 1.05rem;
}

.testimonial-footer h4 {
    color: #14181f;
    font-size: 1.3rem;
}

@media (max-width: 575.98px) {
    .testimonial-card {
        border-radius: 16px;
        padding: 22px;
    }
}
.home-item-service{
    background: #e5e5e5e5;
    /* border-radius: 16px; */
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
   height: 300px;
}
.home-item-service-button{   
      /* width: 100px; */
    position: absolute;
    bottom: 10px;
    left:35px;
  
}

.back-to-top {
    bottom: 24px;
    position: fixed;
    right: 24px;
    z-index: 1080;
    float: right;
}

@media (max-width: 575.98px) {
    .back-to-top {
        bottom: 18px;
        right: 18px;
    }
}

/* Form Validation Styles */
.form-control.is-invalid,
.form-control:invalid {
    border-color: #dc3545;
}

.form-control:focus {
    border-color: #bf0c12;
    box-shadow: 0 0 0 0.2rem rgba(191, 12, 18, 0.25);
}

.help-block {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.help-block.text-danger {
    color: #dc3545 !important;
}

.control-group {
    margin-bottom: 1.5rem;
}

.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.alert {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    animation: slideInScale 0.6s ease-out;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

#cookieModal.show {
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 24px 0 !important;
}

#cookieModal .modal-dialog.modal-dialog-bottom {
    margin: 0;
    max-width: 70%;
    width: 70%;
}

#cookieModal .modal-dialog.modal-dialog-bottom .modal-content {
    border-radius: 8px;
    border-top: 3px solid #bf0c12;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.cookie-modal-arrow {
    font-size: 1.1rem;
    line-height: 1;
}

.cookie-modal-inline {
    color: #6c757d;
    font-size: 0.92rem;
}

@media (max-width: 575.98px) {
    .cookie-modal-actions .btn {
        width: 100%;
    }
}

/* ==========================================
   MODERN TRANSITION EFFECTS
   ========================================== */

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Home Banner Animations */
.home-top-banner {
    animation: fadeInDown 0.8s ease-out;
}

.home-top-banner__content h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home-top-banner__content p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.home-top-banner__content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* General Fade-In Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.slide-in-scale {
    animation: slideInScale 0.6s ease-out;
}

/* Staggered Animations for Multiple Elements */
.fade-in-stagger > * {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-stagger > *:nth-child(1) { animation-delay: 0s; }
.fade-in-stagger > *:nth-child(2) { animation-delay: 0.1s; }
.fade-in-stagger > *:nth-child(3) { animation-delay: 0.2s; }
.fade-in-stagger > *:nth-child(4) { animation-delay: 0.3s; }
.fade-in-stagger > *:nth-child(5) { animation-delay: 0.4s; }
.fade-in-stagger > *:nth-child(6) { animation-delay: 0.5s; }

/* Smooth Button Transitions */
.btn,
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover,
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:active,
button:active {
    transform: translateY(0);
}

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(191, 12, 18, 0.3);
}

.services-btn {
    transition: all 0.3s ease;
}

.services-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Link Transitions */
a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.home-item-service-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.home-item-service-button:hover {
    color: #bf0c12;
    transform: translateX(5px);
}

/* Card Transitions */
.home-item-service,
.how-work-card,
.how-work-step,
.testimonial-card,
.service-sidebar,
.service-detail-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.home-item-service:hover,
.how-work-card:hover,
.how-work-step:hover,
.testimonial-card:hover,
.service-sidebar:hover,
.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Service Item Hover Effect */
.home-item-service {
    position: relative;
    overflow: hidden;
}

.home-item-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(191, 12, 18, 0.05);
    transition: left 0.4s ease;
    z-index: -1;
}

.home-item-service:hover::before {
    left: 0;
}

/* Image Transitions */
img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.home-item-service img,
.services-img img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-item-service:hover img,
.services-img:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Text Transitions */
h1, h2, h3, h4, h5, h6 {
    transition: color 0.3s ease;
}

p {
    transition: color 0.3s ease;
}

/* Container Transitions */
.container-fluid {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Section Animations on Scroll */
.section-animate {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Transition for Background Changes */
.bg-primary,
.bg-secondary {
    transition: background-color 0.3s ease;
}

/* List Item Transitions */
li {
    transition: all 0.3s ease;
}

.how-work-list li {
    transition: all 0.3s ease;
}

.how-work-list li:hover {
    transform: translateX(8px);
}

.how-work-list li::before {
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(191, 12, 18, 0.7);
}

.how-work-list li:hover::before {
    box-shadow: 0 0 0 8px rgba(191, 12, 18, 0);
}

/* Accordion Transitions */
.accordion-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:not(.collapsed) {
    transition: all 0.3s ease;
}

.accordion-collapse {
    transition: all 0.3s ease;
}

/* Smooth Icon Transitions */
i, .fas, .fab {
    transition: transform 0.3s ease, color 0.3s ease;
}

.home-item-service-button i {
    transition: all 0.3s ease;
}

.home-item-service-button:hover i {
    transform: translateX(3px);
}

/* Selection Highlight Smooth Transition */
::selection {
    background: #bf0c12;
    color: #ffffff;
    transition: background-color 0.2s ease;
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .page-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile Optimizations for Transitions */
@media (max-width: 768px) {
    .home-item-service:hover,
    .how-work-card:hover,
    .testimonial-card:hover {
        transform: translateY(-4px);
    }
    
    .home-item-service-button:hover {
        transform: translateX(3px);
    }
}