/*-----------------------------------------------------------------------------------

    Template Name: Miami - Minimal Portfolio Template 
    Template URI: http://HasTech.com
    Description: This is html5 template
    Author: HasTech
    Author URI: http://HasTech.com
    Version: 2.0

-----------------------------------------------------------------------------------
    
    CSS INDEX
    ===================
	
    1. Template default css (css/shortcode/default.css)
    2. Header css (css/shortcode/header.css)
    3. Slider css (css/shortcode/slider.css)
    4. Blog css (css/shortcode/blog.css)
    5. Breadcrumb css (css/shortcode/breadcrumb.css)
    6. Portfolio css (css/shortcode/portfolio.css)
    7. Service css (css/shortcode/service.css)
    8. Testimonial css (css/shortcode/testimonial.css)
    9. Footer css (css/shortcode/footer.css)
    10. About us
    11. Pricing table
    12. Contact us
    13. Scrollup
    
-----------------------------------------------------------------------------------*/


/*--------- 10. About us -------------*/

.bg-img {
    background: rgba(0, 0, 0, 0) url("img/bg-2.jpg") repeat scroll center center / cover;
    height: 100vh;
}
.slider > img {
    width: 100%;
}
.single-count {
    text-align: center;
}
.count-icon {} .count-icon span {
    font-size: 35px;
}
.count-title {} .count-title h2 {
    color: #464646;
    font-size: 40px;
    font-weight: 300;
    margin: 15px 0;
}
.count-title span {
    font-size: 16px;
    letter-spacing: 1px;
    margin: 0;
    text-transform: capitalize;
}
. {} . {} . {} .hover-style {
    display: block;
    position: relative;
}
.hover-style::before {
    background: #fff none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: all 0.3s ease-in-out 0s;
    width: 100%;
}
.hover-style:hover::before {
    opacity: 0.95;
}
/* skill */

.skill .progress {
    background-color: #f0f0f0;
    border-radius: 5px;
    box-shadow: none;
    height: 6px;
    margin-bottom: 68px;
    overflow: visible;
    position: relative;
}
.skill .progress .lead {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    left: 0;
    position: absolute;
    text-transform: uppercase;
    top: -31px;
    z-index: 99;
}
.skill .progress-bar {
    background: #666 none repeat scroll 0 0;
}
.skill .progress-bar > span {
    color: #333;
    float: right;
    font-size: 13px;
    font-weight: 600;
    margin-right: -4px;
    margin-top: -27px;
    padding: 0 5px;
    position: relative;
}
.skill {
    margin-top: 33px;
}
/* about */

.history-text > h2 {
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.history-text > a {
    border: 1px solid #333;
    color: #333;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 35px;
    padding: 6px 30px 8px;
    text-transform: capitalize;
    background-color: transparent;
    transition: all .3s ease 0s;
}
.history-text > a:hover {
    border: 1px solid #333;
    color: #fff;
    background-color: #333;
}
.single-about i {
    font-size: 30px;
}
.single-about > h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 14px 0 20px;
    text-transform: uppercase;
}
.about-minimal {} .about-minimal h2 {} .minimal-img > img {
    width: 100%;
}
.about-minimal {} .about-minimal ul {} .about-minimal ul li {
    border-top: 1px solid #f6f6f6;
    display: block;
    line-height: 1.3em;
    list-style-type: none;
    margin: 0;
    padding: 15px 0;
    position: relative;
}
.about-minimal ul li:last-child {
    border-bottom: 1px solid #eceaeb;
}
.about-minimal ul li::before {
    color: #444;
    content: "";
    font-family: FontAwesome;
    font-size: 13px;
    line-height: 12px;
    margin-left: 0;
    margin-right: 10px;
    position: relative;
    top: 1px;
}
.about-minimal a {
    border: 1px solid #ddd;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    margin-bottom: 5px;
    padding: 12px 25px;
    text-transform: uppercase;
}
.about-minimal a:hover {
    background: #464646;
    color: #fff;
    border-color: #464646
}
.single-skill-about {
    text-align: center;
}
.progress-h4 {
    font-size: 22px;
    font-weight: 400;
}
.progress.an-rs {
    margin-bottom: 0;
}
.about-us-text > p {
    color: #666;
}
.team-wrapper {
    border: 1px solid #e7e7e7;
}
.team-member {
    position: relative;
}
.team-member > img {
    filter: grayscale(100%);
    width: 100%;
}
.team-member::before {
    background: transparent none repeat scroll 0 0;
    content: " ";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: all 0.27s cubic-bezier(0, 0, 0.58, 1) 0s;
    width: 100%;
    z-index: 1;
}
.team-wrapper:hover .team-member::before {
    background: rgba(33, 40, 45, 0.55);
}
.team-info {
    padding: 15px 0;
}
.team-icon {
    bottom: 30px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 99;
}
.team-icon > a {
    border: 1px solid transparent;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    height: 40px;
    line-height: 36px;
    margin: 0 15px;
    opacity: 0;
    text-align: center;
    visibility: hidden;
    width: 40px;
    border-radius: 50%;
}
.team-icon > a:hover {
    background: #fff;
    color: #666
}
.team-wrapper:hover .team-icon > a {
    opacity: 1;
    visibility: visible;
    margin: 0 5px
}
.team-info h3 {
    font-size: 20px;
    text-transform: uppercase;
}
.team-info span {
    color: #666;
    text-transform: uppercase;
}
.team-member > img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
.count {
    color: #fff;
    font-size: 45px;
    font-weight: 500;
}
.single-count > span {
    color: #fff;
    font-size: 16px;
    text-transform: capitalize;
}
.brand-logo-active.owl-carousel .owl-item img {
    margin: auto;
    width: auto;
}
/*----- 11. Pricing table  ------*/

