:root {
    --primary: #bb0a0a;
    --primary-dark: #8B0000;
    --bg-dark: #000000;
    --bg-card: #121212;
    --text-main: #ffffff;
    --text-muted: #d0d0d0;
    --glass: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* --- Dynamic Backgrounds --- */
.glow-orb {
    position: fixed;
    /* RESTORED: Moved back to -20% to light up the hero section naturally */
    top: -20%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.3) 0%, rgba(0,0,0,0) 65%);
    transform: translateX(-50%);
    z-index: -2;
    animation: pulse 8s infinite ease-in-out;
    pointer-events: none;
}

/* --- Header & Nav --- */
.glass-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    width: 100%; max-width: 1200px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px;
}

.nav-logo {
    font-weight: 800; font-size: 1.2rem;
    color: white; text-decoration: none; letter-spacing: 1px;
}

.mobile-menu-toggle { display: none; }

.nav-links { display: flex; align-items: center; gap: 25px; }

.nav-links a {
    color: #ddd; text-decoration: none;
    font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary); }

.cta-button {
    background: var(--primary-dark);
    padding: 8px 20px; border-radius: 4px;
    color: white !important;
    border: 1px solid var(--primary);
}

.cta-button:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(187, 10, 10, 0.5);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute;
    background: var(--bg-card);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    top: 140%; right: -50px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block; animation: slideIn 0.2s ease;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    text-transform: none; text-align: left;
    border-bottom: 1px solid #222;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background: #222; color: var(--primary); }

/* --- Hero Section --- */
main { width: 100%; display: flex; flex-direction: column; align-items: center; }

.hero-section {
    min-height: 90vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
    max-width: 900px;
}

.logo-container {
    position: relative; 
    width: 100%; 
    /* Increased max-width because the new logo is wider */
    max-width: 600px; 
    margin: 0 auto 30px;
    /* Removed black background hack */
}

/* UPDATED: Cleaned up because image is now transparent */
.logo { 
    width: 100%; 
    display: block; 
    height: auto; 
    position: relative;
    z-index: 1;
    /* No filters or masks needed! */
}

.hero-title {
    font-size: 2.8rem; font-weight: 800;
    line-height: 1.2; margin-bottom: 20px;
    text-transform: uppercase;
    position: relative; z-index: 2;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.2rem; color: var(--primary);
    font-weight: 600; margin-bottom: 25px; letter-spacing: 2px;
    position: relative; z-index: 2;
}

.hero-desc {
    max-width: 700px; margin: 0 auto 40px;
    color: var(--text-muted); font-size: 1.1rem; line-height: 1.8;
    position: relative; z-index: 2;
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; position: relative; z-index: 2; }

.primary-btn {
    padding: 15px 40px; border-radius: 4px;
    text-decoration: none; font-weight: 700; text-transform: uppercase;
    transition: var(--transition);
    background: var(--text-main); color: black;
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 20px rgba(255,255,255,0.2); }

/* --- Services Grid List (The Modern List) --- */
.section-padding { padding: 80px 20px; max-width: 1200px; width: 100%; margin: 0 auto; }
.section-heading { font-size: 2.5rem; margin-bottom: 50px; text-align: center; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; }

.services-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
}

.services-grid-list li {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 20px;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    color: var(--text-muted);
    cursor: default;
    display: flex; align-items: center; justify-content: center;
}

.services-grid-list li:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.services-grid-list li::before { content: none; } /* Remove old star bullets */

/* --- Why Choose Us (Modernized List) --- */
.why-choose-list-modern {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
}

@media(min-width: 768px) {
    .why-choose-list-modern { grid-template-columns: 1fr 1fr; }
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 8px;
    height: 100%;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: #333;
}

.feature-icon {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text strong { display: block; color: white; margin-bottom: 5px; font-size: 1.1rem; }
.feature-text { color: var(--text-muted); font-size: 0.95rem; }

/* --- Marquee (Clients) --- */
.marquee-section {
    background: #0a0a0a; padding: 60px 0; width: 100%;
    overflow: hidden; border-top: 1px solid #222; border-bottom: 1px solid #222;
}

.marquee-container {
    white-space: nowrap; overflow: hidden; width: 100%;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
    font-size: 1.5rem; font-weight: 700; color: #444;
    text-transform: uppercase;
}

.marquee-content span { color: #999; margin: 0 20px; }

/* --- Contact Form --- */
.intro-paragraph { text-align: center; margin-bottom: 40px; color: var(--text-muted); font-size: 1.2rem; }

.glass-form {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px; border-radius: 12px;
    max-width: 600px; margin: 0 auto; width: 100%;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 25px; position: relative; }

.form-group label {
    display: block; margin-bottom: 8px; color: var(--text-muted);
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%; padding: 15px;
    background: #050505; border: 1px solid #333;
    color: white; border-radius: 5px;
    font-family: var(--font-main); font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
    background: #0a0a0a;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.2);
}
.form-group textarea { height: 150px; resize: vertical; }

.submit-button {
    width: 100%; padding: 15px;
    background: var(--primary-dark); color: white;
    border: none; border-radius: 4px;
    font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
    cursor: pointer; transition: var(--transition);
    font-family: var(--font-main);
    display: block; margin-top: 10px;
}
.submit-button:hover { background: var(--primary); letter-spacing: 1px; }

.error-message { color: #ff4444; font-size: 0.85rem; margin-top: 5px; display: none; }
.form-group input:invalid:not(:placeholder-shown) + .error-message,
.form-group textarea:invalid:not(:placeholder-shown) + .error-message { display: block; }
.form-group input:invalid:not(:placeholder-shown) { border-color: #ff4444; }

.status-message { padding: 15px; margin-bottom: 25px; border-radius: 4px; text-align: center; font-weight: 600; }
.status-success { background-color: #4CAF50; color: white; }
.status-error { background-color: #f44336; color: white; }
.hidden { display: none; }
.honeypot-field { position: absolute; left: -9999px; visibility: hidden; }

/* --- Footer & Social --- */
#social-icons { display: flex; justify-content: center; gap: 30px; margin-top: 40px; padding-bottom: 40px; }
#social-icons div { text-align: center; }
#social-icons img { width: 40px; transition: transform 0.2s; }
#social-icons a:hover img { transform: scale(1.2); }
footer { text-align: center; color: #555; font-size: 0.8rem; padding: 20px; width: 100%; border-top: 1px solid #111; }

/* --- Animations --- */
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: translate(-50%, 0) scale(1); } 50% { opacity: 0.5; transform: translate(-50%, 0) scale(1.2); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-up { opacity: 0; transform: translateY(50px); transition: opacity 1s ease-out, transform 1s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
    .glass-header { height: 60px; justify-content: space-between; padding: 0 15px; }
    nav { padding: 0; }
    
    .mobile-menu-toggle {
        display: block; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer;
    }
    
    .nav-links {
        position: fixed; top: 60px; left: 0; width: 100%;
        background: #000; flex-direction: column; padding: 20px 0;
        border-bottom: 1px solid #333;
        display: none; /* Hidden by default on mobile */
    }
    .nav-links.active { display: flex; }

    .dropdown-content { position: static; box-shadow: none; border: none; padding-left: 20px; background: #111; }
    
    .hero-title { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .why-choose-list-modern { grid-template-columns: 1fr; }
    
    .section-padding { padding: 50px 15px; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0 0 0 0); }