/* =========================
   RESET & BASE
========================= */

@font-face {
    font-family: title;
    src: url(fonts/DMSans-VariableFont_opsz\,wght.ttf);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ================= LOADING SCREEN ================= */

#loader-overlay {
    position: fixed;
    inset: 0;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 20px;        /* safe zone on small screens */
    box-sizing: border-box;
  }
  
  #loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
  }
  
  .loader-spinner {
    --uib-size: 60px;
    --uib-color: rgb(255, 255, 255);
    --uib-speed: 1.5s;
    --dot-size: calc(var(--uib-size) * 0.17);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
    animation: smoothRotate calc(var(--uib-speed) * 1.8) linear infinite;
    background: transparent !important;
  }
  
  .dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 100%;
    animation: rotate var(--uib-speed) ease-in-out infinite;
  }
  
  .dot::before {
    content: '';
    height: var(--dot-size);
    width: var(--dot-size);
    border-radius: 50%;
    background-color: var(--uib-color);
    transition: background-color 0.3s ease;
  }
  
  .dot:nth-child(2),
  .dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.835 * 0.5);
  }
  
  .dot:nth-child(3),
  .dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.668 * 0.5);
  }
  
  .dot:nth-child(4),
  .dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.501 * 0.5);
  }
  
  .dot:nth-child(5),
  .dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.334 * 0.5);
  }
  
  .dot:nth-child(6),
  .dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.167 * 0.5);
  }
  
  @keyframes rotate {
    0% { transform: rotate(0deg); }
    65%, 100% { transform: rotate(360deg); }
  }
  
  @keyframes smoothRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  /* ================= END OF LOADING SCREEN ================= */


/* =========================================
   NAVBAR
========================================= */

nav {
    width: 100%;
    height: 84px;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 clamp(18px, 4vw, 48px);

    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.35),
        inset 0 -1px 0 rgba(255,255,255,0.04);
}

/* subtle glow line */
nav::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
}


/* =========================================
   LEFT NAV
========================================= */

.left-nav {
    display: flex;
    align-items: center;
    z-index: 5;
}

.left-nav img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.left-nav img:hover {
    transform: scale(1.05);
}


/* =========================================
   NAV LINKS
========================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2vw, 24px);

    list-style: none;
}

.nav-links a {
    position: relative;

    color: rgba(255,255,255,0.86);
    text-decoration: none;

    font-size: 0.95rem;
    font-weight: 500;

    padding: 10px 16px;
    border-radius: 12px;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    transform: translateY(-2px);
}

/* animated underline */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 6px;

    width: 0%;
    height: 2px;

    border-radius: 20px;

    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: calc(100% - 32px);
}


/* =========================================
   RIGHT NAV
========================================= */

.right-nav {
    display: flex;
    align-items: center;
}


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

.cta-btn {
    background: white;
    color: black;

    padding: 12px 22px;

    border-radius: 14px;

    font-size: 0.92rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);

    background: #f1f1f1;

    box-shadow:
        0 12px 30px rgba(255,255,255,0.18);
}


/* =========================================
   HAMBURGER
========================================= */

.hamburger {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}


/* =========================================
   HERO SECTION
========================================= */

.main-head {
    position: relative;
    overflow: hidden;

    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding:
        140px
        clamp(20px, 5vw, 50px)
        100px;

    background:
        linear-gradient(
            rgba(0,0,0,0.70),
            rgba(0,0,0,0.72)
        ),
        url("img/img8.jpg");

    background-size: cover;
    background-position: center;
}

/* cinematic glow */
.main-head::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(255,255,255,0.10),
            transparent 45%
        );

    pointer-events: none;
}

/* bottom fade */
.main-head::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 220px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0),
            #2b2b2b
        );
}

.main-head > * {
    position: relative;
    z-index: 2;
}


/* =========================================
   HERO TAG
========================================= */

.hero-tag {
    color: rgba(255,255,255,0.68);

    font-size: 0.78rem;

    letter-spacing: 3px;
    text-transform: uppercase;

    margin-bottom: 28px;

    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(8px);
}


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

.main-head h1 {
    max-width: 1100px;

    font-size: clamp(2.7rem, 7vw, 5.5rem);

    line-height: 1.02;

    font-weight: 800;

    margin-bottom: 28px;

    color: white;

    letter-spacing: -2px;

    text-shadow:
        0 5px 30px rgba(0,0,0,0.4);
}


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

