/********** Template CSS **********/
:root {
    --primary: #FD5D14;
    --secondary: #FDBE33;
    --light: #F4F6F8;
    --dark: #040F28;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    position: relative;
    font-weight: 600;
    text-transform: uppercase;
    transition: .5s;
}

.btn::after {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: -1px;
    left: 50%;
    background: var(--primary);
    transition: .5s;
}

.btn.btn-primary::after {
    background: var(--dark);
}

.btn:hover::after,
.btn.active::after {
    width: 50%;
    left: 25%;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 50%;
    bottom: 0;
    margin-left: -22px;
    border-radius: 0;
    z-index: 99;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.bg-light-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(256, 256, 256, 0.2), rgba(256, 256, 256, 0.2) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}

.navbar-dark .navbar-nav .nav-link {
    position: relative;
    padding: 20px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--light);
    outline: none;
    transition: .5s;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-dark .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 15, 40, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 18px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.page-header {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/project-hero.png) center center no-repeat;
    background-size: cover;
}

.service-item .service-icon {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.service-item .service-icon i {
    transition: .2s;
}

.service-item:hover .service-icon i {
    font-size: 60px;
}

.portfolio-item {
    margin-bottom: 60px;
}

.portfolio-title {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
    padding: 0 30px;
    right: 30px;
    left: 30px;
    bottom: -60px;
    background: #FFFFFF;
    z-index: 3;
}

.portfolio-btn {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    font-size: 120px;
    line-height: 0;
    transition: .1s;
    transition-delay: .3s;
    z-index: 2;
    opacity: 0;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
}

.portfolio-box::before,
.portfolio-box::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    transition: .5s;
    z-index: 1;
    background: rgba(4, 15, 40, .7);
}

.portfolio-box::before {
    left: 0;
}

.portfolio-box::after {
    right: 0;
}

.portfolio-item:hover .portfolio-box::before {
    left: 0;
    width: 50%;
}

.portfolio-item:hover .portfolio-box::after {
    right: 0;
    width: 50%;
}

@media (min-width: 992px) {
    .testimonial,
    .contact-form {
        margin-left: -90px;
    }
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 1px;
        height: 100%;
        top: 0;
        left: 50%;
        background: var(--primary)
    }
}

.footer-shape::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 100%;
    top: 0;
    left: -40px;
    background: var(--primary);
    transform: skew(40deg);
}

.hero-video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-weight: 700;
}

.hero-content .btn-primary {
    font-size: 18px;
    padding: 15px 40px;
}
.hero-content{
    position: relative;
    z-index: 999;
}

.hero-title{
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    white-space: pre-line;
}

