/* Modern Industrial Design System */
:root {
    --primary: #00e5ff;
    /* Cyan Neon */
    --secondary: #ff7b00;
    /* Welding Spark Orange */
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.95);
    --glass: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1280px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    box-shadow: 0 0 30px rgba(255, 123, 0, 0.4);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--secondary);
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.subtitle {
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
}

.sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.sidebar-box {
    background: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--glass);
}

.footer-meta {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('hero_bg.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    border-left: 5px solid var(--secondary);
    padding-left: 2rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Services Grid */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass);
    padding: 2rem;
    transition: var(--transition);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: var(--primary);
    transition: 0.5s;
}

.card:hover::before {
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 229, 255, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card .learn-more {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* UAE Coverage Section */
.coverage {
    background: linear-gradient(45deg, #0f0f0f, #1a1a1a);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.locations-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

.location-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border: 1px solid var(--glass);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.location-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 229, 255, 0.1);
}

/* Contact */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--card-bg);
    padding: 3rem;
    border: 1px solid var(--glass);
}

.contact-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item p {
    color: var(--text-muted);
}

form input,
form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass);
    padding: 15px;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-family: var(--font-body);
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .antigravity-hero .hero-content-layer h1 {
        font-size: 2.2rem;
        /* Smaller hero title on mobile */
    }

    .antigravity-hero .hero-content-layer p {
        font-size: 1rem !important;
        /* Smaller subtitle */
        padding: 0 10px;
    }

    .beam-main {
        width: 85%;
        /* Adjust beam size */
        opacity: 0.8;
        /* Slightly more transparent to not occlude text */
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        /* Less padding on mobile */
    }
    
    .sidebar-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .antigravity-hero .hero-content-layer h1 {
        font-size: 1.8rem;
    }

    .bolt-overlay {
        display: none;
        /* Hide cluttered details on very small screens */
    }
}

/* Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px var(--primary);
    }

    50% {
        box-shadow: 0 0 20px var(--primary), 0 0 10px var(--secondary);
    }

    100% {
        box-shadow: 0 0 5px var(--primary);
    }
}

.animate-glow {
    animation: glow 3s infinite;
}