/*-----------------------------------------------------------------------------------
    *  HandyQServe - CSS Stylesheet

    Author - Akanbi Ebenezer (20th, July, 2025)
-----------------------------------------------------------------------------------*/

/* Utility classes (Extension) */
.border-2 {border-width: 2px !important;}
.border-3 {border-width: 3px !important;}
.rounded-md {border-radius: 16px !important;}

.gap-1 {gap: 0.725em;}
.gap-2 {gap: 1em;}
.gap-3 {gap: 1.25em;}
.gap-4 {gap: 1.5em;}


/* --------Font--------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Inter_18pt-Light.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-Light.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-regular - inter */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Inter_18pt-Regular.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-Regular.ttf') format('truetype'), /* Safari, Android, iOS */  ;
  }
  /* inter-italic - inter */
  @font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/Inter_18pt-Italic.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-Italic.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-500 - inter */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Inter_18pt-Medium.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-Medium.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-500italic - inter */
  @font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/Inter_18pt-MediumItalic.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-MediumItalic.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-600 - inter */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Inter_18pt-SemiBold.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-700 - inter */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/Inter_18pt-Bold.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
  }
  /* inter-800 - inter */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Inter_18pt-ExtraBold.ttf'); /* IE9 Compat Modes */
    src: local(''),
         url('../fonts/Inter_18pt-ExtraBold.ttf') format('truetype'), /* Safari, Android, iOS */
  }

/* -----------Css-variable------ */

:root {
    --text-blue: #2584F8;
    --blue: #2B64F6;
    --light-blue: #F0F5F8;
    --dark-blue: #071422;
    --body-text: #000000;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --slider-dots-color: #D4D2DD;
    --light-bg: #F6F9FF;
    --dark-bg: #303030;
    --dark-gray: #2F2F2F;
    --icon-gray: #28303F;
    --border-color: #EDEDED;
}


/* -----------Common-Css------------- */

html{scroll-behavior:smooth}

body {
    scrollbar-gutter: stable both-edges;
}

body::-webkit-scrollbar {
  display: contents;
  opacity: 0;
  width: 3px;
  height: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--blue); 
  border-radius: 10px;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    color: var(--body-text);
    background-color: var(--bg-white);
}

.btn-primary {
    background-color: var(--blue);
    border: none;
    color: var(--text-white);
    border-radius: 12px;
    padding: 10px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--text-blue);
    color: var(--text-white);
}

.page_wrapper {
    width: 100%;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--body-text);
}

a:hover {
    text-decoration: none;
    color: var(--body-text);
}

ul,
li {
    padding: 0;
    list-style-type: none;
    margin: 0;
}

button:focus,
.btn.focus,
.btn:focus {
    outline: none;
    box-shadow: none;
}

@media screen and (min-width:1200px) {
    .container {
        max-width: 1170px;
    }
}

/* ---------------------------------------------------------------------------------------- */
/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 6px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.language-switcher button {
    background: none;
    border: none;
    margin: 0 2px;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--blue)
}

.language-switcher button:hover {
    background: rgba(0, 123, 255, 0.1);
}


/* ---------------------------------------------------------------------------------------- */
/* -------------Preloader-Css-Start-------------- */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999999;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--bg-blue);
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--body-text);
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--blue);
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0%   {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* ---------------------------------------------------------------------------------------- */
/* navigation bar */
.navbar {
    padding-left: 0;
    padding-right: 0;
}

.navbar-expand-lg .navbar-nav {
    align-items: center;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding: 5px 20px;
    font-weight: 500;
    color: var(--text-white);
}

.navbar-expand-lg .navbar-nav .nav-link:hover {
    color: var(--text-white);
}

.navbar-brand img {
    width: 250px;
}

.navbar-collapse {
    background-color: #303030;
    border-radius: 16px;
    border: 1px solid #505050;
}

.navbar-collapse li {
    padding: 0.5em 1em;
    width: 100%;
    text-align: left;
}

.navbar-collapse li:not(:last-child) {
    border-bottom: 1px solid #505050;
}

.navbar-collapse .nav-link {
    color: var(--text-white);
}

.header-navbar {
    padding: 4px 20px;
    border-radius: 32px;
    border: 0.5px solid #DCDCDC;
    background: rgba(225, 231, 237, 0.5);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------------------------------------------------- */
/* Hero Section */

.hero-wrapper {
    height: 100vh;
    background: url('../images/hero-bg.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.about-hero-wrapper {
    height: 685px;
    background: url('../images/about-hero-image.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.product-hero-wrapper {
    height: 785px;
    background: url('../images/devices-mock.webp');
    background-position: center right 20px;
    background-repeat: no-repeat;
    background-size: auto;
    /* background-attachment: fixed; */
}

.hero-content {
    position: relative;
    top: 20%;
    transform: translate(-50%);
    max-width: 680px;
}

.hero-content h2 {
    font-size: 64px;
    font-weight: 700;
    line-height: 63px;
    letter-spacing: -1.6%;
    text-align: left;
}

.hero-content p {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: var(--text-white);
    margin: 30px 0;
}

.hero-content button {
    position: relative;
}

/* Pulsating Button */
.hero-content button::before, 
.hero-content button::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: -1;
}

.hero-content button::before {
	animation: pulse-blue-medium-sm 3.5s infinite
}

.hero-content button::after  {
	animation: pulse-blue-small-sm 3.5s infinite
}

@keyframes pulse-blue-small-sm {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}

	100%,
	30% {
		box-shadow: 0 0 0 12px transparent
	}
}

@keyframes pulse-blue-medium-sm {
	0% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
	}

	100%,
	30% {
		box-shadow: 0 0 0 20px transparent
	}
}

/* End Hero Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin About Section */

main .about-section {
    margin: 5rem auto;
}

main .header h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: -2px;
    max-width: 60%;
    text-align: center;
    margin-bottom: 0.5em;
}