.main-head h3 {
    max-width: 820px;

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

    font-size: clamp(1rem, 2vw, 1.1rem);

    line-height: 1.9;

    margin-bottom: 50px;
}


/* =========================================
   HERO STATS
========================================= */

.hero-stats {
    width: 100%;
    max-width: 1100px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap; /* never wrap */

    gap: 20px;

    margin-bottom: 50px;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hero-stat {
    color: white;

    text-align: center;

    padding: 0;

    background: none;
    border: none;
    box-shadow: none;

    transition: transform 0.3s ease;

    flex: 1 0 100px; /* adjust width as needed */
    min-width: 100px;

    text-align: center;
}

.hero-stat:hover {
    transform: translateY(-4px);
}

.hero-stat span {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
}

.hero-stat p {
    margin-top: 10px;

    font-size: 0.75rem;
    letter-spacing: 1.5px;

    color: rgba(255,255,255,0.7);
}


/* =========================================
   HERO BUTTON
========================================= */

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 16px 34px;

    border-radius: 16px;

    background: white;
    color: black;

    text-decoration: none;

    font-size: 1rem;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-4px);

    background: #f0f0f0;

    box-shadow:
        0 18px 40px rgba(255,255,255,0.18);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 10px;
    }

    .hero-stat span {
        font-size: 1.4rem;
    }

    .hero-stat p {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {

    nav {
        height: 68px;
    }

    .nav-links {
        display: none;

        position: absolute;
        top: 68px;
        left: 0;

        width: 100%;

        flex-direction: column;

        padding: 20px;

        background: rgba(18,18,18,0.98);

        backdrop-filter: blur(18px);

        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .right-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .left-nav img {
        width: 74px;
        height: 74px;
    }

    .main-head {
        padding-top: 130px;
    }

    .main-head h1 {
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-stat {
        padding: 24px 18px;
    }

    .hero-btn {
        width: 100%;
        max-width: 320px;
    }
}


/* =========================
   HOME / PERFORMANCE SECTION
========================= */

#home {
    background-color: #2b2b2b;

    padding:
        clamp(60px, 10vw, 120px)
        clamp(16px, 4vw, 24px);
}

.performance-container {
    max-width: 1300px;

    margin: auto;

    display: grid;
    grid-template-columns: 1.1fr 1fr;

    gap: clamp(40px, 6vw, 80px);

    align-items: center;
}


/* =========================
   LEFT SIDE
========================= */

.performance-tag {
    color: rgba(255,255,255,0.55);

    font-size: 0.78rem;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 18px;
}

.performance-text h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);

    line-height: 1.05;

    font-weight: 800;

    margin-bottom: 22px;

    letter-spacing: -2px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            rgba(200,200,200,0.75)
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

.performance-text h2 {
    color: rgba(255,255,255,0.82);

    font-size: clamp(1rem, 2vw, 1.25rem);

    font-weight: 500;

    line-height: 1.6;

    margin-bottom: 26px;
}

.performance-description {
    color: rgba(255,255,255,0.68);

    font-size: clamp(0.95rem, 1.8vw, 1.05rem);

    line-height: 1.9;

    max-width: 650px;
}


/* =========================
   STATS GRID
========================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


/* =========================
   STAT CARD
========================= */

.stat-box {
    position: relative;

    overflow: hidden;

    padding: 34px 28px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        transform 0.4s ease,
        border 0.4s ease,
        background 0.4s ease;
}

/* top glow line */
.stat-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.4),
            transparent
        );
}

.stat-box:hover {
    transform: translateY(-8px);

    border: 1px solid rgba(255,255,255,0.16);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.10),
            rgba(255,255,255,0.05)
        );
}


/* =========================
   LABEL
========================= */

.box-title {
    color: rgba(255,255,255,0.58);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 18px;
}


/* =========================
   NUMBER
========================= */

.stat-box h3 {
    color: white;

    font-size: clamp(2.5rem, 5vw, 3.8rem);

    font-weight: 800;

    line-height: 1;

    letter-spacing: -2px;

    margin-bottom: 18px;
}


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

.sub-box {
    color: rgba(255,255,255,0.72);

    font-size: 0.92rem;

    line-height: 1.7;
}


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

