/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}-->

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Button ***/
.btn {
    transition: .5s;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

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

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary-blue);
}

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

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/VR4-Website-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
	box-sizing: border-box;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary-blue);
    z-index: -1;
}


.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    padding: 0;
    flex: 0 0 15px;
    box-sizing: border-box;
    border: 2px solid var(--bs-white);
    border-radius: 0;
    background: transparent;
    transition: background-color .3s ease;
}

.header-carousel .owl-dot.active {
    width: 15px;
    height: 15px;
    background: var(--bs-white);
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}



/* About Us - Mobile only: stack columns and prevent image cropping */
@media (max-width: 575.98px) {
    #AboutUs .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #AboutUs .col-6 img {
        height: auto !important;
        object-fit: contain !important;
    }

    #AboutUs .col-6>div[style*="height: 125px"] {
        height: auto !important;
        padding-top: 15px;
        padding-bottom: 15px;
    }
}

/* Fix ONLY for iPad / small laptop (~1024px) */
@media (min-width: 992px) and (max-width: 1100px) {
    #AboutUs .col-6 img {
        height: auto !important;
        object-fit: contain !important;
    }

    /* Scale down name */
    #AboutUs .bg-primary h3 {
        font-size: 20px !important;
    }

    /* Scale down designation */
    #AboutUs .bg-primary small {
        font-size: 13px !important;
    }

    /* Adjust spacing */
    #AboutUs .bg-primary {
        padding: 10px !important;
    }
}

/* About Us - Tablet / Small laptop (576px–1199px): prevent left/right cropping */
@media (min-width: 576px) and (max-width: 1199.98px) {
    #AboutUs .col-6 img[src*="about-1"] {
        height: 350px;
        object-fit: contain;
    }

    #AboutUs .col-6 img[src*="Architect"] {
        height: 280px;
        object-fit: contain;
        object-position: top;
    }
}

/*** Project ***/
.project-item img {
    transition: .5s;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary-blue) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary-blue);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-primary-blue);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-primary-blue);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary-blue);
    color: var(--bs-white);
}

/***Process***/

/* General Reset/Styling */
.process-flow {
    font-family: "Open Sans", sans-serif;
    padding: 20px;
    max-width: 800px;
    /* Adjust as needed */
    margin: 0 auto;
}

/* List/Container Setup */
.process-steps {
    list-style: none;
    /* Remove default list markers */
    padding: 0;
    margin: 0;
    position: relative;
}

/* The vertical blue line connecting the steps */
.process-steps::before {
    content: '';
    position: absolute;
    top: 0px;
    /* Adjust line start */
    bottom: 50px;
    /* Adjust line end */
    left: 0px;
    /* Position of the line */
    width: 2px;
    background-color: #3454b4;
    /* Blue color from the image */
}

/* Individual Step Styling */
.step {
    position: relative;
    padding: 0 0 20px 40px;
    /* Padding for the content, and space for the icon/line */
    margin-bottom: 20px;
}

/* Step Title Styling (Number & Title) */
.step-title {
    color: #1a1a1a;
    /* Dark text */
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 5px;
}

/* Step Description Styling */
.step-description {
    color: #555;
    /* Slightly lighter text for description */
    font-size: 1em;
    line-height: 1.5;
}

/* The Blue Circles/Connectors */
.step::before,
.step::after {
    content: '';
    position: absolute;
    left: 0;
    /* Align with the main vertical line */
    transform: translateX(-50%);
    /* Center the circle on the line */
    border-radius: 50%;
}

/* Outer Circle (The thin ring and the small inner dot) */
.step::before {
    top: 20px;
    height: 20px;
    width: 20px;
    border: 2px solid #131f43;
    /* Blue ring */
    background-color: white;
    /* White center for the ring effect */
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
    z-index: 1;
    /* Keep it above the main vertical line */
}

/* Inner Dot (The small solid circle inside the ring) */
.step::after {
    top: 25px;
    /* Center it vertically within the '::before' circle */
    height: 10px;
    width: 10px;
    background-color: #131f43;
    /* Solid blue dot */
    z-index: 2;
    /* Keep it above the outer ring */
}

/* Special styling for the final step */
.final-step::before {
    background-color: #cce0ff;
    /* Light blue background for the final step's outer ring */
    border: 2px solid #131f43;
    /* Keep the border blue */
}

.final-step::after {
    background-color: #131f43;
    /* Keep the inner dot blue */
}

/* Remove the line for the last step for a clean end */
.process-steps .final-step {
    padding-bottom: 0;
    margin-bottom: 0;
}

.process-steps .final-step::before {
    /* If you want the line to stop cleanly at the final step marker,
    we adjust the main ::before line length, but for simplicity,
    we'll rely on the marker covering the end. */
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.2);
}

.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary-blue);
}


/*** Testimonial old ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}


/* Mobile and tablet adjustment */
@media (max-width: 767.98px) {

    .hero-header {
        overflow: hidden;
    }

    .hero-header .container,
    .hero-header .row,
    .hero-header [class*="col-"] {
        min-width: 0;
    }

    .hero-header .header-carousel {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 25px 55px 25px 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-header .header-carousel::before {
        right: 0;
        width: 60%;
        height: 100%;
    }

    .hero-header .header-carousel .owl-stage-outer {
        overflow: hidden;
    }

    .hero-header .header-carousel .owl-item img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .hero-header .header-carousel .owl-dots {
        right: 12px;
    }

    .hero-header .header-carousel .owl-dot {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
        margin: 4px 0;
        border: 2px solid #fff;
        background: transparent;
        box-sizing: border-box;
    }

    .hero-header .header-carousel .owl-dot.active {
        width: 13px;
        height: 13px;
        background: #fff;
    }
}


@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}

