/* =========================================
   TECHNO INDUSTRIES
   MAIN STYLESHEET
========================================= */

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --dark: #111827;
    --dark-2: #1f2937;
    --dark-3: #374151;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #e5e7eb;

    --container: 1180px;
    --radius: 12px;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: var(--dark);

    font-family: "Montserrat", sans-serif;
    font-weight: 800;

    border-radius: 7px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    color: var(--white);
    font-size: 17px;
    letter-spacing: 1px;
}

.logo-text small {
    color: var(--primary);
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 4px;
}


/* NAVIGATION */

.navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    color: #d1d5db;
    font-size: 14px;
    font-weight: 500;

    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-button {
    padding: 11px 20px;

    background: var(--primary);
    color: var(--dark);

    font-size: 13px;
    font-weight: 700;

    border-radius: 6px;

    transition: 0.3s;
}

.nav-button:hover {
    background: #fbbf24;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    color: white;
    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 760px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(17,24,39,0.97) 0%,
            rgba(17,24,39,0.88) 50%,
            rgba(17,24,39,0.65) 100%
        ),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(245,158,11,0.12),
            transparent 40%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1.5fr 0.7fr;

    gap: 70px;
    align-items: center;

    padding-top: 80px;
}

.hero-text {
    max-width: 720px;
}

