
/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-xl-square {
    width: 66px;
    height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-light) !important;
}

.btn.btn-dark {
    background: var(--bs-dark) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-dark:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}

.btn.btn-light {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: 'Roboto', sans-serif;
    border: none;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-white) !important;
    color: var(--bs-dark) !important;
}
/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background:var(--bs-dark) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}
/*** Topbar End ***/

/*** Navbar ***/
.sticky-top,
.sticky-top .container {
    transition: 0.5s !important;
}

.navbar .navbar-nav .nav-item.nav-link,
.navbar .navbar-nav .nav-link {
    color: white;
}

.navbar .navbar-nav .nav-item {
    position: relative;
    margin: 0 5px !important;
}

.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border: 0px solid var(--bs-primary);
    transition: 0.5s;
}

.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
}

.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 100%;
    border-width: 1px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.sticky-top .navbar .navbar-nav .nav-link:hover,
.sticky-top .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        margin-top: 20px !important;
        transition: .5s;
        z-index: 9;
    }
}

@media (max-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        margin-top: 15px !important;
        transition: 0.5s;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item.nav-link {
        margin: 15px 0 !important;
    }

}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    margin-top: 20px !important;
    transition: .5s;
}

.navbar .navbar-toggler {
    padding: 8px 15px;
    color: var(--bs-dark);
    background: var(--bs-primary);
}

#searchModal .modal-content {
    background: rgba(250, 250, 250, .6);
}
/*** Navbar End ***/