/*** Testimonial Changed Version***/
/* Layout Wrapper */
.testimonial-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* Horizontal Scroll Cards */
.testimonial-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 40px;
    padding-bottom: 20px;
}

.testimonial-scroll::-webkit-scrollbar {
    display: none;
}

/* Testimonial Card */
.testimonial-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px;
    box-sizing: border-box;
    /* min-width: 800px !important;
    max-width: 800px !important;*/
    background: #e6f0ef;
    /* padding: 30px;*/
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    scroll-snap-align: center;
}

/* 🎯 CUSTOM SCROLLBAR (Matches Your Image) */
.custom-scrollbar {
    width: 220px;
    /* Increased horizontal size */
    height: 360px;
    background: #0d1b3f;
    padding: 50px 50px;
    /* Adjust padding if needed */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    border-radius: 6px;
}

/* Boxes inside */
.scroll-item {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 3px;
    opacity: 0.6;
}

.scroll-item.filled {
    background: #fff;
    opacity: 1;
}

/* --- Quote Icon Styling --- */
.quote-icon {
    font-size: 3em;
    color: #007bff;
    /* Blue color */
    font-weight: 900;
    line-height: 0.5;
    /* Pull the icon up closer to the text */
    margin-bottom: 20px;
}

/* --- Quote Text Styling --- */
.quote-text {
    font-style: italic;
    font-size: 0.9em;
    color: #495057;
    margin-bottom: auto;
    /* Pushes the client-info to the bottom */
}

/* --- Client Info Styling --- */
.client-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    /* Separator line */
}

.client-name {
    font-weight: bold;
    color: #343a40;
    margin: 0;
}

.client-title {
    font-size: 0.9em;
    color: #6c757d;
    margin-bottom: 10px;
}



/* --- Rating/Star Styling --- */
.rating {
    line-height: 1;
}

.star {
    font-size: 1.2em;
    color: #ffc107;
    /* Gold/Yellow star color */
    margin-right: 2px;
}


/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .testimonial-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }
}


@media (max-width: 768px) {
    .testimonial-grid {
        flex-direction: column;
        /* Stack cards vertically on smaller screens */
        gap: 20px;
    }
}

/*** Newsletter  edited css***/
.newsletter {
    background: url(../img/VR4-Website-bg.jpg) bottom right no-repeat;
    background-size: cover;
}



/* --- New Button Styling --- */
.project-button {
    background-color: #fff;
    /* No background fill */
    border: none;
    /* No border initially */
    color: #fff;
    /* Blue text color for "PROJECT" */
    border-radius: 8px;
    /* Adjust the value for more or less rounding */
    /* font-size: 1em; /* Inherit from parent h1 for size */
    font-weight: 800;
    /* Bold as in the image */
    padding: 0 0px;
    /* Adjust padding as needed */
    cursor: pointer;
    display: inline-flex;
    /* Use flexbox for text and icon */
    align-items: center;
    /* Vertically center icon with text */
    gap: 8px;
    /* Space between text and icon */
    position: relative;
    /* For the bottom border effect */
    transition: color 0.3s ease;
}

/* Custom underline effect for the button */
.project-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    /* Position the underline */
    width: 100%;
    height: 3px;
    /* Thickness of the underline */
    background-color: #fff;
    /* Blue underline */
}

.project-button i {
    font-size: 0.9em;
    /* Adjust icon size relative to text */
    color: #fff;
    /* Blue color for icon */
}

.project-button:hover {
    color: #ff5722;
    /* Darker blue on hover */
}

.project-button:hover i {
    color: #ff5722;
}

/* Change the underline color on hover */
.project-button:hover::after {
    background-color: #ff5722;
}

.project-button:active {
    transform: translateY(1px);
    /* Slight press effect */
}

/* Custom Play Button
------------------------------*/
.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(19, 31, 67, 0.6);
    /* More transparent orange */
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.custom-play-btn::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border: 6px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.custom-play-btn i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}



/* In your CSS file(project carousel) or a <style> block */
.modal-body .carousel-item img {
    /*  max-width: 80%; /* Limits image width to 80% of its parent carousel item */
    /* height: auto; */
    /* Allows height to adjust proportionally */
    /* margin: auto;  */
    /* Centers the image */
    /*display: block;*/
    height: 85vh;
    width: 100%;
    object-fit: contain;
}

/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: var(--bs-white);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: var(--bs-white);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Portfolio Flipbook Button ***/
.btn-portfolio-view {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    background: #131f43;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-portfolio-view:hover {
    background: #1e3a6e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 31, 67, 0.35);
}

/*** Clients and Collaborators ***/
.clients-section {
    background-color: #dce8e5;
    padding: 30px 0;
}

.clients-section h2 {
    text-align: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

.client-logo img {
    max-height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/**Clients and Collaborators sliding**/

/* Container styling */
.clients-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

/* Sliding track container */
.clients-track {
    display: flex;
    width: max-content;
    animation: scrollLeftToRight 25s linear infinite;
	pointer-events: auto; /* Forces clickability through animation */
}

/* Pause animation on hover for better user experience */
.clients-track:hover {
    animation-play-state: paused;
}

/* Individual logo sizing and spacing */
.clients-track .client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px; /* Adjust spacing between logos */
    min-width: 180px; /* Adjust width of each item slot */
}
/* Style the anchor tag to wrap properly */
.clients-track .client-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
	pointer-events: auto; /* Ensures link captures clicks */
}
.clients-track .client-logo img {
    max-height: 70px; /* Control logo height */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%); /* Optional: makes logos monochrome */
    opacity: 0.7;
    transition: 0.3s ease;
}

.clients-track .client-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Keyframe animation for Left to Right scrolling */
@keyframes scrollLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}