#logo-img{
    height: 1.5em;
    width: auto;
}

    /* ─── Testimonial Slider ─── */
    .testimonial-slider-wrapper {
        position: relative;
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 3.5rem;
    }

    .testimonial-slider {
        position: relative;
        overflow: hidden;
        min-height: 360px;
    }

    .testimonial-slide {
        display: none;
        opacity: 0;
        transition: opacity 0.6s ease;
        animation: fadeSlide 0.6s ease forwards;
    }

    .testimonial-slide.active {
        display: block;
        opacity: 1;
    }

    @keyframes fadeSlide {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .testimonial-card {
        background: rgba(4, 15, 40, 0.6);
        border: 1px solid rgba(253, 93, 20, 0.06);
        border-radius: 16px;
        padding: 2.5rem 2.8rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
        transition: all 0.4s ease;
        position: relative;
    }

    .testimonial-card:hover {
        border-color: rgba(253, 93, 20, 0.12);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .testimonial-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .client-info {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .client-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid var(--primary);
        box-shadow: 0 4px 16px rgba(253, 93, 20, 0.15);
    }

    .client-name {
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .client-project {
        color: #8899aa;
        font-size: 0.85rem;
        margin-bottom: 0;
    }

    .client-project i {
        color: var(--primary);
    }

    .stars {
        color: #FDBE33;
        font-size: 1rem;
        letter-spacing: 2px;
        flex-shrink: 0;
    }

    .stars i {
        margin-right: 1px;
    }

    .testimonial-body {
        position: relative;
        padding: 0.5rem 0;
    }

    .quote-icon {
        color: rgba(253, 93, 20, 0.08);
        font-size: 2.5rem;
        position: absolute;
        top: -0.5rem;
        left: 0;
    }

    .testimonial-text {
        color: #aabbcc;
        font-size: 1.05rem;
        line-height: 1.8;
        font-style: italic;
        padding-left: 2.5rem;
        margin-bottom: 0;
    }

    .testimonial-footer {
        margin-top: 1rem;
        padding-top: 0.8rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    .review-date {
        color: rgba(255, 255, 255, 0.3);
        font-size: 0.8rem;
    }

    .review-date i {
        color: var(--primary);
    }

    /* ─── Slider Controls ─── */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(4, 15, 40, 0.8);
        border: 1px solid rgba(253, 93, 20, 0.10);
        color: rgba(255, 255, 255, 0.6);
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
    }

    .slider-btn:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 4px 20px rgba(253, 93, 20, 0.3);
    }

    .prev-btn {
        left: -1.5rem;
    }

    .next-btn {
        right: -1.5rem;
    }

    /* ─── Dots ─── */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.6rem;
        margin-top: 1.8rem;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.10);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        padding: 0;
    }

    .slider-dots .dot:hover {
        background: rgba(253, 93, 20, 0.3);
    }

    .slider-dots .dot.active {
        background: var(--primary);
        width: 30px;
        border-radius: 5px;
        box-shadow: 0 4px 16px rgba(253, 93, 20, 0.3);
    }

    /* ─── Responsive ─── */
    @media (max-width: 992px) {
        .testimonial-slider-wrapper {
            padding: 0 2.5rem;
        }
        .testimonial-card {
            padding: 2rem 1.8rem;
        }
        .slider-btn {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }
        .prev-btn {
            left: -1rem;
        }
        .next-btn {
            right: -1rem;
        }
        .testimonial-text {
            font-size: 1rem;
            padding-left: 2rem;
        }
    }

    @media (max-width: 768px) {
        .testimonial-header {
            flex-direction: column;
            align-items: flex-start;
        }
        .testimonial-slider-wrapper {
            padding: 0 0.5rem;
        }
        .slider-btn {
            width: 36px;
            height: 36px;
            font-size: 0.8rem;
            top: auto;
            bottom: 4.5rem;
            transform: none;
            background: rgba(4, 15, 40, 0.9);
        }
        .prev-btn {
            left: 0.5rem;
            top: auto;
            bottom: 4.5rem;
            transform: none;
        }
        .next-btn {
            right: 0.5rem;
            top: auto;
            bottom: 4.5rem;
            transform: none;
        }
        .testimonial-card {
            padding: 1.5rem 1.2rem;
        }
        .testimonial-text {
            font-size: 0.95rem;
            padding-left: 1.8rem;
        }
        .quote-icon {
            font-size: 1.8rem;
        }
        .client-avatar {
            width: 44px;
            height: 44px;
        }
        .client-name {
            font-size: 0.95rem;
        }
        .slider-dots {
            margin-top: 4rem;
        }
    }

    @media (max-width: 576px) {
        .testimonial-card {
            padding: 1.2rem 1rem;
        }
        .testimonial-text {
            font-size: 0.9rem;
            padding-left: 1.5rem;
        }
        .testimonial-header {
            gap: 0.5rem;
        }
        .stars {
            font-size: 0.85rem;
        }
        .slider-btn {
            width: 32px;
            height: 32px;
            font-size: 0.7rem;
            bottom: 4rem;
        }
        .slider-dots {
            margin-top: 3.5rem;
        }
        .slider-dots .dot {
            width: 8px;
            height: 8px;
        }
        .slider-dots .dot.active {
            width: 24px;
        }
    }

