/* T-Tech Main Page Styles - Pixel Perfect */

/* Reset and Base */

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.animated {
    animation-name: fadeInUp;
}

.fade-in.animated {
    animation-name: fadeIn;
}

.slide-in-left.animated {
    animation-name: slideInLeft;
}

.slide-in-right.animated {
    animation-name: slideInRight;
}

.section {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    background: #131316;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 434px;
    background: linear-gradient(to bottom, rgba(19, 19, 22, 0) 0%, #131316 100%);
    z-index: 2;
}

/* Buttons */

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

/* Hero Text Content */
.hero-text {
    margin-top: 120px;
    width: 100%;
}

.hero-title {
    max-width: 1003px;
    width: 100%;
    margin-top: -15px;
}

.hero-description {
    max-width: 492px;
    width: 100%;
}

.hero-cta {
    margin-top: 150px;
}

.hero .btn-primary {
    margin-top: 150px;
}

/* About Section */
.about-section {
    padding: 160px 0 140px;
}

.about-header {
    display: flex;
    gap: 120px;
    align-items: flex-start;
    margin-bottom: 80px;
}

.about-section .label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.about-content {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 906px;
		width: 100%;
}

.about-title {
    font-style: italic;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 40px;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #eff2f1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 650px;
}

.about-text p {
    width: 100%;
}

.about-section .btn-primary {
    width: fit-content;
}



/* Stats Cards */
.stats-cards {
    display: flex;
    gap: 24px;
}

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 88px;
    padding: 24px;
    background: #67ff56;
    border-radius: 4px;
}

.stat-label {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    color: #131316;
    order: -1;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.stat-number {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 62px;
    font-weight: 1000;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #131316;
    font-style: italic;
}

.stat-plus {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 62px;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #131316;
    font-style: italic;
}
.team-section h2{
	padding-bottom: 12px;
}
.team-section h2::after{
	content:'';
	display: none;

	
}
.icons-cards{
	display: flex;
	align-items:end;
	justify-content:space-between;
	gap: 30px;
margin: 40px 0 140px;
}

.icons-cards img{
	max-height: 100px;
	width: fit-content;
	object-fit: contain;
}
.icons-cards img:first-child{
	max-height: 200px;
}


/* Service Section */
.service-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 1);
}

.service-section.bg-dark {
    background: rgba(239, 242, 241, 1);
}

.service-bg {
    position: absolute;
    object-fit: cover;
    z-index: 0;
}

.service-bg-left {
    left: 0;
    top: 250px;
    width: 784px;
    height: 767px;
}

.service-bg-right {
    right: 0;
    top: 174px;
    width: 831px;
    height: 831px;
}

.service-industrial .service-bg-right {
    top: 225px;
    width: 782px;
    height: 782px;
}

.service-content {
    position: relative;
    z-index: 1;
    padding: 130px 46px 0;
    width: 100%;
    max-width: 1512px;
    margin: 0 auto;
}

.service-header {
    display: flex;

    gap: 24px;
    margin-bottom: 180px;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 617px;
    width: 100%;
    margin-left: 388px;
}

.service-residential .service-text {
    margin-left: 467px;
}

.service-commercial .service-text {
    margin-left: 467px;
}

.service-industrial .service-text {
    margin-left: 470px;
}

/* Service Bottom Container */
.service-left .service-bottom {
    flex-direction: row-reverse;
}
.service-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 121px;
}

/* Service Tabs */
.service-tabs {
    max-width: 906px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

/* Residential tabs - align right */

.tab-list {
    display: flex;
    gap: 5.3px;
    padding: 5px 0;
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;

    padding: 15.065px 21.333px 11.73px;
    border: none;
    border-radius: 4.27px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 0.879;
    white-space: pre-line;
    text-transform: uppercase;
}
.button-text {
    width: 100%;
    text-align: left;
}
.tab-button.active {
    background: #ffffff;
    color: #131316;
}

.tab-button.inactive {
    background: #426a5a;
    color: #ffffff;
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 66.89px;
    padding: 42px 32px;
    background: #ffffff;
    border-radius: 4px;
}

.tab-content.bg-light {
    background: #eff2f1;
}

.tab-content-title {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    color: #131316;
    max-width: 810.68px;
    width: 100%;
    margin: 0;
    text-transform: uppercase;
}

.tab-content-title br {
    display: none;
}
.bg-light .tab-content {
    background: rgba(239, 242, 241, 1);
}

.bg-light .tab-button.active {
    background: rgba(239, 242, 241, 1);
    color: #131316;
}

.tab-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 16px;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.service-item:nth-child(4),
.service-item:nth-child(5),
.service-item:nth-child(6) {
    padding-bottom: 20px;
}

.service-item-title {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    color: #131316;
}

.service-item-desc {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    color: #131316;
    white-space: pre-line;
}

/* View Details Button */
.view-details-btn {
    padding: 16px 24px;
}

.view-details-btn svg {
    width: 16px;
    height: 16px;
    padding: 0;
    background: transparent;
}

/* Why Choose Section */
.why-choose-section {
    padding: 140px 0px;
}
.why-choose-section .label-box {
    flex: 0 0 auto;
}
.why-choose-header {
    display: flex;
    gap: 360px;
    margin-bottom: 80px;
}

.why-choose-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 939px;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 88px;
    padding: 24px;
    background: rgba(239, 242, 241, 0.1);
    border: 1px solid rgba(239, 242, 241, 0.15);
    border-radius: 4px;
}