.single-pricing {
    background: #ffffff none repeat scroll 0 0;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    padding: 55px 55px 60px;
    text-align: center;
    transition: all 0.3s ease 0s;
}
.single-pricing:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}
.pricing-top h3 {
    color: #505050;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 35px;
    position: relative;
    text-transform: uppercase;
}
.pricing-top p {
    color: #39434a;
    font-family: "Dosis", sans-serif;
    font-size: 70px;
    font-weight: 600;
    line-height: 46px;
    margin-bottom: 0;
}
.pricing-top p span {
    font-size: 18px;
    font-weight: normal;
}
.pricing-top p span.content-currency {
    font-size: 20px;
    font-weight: 500;
    margin-right: 5px;
    color: rgb(153, 153, 153);
}
.pricing-top p span.content-month {
    font-size: 16px;
    font-weight: 500;
    margin-left: 5px;
    color: rgb(153, 153, 153);
}
.pricing-tex li {
    color: #333333;
    font-size: 14px;
    padding-bottom: 22px;
    text-transform: capitalize;
}
.pricing-tex li:last-child {
    padding-bottom: 0px;
}
.pricing-tex li i {
    padding-right: 10px;
}
.price-btn a {
    background-color: #39434a;
    border: 1px solid #39434a;
    border-radius: 50px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 9px 35px 10px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}
.price-btn a:hover {
    background-color: transparent;
    color: #39434a;
}
.pricing-tex > ul {
    padding: 27px 0 44px;
}
.price-btn .button i {
    font-size: 14px;
    padding-left: 12px;
}


/*--------- 12. Contact us ----------*/

#hastech2 {
    height: 402px;
    width: 100%;
}
h3.main-contact {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.main-input input {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #666;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    height: 45px;
    padding-left: 20px;
}
.text-leave2 textarea {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #ddd;
    color: #666;
    font-family: "Lato", sans-serif;
    height: 150px;
    margin-bottom: 40px;
    padding: 14px 20px;
}
.leave-form input:focus,
.main-input input:focus,
.text-leave textarea:focus,
.text-leave2 textarea:focus {
    background: transparent none repeat scroll 0 0;
    border: 1px solid #f6f6f6;
}
.mfp-wrap {
    z-index: 99999999;
}
.mfp-bg {
    z-index: 9999999;
}
.overly-style {
    position: relative;
    z-index: 0;
}
.overly-style:before {
    background-color: #000;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
.video-overly-style {
    position: relative;
}
.video-overly-style:before {
    background-color: #000;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9;
}
/*------------ 13. Scrollup ----------------*/

#toTop {
    text-align: center;
    bottom: 35px;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 12px;
    z-index: 9999;
}
#toTop i {
    background-color: #464646;
    height: 40px;
    width: 40px;
    color: #fff;
    line-height: 40px;
}
#toTop i:hover {
    background-color: #666;
    color: #fff;
}
.conract-area-bottom {
    margin-top: 50px;
}

