:root {
    --black: #06111f;
    --dark: #0a1626;
    --dark-grey: #101f33;
    --grey: #707070;
    --light: #f4f4f4;
    --white: #ffffff;

    --accent: #d60000;
    --accent-dark: #a80000;

    /* Wider layout */
    --container: 1450px;

    --transition: 0.3s ease;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


/* ================= GLOBAL ================= */

.container {
    width: min(94%, var(--container));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 55px;
}

.section-heading.center {
    display: block;
    text-align: center;
}

.section-heading h2,
.about-content h2,
.quote-content h2,
.contact-content h2 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.section-heading h2 span,
.about-content h2 span,
.quote-content h2 span,
.contact-content h2 span {
    color: var(--accent);
}

.section-heading p {
    max-width: 500px;
    color: var(--grey);
}

.section-heading.center p {
    margin: 18px auto 0;
}


/* ================= BUTTONS ================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 26px;

    border: 1px solid transparent;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: rgba(255,255,255,0.45);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--dark);
}


/* ================= HEADER ================= */

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(8,8,8,0.94);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-container {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}




/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(1px 0 0 white) drop-shadow(-1px 0 0 white) drop-shadow(0 1px 0 white) drop-shadow(0 -1px 0 white);
}

/* Hide the old logo-mark since we're using an image now */
.logo-mark {
    display: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-size: 18px;
    letter-spacing: 2px;
}

.logo-text small {
    margin-top: 4px;
    color: #999;
    font-size: 8px;
    letter-spacing: 3px;
}

/* NAVIGATION */

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    color: #d5d5d5;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent);
}

.nav-cta {
    padding: 12px 18px;
    background: var(--accent);
    color: white !important;
}

.nav-cta:hover {
    background: var(--accent-dark);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 27px;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.94),
            rgba(0,0,0,0.62),
            rgba(0,0,0,0.35)
        ),
     url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.hero-text {
    max-width: 850px;
    color: white;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero p {
    max-width: 700px;
    margin-bottom: 35px;
    color: #d0d0d0;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* HERO BADGE */

.hero-badge {
    display: flex;
    align-items: center;

    gap: 15px;
    padding: 18px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);

    backdrop-filter: blur(10px);

    color: white;
}

.badge-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    background: var(--accent);

    font-size: 24px;
}

.hero-badge strong,
.hero-badge span {
    display: block;
}

.hero-badge strong {
    font-size: 13px;
}

.hero-badge span {
    color: #aaa;
    font-size: 10px;
    letter-spacing: 2px;
}


/* SCROLL */

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    color: #aaa;
    font-size: 10px;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator span {
    display: block;

    width: 1px;
    height: 30px;

    margin: auto;
    margin-bottom: 8px;

    background: var(--accent);
}


/* ================= TRUST ================= */

.trust-bar {
    background: var(--accent);
    color: white;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.trust-item {
    padding: 25px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    font-size: 13px;
}

.trust-item span {
    font-size: 11px;
    opacity: .85;
}


/* ================= ABOUT ================= */

.about {
    background: var(--light);
}

.about-section-label {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
}

.about-section-label span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-section-label strong {
    color: var(--dark);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -1px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    min-height: 560px;

    position: relative;

    background:
        linear-gradient(
            135deg,
            rgba(0,0,0,.35),
            rgba(0,0,0,.9)
        ),
        url("Assets/CNC-machined-bracket-parts.jpg");

    background-size: cover;
    background-position: center;
}

.about-image-content {
    position: absolute;
    left: 35px;
    bottom: 35px;
    color: white;
}

.about-image-content small {
    color: var(--accent);
    font-size: 10px;
    letter-spacing: 3px;
}

.about-image-content strong {
    display: block;
    margin-top: 8px;
    font-size: 40px;
    line-height: 1;
}

.experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;

    display: flex;
    align-items: center;

    gap: 15px;
    padding: 20px 25px;

    background: var(--accent);
    color: white;
}

.experience-card strong {
    font-size: 40px;
    line-height: 1;
}

