/*start General*/

body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

section {
    padding: 100px 0;
    overflow: hidden;
}

.section-title {
    padding-bottom: 20px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: #dc3545;
    bottom: 0;
    left: calc(50% - 25px);
}

/* Tech stack styles from user */
.tech-box {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 8rem;
}

.tech-box:hover {
    transform: translateY(-5px);
    transition: transform 0.1s ease;
}

/* Merged and cleaned up tech-icon styles */
.tech-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 9999px;
}

.tech-box span {
    font-weight: 500;
    color: #333;
    text-align: center;
    font-size: 14px;
}

/* Tab content styles - Scoped for index.html */
#tab-contents .tab-content {
    display: none;
}

#tab-contents .tab-content.active {
    display: block;
}

.tab-btn {
    cursor: pointer;
    transition: all 0.1s ease;
}

/*End General*/
/*start navbar*/
#header {
    padding: 5px 0;
}

.header-inner {
    background: rgba(24, 6, 185, 0.8);
    padding: 5px 0 !important;
}

.header-scrolled {
    background: rgb(171 0 0 / 80%);
    padding: 5px 0 !important;
}

#header .logo {
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
}

#header .logo a {
    color: #fff;
    font-size: 32px;
}

.navbar-nav .nav-item {
    padding: 10px 0px 10px 20px !important;
}

.navbar-nav .nav-item .nav-link::before {
    content: "";
    position: absolute;
    height: 2px;
    background-color: #fff;
    visibility: hidden;
    left: 0;
    width: 0;
    bottom: -5px;
    transition: all 0.1s ease-in-out;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link.active::before {
    visibility: visible;
    width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover::before {
    visibility: visible;
    width: 100%;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    padding: 0 3px !important;
    font-family: "Poppins", sans-serif !important;
    font-size: 17px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
}

.navbar .get-started {
    white-space: nowrap;
    background: #dc3545;
    color: #fff !important;
    border: 2px solid #dc3545 !important;
    padding: 6px 16px !important;
    border-radius: 5px;
    margin-left: 15px;
    transition: 0.3s;
}

.navbar .get-started:hover {
    background: #c22132;
    border-color: #c22132 !important;
    cursor: pointer;
}

.navbar-light .navbar-nav .get-started {
    font-size: 15px !important;
    font-weight: 600;
}

/* start navigation mobile  */

@media (max-width: 991px) {
    #header {
        background: linear-gradient(45deg, rgb(223 10 10 / 90%), rgb(249 247 247 / 90%));
    }
}

/* end navigation mobile */

/* end navbar */
/* start main background */
.main-bg {
    background: linear-gradient(45deg, rgb(223 10 10 / 90%), rgb(249 247 247 / 90%)), url(../images/main-background.jpg) center;
    width: 100%;
    height: auto;
    background-size: cover;
}

.main-bg h1 {
    color: #fff;
    font-weight: 700;
    line-height: 64px;
    font-size: 52px;
}

.main-bg h2 {
    color: rgba(255, 255, 255, 0.8);
    margin: 10px 0 0 0;
    font-size: 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.main-bg .get-started {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 5px;
    transition: 0.3s;
    margin-top: 30px;
    color: #fff;
    border: 2px solid #fff;
    display: inline-block;
}

.main-bg .get-started:hover {
    background: #fff;
    color: #dc6c86;
}

.main-bg .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@-webkit-keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 26px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
    }

    #hero {
        text-align: center;
    }
}

/* end main background */
/*start about section*/
.about h3 {
    font-weight: 600;
    font-size: 32px;
    color: #2c4964;
}

.about ul li {
    padding-bottom: 10px;
}

.about ul li i {
    font-size: 20px;
    padding-right: 4px;
    color: #dc3545;
}

.about .read-more {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    color: #fff;
    padding: 10px 50px 10px 28px;
    border-radius: 5px;
    background: #dc3545;
    transition: 0.1s;
    display: inline-block;
}

/*end about section*/
/*start counts section*/
/* start services section  */
.section-bg {
    background-color: #f9f8ff;
}

.services .services-title {
    text-align: center;
    padding-bottom: 20px;
}

.services .icon-box {
    text-align: center;
    padding: 70px 20px 80px 20px;
    transition: all ease-in-out 0.3s;
    background: #fff;
    cursor: pointer;
    display: flex;
    transition: all 0.3s ease-in-out;
    flex-direction: column;
    height: 300px;
    /* Set a fixed height for all cards */
    justify-content: center;
    /* Center content vertically */
}

.services .icon-box .icon {
    display: flex;
    width: 100px;
    height: 100px;
    margin: auto;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
    position: relative;
}

.services .icon-box .icon i {
    position: relative;
    font-size: 36px;
    transition: 0.1s;
}

