/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #007bff; /* Boosted to a more vibrant electric blue */
    --primary-hover: #0056b3;
    --text-dark: #ffffff; /* Flipped base text to light for a dark mode aesthetic */
    --text-light: #cccccc;
    --bg-dark: #0a0a0a; /* True deep black background */
    --bg-card: #141414; /* Sleek dark gray for cards */
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Container Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Sticky Navigation */
header {
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1f1f1f;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Layout Styling */
.logo-link {
    display: inline-block;
}

.logo-img {
    height: auto;
    width: 260px;
    display: block;
    max-width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4da3ff;
}

.btn-nav {
    background-color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-nav:hover {
    background-color: var(--primary-hover);
    color: var(--white);
}

/* High-Impact Hero Section */
.hero {
    padding: 100px 0;
    background: radial-gradient(circle at top right, #002b5c 0%, var(--bg-dark) 70%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-services-list {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4da3ff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.btn-hero {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #00c6ff);
    color: var(--white);
    padding: 16px 32px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,198,255,0.6);
}

.hero-video-container {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.25);
    border: 1px solid #1f1f1f;
}

/* Services Section Styling */
.services-section {
    background-color: #0f0f0f;
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 800;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #00c6ff);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Service Cards Overhaul */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #1f1f1f;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
    border-bottom: 1px solid #262626;
    padding-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Custom Checkmarks */
.service-details-list {
    margin-top: auto;
    list-style: none;
    padding-top: 15px;
}

.service-details-list li {
    font-size: 0.95rem;
    color: #dddddd;
    padding: 6px 0;
    position: relative;
    padding-left: 25px;
    font-weight: 500;
}

.service-details-list li::before {
    content: "✓";
    color: #00c6ff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Featured Portfolio Showcase Layout */
.portfolio-section {
    padding: 90px 0;
    background-color: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1f1f1f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

/* Beefed Up Hover Glow */
.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.75);
}

.portfolio-item:hover img {
    filter: brightness(1.2) contrast(1.05);
}

/* Premium Consultation Contact Form */
.contact-section {
    background-color: #0f0f0f;
    padding: 90px 0;
}

.contact-container {
    max-width: 650px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 50px 40px;
    border-radius: 12px;
    border: 1px solid #1f1f1f;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.contact-container h2 {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
}

.contact-container p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 35px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #dddddd;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 6px;
    font-size: 1rem;
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    height: 130px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #00c6ff);
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,198,255,0.5);
}

/* Footer Section & Social Links Layout */
footer {
    background-color: #000000;
    color: var(--white);
    padding: 70px 0 20px;
    border-top: 1px solid #1f1f1f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-brand p {
    color: #aaaaaa;
    margin-bottom: 8px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-socials a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    background-color: #141414;
    padding: 12px 24px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #262626;
}

.footer-socials a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0,123,255,0.4);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #1f1f1f;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #555555;
}

.footer-bottom a {
    color: #555555;
    text-decoration: none;
}

/* Responsive Breakpoints for Mobile/Tablets */
@media (max-width: 992px) {
    .hero-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    .logo-img {
        width: 220px;
    }
    .hero {
        padding: 60px 0;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .portfolio-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}