.hero-label,
.section-label {
    color: var(--primary);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hero h1 {
    margin: 20px 0;

    color: var(--white);

    font-family: "Montserrat", sans-serif;

    font-size: clamp(42px, 6vw, 72px);

    line-height: 1.08;
    letter-spacing: -2px;
}

.hero h1 span,
.about h2 span,
.services h2 span,
.why-content h2 span,
.industries h2 span,
.contact h2 span {
    color: var(--primary);
}

.hero p {
    max-width: 650px;

    color: #d1d5db;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 24px;

    border-radius: 6px;

    font-weight: 700;
    font-size: 14px;

    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
}

.btn-primary:hover {
    background: #fbbf24;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* HERO CARD */

.hero-card {
    padding: 40px 30px;

    background: rgba(255,255,255,0.08);

    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    border-radius: 12px;

    color: white;
}

.hero-card-icon {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    background: var(--primary);
    color: var(--dark);

    border-radius: 50%;

    font-size: 28px;
}

.hero-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.hero-card p {
    font-size: 14px;
}


/* =========================================
   STATS
========================================= */

.stats {
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    min-height: 120px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px 30px;

    border-right: 1px solid rgba(17,24,39,0.15);
}

.stat-item strong {
    font-family: "Montserrat";
    font-size: 28px;
}

.stat-item span {
    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 60px;

    text-align: center;
}

.section-heading h2,
.about h2,
.why-content h2,
.contact h2 {
    margin: 15px 0;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-heading p {
    color: var(--gray);
}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-box {
    height: 520px;

    position: relative;
    overflow: hidden;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            #374151,
            #111827
        );

    border-radius: 14px;

    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.image-box::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(245,158,11,0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(245,158,11,0.08) 1px,
            transparent 1px
        );

    background-size: 40px 40px;
}

.industrial-symbol {
    position: relative;

    width: 180px;
    height: 180px;

    display: grid;
    place-items: center;

    border: 10px solid var(--primary);

    border-radius: 50%;

    color: var(--primary);

    font-family: "Montserrat";
    font-size: 60px;
    font-weight: 800;
}

.gear {
    position: absolute;

    color: rgba(255,255,255,0.07);

    font-size: 180px;
}

.gear-one {
    top: 20px;
    left: 20px;
}

.gear-two {
    bottom: 10px;
    right: 20px;
    font-size: 130px;
}

.experience-card {
    position: absolute;

    bottom: -25px;
    right: -25px;

    padding: 22px 30px;

    background: var(--primary);

    display: flex;
    align-items: center;
    gap: 14px;

    border-radius: 8px;

    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.experience-card strong {
    font-size: 30px;
}

.experience-card span {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
}

.about-content > p {
    color: var(--gray);
    margin-bottom: 18px;
}

.about-points {
    margin-top: 30px;
}

.about-point {
    display: flex;
    gap: 15px;

    margin-bottom: 22px;
}

.about-point > span {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--primary);

    border-radius: 50%;

    font-weight: 800;
}

.about-point strong {
    font-size: 15px;
}

.about-point p {
    color: var(--gray);
    font-size: 13px;
}


/* =========================================
   SERVICES
========================================= */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.service-card {
    position: relative;

    padding: 35px 30px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    transition: 0.35s;
}

.service-card:hover,
.service-card.featured {
    transform: translateY(-8px);

    border-color: var(--primary);

    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.service-number {
    position: absolute;

    top: 20px;
    right: 25px;

    color: #d1d5db;

    font-family: "Montserrat";
    font-size: 13px;
}

.service-icon {
    width: 60px;
    height: 60px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    background: #fff7ed;

    color: var(--primary-dark);

    border-radius: 8px;

    font-size: 26px;
}

.service-card h3 {
    font-family: "Montserrat";
    font-size: 20px;

    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);

    font-size: 14px;

    margin-bottom: 20px;
}

.service-card a {
    color: var(--primary-dark);

    font-size: 13px;
    font-weight: 800;
}


/* =========================================
   WHY US
========================================= */

.why-us {
    padding: 100px 0;

    background: var(--dark);
    color: white;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 90px;
    align-items: center;
}

.why-content > p {
    color: #9ca3af;
    max-width: 550px;
}

.why-list {
    margin-top: 35px;
}

.why-item {
    display: flex;
    gap: 18px;

    margin-bottom: 25px;
}

.why-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: var(--dark);

    border-radius: 50%;

    font-weight: 900;
}

.why-item h3 {
    font-size: 17px;
    margin-bottom: 3px;
}

.why-item p {
    color: #9ca3af;
    font-size: 13px;
}


/* VISUAL */

.why-visual {
    min-height: 480px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: end;
    justify-content: center;

    background:
        linear-gradient(
            rgba(245,158,11,0.08),
            rgba(17,24,39,0.9)
        );

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 14px;
}

.factory-shape {
    position: relative;

    width: 75%;
    height: 260px;

    background: #374151;

    border-top: 8px solid var(--primary);
}

.factory-roof {
    position: absolute;

    top: -60px;
    left: 0;

    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid #374151;
}

.factory-window {
    display: inline-block;

    width: 45px;
    height: 60px;

    margin: 50px 10px;

    background: #111827;

    border: 3px solid #6b7280;
}

.factory-smoke {
    position: absolute;

    width: 30px;
    height: 160px;

    right: 45px;
    top: -160px;

    background: #4b5563;
}

.smoke-two {
    right: 85px;
    height: 110px;
    top: -110px;
}

.visual-label {
    position: absolute;

    top: 40px;
    left: 40px;

    color: rgba(255,255,255,0.7);

    font-size: 13px;
    letter-spacing: 2px;
}

.visual-label strong {
    display: block;

    color: var(--primary);

    font-size: 25px;
}


/* =========================================
   INDUSTRIES
========================================= */

.industries {
    background: var(--light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.industry-card {
    min-height: 180px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: white;

    border: 1px solid var(--border);

    transition: 0.3s;
}

.industry-card:hover {
    background: var(--dark);
    color: white;

    transform: translateY(-5px);

    border-color: var(--dark);
}

.industry-card span {
    color: var(--primary);

    font-family: "Montserrat";
    font-weight: 800;
}

.industry-card div {
    font-family: "Montserrat";
    font-size: 20px;
    font-weight: 700;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 75px 0;

    background: var(--primary);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta h2 {
    max-width: 700px;

    margin: 10px 0;

    font-family: "Montserrat";

    font-size: 38px;
    line-height: 1.2;
}

.cta p {
    max-width: 650px;
}

.cta .btn {
    flex-shrink: 0;

    background: var(--dark);
    color: white;
}

.cta .btn:hover {
    background: #000;
}


/* =========================================
   CONTACT
========================================= */

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;
    align-items: start;
}

.contact-content > p {
    max-width: 550px;

    color: var(--gray);

    margin-bottom: 35px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    background: #fff7ed;

    color: var(--primary-dark);

    border-radius: 7px;
}

.contact-item small {
    display: block;

    color: var(--gray);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a {
    font-weight: 600;

    transition: 0.3s;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--dark-3);

    font-size: 14px;
}


/* FORM */

.contact-form-wrapper {
    padding: 40px;

    background: var(--light);

    border: 1px solid var(--border);

    border-radius: 12px;
}

.contact-form h3 {
    font-family: "Montserrat";
    font-size: 27px;
}

.contact-form > p {
    color: var(--gray);

    font-size: 13px;

    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 6px;

    outline: none;

    font-size: 13px;

    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;

    padding: 14px;

    border: 0;

    background: var(--dark);
    color: white;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 700;

    transition: 0.3s;
}

.submit-btn:hover {
    background: var(--primary);
    color: var(--dark);
}

#formMessage {
    margin-top: 15px;

    font-size: 13px;
    font-weight: 600;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #0b1120;
    color: white;
}

.footer-main {
    padding: 75px 0;

    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;

    gap: 50px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo strong {
    font-family: "Montserrat";
    font-size: 16px;
}

.footer-logo small {
    color: var(--primary);

    font-size: 8px;

    letter-spacing: 2px;

    margin-top: 5px;
}

.footer-company > p {
    max-width: 370px;

    color: #9ca3af;

    font-size: 13px;

    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    background: #1f2937;

    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;

    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: var(--dark);
}

.footer-column h3 {
    margin-bottom: 22px;

    font-family: "Montserrat";

    font-size: 16px;
}

.footer-column > a {
    display: block;

    color: #9ca3af;

    font-size: 13px;

    margin-bottom: 11px;

    transition: 0.3s;
}

.footer-column > a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;

    margin-bottom: 20px;
}

.footer-contact-item > span {
    color: var(--primary);

    font-size: 16px;
}

.footer-contact-item small {
    display: block;

    color: #6b7280;

    font-size: 10px;

    text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item p {
    color: #d1d5db;

    font-size: 13px;

    transition: 0.3s;
}

.footer-contact-item a:hover {
    color: var(--primary);
}


/* FOOTER BOTTOM */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: #6b7280;

    font-size: 11px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a:hover {
    color: var(--primary);
}


/* =========================================
   WHATSAPP
========================================= */

.whatsapp-button {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    z-index: 999;

    display: grid;
    place-items: center;

    background: #25d366;
    color: white;

    border-radius: 50%;

    box-shadow: 0 8px 25px rgba(0,0,0,0.2);

    font-size: 11px;
    font-weight: 900;

    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .hero-content,
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 850px;
    }

    .hero-card {
        max-width: 450px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-visual {
        min-height: 400px;
    }

}


@media (max-width: 768px) {

    .nav-container {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .navbar {
        position: absolute;

        top: 70px;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 20px;

        background: var(--dark);

        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .navbar.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
    }

    .nav-button {
        text-align: center;
        margin-top: 8px;
    }

    .hero {
        min-height: 820px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-bottom: 1px solid rgba(17,24,39,0.15);
    }

    .section {
        padding: 75px 0;
    }

    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .experience-card {
        right: 10px;
    }

    .footer-bottom div {
        flex-direction: column;
        gap: 8px;
    }

}