:root {
    /* Theme Colors: Dark Navy, Vibrant Red, Deep Blue, White */
    --color-bg: #0A1128;
    --color-bg-alt: #131E3D;
    --color-text: #FFFFFF;
    --color-text-muted: #A0ABC0;
    --color-primary: #D32F2F; /* Vibrant Red */
    --color-secondary: #2161da; /* Deep Blue, adjusted slightly to pop on dark bg */
    --color-border: #2A3655;
    
    --font-main: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography elements */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.logo-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}
.logo-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}
.logo-text {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    opacity: 0.85;
}
.logo-a { color: #ffffff; }
.logo-s { color: #ffffff; }

.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-title p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}
#navbar.scrolled {
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, var(--color-bg-alt), var(--color-bg));
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-highlight {
    background: linear-gradient(90deg, #FFFFFF, var(--color-text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    margin-left: 1rem;
}
.btn-secondary:hover {
    background-color: rgba(255,255,255,0.1);
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* Services */
.services {
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(19, 30, 61, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    background-color: var(--color-bg-alt);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg);
    min-height: 300px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.mock-logo-large {
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.about-logo-img {
    width: auto;
    max-width: 320px;
    height: auto;
    max-height: 160px;
    object-fit: contain;
}
.about-logo-text {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    text-align: center;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-bg-alt);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg);
    color: white;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    font-size: 1.1rem;
}
.contact-info .material-symbols-outlined {
    color: var(--color-primary);
}

/* Footer */
footer {
    background-color: #050a1a;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

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

.footer-logo p {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    /* Navbar - show hamburger */
    .nav-wrapper {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 17, 40, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1.05rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-buttons .btn-secondary {
        margin-left: 0;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image {
        min-height: 220px;
        width: 100%;
    }

    .about-logo-img {
        max-width: 220px;
        max-height: 120px;
    }

    /* Contact Section */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .contact-info p {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .section-title h2,
    .about-text h2 {
        font-size: 1.5rem;
    }
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