.services .icon-box:hover {
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
}

.services .iconbox-blue i {
    color: #47aeff;
}

.services .iconbox-blue:hover .icon i {
    color: #fff;
}

.services .iconbox-blue:hover svg path {
    fill: #47aeff;
}

.services .iconbox-orange i {
    color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
    color: #fff;
}

.services .iconbox-orange:hover svg path {
    fill: #ffa76e;
}

.services .iconbox-pink i {
    color: #e80368;
}

.services .iconbox-pink:hover .icon i {
    color: #fff;
}

.services .iconbox-pink:hover svg path {
    fill: #e80368;
}

.services .iconbox-yellow i {
    color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
    color: #fff;
}

.services .iconbox-yellow:hover svg path {
    fill: #ffbb2c;
}

.services .iconbox-red i {
    color: #ff5828;
}

.services .iconbox-red:hover .icon i {
    color: #fff;
}

.services .iconbox-red:hover svg path {
    fill: #ff5828;
}

.services .iconbox-teal i {
    color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
    color: #fff;
}

.services .iconbox-teal:hover svg path {
    fill: #11dbcf;
}

/* end services section  */
/* start portfolio section  */
.portfolio-sec {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    color: #fff;
}

.portfolio-sec .section-title h2 {
    color: #fff;
}

.portfolio-sec .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-sec .portfolio-filters {
    padding: 0;
    margin: 0 auto 20px auto;
    list-style: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(5px);
}

.portfolio-sec .portfolio-filters a {
    cursor: pointer;
    padding: 8px 20px;
    /* Adjusted padding for sleeker look */
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out;
    /* Slightly longer transition for smoothness */
    border-radius: 50px;
    font-family: "Poppins", sans-serif;
    color: rgba(255, 255, 255, 0.7);
    /* Lighter text color for inactive */
    background-color: transparent;
    /* Transparent background for inactive */
    border: none;
    /* Remove individual borders */
}

.portfolio-sec .portfolio-filters li+li {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* Add dividers */
}

.portfolio-sec .portfolio-filters a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    /* Subtle hover effect */
    color: #fff;
}

.portfolio-sec .portfolio-filters a.filter-active {
    background-color: #dc3545 !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Softer shadow for depth */
}

.portfolio-sec .portfolio-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-sec .portfolio-item {
    margin-bottom: 30px;
}

.portfolio-sec .portfolio-wrap::before {
    content: "";
    background: rgba(12, 12, 12, 0.7);
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all ease-in-out 0.1s;
    opacity: 0;
    z-index: 2;
}

.portfolio-sec .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
}

.portfolio-sec .portfolio-wrap .portfolio-links {
    display: flex;
    gap: 10px;
    transition: all ease-in-out 0.2s;
}

.portfolio-sec .portfolio-wrap .portfolio-links a {
    color: #fff;
    font-size: 14px;
    transition: 0.1s;
    align-items: center;
}

.portfolio-sec .portfolio-wrap .portfolio-info h4 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-sec .portfolio-wrap .portfolio-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 15px;
}

.portfolio-sec .portfolio-wrap:hover::before {
    opacity: 1;
}

.portfolio-sec .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

.portfolio-sec .portfolio-wrap img {
    transition: all 0.1s ease-in-out;
}

.portfolio-sec .portfolio-wrap:hover img {
    transform: scale(1.1);
}

/* end portfolio section  */

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
    padding: 80px 0;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    padding: 30px;
    margin: 30px 15px;
    min-height: 200px;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    background: #fff;
    border-radius: 10px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #111;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: #fdeff2;
    font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #dc3545;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #dc3545;
}

/* start pricing section  */
.clients {
    padding: 60px 0;
}

.clients .clients-slider .swiper-slide {
    opacity: .5;
    transition: .3s;
    text-align: center;
}

.clients .clients-slider .swiper-slide img {
    max-width: 60%;
    filter: grayscale(100);
}

.clients .clients-slider .swiper-slide:hover {
    opacity: 1;
}

.clients .clients-slider .swiper-slide:hover img {
    filter: none;
}

.clients .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 1;
    border: 1px solid #dc3545;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
    background-color: #dc3545;
}

.pricing .box {
    background: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
    overflow: hidden;
    position: relative;
}

.pricing .box h3 {
    background: #f8f8f8;
    font-size: 16px;
    font-weight: 600;
    color: #2c4964;
    padding: 20px 15px;
    margin: -20px -20px 20px -20px;
}

.pricing .box h4 {
    color: #dc3545;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    margin-bottom: 20px;
    font-size: 36px;
}

.pricing .box sup {
    font-size: 20px;
    top: -15px;
    left: -3px;
}

