/********** Template CSS **********/
* {
    transition: all 0.25s ease;
}
/*** 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;
}

/***Vishura***/
.vishura-gradient {
  font-weight: bold;
  font-size: 2.5em;
  background: linear-gradient(90deg, #0b00a0, #2023f9, #2eef2e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 0;
  padding: 5px 0;
}
/*** Navbar ***/
@media (max-width: 576px) {
    .navbar-brand video {
        height: 45px;
    }
    .navbar-brand h1 {
        font-size: 1.25rem;
    }
}

.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)
}

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

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

@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;
    }
}
@media (max-width: 991px) {
    .navbar-social {
        margin-top: 10px;
    }
}

.tagline {
    font-size: 12px;
    color: #000000;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

/* Social icons */
.navbar-social a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar-social a svg {
    width: 18px;
    height: 18px;
    fill: #0d6efd;
}

.navbar-social a:hover {
    background: linear-gradient(90deg, #0b4cd79d, #136ef6ab, #19d419b0);
    transform: translateY(-2px);
}

/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 40px;
    background: url(../img/hero-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 50px;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: -0.5;
    right: 0;
    width: calc(105% + 90px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -3;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-38%);
    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;
}


/*** Blogs ***/
.blog {
    overflow: hidden;
}

/* BLOG ITEM */
.blog .blog-item {
    position: relative;
    overflow: hidden;
    border: none;
}

/* IMAGE STYLE + HOVER ZOOM (like .project-item img) */
.blog .blog-item .blog-img img {
    width: 100%;
    transition: 0.5s;
}

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

/* BLOG OVERLAY (inspired by .project-overlay) */
.blog .blog-item .blog-img a::after {
    content: "";
    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, 0.1) 50%, var(--bs-dark));
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}

/* Show overlay on hover */
.blog .blog-item:hover .blog-img a::after {
    opacity: 1;
}

/* BLOG CONTENT */
.blog .blog-item .blog-content {
    background: var(--bs-white);
    position: relative;
    z-index: 2;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-content {
    transform: translateY(-10px);
}

/* BLOG COMMENT BAR */
.blog-content .blog-comment {
    background: var(--bs-dark);
    color: var(--bs-white);
}

/* DOTS (keep same style, optional minor clean-up) */
.blog-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.blog-carousel .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0px;
    background: var(--bs-dark);
    border-radius: 50%;
    transition: 0.3s;
}

.blog-carousel .owl-dot.active {
    background: var(--bs-primary);
    transform: scale(1.3);
}

/*** Case Studies ***/
.case-item {
    background: #fff;
    border: 1px solid #eee;
    transition: 0.4s;
}
.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.case-content a.h4:hover {
    color: #198754;
}

/*** 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) !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);
    color: var(--bs-white);
    transition: .5s;
}

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

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

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}
/*** Service Flip Card ***/
.service-flip {
    perspective: 1000px;
    height: 100%;
    min-height: 450px;
}

.service-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

/* Flip trigger */
.service-flip:hover .service-flip-inner {
    transform: rotateY(180deg);
}

/* Front & Back */
.service-flip-front,
.service-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

/* Back side */
.service-flip-back {
    transform: rotateY(180deg);
}

/*** 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 ***/
.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: 0px;
    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;
    }
}

.success-card {
    background: #f6fff8;
    border: 1px solid #c3f0d1;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    font-size: 50px;
    color: #22c55e;
    margin-bottom: 10px;
}

.error-card {
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    padding: 20px;
    border-radius: 10px;
    color: #dc2626;
}

.sending-box {
    text-align: center;
    padding: 20px;
}

.loader {
    width: 35px;
    height: 35px;
    border: 4px solid #eee;
    border-top: 4px solid #0d6efd;
    border-radius: 50%;
    margin: auto;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   Company Info Animation Styles
   ============================== */

.company-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 0px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    opacity: 0;
    transform: translateY(40px);
    animation: companyFadeUp 0.8s ease forwards;
}

/* Animation Delay */
.company-info-card:nth-child(1) { animation-delay: 0.1s; }
.company-info-card:nth-child(2) { animation-delay: 0.25s; }
.company-info-card:nth-child(3) { animation-delay: 0.4s; }
.company-info-card:nth-child(4) { animation-delay: 0.55s; }
.company-info-card:nth-child(5) { animation-delay: 0.7s; }

/* Hover Effect */
.company-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.25);
}

/* Keyframes */
@keyframes companyFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Label styling */
.company-info-label {
    font-weight: 600;
    color: #0d6efd;
}

/* Value styling */
.company-info-value {
    font-weight: 500;
    color: #333;
}

.company-info-box {
    position: relative;
    overflow: hidden;
    height: 220px;
    border-radius: 8px;
    cursor: pointer;
}

.company-info-front,
.company-info-back {
    position: absolute;
    inset: 0;
    padding: 30px;
    transition: transform 0.6s ease;
}

/* Front content */
.company-info-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: inherit;
    z-index: 2;
}

/* Hidden content (starts below) */
.company-info-back {
    transform: translateY(100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover animation */
.company-info-box:hover .company-info-front {
    transform: translateY(-100%);
}

.company-info-box:hover .company-info-back {
    transform: translateY(0);
}

/* Typography safety */
.company-info-back li {
    margin-bottom: 0px;
    font-size: 16px;
}

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

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


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 00px;
    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: 0px;
}

.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: 0%;
    padding-right: 0px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

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