main .header p {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

main .about-section .card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

main .about-section .card {
    border-radius: 16px;
    border-color: var(--border-color);
    transition: transform 0.5s ease;
}

main .about-section .card:hover {
    transform: scale(1.02);
}

/* Full-height card */
main .about-section .card-full-height {
    height: 100%;
}

main .about-section .card-1 {
    background-position: top 100px right 0px;
    background-image: url('../images/dashboard.png');
    background-repeat: no-repeat;
    background-size: auto;
    padding: 3rem;
}
main .about-section .card-1 .card-content,
main .about-section .card-4 .card-content {
    max-width: 60%;
}

main .about-section .card-1 h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -2.4px;
}

main .about-section .card-2 {
    background-size: cover;
    background-position: center;
    background-image: url('../images/user-satisfaction.webp');
    background-repeat: no-repeat;
}
main .about-section .card-2 .card-content {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    border-radius: 16px;
    color: var(--bg-white);
}
main .about-section .card-2 .card-content h5,
main .about-section .card-3 .card-content h5,
main .about-section .card-4 .card-content h5 {
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -2px;
    vertical-align: bottom;
}
main .about-section .card-2 .card-content p,
main .about-section .card-3 .card-content p,
main .about-section .card-4 .card-content p {
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    vertical-align: bottom;
}

main .about-section .card-3 {
    background-size: auto;
    background-image: url('../images/golder-star.webp');
    background-repeat: no-repeat;
    background-position: top 60px right 0px;
    padding: 3rem 0;
}

main .about-section .card-4 {
    background-size: auto;
    background-image: url('../images/smart-scheduling.png');
    background-repeat: no-repeat;
    background-position: top 60px right 0px;
    padding: 3rem 0;
}


/* Set the height of card 2 and divide height equally for card 3 and card 4 */
main .about-section .column-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1.5em;
}

main .about-section .column-2 .card {
    flex: 1;
}

/* Ensuring cards inside column-2 take half height each */
main .about-section .card-3, main .about-section .card-4 {
    height: 50%;
}

/* End About Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin Plan Section */

main .mission-section, main .team-section {
    background-color: var(--dark-blue);
}

