/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-md-square {
    width: 46px;
    height: 46px;
}

.btn-lg-square {
    width: 58px;
    height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.back-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/*** Button End ***/


/*** Topbar Start ***/

.topbar .top-info {
    letter-spacing: 1px;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
}

#note {
    width: 500px;
    overflow: hidden;
}

#note small {
    position: relative;
    display: inline-block;
    animation: mymove 5s infinite;
    animation-timing-function: all;
}

@keyframes mymove {
    from {left: -100%;}
    to {left: 100%;}
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
    height: 60px; /* Match your navbar height */
    overflow: visible; /* Allow logo to overflow if needed */
}

.logo-img {
    height: 60px; /* Increase this to make logo bigger */
    max-height: 150%; /* Prevent overflow */
    width: 150px;
    margin-top: -5px; /* Optional: fine-tune vertical alignment */
}

.navbar .navbar-nav {
    padding: 15px 0;
}

.navbar .navbar-nav .nav-link {
    padding: 10px;
    color: var(--bs-white);
    font-size: 18px;
    outline: none;
    
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-secondary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "font awesome 5 free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/*** Navbar End ***/


/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: #ffffff;
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }
    
    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }
    
    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

/*** Carousel End ***/

/*** About Start ***/
.about-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Aboutus.jpg) center 15% no-repeat;
    background-size: 100% auto; /* Stretch image to full width, auto height to crop top/bottom */
    background-color: #000; /* Fallback color for empty space */
    min-height: 60vh; /* Keep reduced height */
}

/*** About Start ***/

/*** Services Start ***/
.container-fluid.services-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Services.jpg) center 15% no-repeat;
    background-size: 100% auto; /* Stretch image to full width, auto height to crop top/bottom */
    background-color: #000; /* Fallback color for empty space */
    min-height: 60vh; /* Match About Us page height */
}
.services-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Ensure content spans the header height */
}

/*** Services Start ***/

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(3, 43, 243, 0.8);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--bs-secondary) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--bs-white);
}


/* Ensure all service images have the same height and auto width */
.services .row img {
    height: 300px;        /* Set desired height */
    width: 100%;          /* Make width fit the column */
    object-fit: cover;    /* Crop/scale image to fill the area without distortion */
    border-radius: 0.5rem; /* Keep your rounded corners */
}

.services .service-tile {
    background-color: #f8f9fa;  /* Light grey background */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;        /* Space between tiles */
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* subtle shadow */
    transition: transform 0.2s ease;
}

.services .service-tile:hover {
    transform: translateY(-5px); /* Slight hover effect */
}

.services {
    background-color: #f5f5f5; /* Light grey background */
    margin-bottom: 0 !important; /* Override Bootstrap's mb-5 */
}
/*** Services End ***/

/*** Industries Start ***/

.container-fluid.industries-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Industries.jpg) center 90% no-repeat;
    background-size: 100% auto; /* Stretch image to full width, auto height to crop top/bottom */
    background-color: #000; /* Fallback color for empty space */
    min-height: 60vh; /* Match About Us page height */
}
.industries-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Ensure content spans the header height */
}

/*** Industries End ***/

/*** Use cases End ***/

.container-fluid.usecases-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/Usecases.jpg) center 60% no-repeat;
    background-size: 100% auto; /* Stretch image to full width, auto height to crop top/bottom */
    background-color: #000; /* Fallback color for empty space */
    min-height: 60vh; /* Match About Us page height */
}
.usecases-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Ensure content spans the header height */
}

/*** Use cases End ***/


/*** Automation Section Styles ***/
.automation-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
}

.section-title p {
  color: #666;
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 16px;
}

/* 2 columns grid */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.automation-block {
  background-color: #d6d6d6; /* changed from #f8f9fa to a slightly darker grey */
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.automation-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.automation-block h4 {
  color: #003399;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.automation-block ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #555;
}

.automation-block ul li {
  margin-bottom: 8px;
  font-size: 15px;
}


/*** Automation Section Styles ***/

/* CTA Block Styles */
.cta-block {
  background-color: #d6d6d6; /* Matches automation-block background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  grid-column: 1 / -1; /* Stretch across both columns */
}

.cta-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-block h2 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.cta-block p {
  color: #666;
  font-size: 16px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #003399; /* Matches h4 color of automation blocks */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #002266; /* Slightly darker shade for hover */
  transform: translateY(-2px);
}

/* Ensure grid remains 2 columns for automation blocks */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .automation-grid {
    grid-template-columns: 1fr; /* Stack blocks and CTA on mobile */
  }

  .cta-block {
    grid-column: auto; /* Reset to single column on mobile */
  }

  .cta-block h2 {
    font-size: 24px;
  }

  .cta-block p {
    font-size: 14px;
  }
}
/* CTA Block Styles */

/*** Contact Start ***/

/*** Contact ***/

.container-fluid.contact-header {
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, .6)), url(../img/contact.jpg) center 60% no-repeat;
    background-size: 100% auto; /* Stretch image to full width, auto height to crop top/bottom */
    background-color: #000; /* Fallback color for empty space */
    min-height: 60vh; /* Match About Us page height */
}
.contact-header .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%; /* Ensure content spans the header height */
}

/*** Contact ***/

/*** Contact form ***/
.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(210, 243, 235, 1), rgba(230, 250, 245, .3)), url(../img/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: #26d48c;
}

.contact-form {
    background: #26d48c;
}

/*** Contact End ***/


/*** Footer Start ***/

.footer .short-link,
.footer .help-link,
.footer .contact-link {
  margin-top: 20px; /* add space between heading and sub-options */
}

.footer .short-link a,
.footer .help-link a,
.footer .contact-link a {
  transition: .5s;
  margin-bottom: 10px; /* add space between individual sub-options */
}

.footer .short-link a:hover,
.footer .help-link a:hover,
.footer .contact-link a:hover {
  letter-spacing: 1px;
}

.footer .hightech-link a:hover {
  background: var(--bs-secondary);
  border: 0;
}

.hightech-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
}

.hightech-link a svg {
    pointer-events: none; /* Prevents SVG from blocking clicks */
}

/*** Footer End ***/

/*** Automation possibilities Start ***/
.project-img-fixed {
    width: auto;           /* let browser calculate width */
    max-width: 350px;      /* limit to medium size */
    height: 350px;         /* keeps square ratio */
    object-fit: cover;     /* crop without stretching */
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .project-img-fixed {
        width: 100%;       /* full width on mobile */
        height: 250px;     /* square-ish mobile height */
    }
}

/*** Automation possibilities End ***/

/*** Testimonial start ***/
.testimonial {
    background-color: #f5f5f5; /* light grey background */
    border-radius: 10px; /* optional, soft corners */
    padding: 50px 0; /* keeps spacing consistent */
}
/*** Testimonial End ***/

.about-section {
    background-color: #f5f5f5; /* Light grey */
}

.about-section .container {
    position: relative;
    z-index: 1;
}