/*** Carousel Header Start ***/
/*** Deluxe Carousel Styling ***/
.header-carousel .header-carousel-item {
    position: relative;
    height: 100vh;
    background: #ffffff; /* Pure White Background */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, #44d2f6, #6a5af9, #ff6ec7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gradient {
    background: linear-gradient(45deg, #44d2f6, #6a5af9, #ff6ec7);
    color: #fff;
    border: none;
    transition: 0.4s;
}
.btn-gradient:hover {
    background: linear-gradient(45deg, #ff6ec7, #6a5af9, #44d2f6);
    transform: scale(1.08);
}

/* Deluxe Illustration */
.slide-illustration {
    max-height: 500px;
    border-radius: 20px;
    transition: transform 0.6s ease;
}
.slide-illustration:hover {
    transform: scale(1.08) rotate(1deg);
}
.shadow-deluxe {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Navigation */
.owl-prev,
.owl-next {
    position: absolute;
    width: 55px;
    height: 55px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    color: #444 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    font-size: 22px;
    z-index: 100;
}
.owl-prev { left: 25px; }
.owl-next { right: 25px; }
.owl-prev:hover,
.owl-next:hover {
    background: linear-gradient(45deg, #44d2f6, #6a5af9);
    color: #fff !important;
    transform: scale(1.1);
}

/* Dots */
.owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.owl-dot span {
    width: 14px;
    height: 14px;
    margin: 5px;
    background: #ddd;
    border-radius: 50%;
    transition: 0.4s;
}
.owl-dot.active span {
    background: linear-gradient(45deg, #44d2f6, #6a5af9);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 992px) {
    .header-carousel .header-carousel-item { height: auto; padding: 60px 20px; }
    .slide-illustration { max-height: 320px; }
    .header-carousel h1 { font-size: 2.2rem; }
}
/*** Carousel Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.877), rgba(0, 0, 0, 0.5)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5px 0 5px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

.bg-breadcrumb .bg-breadcrumb-single {
    position: absolute;
    width: 500px;
    height: 1200px;
    top: 0px;
    left: 0;
    margin-left: 30px;
    transform: rotate(-30deg);
    background: var(--bs-dark);
    animation: RotateMoveLeft 5s linear infinite;
    opacity: 0.7;
    z-index: 2 !important;
}


.bg-breadcrumb::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    border-radius: 200px;
    border: 80px solid rgba(68, 210, 246, 0.2);
    animation: RotateMoveCircle 10s linear infinite;
    background: transparent;
    z-index: 2 !important;
}

@keyframes RotateMoveCircle {
    0% {top: -200px;}
    50%   {right: -100px;}
    75%   {top: -100px;}
    100%  {top: -200px;}
}


.bg-breadcrumb::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 1200px;
    top: -150px;
    left: 0;
    margin-left: 160px;
    transform: rotate(-30deg);
    background: rgba(68, 210, 246, 0.2);
    animation: RotateMoveRight 5s linear infinite;
    z-index: 2 !important;
}
/*** Single Page Hero Header End ***/


/*** About Start ***/

.about {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.about h1 {
    font-size: 2rem; /* smaller main heading */
    font-weight: 700;
    margin-bottom: 1rem;
}

.about h4 {
    font-size: 1rem; /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.about p {
    font-size: 0.9rem; /* smaller paragraph */
    line-height: 1.5;
    color: #555;
}
.about .text {
    position: relative;
}

.about .text::after {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bs-primary);
}
/*** About End ***/

/*** Service Start ***/

.service {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.service h1 {
    font-size: 2rem; /* smaller main heading */
    font-weight: 700;
    margin-bottom: 1rem;
}

.service h4 {
    font-size: 1rem; /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.service p {
    font-size: 0.9rem; /* smaller paragraph */
    line-height: 1.5;
    color: #555;
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.3);
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-img img {
    transform: scale(1.2);
}

.service .service-item .service-img::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 0;
    right: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.service .service-item:hover .service-img::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content {
    position: relative;
}

.service .service-item .service-content::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: var(--bs-dark);
    transition: 0.5s;
    z-index: 1;
}

.service .service-item:hover .service-content::after {
    width: 100% !important;
    height: 100% !important;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    transition: 0.5s;
    z-index: 2;
}

.service .service-item:hover .service-content .service-content-inner a.h4 {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}
/*** Service End ***/

/*** Project Start ***/

.project {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.project h1 {
    font-size: 2rem; /* smaller main heading */
    font-weight: 700;
    margin-bottom: 1rem;
}

.project h4 {
    font-size: 1rem; /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.project p {
    font-size: 0.9rem; /* smaller paragraph */
    line-height: 1.5;
    color: #555;
}

.project h4 {
    font-size: 1rem; /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.project .project-carousel.owl-carousel {
    height: 100%;
}

.project .project-carousel .project-item {
    position: relative;
    overflow: hidden;
}

.project .project-carousel .project-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project .project-carousel .project-item .project-img::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(68, 210, 246, 0.4);
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img::after {
    height: 100%;
}

.project .project-carousel .project-item .project-img img {
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-img img {
    transform: scale(1.2);
}

.project .project-carousel .project-item .project-content {
    position: relative;
    width: 75%;
    height: 100%;
    bottom: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.project .project-carousel .project-item .project-content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px !important;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project .project-carousel .project-item .project-content .project-content-inner {
    position: relative;
    z-index: 2;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner p,
.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4,
.project .project-carousel .project-item:hover .project-content .project-content-inner .project-icon i {
    color: var(--bs-white) !important;
    transition: 0.5s;
}

.project .project-carousel .project-item:hover .project-content .project-content-inner a.h4:hover {
    color: var(--bs-primary) !important;
}

.project .project-carousel .project-item:hover .project-content::after {
    height: 100%;
}

.project-carousel .owl-dots {
    position: absolute;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -120px;
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    margin-right: 15px;
    background: var(--bs-dark);
    transition: 0.5s;
}

.project-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    border-radius: 40px;
    border: 8px solid var(--bs-primary);
}
/*** Project End ***/

/*** Blog Start ***/
.blog {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.blog h1 {
    font-size: 2rem; /* smaller main heading */
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog h4 {
    font-size: 1rem; /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.blog p {
    font-size: 0.9rem; /* smaller paragraph */
    line-height: 1.5;
    color: #555;
}

.blog .btn {
    font-size: 0.85rem; /* smaller button text */
    padding: 0.5rem 1rem;
}

.blog .blog-item {
    padding: 1rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.blog .blog-item h4 {
    font-size: 0.95rem; /* category title */
    font-weight: 600;
}

.blog .blog-item .my-4 a.h4 {
    font-size: 1rem; /* blog title */
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: 0.3s;
}

.blog .blog-item .my-4 a.h4:hover {
    color: #1a73e8;
}

.blog .blog-item .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .project-img .blog-plus-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(68, 210, 246, 0.2);
    transition: 0.5s;
    opacity: 0;
}

.blog .blog-item:hover .project-img .blog-plus-icon {
    opacity: 1;
}

.blog .blog-item .project-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .project-img img {
    transform: scale(1.2); /* slight zoom effect */
}


/*** Blog End ***/


/*** Testimonial Start ***/
.testimonial {
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.testimonial h1 {
    font-size: 2rem;  /* smaller main heading */
    font-weight: 700;
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-size: 1rem;  /* smaller subheading */
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.testimonial p {
    font-size: 0.9rem;  /* smaller paragraph */
    line-height: 1.5;
    color: #555;
}

.testimonial .btn {
    font-size: 0.85rem;  /* smaller button text */
    padding: 0.6rem 1.2rem;
}

.testimonial .testimonial-item {
    padding: 1rem 1rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.testimonial .testimonial-item p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.testimonial .testimonial-item h5 {
    font-size: 0.9rem;  /* smaller name */
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial .testimonial-item img {
    width: 60px;       /* smaller profile images */
    height: 60px;
    padding: 2px;
    border: 1px solid var(--bs-primary);
    border-radius: 50%;
}

/* Carousel dots */
.testimonial .testimonial-carousel .owl-dot {
    width: 12px;
    height: 12px;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
}

/*** Testimonial End ***/


/*** FAQ Section Styling ***/
.faq {
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.faq::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/bg.png);
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* subtle background */
    z-index: -1;
}

.faq h1 {
    font-size: 2rem; /* smaller heading */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.faq h4 {
    font-size: 1.1rem; /* smaller subheading */
    font-weight: 500;
    color: #555;
}

.faq .accordion {
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 10px;
}

.faq .accordion-item {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.faq .accordion-button {
    font-size: 0.95rem; /* smaller text */
    font-weight: 600;
    color: #1a1a1a;
    background-color: #fff;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.faq .accordion-button:not(.collapsed) {
    background-color: #e6f0ff;
    color: #0047b3;
}

.faq .accordion-body {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.faq .faq-img {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    max-width: 70%;      /* limits the image width */
    height: auto;        /* maintain aspect ratio */
    margin: 0 auto;      /* center horizontally */
}

.faq .faq-img img {
    width: 100%;         /* fit container */
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}


.faq .faq-img:hover {
    transform: translateY(-5px);
}

.faq .faq-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 0.7rem 1.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.faq .faq-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/*** faq end ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item-post a {
    transition: 0.5s;
}

.footer .footer-item-post a:hover {
    color: var(--bs-primary) !important;
}

.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
/*** copyright end ***/