/* =========================================
   SS ENTERPRISES - QUOTE POPUP
========================================= */

:root {
    --ss-navy: #06152f;
    --ss-orange: #ff5a1f;
    --ss-light: #f5f6f8;
    --ss-grey: #777777;
}


/* =========================================
   OVERLAY
========================================= */

.quote-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(3, 15, 35, 0.82);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 25px;

    z-index: 99999;

    backdrop-filter: blur(4px);

}


.quote-overlay.show {

    display: flex;

}


/* =========================================
   MAIN BOX
========================================= */

.quote-box {

    width: 100%;

    max-width: 1000px;

    max-height: 90vh;

    overflow: hidden;

    display: grid;

    grid-template-columns: 38% 62%;

    background: #ffffff;

    box-shadow: 0 25px 70px rgba(0,0,0,0.35);

    border-radius: 4px;

    position: relative;

    animation: quoteShow 0.35s ease;

}


@keyframes quoteShow {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================
   LEFT
========================================= */

.quote-left {

    background:

        linear-gradient(
            rgba(6,21,47,0.82),
            rgba(6,21,47,0.92)
        ),

        url("../img/quote.png");

    background-size: cover;

    background-position: center;

    min-height: 620px;

    display: flex;

    align-items: center;

    padding: 55px 45px;

}


.quote-left-content {

    color: #ffffff;

}


.quote-small-title {

    color: var(--ss-orange);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}


.quote-left h2 {

    font-size: 42px;

    line-height: 1.12;

    font-weight: 800;

    margin: 15px 0 20px;
    color: wheat

}


.quote-left h2 span {

    color: var(--ss-orange);

}


.quote-left p {

    color: rgba(255,255,255,0.78);

    font-size: 15px;

    line-height: 1.7;

    max-width: 330px;

}


/* =========================================
   CHECK LIST
========================================= */

.quote-contact-info {

    margin-top: 35px;

}


.quote-info-item {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 17px;

    color: #ffffff;

    font-size: 14px;

}


.quote-info-item i {

    color: var(--ss-orange);

    font-size: 16px;

}


/* =========================================
   RIGHT
========================================= */

.quote-right {

    background: #ffffff;

    padding: 42px 48px;

    overflow-y: auto;

}


.quote-heading span {

    color: var(--ss-orange);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

}


.quote-heading h3 {

    color: var(--ss-navy);

    font-size: 30px;

    font-weight: 800;

    margin: 5px 0;

}


.quote-heading h3 strong {

    color: var(--ss-orange);

}


.quote-heading p {

    color: #888;

    font-size: 13px;

    margin-bottom: 25px;

}


/* =========================================
   PROGRESS
========================================= */

.quote-progress {

    display: flex;

    align-items: center;

    margin-bottom: 25px;

}


.quote-progress-item {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 11px;

    font-weight: 700;

    color: #aaa;

    letter-spacing: 0.5px;

}


.quote-progress-item span {

    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e9ebef;

    color: #888;

}


.quote-progress-item.active {

    color: var(--ss-navy);

}


.quote-progress-item.active span {

    background: var(--ss-orange);

    color: #ffffff;

}


.quote-progress-line {

    width: 55px;

    height: 1px;

    background: #ddd;

    margin: 0 10px;

}


/* =========================================
   STEPS
========================================= */

.quote-step {

    display: none;

}


.quote-step.active {

    display: block;

}


/* =========================================
   FORM
========================================= */

.quote-step label {

    display: block;

    color: var(--ss-navy);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.7px;

    margin-bottom: 7px;

    margin-top: 15px;

}


.quote-step input,
.quote-step select,
.quote-step textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dfe2e7;

    background: #fafafa;

    padding: 12px 13px;

    border-radius: 2px;

    font-family: inherit;

    font-size: 13px;

    color: #333;

    outline: none;

    transition: 0.25s;

}


.quote-step input:focus,
.quote-step select:focus,
.quote-step textarea:focus {

    border-color: var(--ss-orange);

    background: #ffffff;

    box-shadow:
        0 0 0 2px rgba(255,90,31,0.08);

}


