/* Custom Vars for Logo Colors */
:root {
    --primary: #001F3F; /* Dark navy */
    --secondary: #007BFF; /* Brighter blue */
    --accent: #DC143C; /* Red */
}

/* Typography */
.font-heading { font-family: 'Montserrat', sans-serif; }
.font-body { font-family: 'Roboto', sans-serif; }

.bg-primary { background-color: var(--primary); }
.text-primary { color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.text-secondary { color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.text-accent { color: var(--accent); }

/* Transitions */
.transition { transition: all 0.3s ease; }

/* Hover Effects */
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:border-accent:hover { border-color: var(--accent); }

/* Drop Shadow */
.drop-shadow-md { text-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); }

/* Form Styles */
input, textarea { outline: none; }
input:focus, textarea:focus { border-color: var(--accent); }

/* --- Layout and Container --- */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: #000;
    color: #fff;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 50px; /* Adjust height as needed for your logo size */
    width: auto; /* Maintain aspect ratio */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.5);
    padding: 48px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.hero-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    margin-bottom: 12px;
    color: var(--accent);
}

.hero .tagline {
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #ccc;
}

/* --- Section Titles --- */
.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: var(--accent);
    margin-bottom: 18px;
    text-align: center;
}

/* --- Service Grid --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    background: #222;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    transition: box-shadow 0.3s;
}

.service-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.service-item img {
    width: 100%;
    max-width: 320px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* --- Case Studies --- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.case-item {
    background: #222;
    padding: 20px;
    border-radius: 5px;
}

.case-item img {
    width: 100%;
    max-width: 320px;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.test-item {
    background: #222;
    padding: 20px;
    border-radius: 5px;
    font-style: italic;
}

.test-item cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    text-align: right;
}

/* Social Media */
.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.social-item {
    background: #333;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-item:hover {
    background: #555;
}

/* CTA Enhancements (Gradient for modern feel) */
.cta {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    margin: 8px 8px 0 0;
    display: inline-block;
    transition: background 0.3s;
}

.cta:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .logo img {
        max-height: 40px; /* Smaller on mobile */
    }
}