.pricing .box h4 span {
    color: #bababa;
    font-size: 16px;
    font-weight: 300;
}

.pricing ul {
    color: #444444;
    font-size: 16px;
}

.pricing ul li {
    padding-bottom: 16px;
}

.na {
    color: #ccc;
    text-decoration: line-through;
}

.pricing .btn-wrap {
    background: #f8f8f8;
    margin: 20px -20px -20px -20px;
    padding: 20px 15px;
}

.pricing .btn-wrap a {
    background: #dc3545;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    padding: 10px 35px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    transition: 0.3s;
}

.pricing .btn-buy:hover {
    background: #c22132;
}

.pricing .box .featured {
    background: #dc3545;
    color: #fff;
}

.pricing .box .advanced {
    position: absolute;
    background: #dc6c86;
    transform: rotate(45deg);
    color: #fff;
    top: 18px;
    right: -68px;
    padding: 1px 0 3px 0;
    font-size: 14px;
    width: 200px;
}

/* end pricing section  */
/* start frequent asked questions  */
.faq {
    background: linear-gradient(45deg, rgb(223 10 10 / 90%), rgb(171 0 0 / 80%));
}

.faq .section-title {
    color: #fff;
}

.faq .section-title h2::after {
    background: rgba(255, 255, 255, 0.6);
}

.faq .faq-list {
    padding: 0 100px;
}

.faq .faq-list li {
    position: relative;
    background: #fff;
    border-radius: 5px;
    padding: 30px;
}

.faq .faq-list a {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    padding: 0 30px;
}

.faq .faq-list .icon-help {
    font-size: 24px;
    position: absolute;
    right: 0;
    left: 20px;
    color: #dc3545;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
    position: absolute;
    font-size: 30px;
    right: 25px;
    top: 20px;
}

.faq .faq-list a.collapsed {
    color: #2c4964;
}

.faq .faq-list .icon-show {
    display: none;
}

.faq .faq-list a.collapsed .icon-close {
    display: none;
}

.faq .faq-list a.collapsed .icon-show {
    display: inline-block;
}

.faq .faq-list p {
    margin-bottom: 0;
    padding: 10px 0 0 0;
}

.faq .faq-list li+li {
    margin-top: 20px;
}

@media(max-width:1200px) {
    .faq .faq-list {
        padding: 0;
    }
}

/* end frequent asked questions  */
/*start contact section*/
.contact .info-box {
    background: #fff;
    box-shadow: 0 0 30px rgb(214 215 216 / 60%);
    padding: 20px 0 30px 0;
    text-align: center;
    color: #444444;
}

.contact .info-box i {
    font-size: 32px;
    color: #dc3545;
    padding: 8px;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #2c4964;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .email-form {
    background: #fff;
    box-shadow: 0 0 30px rgb(214 215 216 / 60%);
    padding: 30px 30px 52px 30px;
    text-align: center;
}

.contact .email-form button[type="submit"] {
    background: #dc3545;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.1s;
    border-radius: 5px;
}

/*end contact section*/
/* start footer section  */
#footer {
    color: #fff;
    font-size: 14px;
    background: linear-gradient(45deg, rgb(250 58 58 / 97%) 0%, rgb(163 35 35 / 89%) 100%), url(../images/main-background.jpg) center center no-repeat;
    background-size: cover;
    padding: 60px 0 0 0;
}

#footer .footer-logo {
    margin-bottom: 30px;
    line-height: 1;

}

#footer .phone-email {
    margin-top: 56px;
}

#footer h3 {
    font-size: 28px;
    margin: 0 0 30px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 500;
    text-transform: uppercase;
}

#footer p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Poppins", sans-serif;
}

#footer h4 {
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 12px;
}

#footer ul li {
    padding: 10px 0;
}

#footer ul li i {
    padding-right: 2px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

#footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.1s;
    line-height: 1;
}

#footer ul li:hover a {
    text-decoration: underline !important;
    color: #fff;
}

#footer form {
    margin-top: 30px;
    position: relative;
    border-radius: 5px;
}

#footer input[type="submit"] {
    position: absolute;
    top: -1px;
    right: 0;
    border: 0;
    background: rgb(255 64 64);
    padding: 8px 20px;
    border-radius: 0 5px 5px 0;
    color: #fff;
    font-size: 16px;
    box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
}

#footer .copyright-wrap {
    margin-top: 20px;
    border-top: 1px solid #8577fb;
}

#footer .copyright-wrap .credits {
    padding-top: 5px;
    font-size: 13px;
    color: #fff;
}

#footer .social-links a {
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    line-height: 1;
    padding: 8px 8px;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.1s;
}

#footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* end footer section  */

/* Back to top button */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #dc3545;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}