.quote-step textarea {

    resize: vertical;

}


/* =========================================
   TWO COLUMNS
========================================= */

.quote-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

}


/* =========================================
   NEXT BUTTON
========================================= */

.quote-next {

    width: 100%;

    margin-top: 25px;

    padding: 14px 20px;

    border: none;

    background: var(--ss-orange);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition: 0.3s;

}


.quote-next:hover {

    background: var(--ss-navy);

}


.quote-next i {

    margin-left: 8px;

}


/* =========================================
   FINAL BUTTONS
========================================= */

.quote-final-buttons {

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 12px;

    margin-top: 25px;

}


.quote-back {

    border: 1px solid #ddd;

    background: #ffffff;

    color: var(--ss-navy);

    font-size: 11px;

    font-weight: 700;

    cursor: pointer;

}


.quote-back:hover {

    border-color: var(--ss-orange);

    color: var(--ss-orange);

}


.quote-submit {

    border: none;

    background: var(--ss-orange);

    color: #ffffff;

    padding: 14px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;

}


.quote-submit:hover {

    background: var(--ss-navy);

}


/* =========================================
   CLOSE
========================================= */

.quote-close {

    position: absolute;

    right: 15px;

    top: 12px;

    width: 35px;

    height: 35px;

    border: none;

    background: rgba(255,255,255,0.15);

    color: #ff8508;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

}


.quote-close:hover {

    background: var(--ss-orange);

}


/* =========================================
   SUCCESS
========================================= */

.quote-success {

    display: none;

    text-align: center;

    padding: 80px 20px;

}


.quote-success.show {

    display: block;

}


.success-check {

    width: 65px;

    height: 65px;

    background: var(--ss-orange);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    margin: 0 auto 20px;

    font-size: 30px;

}


.quote-success > span {

    color: var(--ss-orange);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.quote-success h3 {

    color: var(--ss-navy);

    font-size: 30px;

    margin: 7px 0;

}


.quote-success h3 strong {

    color: var(--ss-orange);

}


.quote-success p {

    color: #777;

    font-size: 14px;

    line-height: 1.7;

    max-width: 400px;

    margin: auto;

}


.quote-success button {

    margin-top: 25px;

    background: var(--ss-navy);

    color: white;

    border: none;

    padding: 12px 30px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .quote-overlay {

        padding: 10px;

        align-items: flex-start;

        padding-top: 20px;

    }


    .quote-box {

        grid-template-columns: 1fr;

        max-height: 94vh;

        overflow-y: auto;

    }


    .quote-left {

        min-height: auto;

        padding: 30px 25px;

    }


    .quote-left h2 {

        font-size: 30px;

    }


    .quote-contact-info {

        display: none;

    }


    .quote-right {

        padding: 30px 25px;

    }


    .quote-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .quote-final-buttons {

        grid-template-columns: 1fr;

    }


    .quote-back {

        padding: 12px;

        order: 2;

    }

}

.newsletter-message {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 360px;

    display: none;

    align-items: center;

    gap: 15px;

    padding: 18px 20px;

    background: #ffffff;

    border-left: 5px solid #ff5a1f;

    box-shadow: 0 10px 35px rgba(0,0,0,0.18);

    z-index: 999999;

}


.newsletter-message.show {

    display: flex;

}


.newsletter-message-icon {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #ff5a1f;

    color: #ffffff;

    border-radius: 50%;

    font-size: 20px;

}


.newsletter-message strong {

    color: #06152f;

    font-size: 14px;

}


.newsletter-message p {

    margin: 3px 0 0;

    color: #777;

    font-size: 13px;

}


.newsletter-message button {

    margin-left: auto;

    border: none;

    background: transparent;

    font-size: 22px;

    color: #777;

    cursor: pointer;

}


@media (max-width: 575px) {

    .newsletter-message {

        left: 15px;
        right: 15px;
        bottom: 15px;

        width: auto;

    }

}