.experience-card span {
    font-size: 11px;
    line-height: 1.3;
}

.about-content > p {
    color: var(--grey);
    margin-top: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 35px;
}

.about-feature {
    padding: 17px;

    display: flex;
    align-items: center;

    gap: 12px;

    background: white;
}

.about-feature span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.about-feature strong {
    font-size: 12px;
}


/* ================= SERVICES ================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: #ddd;
}

.service-card {
    min-height: 310px;

    position: relative;

    padding: 35px;

    background: white;

    transition: var(--transition);
}

.service-card:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-5px);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 25px;

    color: #ccc;
    font-size: 11px;
}

.service-icon {
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 32px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.service-card p {
    margin-bottom: 25px;
    color: var(--grey);
    font-size: 13px;
}

.service-card:hover p {
    color: #aaa;
}

.service-card a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}


/* ================= CAPABILITIES ================= */

.capabilities {
    background: var(--light);
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.component-card {
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.component-card:hover {
    transform: translateY(-5px);
}

.component-image {
    height: 250px;
    width: 100%;
    overflow: hidden;
    background: #e9edf2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
    background: #f5f6f8;
    padding: 8px;
}

.component-card:hover .component-image img {
    transform: scale(1.04);
}

.component-card h3 {
    padding: 18px 20px;
    font-size: 17px;
}


/* ================= MATERIALS ================= */

.materials {
    background: var(--dark);
    color: white;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    border: 1px solid #333;
}

.material {
    min-height: 160px;
    padding: 25px 20px;
    border-right: 1px solid #333;
    transition: var(--transition);
}

.material:last-child {
    border-right: none;
}

.material:hover {
    background: var(--accent);
}

.material-number {
    color: var(--accent);
    font-size: 11px;
}

.material:hover .material-number {
    color: white;
}

.material h3 {
    margin-top: 40px;
    font-size: 14px;
}


/* ================= INDUSTRIES ================= */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.industry-card {
    min-height: 170px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: var(--light);

    transition: var(--transition);
}

.industry-card:hover {
    background: var(--dark);
    color: white;
}

.industry-card span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.industry-card h3 {
    font-size: 17px;
}


/* ================= WHY US ================= */

.why-us {
    background: var(--accent);
    color: white;
}

.why-us .section-label {
    color: white;
}

.why-us h2 span {
    color: var(--dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1px;
    background: rgba(255,255,255,.25);
}

.why-card {
    min-height: 260px;
    padding: 35px;
    background: var(--accent);
}

.why-card-number {
    font-size: 11px;
    opacity: .7;
}

.why-card h3 {
    margin-top: 45px;
    margin-bottom: 12px;
    font-size: 20px;
}

.why-card p {
    font-size: 13px;
    opacity: .85;
}


/* ================= PROCESS ================= */

.process {
    background: var(--light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 1px;
    background: #ddd;
}

.process-step {
    min-height: 220px;
    padding: 25px;
    background: white;
}

.process-step span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}

.process-step h3 {
    margin-top: 45px;
    font-size: 16px;
}

.process-step p {
    margin-top: 10px;
    color: var(--grey);
    font-size: 12px;
}


/* ================= PROJECTS ================= */

.projects-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.project-card {
    background: var(--light);
}

.project-card.large {
    grid-row: span 2;
}

.project-image {
    height: 280px;
    overflow: hidden;
    background: #e9edf2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
    background: #f5f6f8;
    padding: 10px;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-card.large .project-image {
    height: 450px;
}

.project-card.large .project-image img {
    padding: 16px;
}

.project-info {
    padding: 25px;
}

.project-info small {
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-info h3 {
    margin: 8px 0;
    font-size: 20px;
}

.project-info p {
    color: var(--grey);
    font-size: 12px;
}


/* ================= QUOTE ================= */

.quote-section {
    background: var(--dark);
    color: white;
}

.quote-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.quote-content p {
    max-width: 500px;
    margin-top: 25px;
    color: #aaa;
}

.quote-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 35px;
}

.quote-points div {
    color: #ddd;
    font-size: 12px;
}

.quote-form {
    padding: 40px;
    background: white;
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid #ddd;
    background: #fafafa;
    outline: none;

    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 10px;
}

.full-width {
    width: 100%;
    border: none;
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-size: 12px;
}


/* ================= CONTACT ================= */

.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.contact-content > p {
    max-width: 500px;
    margin: 25px 0;
    color: var(--grey);
}

.contact-side {
    display: grid;
    gap: 30px;
}

.contact-form {
    padding: 32px;
    background: var(--white);
    color: var(--dark);
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form .form-row {
    gap: 14px;
}

.contact-details {
    display: grid;
    gap: 20px;
    margin-top: 35px;
}

.contact-details span,
.contact-details strong {
    display: block;
}

.contact-details span {
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-details strong {
    margin-top: 4px;
    font-size: 13px;
}

.map {
    min-height: 450px;
    overflow: hidden;
    line-height: 0;
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: block;
    border: 0;
}


/* ================= TERMS & CONDITIONS ================= */

.terms-section {
    background: var(--light);
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border: 1px solid #ddd;
}

.terms-content h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--dark);
}

.terms-content p {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

@media (max-width: 650px) {
    .terms-content {
        padding: 20px;
    }
}

/* ================= FOOTER ================= */

footer {
    background: #070707;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 75px 0;
}

.footer-brand p {
    max-width: 350px;
    margin-top: 20px;
    color: #888;
    font-size: 12px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 11px;
    letter-spacing: 2px;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    color: #999;
    font-size: 12px;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-quote {
    margin-top: 20px;
    color: var(--accent) !important;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    color: #666;
    font-size: 10px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
}


/* ================= ANIMATIONS ================= */

.reveal {
    opacity: 0;
    transform: translateY(30px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1200px) {

    .nav {
        gap: 18px;
    }

    .components-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .materials-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .material {
        border-bottom: 1px solid #333;
    }
}


@media (max-width: 1000px) {

    .nav {
        position: fixed;

        top: 80px;
        left: 0;

        width: 100%;

        padding: 30px;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        background: var(--dark);
    }

    .nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-badge {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .components-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}


/* ================= NEW BREAKPOINT (LANDSCAPE PHONES / SMALL TABLETS) ================= */

@media (max-width: 760px) {

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .hero h1 {
        font-size: clamp(40px, 10vw, 60px);
    }

    .hero p {
        font-size: 16px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .quote-grid {
        gap: 40px;
    }
}


/* ================= STANDARD MOBILE ================= */

@media (max-width: 650px) {

    .section {
        padding: 75px 0;
    }

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 44px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-item {
        border-bottom: 1px solid rgba(255,255,255,.2);
    }

    .about-image {
        min-height: 400px;
    }

    /* FIX: Removed negative margin to prevent horizontal scrolling */
    /* Place the experience badge at the top on mobile */
.experience-card {
    top: 15px;
    right: 15px;
    bottom: auto;
    left: auto;

    padding: 12px 16px;
    gap: 10px;

    z-index: 5;
}

.experience-card strong {
    font-size: 28px;
}

.experience-card span {
    font-size: 9px;
    line-height: 1.2;
}

    .about-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .components-grid {
        grid-template-columns: 1fr 1fr;
    }

    .materials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.large {
        grid-row: auto;
    }

    .project-card.large .project-image {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 25px;
    }

    .quote-points {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 8px;
    }
}

/* 375px and below */
@media (max-width: 375px) {

    /* your existing CSS ... */

    .hero-text {
        padding-bottom: 75px;
    }

    .about-image-content {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .about-image-content strong {
        font-size: 30px;
    }

    .terms-section .reveal {
    opacity: 1;
    transform: none;
}

    .experience-card {
        top: 12px;
        right: 12px;
        bottom: auto;
        left: auto;
        padding: 10px 12px;
        gap: 8px;
        z-index: 5;
    }

    .experience-card strong {
        font-size: 24px;
    }

    .experience-card span {
        font-size: 8px;
        line-height: 1.2;
    }


    /* =========================================================
404 ERROR PAGE
========================================================= */

.error-page {
width: 100%;
min-height: 100vh;
background: #0d1117;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
position: relative;
overflow: hidden;
}

/* Background decorative circles */

.error-page::before {
content: "";
position: absolute;
width: 500px;
height: 500px;
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 50%;
top: -250px;
right: -150px;
}

.error-page::after {
content: "";
position: absolute;
width: 400px;
height: 400px;
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 50%;
bottom: -200px;
left: -150px;
}

/* Main error container */

.error-container {
width: 100%;
max-width: 850px;
text-align: center;
position: relative;
z-index: 2;
}

/* =========================================================
LOGO
========================================================= */

.error-page .logo {
display: inline-flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: #ffffff;
margin-bottom: 50px;
}

.error-page .logo-img {
width: 65px;
height: 65px;
object-fit: contain;
}

.error-page .logo-text {
display: flex;
flex-direction: column;
text-align: left;
line-height: 1;
}

.error-page .logo-text strong {
font-size: 24px;
font-weight: 800;
letter-spacing: 1px;
}

.error-page .logo-text small {
font-size: 11px;
letter-spacing: 2px;
margin-top: 5px;
opacity: 0.8;
}

/* =========================================================
404 ERROR NUMBER
========================================================= */

.error-code {
font-size: clamp(120px, 20vw, 220px);
font-weight: 800;
line-height: 0.9;
letter-spacing: -8px;
color: #e63946;
text-shadow: 0 10px 40px rgba(230, 57, 70, 0.2);
}

/* =========================================================
ERROR MESSAGE
========================================================= */

.error-title {
font-size: clamp(30px, 5vw, 48px);
font-weight: 700;
margin-top: 35px;
margin-bottom: 18px;
color: #ffffff;
}

.error-title span {
color: #e63946;
}

.error-description {
max-width: 620px;
margin: 0 auto;
font-size: 17px;
line-height: 1.7;
color: #b5b5b5;
}

/* =========================================================
BUTTONS
========================================================= */

.error-buttons {
margin-top: 40px;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
flex-wrap: wrap;
}

.error-page .btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 180px;
padding: 15px 28px;
text-decoration: none;
font-weight: 600;
border-radius: 4px;
transition: all 0.3s ease;
}

/* Primary button */

.error-page .btn-primary {
background: #e63946;
color: #ffffff;
border: 1px solid #e63946;
}

.error-page .btn-primary:hover {
background: #c92f3b;
border-color: #c92f3b;
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
}

/* Outline button */

.error-page .btn-outline {
background: transparent;
color: #ffffff;
border: 1px solid rgba(255, 255, 255, 0.35);
}

.error-page .btn-outline:hover {
border-color: #e63946;
color: #e63946;
transform: translateY(-3px);
}

/* =========================================================
SUPPORT TEXT
========================================================= */

.help-text {
margin-top: 45px;
font-size: 14px;
color: #777777;
}

.help-text a {
color: #e63946;
text-decoration: none;
font-weight: 600;
}

.help-text a:hover {
text-decoration: underline;
}

/* =========================================================
MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 768px) {

.error-page {
padding: 30px 20px;
}

.error-page .logo {
margin-bottom: 40px;
}

.error-code {
letter-spacing: -5px;
}

.error-title {
margin-top: 25px;
}

}

@media (max-width: 600px) {

.error-page {
padding: 25px 18px;
}

.error-page .logo-img {
width: 55px;
height: 55px;
}

.error-page .logo-text strong {
font-size: 21px;
}

.error-page .logo-text small {
font-size: 9px;
}

.error-code {
font-size: clamp(100px, 30vw, 150px);
letter-spacing: -4px;
}

.error-title {
font-size: 28px;
}

.error-description {
font-size: 15px;
}

.error-buttons {
flex-direction: column;
width: 100%;
}

.error-page .btn {
width: 100%;
max-width: 320px;
}

.help-text {
margin-top: 35px;
}

}

}