@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #FF0000;
    --primary-dark: #D40000;
    --black: #0F0F0F;
    --dark: #121212;
    --light: #F4F4F4;
    --white: #FFFFFF;
    --text-main: #1A1A1A;
    --text-light: #AAAAAA;
    --border: #E5E5E5;
    --container: 1240px;
    --radius: 12px;
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- UTILS --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Prevent overflow issues */
}

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

.highlight {
    color: var(--primary);
}

/* Backgrounds */
.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light);
}

.bg-dark {
    background-color: var(--black);
    color: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

p {
    margin-bottom: 24px;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
}

.bg-dark p {
    color: #ccc;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-label.white {
    color: rgba(255, 255, 255, 0.8);
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-nav-contact {
    background: var(--black);
    color: white !important;
    padding: 12px 28px;
    border-radius: 6px;
    transition: transform 0.2s;
}

.btn-nav-contact:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--black);
    transition: 0.3s;
    border-radius: 2px;
}

/* --- HERO REDESIGNED --- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    /* Changed to column for better alignment */
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient for better text readability */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Increased opacity slightly */
    z-index: 0;
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    /* Slightly reduced max size */
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    font-weight: 900;
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--primary);
    /* Solid color for readability */
    /* Removed stroke effect for better clarity */
    display: block;
    /* Ensure it takes its own line if needed or flow correctly */
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 0, 0, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
}

.frosted {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scroll-down-btn i {
    animation: bounce 2s infinite;
    font-size: 1.4rem;
    color: var(--primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5);
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
    margin-left: 15px;
    /* Desktop margin */
}

.btn-outline:hover {
    background: white;
    color: var(--black);
}

/* --- SECTIONS & LAYOUT --- */

/* Split Layout */
.split-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

.split-image {
    flex: 1;
    position: relative;
}

.split-image img {
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.split-content {
    flex: 1;
}

.badge-tech {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 15, 15, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.badge-tech.right {
    left: auto;
    right: 30px;
}

/* Lists */
.pro-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-weight: 500;
    color: #444;
}

.pro-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 2px;
}

/* Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: 0.3s;
    height: 100%;
    /* Equal height */
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.icon-box.large {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 24px;
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promo Box */
.promo-box {
    background: #111;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-radius: 24px;
    padding: 100px 40px;
    color: white;
    text-align: center;
}

.promo-content p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* Specs Grid */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.spec {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.spec:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.spec i {
    font-size: 1.8rem;
    color: var(--primary);
}

/* Equipment Grid */
#process {
    background-color: #0F0F0F !important;
    color: white !important;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.equip-item {
    background: #1A1A1A;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid #333;
    transition: 0.3s;
}

.equip-item:hover {
    border-color: var(--primary);
    background: #202020;
}

.equip-item h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.equip-item p {
    color: #CCC !important;
    margin: 0;
    font-size: 0.95rem;
}

/* Steps */
.service-details {
    margin-top: 40px;
}

.detail-item {
    border-left: 4px solid var(--primary);
    padding-left: 24px;
    margin-bottom: 30px;
}

.detail-item h4 {
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* FAQ Accordion - Completely Refreshed */
.faq-accordion {
    max-width: 900px;
    margin: 40px auto 0;
    display: block;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: white;
    user-select: none;
    width: 100%;
}

.faq-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    flex: 1;
    padding-right: 20px;
    text-align: left;
}

.faq-header i {
    color: var(--primary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fafafa;
}

.faq-content p {
    margin: 0;
    padding: 24px;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item.active .faq-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item.active .faq-header h4 {
    color: var(--primary);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Contact */
.contact-section {
    background: var(--dark);
    color: white;
    padding: 100px 0;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 20px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1F1F1F;
    color: white;
    margin-bottom: 20px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus {
    border-color: var(--primary);
    background: #252525;
}

.btn-block {
    width: 100%;
    padding: 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-block:hover {
    background: var(--primary-dark);
}

/* Footer (New Layout) */
footer {
    padding: 80px 0 30px;
    background: #111;
    color: #bbb;
    border-top: 1px solid #222;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 20px;
    color: #888;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #888;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
    font-size: 1.1rem;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 0.9rem;
    color: #666;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Tablet & Large Mobile (Landscape) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .split-layout {
        gap: 40px;
    }

    /* Grids become 2 columns on tablet */
    .services-grid,
    .tech-specs-grid,
    .equipment-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero {
        text-align: center;
        padding-top: 80px;
        min-height: 100vh;
        height: auto;
    }

    .hero-content {
        padding: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout,
    .split-layout.reverse {
        flex-direction: column;
        text-align: center;
    }

    /* Reset margins for mobile buttons */
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }

    .btn-group {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .detail-item {
        border-left: none;
        border-top: 3px solid var(--primary);
        padding-left: 0;
        padding-top: 20px;
        text-align: left;
    }

    /* All grids to single column on mobile */
    .services-grid,
    .tech-specs-grid,
    .equipment-list {
        grid-template-columns: 1fr;
    }

    .promo-box {
        padding: 60px 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 0;
    }

    .service-card {
        padding: 30px 20px;
    }

    .equip-item {
        padding: 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .brand-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transition: 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-links a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--black);
    margin: 20px 0;
    display: block;
    text-align: center;
}

.close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
}