:root {
    --primary-bg: #0f1c2e; /* Dark Navy from Logo */
    --secondary-bg: #162942; /* Slightly lighter navy for cards */
    --text-light: #ffffff;
    --text-muted: #b0bec5;
    --accent: #ffffff;
    --wa-green: #25D366;
    --wa-dark: #128C7E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--primary-bg);
}

body {
    color: var(--text-light);
    background-color: var(--primary-bg);
    overflow-x: hidden;
}

/* --- Header & Navigation --- */
.top-header {
    background-color: rgba(15, 28, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.desktop-nav a:hover {
    color: var(--text-muted);
}

.btn-call {
    border: 1px solid var(--text-light);
    padding: 8px 15px;
    border-radius: 20px;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background: radial-gradient(circle at center, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    padding-top: 60px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--primary-bg);
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s transform;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* --- Services Section --- */
.services-section {
    padding: 80px 5%;
    background-color: var(--primary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Contact Section --- */
.contact-section {
    padding: 60px 5%;
    display: flex;
    justify-content: center;
}

.contact-card {
    background-color: var(--secondary-bg);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.contact-info {
    margin: 20px 0;
    color: var(--text-muted);
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Form Elements */
input, select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: rgba(0,0,0,0.2);
    color: var(--text-light);
    font-size: 1rem;
}

input::placeholder, textarea::placeholder {
    color: #888;
}

.btn-submit {
    background-color: var(--wa-green);
    color: white;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--wa-dark);
}

/* --- Modal Styling --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-content h2 { margin-bottom: 5px; font-size: 1.5rem; }
.modal-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem;}
.modal-content form { display: flex; flex-direction: column; gap: 12px; }

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

/* --- Floating WhatsApp --- */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--wa-green);
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 90;
    text-decoration: none;
}

/* --- Mobile App Bottom Navigation --- */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 99;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    gap: 4px;
}

.nav-item i {
    font-size: 1.2rem;
}

.nav-item:hover, .nav-item:active {
    color: var(--text-light);
}

.spacer { height: 0; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .bottom-nav { display: flex; }
    .spacer { height: 70px; } /* Space for bottom nav */
    .floating-wa { bottom: 80px; } /* Push above bottom nav */
    .hero-content h2 { font-size: 2.2rem; }
}

/* --- Animations --- */
.hidden { opacity: 0; }
.fade-in.show { animation: fadeIn 0.8s ease forwards; }
.slide-up.show { animation: slideUp 0.8s ease forwards; }
.animate-pop { animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.pulse-anim { animation: pulse 2s infinite; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}