@media (max-width: 900px) {

    .performance-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .performance-text {
        text-align: center;
    }

    .performance-description {
        margin: auto;
    }
}

@media (max-width: 600px) {

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 28px 22px;
    }

    .stat-box h3 {
        font-size: 2.7rem;
    }
}

/* =========================
   why choice Ceramic
========================= */

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

.title-service{
    text-align: center;
    padding: 0 20px;
}

.title-service h2{
    background: linear-gradient(90deg, #787878, rgba(0, 0, 0, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    font-size: 2.8rem;
    font-weight: 700;
    margin: 30px 0 12px;
    line-height: 1.2;
}

.title-service h3{
    color: #212121;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;

    max-width: 720px;
    margin: auto;
    opacity: 0.85;
}


/* =========================
   GRID LAYOUT
========================= */

.service-gallery{
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}


/* =========================
   CARD
========================= */

.service-card{
    position: relative;
    border-radius: 16px;
    overflow: hidden;

    background: #111;

    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    transition: all 0.35s ease;
}

.service-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}


/* =========================
   INNER
========================= */

.service-card input{
    display: none;
}

.card-inner{
    display: block;
    cursor: pointer;
    position: relative;
}


/* =========================
   IMAGE
========================= */

.service-card img{
    width: 100%;
    height: auto;

    display: block;

    transition: transform 0.6s ease, filter 0.6s ease;
}

.card-inner:hover img,
.service-card input:checked + .card-inner img{
    transform: scale(1.03);
    filter: brightness(0.9);
}


/* =========================
   OVERLAY
========================= */

.overlay{
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 18px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92),
        rgba(0,0,0,0.55),
        transparent
    );

    color: white;

    opacity: 0;
    transform: translateY(20px);

    transition: all 0.4s ease;

    overflow: hidden;
}

.overlay h4{
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.2;
}

.overlay p{
    font-size: 0.85rem;
    opacity: 0.9;

    line-height: 1.4;
    margin-bottom: 10px;
}

/* IMPORTANT for your ULs */
.overlay ul{
    padding-left: 18px;
    margin: 0;

    font-size: 0.8rem;
    line-height: 1.4;
    opacity: 0.9;
}

.overlay li{
    margin-bottom: 4px;
}

.overlay{
    max-height: 100%;
    box-sizing: border-box;
}


/* Hover + Click */
.card-inner:hover .overlay,
.service-card input:checked + .card-inner .overlay{
    opacity: 1;
    transform: translateY(0);
}


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

