/* =========================================================
   FERROBEND — TECHNICAL PAGE CSS
   Clean • Modern • Industrial • Professional
   Based on technical.html + Ferrobend theme
========================================================= */

/* =========================================================
   ROOT
========================================================= */

:root {

    --primary: #0B1F3A;
    --secondary: #1F4E79;
    --accent: #B87333;

    --background: #F8FAFC;
    --text: #1E293B;
    --muted: #64748B;
    --border: #E2E8F0;
    --white: #FFFFFF;

    --dark: #071426;
    --accent-dark: #965A27;

    --shadow:
        0 15px 35px rgba(11,31,58,0.08);

    --shadow-hover:
        0 25px 50px rgba(11,31,58,0.15);

    --radius: 16px;

    --transition: 0.35s ease;
}


/* =========================================================
   TECHNICAL HERO
========================================================= */

.technical-hero {

    position: relative;

    min-height: 570px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0B1F3A 0%,
            #163A63 100%
        );

    color: var(--white);

}


/* Decorative engineering circle */

.technical-hero::before {

    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: -320px;
    right: -190px;

    border-radius: 50%;

    background:
        rgba(31,78,121,0.22);

    pointer-events: none;

}


/* Decorative bronze glow */

.technical-hero::after {

    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    bottom: -250px;
    left: -170px;

    border-radius: 50%;

    background:
        rgba(184,115,51,0.08);

    pointer-events: none;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.technical-hero .container {

    position: relative;

    z-index: 2;

}


.technical-hero .container {

    animation:
        technicalHeroReveal
        0.75s
        ease
        both;

}


@keyframes technicalHeroReveal {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   BREADCRUMB
========================================================= */

.technical-hero .breadcrumb {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 25px;

    font-size: 14px;

}


.technical-hero .breadcrumb a {

    color:
        rgba(255,255,255,0.82);

    font-weight: 500;

    transition:
        var(--transition);

}


.technical-hero .breadcrumb a:hover {

    color: var(--accent);

}


.technical-hero .breadcrumb span {

    color:
        rgba(255,255,255,0.45);

}


.technical-hero .breadcrumb span:last-child {

    color: var(--white);

    font-weight: 600;

}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.technical-hero .hero-subtitle {

    display: inline-block;

    margin-bottom: 18px;

    color: #D9B38C;

    font-size: 14px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;

}


/* =========================================================
   HERO TITLE
========================================================= */

.technical-hero h1 {

    margin: 0 0 24px;

    color: var(--white);

    font-size: 56px;

    line-height: 1.17;

    font-weight: 700;

    letter-spacing: -0.5px;

}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.technical-hero p {

    max-width: 780px;

    margin: 0;

    color:
        rgba(255,255,255,0.84);

    font-size: 17px;

    line-height: 1.85;

}


/* =========================================================
   TECHNICAL RESOURCE SECTION
========================================================= */

.technical-pages {

    padding: 100px 0;

    background: var(--background);

}


/* =========================================================
   SECTION TITLE
========================================================= */

.technical-pages .section-title {

    max-width: 820px;

    margin: 0 auto 55px;

    text-align: center;

}


.technical-pages .section-title span {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--accent);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.technical-pages .section-title h2 {

    margin: 0;

    color: var(--primary);

    font-size: 40px;

    line-height: 1.3;

    font-weight: 700;

}


/* =========================================================
   TECHNICAL CARDS
========================================================= */

.technical-card {

    position: relative;

    display: grid;

    grid-template-columns:
        72px
        minmax(0,1fr)
        auto;

    align-items: center;

    gap: 28px;

    width: 100%;

    margin-bottom: 22px;

    padding: 28px 30px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    overflow: hidden;

    animation:
        technicalCardReveal
        0.65s
        ease
        both;

}


/* Bronze top line */

.technical-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 3px;

    background: var(--accent);

    transform:
        scaleX(0);

    transform-origin: left;

    transition:
        var(--transition);

}


/* Soft blue decoration */

.technical-card::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    right: -110px;

    bottom: -110px;

    border-radius: 50%;

    background:
        rgba(31,78,121,0.035);

    pointer-events: none;

}


.technical-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(31,78,121,0.18);

    box-shadow:
        var(--shadow-hover);

}


.technical-card:hover::before {

    transform:
        scaleX(1);

}


.technical-card:nth-of-type(2) {

    animation-delay:
        0.08s;

}


.technical-card:nth-of-type(3) {

    animation-delay:
        0.16s;

}


