/********** 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;
}

.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;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    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;
}


/*** 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);
}


/*** 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);
}

@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***/
/* --- General Styling and Layout --- */
.testimonial-section {
    font-family: Arial, sans-serif;
    padding: 60px 20px;
    background-color: #f8f9fa; /* Light background to separate from body */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header Styling --- */
.testimonial-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-header h1 {
    font-size: 2.5em;
    font-weight: 800;
    color: #343a40;
    margin-bottom: 10px;
}

.testimonial-header p {
    font-size: 1.1em;
    color: #6c757d;
}

/* --- Grid and Card Layout --- */
.testimonial-grid {
    display: flex;
    gap: 30px; /* Space between cards */
    justify-content: center;
    flex-wrap: wrap; /* Allows cards to stack on small screens */
}

.testimonial-card {
    background-color: #ffffff;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Soft, subtle shadow */
    border-radius: 8px;
    flex: 1; /* Makes cards grow to fill space */
    min-width: 300px; /* Ensures cards are a readable minimum width */
    max-width: 650px;
    display: flex;
    flex-direction: column;
}

/* --- 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-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 */
}



@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;
}

/*** 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;
}