.feature-card:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}
.feature-card:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}
.feature-card:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
}
.feature-card:nth-child(4) {
    grid-area: 2 / 3 / 3 / 4;
}
.feature-card:nth-child(5) {
    grid-area: 2 / 4 / 3 / 5;
}

.feature-card-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-card-text p {
    opacity: 0.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 140px 46px;
}

.testimonials-header {
    display: flex;
    gap: 400px;
    margin-bottom: 80px;
}

.testimonials-grid {
    display: flex;
    gap: 10px;
    max-width: 1420px;
    width: 100%;
}

.testimonial-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid rgba(66, 106, 90, 0.5);
    border-radius: 4px;
    backdrop-filter: blur(26.53px);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
}

.stars {
    display: flex;
    gap: 8px;
}

.star {
    width: 40px;
    height: 40px;
    padding: 6px;
    background: rgba(103, 255, 86, 1);
    fill: black;
}

.testimonial-text {
    font-size: 16px;
    color: #131316;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    border-top: 1px solid #828282;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #426a5a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: normal;
    color: #eff2f1;
    flex-shrink: 0;
}

.author-name {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1.2;
    color: #131316;
}

.author-title {
    font-size: 14px;
    color: #131316;
    opacity: 0.6;
}

.testimonial-link {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    margin-top: 18px;
}

.testimonial-link p,
.testimonial-link a {
    color: #100f0f;
}

/* =====================================================
   MOBILE STYLES - Index Page
   ===================================================== */

/* Mobile-only elements - hidden by default */
.service-img-mobile {
    display: none;
}

.btn-mobile-text {
    display: none;
}

.slider-dots {
    display: none;
}

@media (max-width: 767px) {
    /* Hero */
    .hero {
        padding-top: 0;
    }

    .hero-text {
        margin-top: 150px;
    }

    .hero-title {
        max-width: 100%;
        margin-top: 0;
    }

    .hero-description {
        max-width: 313px;
        margin-top: 26px;
    }

    .hero-cta {
        margin-top: 52px;
    }
    .hero .btn-primary {
        margin-top: 50px;
    }
    /* About Section */
    .about-section {
        padding: 70px 0;
    }

    .about-header {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 50px;
    }

    .about-content {
        justify-content: flex-start;
    }

    .about-right {
        max-width: 100%;
    }

    .about-section .label {

        font-size: 14px;
        letter-spacing: 0.72px;
    }

    .about-title {
        font-style: normal;
        text-transform: none;
        padding-bottom: 0;
    }

    .about-title::after {
        display: none;
    }

    .about-text p:last-child {
        display: none;
    }

    .stats-cards {
        flex-direction: column;
        gap: 24px;
    }

    .stat-card {
        gap: 52px;
    }

    .stat-number,
    .stat-plus {
        font-size: 50px;
    }





    /* Service Sections */
    .service-bg {
        display: block;
        width: 100%;
        position: relative;
        height: fit-content;
        top: 0;
    }

    .service-img-mobile {
        display: block;
        width: 100%;
        height: 294px;
        object-fit: cover;
        border-radius: 4px;
    }

    .service-content {
        padding: 70px 16px;
    }

    .service-header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 0px;
    }

    .service-text {
        margin-left: 0 !important;
        max-width: 100%;
    }

    .service-bottom {
        flex-direction: column !important;
        gap: 0;
        margin-bottom: 0;
        align-items: flex-start;
        gap: 24px;
    }

    .service-item-title {
        font-weight: 400;
        font-size: 18px;
    }
    .service-tabs {
        margin-top: -60px;
        position: relative;
        z-index: 1;
    }

    .tab-list {
        display: none;
    }

    .tab-content {
        padding: 24px;
        gap: 32px;
        border-radius: 4px;
    }

    .tab-content-title {
        font-size: 32px;
    }
    .tab-content-title br {
        display: none;
    }
    .tab-services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item {
        padding: 6px 0;
				padding-bottom: 18px;
    }

    .service-item-desc {
        display: none;
    }

    .view-details-btn {
        width: 200px;
        height: 50px;
        margin-top: 32px;
    }

    .btn-desktop-text {
        display: none;
    }

    .btn-mobile-text {
        display: inline;
    }

    /* Why Choose Section */

    .why-choose-header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .why-choose-content {
        max-width: 100%;
    }

    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        scrollbar-width: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        min-width: 267px;
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 16px 12px;
        gap: 114px;
    }

    .feature-card:nth-child(1),
    .feature-card:nth-child(2),
    .feature-card:nth-child(3),
    .feature-card:nth-child(4),
    .feature-card:nth-child(5) {
        grid-area: auto;
    }

    /* Testimonials Section */
    .testimonials-section {
        padding: 70px 16px;
    }

    .testimonials-header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }

    .testimonials-grid {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        min-width: 276px;
        width: 276px;

        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .testimonial-content {
        padding: 20px 16px;
    }

    .testimonial-author {
        padding: 20px 16px;
    }

    .author-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .testimonial-link {
        margin-top: 24px;
    }

    .testimonial-link p {
        font-size: 14px;
        text-align: center;
    }

    /* Slider Dots */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        border-radius: 4px;
        background: #eff2f1;
        opacity: 0.5;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: opacity 0.3s;
    }

    .slider-dot.active {
        opacity: 1;
    }
			.icons-cards img{
	max-height: 40px;

}
.icons-cards img:first-child{
	max-height: 60px;
}
.icons-cards {
    margin: 40px 0 70px;
}
}

/* Contact Section */
/* 
#preloader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #030303;

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
} */