@media (max-width: 768px){

    .title-service h1{
        font-size: 2.2rem;
    }

    .title-service h3{
        font-size: 1rem;
    }

    /* FIRST 2 IMAGES SIDE BY SIDE */

    .service-gallery{
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    

    /* FORCE TEXT TO FIT INSIDE CARD */
.overlay{
    padding: 12px;
}

.overlay h4{
    font-size: 0.9rem;
    line-height: 1.2;
}

.overlay p{
    font-size: 0.75rem;
    line-height: 1.3;

    /* prevents overflow */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overlay ul{
    font-size: 0.7rem;
    line-height: 1.3;

    margin-top: 5px;
    padding-left: 14px;

    /* prevents overflow */
    max-height: 70px;
    overflow: hidden;
}


.service-card img{
    object-fit: cover;
    height: 100%;
}

}


/* =========================
   PRODUCT SECTION
   ========================= */

#product{
    background: #2b2b2b;
    padding: 120px 20px;
}


/* LAYOUT */

.product-container{
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}


/* IMAGE */

.product-image img{
    width: 100%;
    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}


/* TEXT */

.product-info h2{
    font-size: 2.6rem;
    color: white;

    margin-bottom: 10px;
}

.product-tag{
    color: #bdbdbd;
    text-transform: uppercase;

    letter-spacing: 1px;
    font-size: 0.85rem;

    margin-bottom: 20px;
}

.product-info p{
    color: #d6d6d6;

    line-height: 1.8;
    margin-bottom: 20px;
}


/* LIST */

.product-list{
    list-style: none;
    padding: 0;

    margin-bottom: 30px;
}

.product-list li{
    color: white;

    margin-bottom: 10px;
    font-size: 1rem;
}


/* BUTTON */

.product-btn{
    display: inline-block;

    background: white;
    color: black;

    padding: 14px 30px;
    border-radius: 14px;

    text-decoration: none;
    font-weight: 600;

    transition: 0.3s ease;
}

.product-btn:hover{
    background: #dcdcdc;
    transform: translateY(-3px);
}

.partners{
    width: 100%;
    padding: 40px 20px;
    text-align: center;
}

.partners p{
    color: #676767;
}

.partner-logos{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.partner-logos img{
    width: 180px;
    height: 100px;
    object-fit: contain;

    padding: 20px;
    background: white;

    border-radius: 18px;

    box-shadow: 0 4px 20px rgba(0,0,0,0.08);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.partner-logos img:hover{
    transform: translateY(-5px);

    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

    .product-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .product-info h2{
        font-size: 2rem;
    }

    .product-list li{
        text-align: left;
    }
}


/* =========================
   CONTACT FORM
========================= */

#form {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(50px, 8vw, 80px) clamp(16px, 4vw, 20px);
    background: #2b2b2b;
}

.title-form {
    text-align: center;
    margin-bottom: 10px;
}

.title-form h2 {
    background: linear-gradient(90deg, #ffffff, rgba(180,180,180,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 700;
    margin: 20px 0 12px;
    line-height: 1.2;
}

#form form {
    width: 100%;
    max-width: 620px;
    background: white;
    padding: clamp(24px, 5vw, 40px) clamp(20px, 5vw, 40px);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.09);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#form input,
#form textarea {
    width: 100%;
    padding: clamp(13px, 2vw, 16px) clamp(14px, 2vw, 18px);
    border: 1.5px solid #d9ddd7;
    border-radius: 12px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

#form textarea {
    min-height: 130px;
    resize: vertical;
}

#form input:focus,
#form textarea:focus {
    outline: none;
    border-color: #000000;
    background: white;
    box-shadow: 0 0 0 3px rgba(93, 143, 106, 0.15);
}

#form input::placeholder,
#form textarea::placeholder {
    color: #999;
}

#form input[type="submit"] {
    background: #616161;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: clamp(13px, 2vw, 16px);
    border-radius: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
    /* Prevent tap highlight on mobile */
    -webkit-tap-highlight-color: transparent;
}

#form input[type="submit"]:hover,
#form input[type="submit"]:active {
    background: #484848;
    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

.footer-section {
    background: #2b2b2b;
    color: white;
    padding: clamp(60px, 8vw, 90px) clamp(16px, 4vw, 20px) clamp(24px, 4vw, 30px);

    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(36px, 5vw, 60px);
    position: relative;
    z-index: 2;
}

.footer-links h3,
.footer-contact h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.6);
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
}

.footer-links a {
    display: inline-block;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: color 0.3s ease, transform 0.3s ease;
    /* Better tap target on mobile */
    padding: 2px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(6px);
}

.footer-contact p {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: white;
}


/* FOOTER BOTTOM */
.footer-bottom {
    max-width: 1200px;
    margin: clamp(40px, 6vw, 60px) auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.rights {
    color: rgba(255,255,255,0.6);
    font-size: 1rem
}

.morks-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
    padding-bottom: 2px;
}

.footer-Morks {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
}

.footer-Morks strong {
    color: white;
}

.Morkslogo {
    width: 38px;
    height: auto;
    transition: transform 0.3s ease;
}



/* =========================
   FOOTER MOBILE
========================= */

@media (max-width: 768px) {
    .footer-container {
        text-align: center;
        gap: 36px;
    }

    .footer-links {
        min-height: unset;
        justify-content: flex-start;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .morks-wrapper {
        justify-content: center;
    }

    .title-form h1 {
        text-align: center;
    }
}


/* =========================
   TOUCH / POINTER IMPROVEMENTS
========================= */

@media (hover: none) {
    /* On touch devices, remove hover-only transforms */
    .hero-stat:hover,
    .stat-box:hover,
    .service-card:hover {
        transform: none;
    }

    /* Keep tap feedback via active states */
    .hero-stat:active { background: rgba(255,255,255,0.14); }
    .stat-box:active { transform: scale(0.98); }
    .service-card:active { transform: scale(0.98); }
    .hero-btn:active { background: #dcdcdc; }
    .cta-btn:active { background: #1f1f1f; }
}