/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

/********** Additional CSS **********/

/* Auto Dialer Page Specific Styles */
.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center !important;
    }
}

@media (max-width: 767.98px) {
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .client-logos img {
        height: 30px !important;
        margin: 0 10px 15px;
    }
}

/* Pricing Page Specific Styles */
.bg-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
}

/* Form Styles */
#contact .form-control, 
#contact .form-select {
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

#contact .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .trusted-business {
        margin-bottom: 1rem;
    }
    
    #contact .col-lg-5, 
    #contact .col-lg-7 {
        padding: 2rem !important;
    }
}

/* Talk to Expert Section */
.talk-to-expert .form-control,
.talk-to-expert .form-select {
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.talk-to-expert .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.talk-to-expert .btn-primary {
    letter-spacing: 0.5px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .talk-to-expert .col-md-6 {
        padding: 0;
    }
    
    .talk-to-expert .bg-white {
        padding: 1.5rem !important;
    }
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0;
}

.why-choose-section .icon-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(13, 110, 253, 0.1);
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(13, 110, 253, 0.3);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--bs-primary);
}

/* Feature Table */
.feature-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
}

.feature-table th {
    background-color: var(--bs-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.feature-table td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

.feature-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.feature-table tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .why-choose-section {
        padding: 3rem 0;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .why-choose-section .display-5 {
        font-size: 2.2rem;
    }
    
    .feature-table {
        display: block;
        overflow-x: auto;
    }
}

.ai-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-square {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trusted By Section */
.trusted-section {
    background-color: #f8f9fa;
}

/* Differentiators */
.diff-section .card-hover {
    transition: all 0.3s ease;
}

.diff-section .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Call Center Types */
.types-section .btn-outline-primary {
    border-width: 2px;
}

/* Demo Section */
.demo-section .form-control,
.demo-section .form-select {
    padding: 12px 15px;
    border-radius: 0.375rem;
}

.demo-section .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .hero-section .text-center-mobile {
        text-align: center;
    }
    
    .trusted-section .flex-wrap {
        justify-content: center;
    }
    
    .features-section .col-md-4 {
        margin-bottom: 1.5rem;
    }
}

    /* Scrolling Banner Styles */
.scrolling-banner-container {
    background: #f0f0f0;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    width: 100%;
    margin: 0;
}

/* Scrolling Banner Styles */
/* Scrolling Banner Styles */
.scrolling-banner-container {
    background: #f0f0f0;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    width: 100%;
    margin: 0;
}

.scrolling-banner {
    display: inline-block;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
    font-size: 14px;
    color: #f3525a;
}

/* Fixed paused class syntax */
.scrolling-banner.paused {
    -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}

.scrolling-banner span {
    margin: 0 15px;
    display: inline-block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@-webkit-keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Add this to your CSS file */
.bg-gradient {
    padding-top: 15px !important;
}

/* Hide hero image on mobile */
@media (max-width: 991.98px) {
    .hero-image-column {
        display: none !important;
    }
}

/* popup form */
.popup-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-form-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

.switch-ip-field {
  display: none;
}