main .plan-section {
    height: 785px;
    background-image: url('../images/why-we-stand-out.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

main .plan-section h1 {
    font-size: 52px;
    font-weight: 600;
    line-height: 52px;
    letter-spacing: -6%;
}

main .plan-section li {
    font-size: 16px;
    text-align: left;
    margin-bottom: 0.5em;
}

main .plan-section li::before {
    content: '';
    background-image: url('../icons/list-icon.svg');
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center center;
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5em;
    vertical-align: middle;
}

main .plan-section p {
    font-size: 18px;
    line-height: 26px;
    text-align: left;
}

@media screen and (max-width: 780px) {
    main .plan-section h1 {
        font-size: 36px;
        text-align: left;
        line-height: 38px;
    }
    main .plan-section p {
        font-size: 16px;
    }
}

/* End Plan Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin Offerings Section */

main .offerings-section {
    padding-top: 5em;
    padding-bottom: 5em;
}

main .offerings-section h1 {
    font-size: 120px;
    line-height: 127px;
    letter-spacing: -10px;
    max-width: 50%;
}

main .offerings-section h2 {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -3px;
    font-weight: 600;
}

main .offerings-section p {
    font-size: 18px;
}

main .offerings-section .card {
    border: none !important;
}

main .offerings-section .accessibility {
    justify-content: flex-end;
    background-color: var(--light-blue);
    background-size: auto;
    background-image: url('../images/accessibility.png');
    background-repeat: no-repeat;
    background-position: top 0px right 0px;
    border-radius: 16px;
    padding: 3rem;
}

main .offerings-section .innovation {
    background-color: var(--light-blue);
    background-size: auto;
    background-image: url('../images/innovation.webp');
    background-repeat: no-repeat;
    background-position: top 20px right 0px;
    border-radius: 16px;
    padding: 3rem;
}

/* End Offerings Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin Testimonial Section */
.testimonial-section {
    background-color: #F9FAF9;
    background-size: cover;
    background-image: url('../images/testimonial-bg.webp');
    background-repeat: no-repeat;
    background-position: left 0px top 0px;
}
.testimonial-section .header p, .faq-section .header p {
    max-width: 50%;
    text-align: center;
    font-size: 16px;
    line-height: 20px;
    color: #5E5F6E;
}

/* Custom carousel styles */
.custom-carousel-container {
    position: relative;
    height: 400px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 100px;
    overflow: visible;
}

.carousel-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.testimonial-card {
    position: absolute;
    width: 600px;
    height: 350px;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.testimonial-card .card {
    height: 100%;
    border: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem !important;
}

/* Card positions */
.testimonial-card.position-left {
    left: -60px;
    z-index: 1;
    transform: scale(0.82);
    opacity: 0.6;
}

.testimonial-card.position-left .card-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card.position-center {
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    opacity: 1;
}

.testimonial-card.position-center .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.position-center .card-text {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-card.position-right {
    right: -60px;
    z-index: 1;
    transform: scale(0.82);
    opacity: 0.6;
}

.testimonial-card.position-right .card-text {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hidden positions for smooth transitions */
.testimonial-card.position-hidden-left {
    left: -400px;
    z-index: 0;
    transform: scale(0.7);
    opacity: 0;
}

.testimonial-card.position-hidden-left .card-text {
    opacity: 0;
}

.testimonial-card.position-hidden-right {
    right: -400px;
    z-index: 0;
    transform: scale(0.7);
    opacity: 0;
}

.testimonial-card.position-hidden-right .card-text {
    opacity: 0;
}

/* Enhanced hover effect for center card */
.testimonial-card.position-center .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Side cards hover effect */
.testimonial-card.position-left .card:hover,
.testimonial-card.position-right .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Navigation buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
}

.carousel-nav:hover {
    background-color: #2584F8;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 132, 248, 0.3);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-nav img {
    width: 20px;
    height: 20px;
    transition: filter 0.3s ease;
}

.carousel-nav:hover img {
    filter: brightness(0) invert(1);
}

/* End Testimonial Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin FAQ Section */

main .faq .accordion {
    align-self: center;
    padding-top: 10px;
    padding-bottom: 6px;
    margin: 0 auto 3em;
    max-width: 80%;
}

main .faq .card {
    border-radius: 18px;
    border: none !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

main .faq .accordion-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

main .faq .card-header {
    background-color: var(--bg-white) !important;
}

main .faq .card-header .title {
  font-size: 14px;
  line-height: 25px;
  color: #272727;
}

main .faq .card-body {
    max-width: 80%;
}

main .faq .card-body p {
    color: #707070;
}

main .faq .card-header .icon {
  fill: var(--icon-gray);
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.3s ease-in-out;
}

main .faq .card-header .icon-rect {
  transition: transform 0.3s ease;
}

main .faq .card-header .rotate-0 {
    transform: rotate(0deg);
}

main .faq .card-header .rotate-180 {
  transform: rotate(180deg);
}

/* Slide-up animation */
@keyframes slideUp {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

main .faq .accordion-open {
  animation: slideUp 0.5s ease-in-out forwards;
}

main .faq .accordion-closed {
  display: none;
}

/* End Faq Section */

/* ---------------------------------------------------------------------------------------- */
/* Begin Download Section */
main .download-section .card {
    background-color: #F9FAFB;
    background-size: auto;
    background-image: url('../images/mobile-dashboard.webp');
    background-repeat: no-repeat;
    background-position: top 20px right 0px;
    border-radius: 16px;
    padding: 3rem;
}

main .download-section .card-content {
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

main .download-section h2 {
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -3px;
    font-weight: 600;
}

main .download-section p {
    font-size: 16px;
    line-height: 24px;
}


/* ---------------------------------------------------------------------------------------- */
/* Begin Footer Section */

/* footer go top button */
.scroll_to_top {
    position: fixed;
    right: 30px;
    bottom: 75px;
    cursor: pointer;
    transition: .4s all;
    opacity: 0;
    z-index: 9999;
}

.scroll_to_top:hover {
    bottom: 80px;
}

footer {
    background-color: var(--light-bg);
    padding: 92px 0;
}

footer .banner {
    background-color: var(--blue);
    border-radius: 12px;
}

footer .banner p:first-of-type {
    font-size: 18px;
    font-weight: 500;
}

footer input {
    background-color: #112F82;
    border: none;
    outline: none;
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    width: 457px;
    height: 48px;
    padding: 0px 6px 0px 24px;
    align-items: center;
    gap: 8px;
}

footer input::placeholder {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 400;
}

footer .links h4 {
    font-weight: 800;
    font-size: 16px;
    color: #191D23;
}

footer .links p, footer .links a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #4B5768;
}

 