@keyframes technicalCardReveal {

    from {

        opacity: 0;

        transform:
            translateY(18px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   TECHNICAL ICON
========================================================= */

.technical-icon {

    width: 72px;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(31,78,121,0.10);

    color: var(--secondary);

    font-size: 28px;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        background 0.35s ease;

}


.technical-card:hover .technical-icon {

    background:
        var(--primary);

    color:
        var(--white);

    transform:
        translateY(-3px)
        scale(1.04);

}


/* =========================================================
   TECHNICAL CONTENT
========================================================= */

.technical-content {

    min-width: 0;

}


.technical-content h3 {

    margin: 0 0 9px;

    color: var(--primary);

    font-size: 23px;

    line-height: 1.35;

    font-weight: 700;

}


.technical-content p {

    max-width: 760px;

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

}


/* =========================================================
   VIEW DETAILS
========================================================= */

.technical-arrow {

    display: inline-flex;

    align-items: center;

    justify-content: flex-end;

    gap: 9px;

    min-width: 120px;

    color: var(--secondary);

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    transition:
        var(--transition);

}


.technical-arrow i {

    transition:
        transform 0.35s ease;

}


.technical-card:hover .technical-arrow {

    color: var(--accent);

}


.technical-card:hover .technical-arrow i {

    transform:
        translateX(6px);

}


/* =========================================================
   ENGINEERING EXCELLENCE
========================================================= */

.engineering-section {

    padding: 100px 0;

    background: var(--white);

}


/* =========================================================
   ENGINEERING TITLE
========================================================= */

.engineering-section .section-title {

    max-width: 800px;

    margin: 0 auto 55px;

    text-align: center;

}


.engineering-section .section-title span {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--accent);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.engineering-section .section-title h2 {

    margin: 0;

    color: var(--primary);

    font-size: 40px;

    line-height: 1.3;

}


/* =========================================================
   ENGINEERING WRAPPER
========================================================= */

.engineering-wrapper {

    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 65px;

    align-items: center;

}


/* =========================================================
   ENGINEERING TEXT
========================================================= */

.engineering-text p {

    margin: 0 0 20px;

    color: #475569;

    font-size: 16px;

    line-height: 1.9;

}


.engineering-text p:last-child {

    margin-bottom: 0;

}


/* =========================================================
   ENGINEERING POINTS
========================================================= */

.engineering-points {

    display: grid;

    gap: 14px;

}


.engineering-item {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 17px 20px;

    background: var(--background);

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--primary);

    font-size: 15px;

    font-weight: 600;

    transition:
        var(--transition);

}


.engineering-item:hover {

    transform:
        translateX(5px);

    background: var(--white);

    border-color:
        rgba(31,78,121,0.18);

    box-shadow:
        var(--shadow);

}


.engineering-item i {

    color: var(--accent);

    font-size: 18px;

}


/* =========================================================
   CTA
========================================================= */

.contact-cta {

    position: relative;

    padding: 90px 0;

    overflow: hidden;

    background: var(--primary);

    color: var(--white);

    text-align: center;

}


/* Blue circle */

.contact-cta::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    top: -300px;

    right: -170px;

    border-radius: 50%;

    background:
        rgba(31,78,121,0.24);

    pointer-events: none;

}


/* Bronze glow */

.contact-cta::after {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    left: -130px;

    bottom: -160px;

    border-radius: 50%;

    background:
        rgba(184,115,51,0.06);

    pointer-events: none;

}


.contact-cta .container {

    position: relative;

    z-index: 2;

}


.contact-cta h2 {

    margin: 0 0 20px;

    color: var(--white);

    font-size: 40px;

    line-height: 1.3;

    font-weight: 700;

}


.contact-cta p {

    max-width: 720px;

    margin: 0 auto 35px;

    color:
        rgba(255,255,255,0.82);

    font-size: 16px;

    line-height: 1.8;

}


.contact-cta .primary-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 14px 32px;

    border:
        1px solid var(--accent);

    border-radius: 8px;

    background: var(--accent);

    color: var(--white);

    font-size: 15px;

    font-weight: 600;

    transition:
        var(--transition);

}


.contact-cta .primary-btn:hover {

    background:
        var(--accent-dark);

    border-color:
        var(--accent-dark);

    transform:
        translateY(-3px);

    box-shadow:
        0 12px 28px rgba(11,31,58,0.20);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .technical-hero {

        min-height: 520px;

    }


    .technical-hero h1 {

        font-size: 46px;

    }


    .engineering-wrapper {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .technical-card {

        grid-template-columns:
            65px
            minmax(0,1fr)
            auto;

    }

}


@media (max-width: 768px) {

    .technical-hero {

        min-height: auto;

        padding: 80px 0;

    }


    .technical-hero .container {

        text-align: center;

    }


    .technical-hero .breadcrumb {

        justify-content: center;

    }


    .technical-hero h1 {

        font-size: 38px;

    }


    .technical-hero p {

        font-size: 15px;

    }


    .technical-pages,
    .engineering-section {

        padding: 75px 0;

    }


    .technical-pages .section-title h2,
    .engineering-section .section-title h2 {

        font-size: 32px;

    }


    .technical-card {

        grid-template-columns: 1fr;

        gap: 18px;

        padding: 28px;

        text-align: center;

    }


    .technical-icon {

        margin: 0 auto;

    }


    .technical-content h3 {

        font-size: 21px;

    }


    .technical-content p {

        font-size: 14px;

    }


    .technical-arrow {

        justify-content: center;

        margin: 0 auto;

    }


    .engineering-section .section-title {

        margin-bottom: 40px;

    }


    .engineering-item {

        justify-content: flex-start;

        text-align: left;

    }


    .contact-cta {

        padding: 70px 0;

    }


    .contact-cta h2 {

        font-size: 32px;

    }

}


@media (max-width: 576px) {

    .technical-hero {

        padding: 65px 0;

    }


    .technical-hero h1 {

        font-size: 30px;

    }


    .technical-hero .hero-subtitle {

        font-size: 12px;

        letter-spacing: 1.5px;

    }


    .technical-pages,
    .engineering-section {

        padding: 60px 0;

    }


    .technical-pages .section-title h2,
    .engineering-section .section-title h2 {

        font-size: 28px;

    }


    .technical-card {

        padding: 24px 20px;

    }


    .technical-icon {

        width: 64px;

        height: 64px;

        font-size: 25px;

    }


    .technical-content h3 {

        font-size: 20px;

    }


    .technical-arrow {

        font-size: 13px;

    }


    .engineering-text p {

        font-size: 15px;

    }


    .contact-cta {

        padding: 60px 0;

    }


    .contact-cta h2 {

        font-size: 28px;

    }


    .contact-cta p {

        font-size: 14px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .technical-hero .container,
    .technical-card {

        animation: none !important;

        transition: none !important;

    }


    .engineering-item,
    .technical-icon,
    .technical-arrow i {

        transition: none !important;

    }

}