/* Variables based on your logo colors */
:root {
    --primary-blue: #0073e6;
    --dark-blue: #004d99;
    --dark-bg: #0d1117;
    --light-bg: #f4f6f9;
    --text-dark: #333;
    --text-light: #fff;
    --silver: #a0a5ad;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-white { color: var(--text-light); }
.text-center { text-align: center; }
.bg-dark { background-color: var(--dark-bg); color: var(--text-light); }
.bg-light { background-color: var(--light-bg); }

/* Typography */
h1, h2, h3 {
    margin-bottom: 15px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bg-dark .section-title {
    color: var(--primary-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
}

/* Header & Navigation */
.header {
    background-color: #000;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

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

.logo-img {
    height: 70px; /* Adjust based on your actual logo size */
    width: auto;
}

.nav-links a {
    color: var(--silver);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* Sections */
.section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding-top: 80px; /* offset for fixed header */
}

.hero-content h1 {
    font-size: 1.5rem;
    color: var(--silver);
    letter-spacing: 2px;
}

.hero-content h2 {
    font-size: 4rem;
    color: var(--primary-blue);
    margin: 10px 0;
    font-weight: 700;
}

.hero-desc {
    max-width: 700px;
    margin: 20px auto 40px;
    font-size: 1.1rem;
    color: #ccc;
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* Services Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #161b22;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary-blue);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px ;
}

.placeholder-img {
    background-color: var(--white);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-details {
    list-style: none;
    margin-top: 20px;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

/* Footer */
.footer {
    background-color: #000;
    color: var(--silver);
    text-align: center;
    padding: 30px 0;
}

.footer p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real scenario, implement a hamburger menu here */
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}