/* 进度条 */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    width: 800px;
    margin: 15px auto;
}

.label {
    width: 120px;
    font-size: 16px;
    text-align: right;
    margin-right: 10px;
}

.progress-container {
    width: 600px;
    height: 25px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    border-radius: 15px;
    transition: width 2s ease-in-out;
}

.progress-value {
    width: 60px;
    text-align: center;
    font-size: 16px;
    margin-left: 10px;
}

/* 定义颜色 */
#bar1 { background: #e99393; }
#bar2 { background: #89e3dd; }
#bar3 { background: #45b7d1; }
#bar4 { background: #96c93d; }
#bar5 { background: #ff9f1c; }
#bar6 { background: #9b59b6; }
#bar7 { background: #3498db; }


/*透视*/
.card-container {
    perspective: 1000px; /* 创建 3D 透视效果 */
    width: 24rem; /* 与 Tailwind 的 w-96 一致 */
    height: 24rem; /* 与 Tailwind 的 h-96 一致 */
}
.card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; /* 确保 3D 渲染 */
    transition: transform 0.6s ease; /* 平滑的旋转和翻转动画 */
    cursor: pointer;
}
.card:hover {
    transform: rotateY(20deg) rotateX(10deg); /* 鼠标悬停时的透视倾斜 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* 增强立体感 */
}
.card.flipped {
    transform: rotateZ(180deg); /* 点击时翻转 180 度 */
}
.card-front, .card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* 隐藏背面 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem; /* 与 Tailwind 的 rounded-lg 一致 */
    padding: 1.5rem; /* 与 Tailwind 的 p-6 一致 */
}
.card-front {
    background-color: #2d3748; /* Tailwind 的 bg-gray-800 */
    color: #ffffff; /* Tailwind 的 text-white */
}
.card-back {
    background-color: #4a5568; /* Tailwind 的 bg-gray-700 */
    color: #ffffff;
    transform: rotateZ(180deg); /* 背面默认旋转 180 度 */
}
/*添加人物动画效果*/
.testimonials-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}
.testimonials-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.image-container {
    position: relative;
    width: 50%;
    height: 300px;
}
.testimonial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
}
.testimonial-image.active {
    opacity: 1;
    transform: scale(1);
}
.content-container {
    width: 50%;
    padding: 20px;
}
.testimonial-content {
    display: none;
}
.testimonial-content.active {
    display: block;
}
.testimonial-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.testimonial-content .designation {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}
.testimonial-content p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.5;
}
.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.control-btn:hover {
    background: #cbd5e0;
    transform: rotate(12deg);
}
.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/*时间进度条*/
.timeline-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    position: relative;
}
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: #e2e8f0;
}
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}
.timeline-item.active {
    opacity: 1;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    z-index: 1;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.timeline-item.active::before {
    border-color: #4a90e2;
    transform: scale(1.2);
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 10px;
    width: 2px;
    height: 0;
    background: #4a90e2;
    z-index: 0;
    transition: height 0.5s ease;
}
.timeline-item.active::after {
    height: calc(100% - 10px);
}
.timeline-image {
    width: 120px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 40px;
    margin-right: 20px;
    filter: blur(2px);
    transition: filter 0.3s ease;
}
.timeline-item.active .timeline-image {
    filter: blur(0);
}
.timeline-content {
    flex: 1;
    padding-top: 5px;
}
.timeline-content h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
}
.timeline-content h3 a {
    color: #333;
    text-decoration: none;
}
.timeline-content h3 a:hover {
    text-decoration: underline;
}
.timeline-content p {
    margin: 5px 0;
    font-size: 1rem;
    color: #666;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.timeline-item.active .timeline-content p {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-image {
        width: 100%;
        height: auto;
        margin-left: 30px;
        margin-bottom: 10px;
    }
    .timeline::before {
        left: 10px;
    }
    .timeline-item::before, .timeline-item::after {
        left: 9px;
    }
}